{ "type": "File", "start": 0, "end": 533, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 24, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 533, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 24, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportNamedDeclaration", "start": 1, "end": 256, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 11, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 8, "end": 256, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 11, "column": 1 } }, "id": { "type": "Identifier", "start": 17, "end": 29, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 28 }, "identifierName": "readStateSet" }, "name": "readStateSet" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 31, "end": 38, "loc": { "start": { "line": 2, "column": 30 }, "end": { "line": 2, "column": 37 }, "identifierName": "decoder" }, "name": "decoder" } ], "body": { "type": "BlockStatement", "start": 40, "end": 256, "loc": { "start": { "line": 2, "column": 39 }, "end": { "line": 11, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 44, "end": 62, "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", "start": 48, "end": 62, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 20 } }, "id": { "type": "Identifier", "start": 48, "end": 50, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 8 }, "identifierName": "ss" }, "name": "ss" }, "init": { "type": "NewExpression", "start": 53, "end": 62, "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 20 } }, "callee": { "type": "Identifier", "start": 57, "end": 60, "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 18 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 65, "end": 100, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 69, "end": 100, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 37 } }, "id": { "type": "Identifier", "start": 69, "end": 77, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 14 }, "identifierName": "ssLength" }, "name": "ssLength" }, "init": { "type": "CallExpression", "start": 80, "end": 100, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 4, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 80, "end": 98, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 4, "column": 35 } }, "object": { "type": "Identifier", "start": 80, "end": 87, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 4, "column": 24 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 88, "end": 98, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 35 }, "identifierName": "readUint32" }, "name": "readUint32" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "ForStatement", "start": 103, "end": 242, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 9, "column": 3 } }, "init": { "type": "VariableDeclaration", "start": 108, "end": 117, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 112, "end": 117, "loc": { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 16 } }, "id": { "type": "Identifier", "start": 112, "end": 113, "loc": { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 12 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 116, "end": 117, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 16 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 119, "end": 131, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 30 } }, "left": { "type": "Identifier", "start": 119, "end": 120, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 19 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 123, "end": 131, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 30 }, "identifierName": "ssLength" }, "name": "ssLength" } }, "update": { "type": "UpdateExpression", "start": 133, "end": 136, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 35 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 133, "end": 134, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 33 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 138, "end": 242, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 9, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 144, "end": 176, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 148, "end": 176, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 36 } }, "id": { "type": "Identifier", "start": 148, "end": 152, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 12 }, "identifierName": "user" }, "name": "user" }, "init": { "type": "CallExpression", "start": 155, "end": 176, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 155, "end": 174, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 34 } }, "object": { "type": "Identifier", "start": 155, "end": 162, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 22 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 163, "end": 174, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 34 }, "identifierName": "readVarUint" }, "name": "readVarUint" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 181, "end": 214, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 185, "end": 214, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 37 } }, "id": { "type": "Identifier", "start": 185, "end": 190, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 13 }, "identifierName": "clock" }, "name": "clock" }, "init": { "type": "CallExpression", "start": 193, "end": 214, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 193, "end": 212, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 35 } }, "object": { "type": "Identifier", "start": 193, "end": 200, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 23 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 201, "end": 212, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 35 }, "identifierName": "readVarUint" }, "name": "readVarUint" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 219, "end": 238, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 23 } }, "expression": { "type": "CallExpression", "start": 219, "end": 238, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 23 } }, "callee": { "type": "MemberExpression", "start": 219, "end": 225, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 10 } }, "object": { "type": "Identifier", "start": 219, "end": 221, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 6 }, "identifierName": "ss" }, "name": "ss" }, "property": { "type": "Identifier", "start": 222, "end": 225, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 10 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 226, "end": 230, "loc": { "start": { "line": 8, "column": 11 }, "end": { "line": 8, "column": 15 }, "identifierName": "user" }, "name": "user" }, { "type": "Identifier", "start": 232, "end": 237, "loc": { "start": { "line": 8, "column": 17 }, "end": { "line": 8, "column": 22 }, "identifierName": "clock" }, "name": "clock" } ] } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 245, "end": 254, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 11 } }, "argument": { "type": "Identifier", "start": 252, "end": 254, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 11 }, "identifierName": "ss" }, "name": "ss" } } ], "directives": [] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExportNamedDeclaration", "start": 258, "end": 532, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 23, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 265, "end": 532, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 23, "column": 1 } }, "id": { "type": "Identifier", "start": 274, "end": 287, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 29 }, "identifierName": "writeStateSet" }, "name": "writeStateSet" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 289, "end": 290, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 32 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 292, "end": 299, "loc": { "start": { "line": 13, "column": 34 }, "end": { "line": 13, "column": 41 }, "identifierName": "encoder" }, "name": "encoder" } ], "body": { "type": "BlockStatement", "start": 301, "end": 532, "loc": { "start": { "line": 13, "column": 43 }, "end": { "line": 23, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 305, "end": 334, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 309, "end": 334, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 31 } }, "id": { "type": "Identifier", "start": 309, "end": 320, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 17 }, "identifierName": "lenPosition" }, "name": "lenPosition" }, "init": { "type": "MemberExpression", "start": 323, "end": 334, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 31 } }, "object": { "type": "Identifier", "start": 323, "end": 330, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 27 }, "identifierName": "encoder" }, "name": "encoder" }, "property": { "type": "Identifier", "start": 331, "end": 334, "loc": { "start": { "line": 14, "column": 28 }, "end": { "line": 14, "column": 31 }, "identifierName": "pos" }, "name": "pos" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 337, "end": 348, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 13 } }, "declarations": [ { "type": "VariableDeclarator", "start": 341, "end": 348, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 13 } }, "id": { "type": "Identifier", "start": 341, "end": 344, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 9 }, "identifierName": "len" }, "name": "len" }, "init": { "type": "NumericLiteral", "start": 347, "end": 348, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 13 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 351, "end": 373, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 24 } }, "expression": { "type": "CallExpression", "start": 351, "end": 373, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 24 } }, "callee": { "type": "MemberExpression", "start": 351, "end": 370, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 21 } }, "object": { "type": "Identifier", "start": 351, "end": 358, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 9 }, "identifierName": "encoder" }, "name": "encoder" }, "property": { "type": "Identifier", "start": 359, "end": 370, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 21 }, "identifierName": "writeUint32" }, "name": "writeUint32" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 371, "end": 372, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } }, { "type": "ForOfStatement", "start": 376, "end": 492, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 21, "column": 3 } }, "left": { "type": "VariableDeclaration", "start": 381, "end": 398, "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 385, "end": 398, "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 24 } }, "id": { "type": "ArrayPattern", "start": 385, "end": 398, "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 24 } }, "elements": [ { "type": "Identifier", "start": 386, "end": 390, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 16 }, "identifierName": "user" }, "name": "user" }, { "type": "Identifier", "start": 392, "end": 397, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 23 }, "identifierName": "clock" }, "name": "clock" } ] }, "init": null } ], "kind": "let" }, "right": { "type": "MemberExpression", "start": 402, "end": 412, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 38 } }, "object": { "type": "MemberExpression", "start": 402, "end": 406, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 32 } }, "object": { "type": "Identifier", "start": 402, "end": 403, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 29 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 404, "end": 406, "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 17, "column": 32 }, "identifierName": "ss" }, "name": "ss" }, "computed": false }, "property": { "type": "Identifier", "start": 407, "end": 412, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 38 }, "identifierName": "state" }, "name": "state" }, "computed": false }, "body": { "type": "BlockStatement", "start": 414, "end": 492, "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 21, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 420, "end": 446, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 30 } }, "expression": { "type": "CallExpression", "start": 420, "end": 446, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 420, "end": 440, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 24 } }, "object": { "type": "Identifier", "start": 420, "end": 427, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 11 }, "identifierName": "encoder" }, "name": "encoder" }, "property": { "type": "Identifier", "start": 428, "end": 440, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 24 }, "identifierName": "writeVarUint" }, "name": "writeVarUint" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 441, "end": 445, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 29 }, "identifierName": "user" }, "name": "user" } ] } }, { "type": "ExpressionStatement", "start": 451, "end": 478, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 31 } }, "expression": { "type": "CallExpression", "start": 451, "end": 478, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 451, "end": 471, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 24 } }, "object": { "type": "Identifier", "start": 451, "end": 458, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 11 }, "identifierName": "encoder" }, "name": "encoder" }, "property": { "type": "Identifier", "start": 459, "end": 471, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 24 }, "identifierName": "writeVarUint" }, "name": "writeVarUint" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 472, "end": 477, "loc": { "start": { "line": 19, "column": 25 }, "end": { "line": 19, "column": 30 }, "identifierName": "clock" }, "name": "clock" } ] } }, { "type": "ExpressionStatement", "start": 483, "end": 488, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 9 } }, "expression": { "type": "UpdateExpression", "start": 483, "end": 488, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 9 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 483, "end": 486, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 7 }, "identifierName": "len" }, "name": "len" } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 495, "end": 530, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 37 } }, "expression": { "type": "CallExpression", "start": 495, "end": 530, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 495, "end": 512, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 19 } }, "object": { "type": "Identifier", "start": 495, "end": 502, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 9 }, "identifierName": "encoder" }, "name": "encoder" }, "property": { "type": "Identifier", "start": 503, "end": 512, "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 19 }, "identifierName": "setUint32" }, "name": "setUint32" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 513, "end": 524, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 31 }, "identifierName": "lenPosition" }, "name": "lenPosition" }, { "type": "Identifier", "start": 526, "end": 529, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 36 }, "identifierName": "len" }, "name": "len" } ] } } ], "directives": [] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [], "tokens": [ { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 1, "end": 7, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 8, "end": 16, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readStateSet", "start": 17, "end": 29, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 31, "end": 38, "loc": { "start": { "line": 2, "column": 30 }, "end": { "line": 2, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38, "end": 39, "loc": { "start": { "line": 2, "column": 37 }, "end": { "line": 2, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40, "end": 41, "loc": { "start": { "line": 2, "column": 39 }, "end": { "line": 2, "column": 40 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 44, "end": 47, "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ss", "start": 48, "end": 50, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 51, "end": 52, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 53, "end": 56, "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 57, "end": 60, "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 60, "end": 61, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 61, "end": 62, "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 3, "column": 20 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 65, "end": 68, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ssLength", "start": 69, "end": 77, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 78, "end": 79, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 80, "end": 87, "loc": { "start": { "line": 4, "column": 17 }, "end": { "line": 4, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 87, "end": 88, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readUint32", "start": 88, "end": 98, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 98, "end": 99, "loc": { "start": { "line": 4, "column": 35 }, "end": { "line": 4, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 99, "end": 100, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 37 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 103, "end": 106, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 107, "end": 108, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 7 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 108, "end": 111, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 112, "end": 113, "loc": { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 114, "end": 115, "loc": { "start": { "line": 5, "column": 13 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 116, "end": 117, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 117, "end": 118, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 119, "end": 120, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 121, "end": 122, "loc": { "start": { "line": 5, "column": 20 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ssLength", "start": 123, "end": 131, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 131, "end": 132, "loc": { "start": { "line": 5, "column": 30 }, "end": { "line": 5, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 133, "end": 134, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 33 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 134, "end": 136, "loc": { "start": { "line": 5, "column": 33 }, "end": { "line": 5, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 136, "end": 137, "loc": { "start": { "line": 5, "column": 35 }, "end": { "line": 5, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 138, "end": 139, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 5, "column": 38 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 144, "end": 147, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 148, "end": 152, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 153, "end": 154, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 155, "end": 162, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 162, "end": 163, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarUint", "start": 163, "end": 174, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 174, "end": 175, "loc": { "start": { "line": 6, "column": 34 }, "end": { "line": 6, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 175, "end": 176, "loc": { "start": { "line": 6, "column": 35 }, "end": { "line": 6, "column": 36 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 181, "end": 184, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clock", "start": 185, "end": 190, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 191, "end": 192, "loc": { "start": { "line": 7, "column": 14 }, "end": { "line": 7, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 193, "end": 200, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 200, "end": 201, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarUint", "start": 201, "end": 212, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 212, "end": 213, "loc": { "start": { "line": 7, "column": 35 }, "end": { "line": 7, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 213, "end": 214, "loc": { "start": { "line": 7, "column": 36 }, "end": { "line": 7, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ss", "start": 219, "end": 221, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 221, "end": 222, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 222, "end": 225, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 225, "end": 226, "loc": { "start": { "line": 8, "column": 10 }, "end": { "line": 8, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 226, "end": 230, "loc": { "start": { "line": 8, "column": 11 }, "end": { "line": 8, "column": 15 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 230, "end": 231, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clock", "start": 232, "end": 237, "loc": { "start": { "line": 8, "column": 17 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 237, "end": 238, "loc": { "start": { "line": 8, "column": 22 }, "end": { "line": 8, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 241, "end": 242, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 3 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 245, "end": 251, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ss", "start": 252, "end": 254, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 255, "end": 256, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 258, "end": 264, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 265, "end": 273, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeStateSet", "start": 274, "end": 287, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 288, "end": 289, "loc": { "start": { "line": 13, "column": 30 }, "end": { "line": 13, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 289, "end": 290, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 290, "end": 291, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 292, "end": 299, "loc": { "start": { "line": 13, "column": 34 }, "end": { "line": 13, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 299, "end": 300, "loc": { "start": { "line": 13, "column": 41 }, "end": { "line": 13, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 301, "end": 302, "loc": { "start": { "line": 13, "column": 43 }, "end": { "line": 13, "column": 44 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 305, "end": 308, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lenPosition", "start": 309, "end": 320, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 321, "end": 322, "loc": { "start": { "line": 14, "column": 18 }, "end": { "line": 14, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 323, "end": 330, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 330, "end": 331, "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 331, "end": 334, "loc": { "start": { "line": 14, "column": 28 }, "end": { "line": 14, "column": 31 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 337, "end": 340, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 341, "end": 344, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 9 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 345, "end": 346, "loc": { "start": { "line": 15, "column": 10 }, "end": { "line": 15, "column": 11 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 347, "end": 348, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 351, "end": 358, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 358, "end": 359, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeUint32", "start": 359, "end": 370, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 370, "end": 371, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 371, "end": 372, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 372, "end": 373, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 24 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 376, "end": 379, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 17, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 380, "end": 381, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 7 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 381, "end": 384, "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 385, "end": 386, "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 386, "end": 390, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 390, "end": 391, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clock", "start": 392, "end": 397, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 397, "end": 398, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 399, "end": 401, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 402, "end": 403, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 403, "end": 404, "loc": { "start": { "line": 17, "column": 29 }, "end": { "line": 17, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ss", "start": 404, "end": 406, "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 17, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 406, "end": 407, "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "state", "start": 407, "end": 412, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 412, "end": 413, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 414, "end": 415, "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 17, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 420, "end": 427, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 427, "end": 428, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeVarUint", "start": 428, "end": 440, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 440, "end": 441, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 441, "end": 445, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 445, "end": 446, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 451, "end": 458, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 458, "end": 459, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeVarUint", "start": 459, "end": 471, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 471, "end": 472, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clock", "start": 472, "end": 477, "loc": { "start": { "line": 19, "column": 25 }, "end": { "line": 19, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 477, "end": 478, "loc": { "start": { "line": 19, "column": 30 }, "end": { "line": 19, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 483, "end": 486, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 7 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 486, "end": 488, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 20, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 491, "end": 492, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 495, "end": 502, "loc": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 502, "end": 503, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setUint32", "start": 503, "end": 512, "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 512, "end": 513, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lenPosition", "start": 513, "end": 524, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 524, "end": 525, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 526, "end": 529, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 529, "end": 530, "loc": { "start": { "line": 22, "column": 36 }, "end": { "line": 22, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 531, "end": 532, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 533, "end": 533, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 0 } } } ] }