{ "type": "File", "start": 0, "end": 2313, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 66, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 2313, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 66, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 53, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 53 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 20, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 20 } }, "local": { "type": "Identifier", "start": 7, "end": 20, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 20 }, "identifierName": "BinaryDecoder" }, "name": "BinaryDecoder" } } ], "source": { "type": "StringLiteral", "start": 26, "end": 53, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 53 } }, "extra": { "rawValue": "../Util/Binary/Decoder.js", "raw": "'../Util/Binary/Decoder.js'" }, "value": "../Util/Binary/Decoder.js" } }, { "type": "ImportDeclaration", "start": 54, "end": 116, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 63, "end": 79, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 25 } }, "imported": { "type": "Identifier", "start": 63, "end": 79, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 25 }, "identifierName": "stringifyStructs" }, "name": "stringifyStructs" }, "local": { "type": "Identifier", "start": 63, "end": 79, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 25 }, "identifierName": "stringifyStructs" }, "name": "stringifyStructs" } } ], "source": { "type": "StringLiteral", "start": 87, "end": 116, "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 62 } }, "extra": { "rawValue": "./integrateRemoteStructs.js", "raw": "'./integrateRemoteStructs.js'" }, "value": "./integrateRemoteStructs.js" } }, { "type": "ImportDeclaration", "start": 117, "end": 168, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 126, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 } }, "imported": { "type": "Identifier", "start": 126, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 }, "identifierName": "stringifySyncStep1" }, "name": "stringifySyncStep1" }, "local": { "type": "Identifier", "start": 126, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 }, "identifierName": "stringifySyncStep1" }, "name": "stringifySyncStep1" } } ], "source": { "type": "StringLiteral", "start": 152, "end": 168, "loc": { "start": { "line": 3, "column": 35 }, "end": { "line": 3, "column": 51 } }, "extra": { "rawValue": "./syncStep1.js", "raw": "'./syncStep1.js'" }, "value": "./syncStep1.js" } }, { "type": "ImportDeclaration", "start": 169, "end": 220, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 178, "end": 196, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 27 } }, "imported": { "type": "Identifier", "start": 178, "end": 196, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 27 }, "identifierName": "stringifySyncStep2" }, "name": "stringifySyncStep2" }, "local": { "type": "Identifier", "start": 178, "end": 196, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 27 }, "identifierName": "stringifySyncStep2" }, "name": "stringifySyncStep2" } } ], "source": { "type": "StringLiteral", "start": 204, "end": 220, "loc": { "start": { "line": 4, "column": 35 }, "end": { "line": 4, "column": 51 } }, "extra": { "rawValue": "./syncStep2.js", "raw": "'./syncStep2.js'" }, "value": "./syncStep2.js" } }, { "type": "ImportDeclaration", "start": 221, "end": 254, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 33 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 228, "end": 230, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 9 } }, "local": { "type": "Identifier", "start": 228, "end": 230, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 9 }, "identifierName": "ID" }, "name": "ID" } } ], "source": { "type": "StringLiteral", "start": 236, "end": 254, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 33 } }, "extra": { "rawValue": "../Util/ID/ID.js", "raw": "'../Util/ID/ID.js'" }, "value": "../Util/ID/ID.js" } }, { "type": "ImportDeclaration", "start": 255, "end": 296, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 41 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 262, "end": 268, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 13 } }, "local": { "type": "Identifier", "start": 262, "end": 268, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 13 }, "identifierName": "RootID" }, "name": "RootID" } } ], "source": { "type": "StringLiteral", "start": 274, "end": 296, "loc": { "start": { "line": 6, "column": 19 }, "end": { "line": 6, "column": 41 } }, "extra": { "rawValue": "../Util/ID/RootID.js", "raw": "'../Util/ID/RootID.js'" }, "value": "../Util/ID/RootID.js" } }, { "type": "ImportDeclaration", "start": 297, "end": 320, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 23 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 304, "end": 305, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 } }, "local": { "type": "Identifier", "start": 304, "end": 305, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 }, "identifierName": "Y" }, "name": "Y" } } ], "source": { "type": "StringLiteral", "start": 311, "end": 320, "loc": { "start": { "line": 7, "column": 14 }, "end": { "line": 7, "column": 23 } }, "extra": { "rawValue": "../Y.js", "raw": "'../Y.js'" }, "value": "../Y.js" } }, { "type": "ExportNamedDeclaration", "start": 322, "end": 929, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 25, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 329, "end": 929, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 25, "column": 1 } }, "id": { "type": "Identifier", "start": 338, "end": 353, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 31 }, "identifierName": "messageToString" }, "name": "messageToString" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "ArrayPattern", "start": 355, "end": 366, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 44 } }, "elements": [ { "type": "Identifier", "start": 356, "end": 357, "loc": { "start": { "line": 9, "column": 34 }, "end": { "line": 9, "column": 35 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 359, "end": 365, "loc": { "start": { "line": 9, "column": 37 }, "end": { "line": 9, "column": 43 }, "identifierName": "buffer" }, "name": "buffer" } ] } ], "body": { "type": "BlockStatement", "start": 368, "end": 929, "loc": { "start": { "line": 9, "column": 46 }, "end": { "line": 25, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 372, "end": 411, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 376, "end": 411, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 41 } }, "id": { "type": "Identifier", "start": 376, "end": 383, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 13 }, "identifierName": "decoder" }, "name": "decoder" }, "init": { "type": "NewExpression", "start": 386, "end": 411, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 41 } }, "callee": { "type": "Identifier", "start": 390, "end": 403, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 33 }, "identifierName": "BinaryDecoder" }, "name": "BinaryDecoder" }, "arguments": [ { "type": "Identifier", "start": 404, "end": 410, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 40 }, "identifierName": "buffer" }, "name": "buffer" } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 414, "end": 437, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 25 } }, "expression": { "type": "CallExpression", "start": 414, "end": 437, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 414, "end": 435, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 23 } }, "object": { "type": "Identifier", "start": 414, "end": 421, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 9 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 422, "end": 435, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 23 }, "identifierName": "readVarString" }, "name": "readVarString" }, "computed": false }, "arguments": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " read roomname", "start": 438, "end": 454, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 457, "end": 491, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 461, "end": 491, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 36 } }, "id": { "type": "Identifier", "start": 461, "end": 465, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 10 }, "identifierName": "type" }, "name": "type", "leadingComments": null }, "init": { "type": "CallExpression", "start": 468, "end": 491, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 468, "end": 489, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 34 } }, "object": { "type": "Identifier", "start": 468, "end": 475, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 20 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 476, "end": 489, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 34 }, "identifierName": "readVarString" }, "name": "readVarString" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " read roomname", "start": 438, "end": 454, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 494, "end": 513, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 498, "end": 513, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 21 } }, "id": { "type": "Identifier", "start": 498, "end": 508, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 16 }, "identifierName": "strBuilder" }, "name": "strBuilder" }, "init": { "type": "ArrayExpression", "start": 511, "end": 513, "loc": { "start": { "line": 13, "column": 19 }, "end": { "line": 13, "column": 21 } }, "elements": [] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 516, "end": 558, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 44 } }, "expression": { "type": "CallExpression", "start": 516, "end": 558, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 516, "end": 531, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 17 } }, "object": { "type": "Identifier", "start": 516, "end": 526, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 12 }, "identifierName": "strBuilder" }, "name": "strBuilder" }, "property": { "type": "Identifier", "start": 527, "end": 531, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 17 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 532, "end": 557, "loc": { "start": { "line": 14, "column": 18 }, "end": { "line": 14, "column": 43 } }, "left": { "type": "BinaryExpression", "start": 532, "end": 548, "loc": { "start": { "line": 14, "column": 18 }, "end": { "line": 14, "column": 34 } }, "left": { "type": "StringLiteral", "start": 532, "end": 541, "loc": { "start": { "line": 14, "column": 18 }, "end": { "line": 14, "column": 27 } }, "extra": { "rawValue": "\n === ", "raw": "'\\n === '" }, "value": "\n === " }, "operator": "+", "right": { "type": "Identifier", "start": 544, "end": 548, "loc": { "start": { "line": 14, "column": 30 }, "end": { "line": 14, "column": 34 }, "identifierName": "type" }, "name": "type" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 551, "end": 557, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 43 } }, "extra": { "rawValue": " ===", "raw": "' ==='" }, "value": " ===" } } ] } }, { "type": "IfStatement", "start": 561, "end": 896, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 23, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 565, "end": 582, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 23 } }, "left": { "type": "Identifier", "start": 565, "end": 569, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 10 }, "identifierName": "type" }, "name": "type" }, "operator": "===", "right": { "type": "StringLiteral", "start": 574, "end": 582, "loc": { "start": { "line": 15, "column": 15 }, "end": { "line": 15, "column": 23 } }, "extra": { "rawValue": "update", "raw": "'update'" }, "value": "update" } }, "consequent": { "type": "BlockStatement", "start": 584, "end": 634, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 17, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 590, "end": 630, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 44 } }, "expression": { "type": "CallExpression", "start": 590, "end": 630, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 44 } }, "callee": { "type": "Identifier", "start": 590, "end": 606, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 20 }, "identifierName": "stringifyStructs" }, "name": "stringifyStructs" }, "arguments": [ { "type": "Identifier", "start": 607, "end": 608, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 22 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 610, "end": 617, "loc": { "start": { "line": 16, "column": 24 }, "end": { "line": 16, "column": 31 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 619, "end": 629, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 43 }, "identifierName": "strBuilder" }, "name": "strBuilder" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 640, "end": 896, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 23, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 644, "end": 666, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 35 } }, "left": { "type": "Identifier", "start": 644, "end": 648, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 17 }, "identifierName": "type" }, "name": "type" }, "operator": "===", "right": { "type": "StringLiteral", "start": 653, "end": 666, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 35 } }, "extra": { "rawValue": "sync step 1", "raw": "'sync step 1'" }, "value": "sync step 1" } }, "consequent": { "type": "BlockStatement", "start": 668, "end": 720, "loc": { "start": { "line": 17, "column": 37 }, "end": { "line": 19, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 674, "end": 716, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 46 } }, "expression": { "type": "CallExpression", "start": 674, "end": 716, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 46 } }, "callee": { "type": "Identifier", "start": 674, "end": 692, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 22 }, "identifierName": "stringifySyncStep1" }, "name": "stringifySyncStep1" }, "arguments": [ { "type": "Identifier", "start": 693, "end": 694, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 24 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 696, "end": 703, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 33 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 705, "end": 715, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 45 }, "identifierName": "strBuilder" }, "name": "strBuilder" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 726, "end": 896, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 23, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 730, "end": 752, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 35 } }, "left": { "type": "Identifier", "start": 730, "end": 734, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 17 }, "identifierName": "type" }, "name": "type" }, "operator": "===", "right": { "type": "StringLiteral", "start": 739, "end": 752, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 35 } }, "extra": { "rawValue": "sync step 2", "raw": "'sync step 2'" }, "value": "sync step 2" } }, "consequent": { "type": "BlockStatement", "start": 754, "end": 806, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 21, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 760, "end": 802, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 46 } }, "expression": { "type": "CallExpression", "start": 760, "end": 802, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 46 } }, "callee": { "type": "Identifier", "start": 760, "end": 778, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 22 }, "identifierName": "stringifySyncStep2" }, "name": "stringifySyncStep2" }, "arguments": [ { "type": "Identifier", "start": 779, "end": 780, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 782, "end": 789, "loc": { "start": { "line": 20, "column": 26 }, "end": { "line": 20, "column": 33 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 791, "end": 801, "loc": { "start": { "line": 20, "column": 35 }, "end": { "line": 20, "column": 45 }, "identifierName": "strBuilder" }, "name": "strBuilder" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 812, "end": 896, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 23, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 818, "end": 892, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 78 } }, "expression": { "type": "CallExpression", "start": 818, "end": 892, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 818, "end": 833, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 19 } }, "object": { "type": "Identifier", "start": 818, "end": 828, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 14 }, "identifierName": "strBuilder" }, "name": "strBuilder" }, "property": { "type": "Identifier", "start": 829, "end": 833, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 19 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 834, "end": 891, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 77 } }, "extra": { "rawValue": "-- Unknown message type - probably an encoding issue!!!", "raw": "'-- Unknown message type - probably an encoding issue!!!'" }, "value": "-- Unknown message type - probably an encoding issue!!!" } ] } } ], "directives": [] } } } }, { "type": "ReturnStatement", "start": 899, "end": 927, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 30 } }, "argument": { "type": "CallExpression", "start": 906, "end": 927, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 906, "end": 921, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 24 } }, "object": { "type": "Identifier", "start": 906, "end": 916, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 19 }, "identifierName": "strBuilder" }, "name": "strBuilder" }, "property": { "type": "Identifier", "start": 917, "end": 921, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 24 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 922, "end": 926, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 29 } }, "extra": { "rawValue": "\n", "raw": "'\\n'" }, "value": "\n" } ] } } ], "directives": [] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExportNamedDeclaration", "start": 931, "end": 1105, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 31, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 938, "end": 1105, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 31, "column": 1 } }, "id": { "type": "Identifier", "start": 947, "end": 964, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 33 }, "identifierName": "messageToRoomname" }, "name": "messageToRoomname" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 966, "end": 972, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 41 }, "identifierName": "buffer" }, "name": "buffer" } ], "body": { "type": "BlockStatement", "start": 974, "end": 1105, "loc": { "start": { "line": 27, "column": 43 }, "end": { "line": 31, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 978, "end": 1017, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 982, "end": 1017, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 41 } }, "id": { "type": "Identifier", "start": 982, "end": 989, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 13 }, "identifierName": "decoder" }, "name": "decoder" }, "init": { "type": "NewExpression", "start": 992, "end": 1017, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 41 } }, "callee": { "type": "Identifier", "start": 996, "end": 1009, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 33 }, "identifierName": "BinaryDecoder" }, "name": "BinaryDecoder" }, "arguments": [ { "type": "Identifier", "start": 1010, "end": 1016, "loc": { "start": { "line": 28, "column": 34 }, "end": { "line": 28, "column": 40 }, "identifierName": "buffer" }, "name": "buffer" } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 1020, "end": 1043, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1020, "end": 1043, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 1020, "end": 1041, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 23 } }, "object": { "type": "Identifier", "start": 1020, "end": 1027, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 9 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 1028, "end": 1041, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 23 }, "identifierName": "readVarString" }, "name": "readVarString" }, "computed": false }, "arguments": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " roomname", "start": 1044, "end": 1055, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 37 } } } ] }, { "type": "ReturnStatement", "start": 1058, "end": 1088, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 32 } }, "argument": { "type": "CallExpression", "start": 1065, "end": 1088, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1065, "end": 1086, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 30 } }, "object": { "type": "Identifier", "start": 1065, "end": 1072, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 16 }, "identifierName": "decoder" }, "name": "decoder", "leadingComments": null }, "property": { "type": "Identifier", "start": 1073, "end": 1086, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 30 }, "identifierName": "readVarString" }, "name": "readVarString" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " roomname", "start": 1044, "end": 1055, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 37 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " messageType", "start": 1089, "end": 1103, "loc": { "start": { "line": 30, "column": 33 }, "end": { "line": 30, "column": 47 } } } ] } ], "directives": [] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExportNamedDeclaration", "start": 1107, "end": 1492, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 48, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1114, "end": 1492, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 48, "column": 1 } }, "id": { "type": "Identifier", "start": 1123, "end": 1128, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 21 }, "identifierName": "logID" }, "name": "logID" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1130, "end": 1132, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 25 }, "identifierName": "id" }, "name": "id" } ], "body": { "type": "BlockStatement", "start": 1134, "end": 1492, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 48, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 1138, "end": 1194, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 36, "column": 3 } }, "test": { "type": "LogicalExpression", "start": 1142, "end": 1171, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 35 } }, "left": { "type": "BinaryExpression", "start": 1142, "end": 1153, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 17 } }, "left": { "type": "Identifier", "start": 1142, "end": 1144, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 8 }, "identifierName": "id" }, "name": "id" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 1149, "end": 1153, "loc": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 17 } } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 1157, "end": 1171, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 35 } }, "left": { "type": "MemberExpression", "start": 1157, "end": 1163, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 27 } }, "object": { "type": "Identifier", "start": 1157, "end": 1159, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 23 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1160, "end": 1163, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 27 }, "identifierName": "_id" }, "name": "_id" }, "computed": false }, "operator": "!=", "right": { "type": "NullLiteral", "start": 1167, "end": 1171, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 35 } } } } }, "consequent": { "type": "BlockStatement", "start": 1173, "end": 1194, "loc": { "start": { "line": 34, "column": 37 }, "end": { "line": 36, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1179, "end": 1190, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 15 } }, "expression": { "type": "AssignmentExpression", "start": 1179, "end": 1190, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 15 } }, "operator": "=", "left": { "type": "Identifier", "start": 1179, "end": 1181, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 6 }, "identifierName": "id" }, "name": "id" }, "right": { "type": "MemberExpression", "start": 1184, "end": 1190, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 15 } }, "object": { "type": "Identifier", "start": 1184, "end": 1186, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 11 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1187, "end": 1190, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 15 }, "identifierName": "_id" }, "name": "_id" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1197, "end": 1490, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 47, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1201, "end": 1212, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 17 } }, "left": { "type": "Identifier", "start": 1201, "end": 1203, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 8 }, "identifierName": "id" }, "name": "id" }, "operator": "===", "right": { "type": "NullLiteral", "start": 1208, "end": 1212, "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 37, "column": 17 } } } }, "consequent": { "type": "BlockStatement", "start": 1214, "end": 1235, "loc": { "start": { "line": 37, "column": 19 }, "end": { "line": 39, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 1220, "end": 1231, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 15 } }, "argument": { "type": "StringLiteral", "start": 1227, "end": 1231, "loc": { "start": { "line": 38, "column": 11 }, "end": { "line": 38, "column": 15 } }, "extra": { "rawValue": "()", "raw": "'()'" }, "value": "()" } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1241, "end": 1490, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 47, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1245, "end": 1261, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 29 } }, "left": { "type": "Identifier", "start": 1245, "end": 1247, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 15 }, "identifierName": "id" }, "name": "id" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 1259, "end": 1261, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 29 }, "identifierName": "ID" }, "name": "ID" } }, "consequent": { "type": "BlockStatement", "start": 1263, "end": 1306, "loc": { "start": { "line": 39, "column": 31 }, "end": { "line": 41, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 1269, "end": 1302, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 37 } }, "argument": { "type": "TemplateLiteral", "start": 1276, "end": 1302, "loc": { "start": { "line": 40, "column": 11 }, "end": { "line": 40, "column": 37 } }, "expressions": [ { "type": "MemberExpression", "start": 1280, "end": 1287, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 22 } }, "object": { "type": "Identifier", "start": 1280, "end": 1282, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 17 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1283, "end": 1287, "loc": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 22 }, "identifierName": "user" }, "name": "user" }, "computed": false }, { "type": "MemberExpression", "start": 1291, "end": 1299, "loc": { "start": { "line": 40, "column": 26 }, "end": { "line": 40, "column": 34 } }, "object": { "type": "Identifier", "start": 1291, "end": 1293, "loc": { "start": { "line": 40, "column": 26 }, "end": { "line": 40, "column": 28 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1294, "end": 1299, "loc": { "start": { "line": 40, "column": 29 }, "end": { "line": 40, "column": 34 }, "identifierName": "clock" }, "name": "clock" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 1277, "end": 1278, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 13 } }, "value": { "raw": "(", "cooked": "(" }, "tail": false }, { "type": "TemplateElement", "start": 1288, "end": 1289, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 40, "column": 24 } }, "value": { "raw": ",", "cooked": "," }, "tail": false }, { "type": "TemplateElement", "start": 1300, "end": 1301, "loc": { "start": { "line": 40, "column": 35 }, "end": { "line": 40, "column": 36 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1312, "end": 1490, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 47, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1316, "end": 1336, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 33 } }, "left": { "type": "Identifier", "start": 1316, "end": 1318, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 15 }, "identifierName": "id" }, "name": "id" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 1330, "end": 1336, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 41, "column": 33 }, "identifierName": "RootID" }, "name": "RootID" } }, "consequent": { "type": "BlockStatement", "start": 1338, "end": 1380, "loc": { "start": { "line": 41, "column": 35 }, "end": { "line": 43, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 1344, "end": 1376, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 36 } }, "argument": { "type": "TemplateLiteral", "start": 1351, "end": 1376, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 36 } }, "expressions": [ { "type": "MemberExpression", "start": 1355, "end": 1362, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 22 } }, "object": { "type": "Identifier", "start": 1355, "end": 1357, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 17 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1358, "end": 1362, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 22 }, "identifierName": "name" }, "name": "name" }, "computed": false }, { "type": "MemberExpression", "start": 1366, "end": 1373, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 33 } }, "object": { "type": "Identifier", "start": 1366, "end": 1368, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 28 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1369, "end": 1373, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 33 }, "identifierName": "type" }, "name": "type" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 1352, "end": 1353, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 13 } }, "value": { "raw": "(", "cooked": "(" }, "tail": false }, { "type": "TemplateElement", "start": 1363, "end": 1364, "loc": { "start": { "line": 42, "column": 23 }, "end": { "line": 42, "column": 24 } }, "value": { "raw": ",", "cooked": "," }, "tail": false }, { "type": "TemplateElement", "start": 1374, "end": 1375, "loc": { "start": { "line": 42, "column": 34 }, "end": { "line": 42, "column": 35 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1386, "end": 1490, "loc": { "start": { "line": 43, "column": 9 }, "end": { "line": 47, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1390, "end": 1410, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 33 } }, "left": { "type": "MemberExpression", "start": 1390, "end": 1404, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 27 } }, "object": { "type": "Identifier", "start": 1390, "end": 1392, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 15 }, "identifierName": "id" }, "name": "id" }, "property": { "type": "Identifier", "start": 1393, "end": 1404, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 27 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 1409, "end": 1410, "loc": { "start": { "line": 43, "column": 32 }, "end": { "line": 43, "column": 33 }, "identifierName": "Y" }, "name": "Y" } }, "consequent": { "type": "BlockStatement", "start": 1412, "end": 1432, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 45, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 1418, "end": 1428, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 14 } }, "argument": { "type": "TemplateLiteral", "start": 1425, "end": 1428, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 14 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 1426, "end": 1427, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } }, "value": { "raw": "y", "cooked": "y" }, "tail": true } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1438, "end": 1490, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 47, "column": 3 } }, "body": [ { "type": "ThrowStatement", "start": 1444, "end": 1486, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 46 } }, "argument": { "type": "NewExpression", "start": 1450, "end": 1486, "loc": { "start": { "line": 46, "column": 10 }, "end": { "line": 46, "column": 46 } }, "callee": { "type": "Identifier", "start": 1454, "end": 1459, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 19 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 1460, "end": 1485, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 45 } }, "extra": { "rawValue": "This is not a valid ID!", "raw": "'This is not a valid ID!'" }, "value": "This is not a valid ID!" } ] } } ], "directives": [] } } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Helper utility to convert an item to a readable format.\n *\n * @param {String} name The name of the item class (YText, ItemString, ..).\n * @param {Item} item The item instance.\n * @param {String} [append] Additional information to append to the returned\n * string.\n * @return {String} A readable string that represents the item object.\n *\n * @private\n ", "start": 1494, "end": 1879, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 60, "column": 3 } } } ], "leadingComments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Helper utility to convert an item to a readable format.\n *\n * @param {String} name The name of the item class (YText, ItemString, ..).\n * @param {Item} item The item instance.\n * @param {String} [append] Additional information to append to the returned\n * string.\n * @return {String} A readable string that represents the item object.\n *\n * @private\n ", "start": 1494, "end": 1879, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 60, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1880, "end": 2312, "loc": { "start": { "line": 61, "column": 0 }, "end": { "line": 65, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1887, "end": 2312, "loc": { "start": { "line": 61, "column": 7 }, "end": { "line": 65, "column": 1 } }, "id": { "type": "Identifier", "start": 1896, "end": 1909, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 29 }, "identifierName": "logItemHelper" }, "name": "logItemHelper", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1911, "end": 1915, "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 61, "column": 35 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 1917, "end": 1921, "loc": { "start": { "line": 61, "column": 37 }, "end": { "line": 61, "column": 41 }, "identifierName": "item" }, "name": "item" }, { "type": "Identifier", "start": 1923, "end": 1929, "loc": { "start": { "line": 61, "column": 43 }, "end": { "line": 61, "column": 49 }, "identifierName": "append" }, "name": "append" } ], "body": { "type": "BlockStatement", "start": 1931, "end": 2312, "loc": { "start": { "line": 61, "column": 51 }, "end": { "line": 65, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 1935, "end": 1995, "loc": { "start": { "line": 62, "column": 2 }, "end": { "line": 62, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1941, "end": 1995, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 62 } }, "id": { "type": "Identifier", "start": 1941, "end": 1945, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 12 }, "identifierName": "left" }, "name": "left" }, "init": { "type": "ConditionalExpression", "start": 1948, "end": 1995, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 62 } }, "test": { "type": "BinaryExpression", "start": 1948, "end": 1967, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 34 } }, "left": { "type": "MemberExpression", "start": 1948, "end": 1958, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 25 } }, "object": { "type": "Identifier", "start": 1948, "end": 1952, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 19 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 1953, "end": 1958, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 25 }, "identifierName": "_left" }, "name": "_left" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 1963, "end": 1967, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } } }, "consequent": { "type": "MemberExpression", "start": 1970, "end": 1988, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 55 } }, "object": { "type": "MemberExpression", "start": 1970, "end": 1980, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 47 } }, "object": { "type": "Identifier", "start": 1970, "end": 1974, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 41 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 1975, "end": 1980, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 47 }, "identifierName": "_left" }, "name": "_left" }, "computed": false }, "property": { "type": "Identifier", "start": 1981, "end": 1988, "loc": { "start": { "line": 62, "column": 48 }, "end": { "line": 62, "column": 55 }, "identifierName": "_lastId" }, "name": "_lastId" }, "computed": false }, "alternate": { "type": "NullLiteral", "start": 1991, "end": 1995, "loc": { "start": { "line": 62, "column": 58 }, "end": { "line": 62, "column": 62 } } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1998, "end": 2064, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2004, "end": 2064, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 68 } }, "id": { "type": "Identifier", "start": 2004, "end": 2010, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 14 }, "identifierName": "origin" }, "name": "origin" }, "init": { "type": "ConditionalExpression", "start": 2013, "end": 2064, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 68 } }, "test": { "type": "BinaryExpression", "start": 2013, "end": 2034, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 38 } }, "left": { "type": "MemberExpression", "start": 2013, "end": 2025, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 29 } }, "object": { "type": "Identifier", "start": 2013, "end": 2017, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 21 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2018, "end": 2025, "loc": { "start": { "line": 63, "column": 22 }, "end": { "line": 63, "column": 29 }, "identifierName": "_origin" }, "name": "_origin" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 2030, "end": 2034, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 38 } } } }, "consequent": { "type": "MemberExpression", "start": 2037, "end": 2057, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 61 } }, "object": { "type": "MemberExpression", "start": 2037, "end": 2049, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 53 } }, "object": { "type": "Identifier", "start": 2037, "end": 2041, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 45 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2042, "end": 2049, "loc": { "start": { "line": 63, "column": 46 }, "end": { "line": 63, "column": 53 }, "identifierName": "_origin" }, "name": "_origin" }, "computed": false }, "property": { "type": "Identifier", "start": 2050, "end": 2057, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 61 }, "identifierName": "_lastId" }, "name": "_lastId" }, "computed": false }, "alternate": { "type": "NullLiteral", "start": 2060, "end": 2064, "loc": { "start": { "line": 63, "column": 64 }, "end": { "line": 63, "column": 68 } } } } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 2067, "end": 2310, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 245 } }, "argument": { "type": "TemplateLiteral", "start": 2074, "end": 2310, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 245 } }, "expressions": [ { "type": "Identifier", "start": 2077, "end": 2081, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 16 }, "identifierName": "name" }, "name": "name" }, { "type": "CallExpression", "start": 2088, "end": 2103, "loc": { "start": { "line": 64, "column": 23 }, "end": { "line": 64, "column": 38 } }, "callee": { "type": "Identifier", "start": 2088, "end": 2093, "loc": { "start": { "line": 64, "column": 23 }, "end": { "line": 64, "column": 28 }, "identifierName": "logID" }, "name": "logID" }, "arguments": [ { "type": "MemberExpression", "start": 2094, "end": 2102, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 37 } }, "object": { "type": "Identifier", "start": 2094, "end": 2098, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2099, "end": 2102, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 37 }, "identifierName": "_id" }, "name": "_id" }, "computed": false } ] }, { "type": "CallExpression", "start": 2113, "end": 2131, "loc": { "start": { "line": 64, "column": 48 }, "end": { "line": 64, "column": 66 } }, "callee": { "type": "Identifier", "start": 2113, "end": 2118, "loc": { "start": { "line": 64, "column": 48 }, "end": { "line": 64, "column": 53 }, "identifierName": "logID" }, "name": "logID" }, "arguments": [ { "type": "MemberExpression", "start": 2119, "end": 2130, "loc": { "start": { "line": 64, "column": 54 }, "end": { "line": 64, "column": 65 } }, "object": { "type": "Identifier", "start": 2119, "end": 2123, "loc": { "start": { "line": 64, "column": 54 }, "end": { "line": 64, "column": 58 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2124, "end": 2130, "loc": { "start": { "line": 64, "column": 59 }, "end": { "line": 64, "column": 65 }, "identifierName": "_start" }, "name": "_start" }, "computed": false } ] }, { "type": "CallExpression", "start": 2140, "end": 2151, "loc": { "start": { "line": 64, "column": 75 }, "end": { "line": 64, "column": 86 } }, "callee": { "type": "Identifier", "start": 2140, "end": 2145, "loc": { "start": { "line": 64, "column": 75 }, "end": { "line": 64, "column": 80 }, "identifierName": "logID" }, "name": "logID" }, "arguments": [ { "type": "Identifier", "start": 2146, "end": 2150, "loc": { "start": { "line": 64, "column": 81 }, "end": { "line": 64, "column": 85 }, "identifierName": "left" }, "name": "left" } ] }, { "type": "CallExpression", "start": 2162, "end": 2175, "loc": { "start": { "line": 64, "column": 97 }, "end": { "line": 64, "column": 110 } }, "callee": { "type": "Identifier", "start": 2162, "end": 2167, "loc": { "start": { "line": 64, "column": 97 }, "end": { "line": 64, "column": 102 }, "identifierName": "logID" }, "name": "logID" }, "arguments": [ { "type": "Identifier", "start": 2168, "end": 2174, "loc": { "start": { "line": 64, "column": 103 }, "end": { "line": 64, "column": 109 }, "identifierName": "origin" }, "name": "origin" } ] }, { "type": "CallExpression", "start": 2185, "end": 2203, "loc": { "start": { "line": 64, "column": 120 }, "end": { "line": 64, "column": 138 } }, "callee": { "type": "Identifier", "start": 2185, "end": 2190, "loc": { "start": { "line": 64, "column": 120 }, "end": { "line": 64, "column": 125 }, "identifierName": "logID" }, "name": "logID" }, "arguments": [ { "type": "MemberExpression", "start": 2191, "end": 2202, "loc": { "start": { "line": 64, "column": 126 }, "end": { "line": 64, "column": 137 } }, "object": { "type": "Identifier", "start": 2191, "end": 2195, "loc": { "start": { "line": 64, "column": 126 }, "end": { "line": 64, "column": 130 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2196, "end": 2202, "loc": { "start": { "line": 64, "column": 131 }, "end": { "line": 64, "column": 137 }, "identifierName": "_right" }, "name": "_right" }, "computed": false } ] }, { "type": "CallExpression", "start": 2214, "end": 2233, "loc": { "start": { "line": 64, "column": 149 }, "end": { "line": 64, "column": 168 } }, "callee": { "type": "Identifier", "start": 2214, "end": 2219, "loc": { "start": { "line": 64, "column": 149 }, "end": { "line": 64, "column": 154 }, "identifierName": "logID" }, "name": "logID" }, "arguments": [ { "type": "MemberExpression", "start": 2220, "end": 2232, "loc": { "start": { "line": 64, "column": 155 }, "end": { "line": 64, "column": 167 } }, "object": { "type": "Identifier", "start": 2220, "end": 2224, "loc": { "start": { "line": 64, "column": 155 }, "end": { "line": 64, "column": 159 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2225, "end": 2232, "loc": { "start": { "line": 64, "column": 160 }, "end": { "line": 64, "column": 167 }, "identifierName": "_parent" }, "name": "_parent" }, "computed": false } ] }, { "type": "MemberExpression", "start": 2247, "end": 2262, "loc": { "start": { "line": 64, "column": 182 }, "end": { "line": 64, "column": 197 } }, "object": { "type": "Identifier", "start": 2247, "end": 2251, "loc": { "start": { "line": 64, "column": 182 }, "end": { "line": 64, "column": 186 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 2252, "end": 2262, "loc": { "start": { "line": 64, "column": 187 }, "end": { "line": 64, "column": 197 }, "identifierName": "_parentSub" }, "name": "_parentSub" }, "computed": false }, { "type": "ConditionalExpression", "start": 2265, "end": 2307, "loc": { "start": { "line": 64, "column": 200 }, "end": { "line": 64, "column": 242 } }, "test": { "type": "BinaryExpression", "start": 2265, "end": 2285, "loc": { "start": { "line": 64, "column": 200 }, "end": { "line": 64, "column": 220 } }, "left": { "type": "Identifier", "start": 2265, "end": 2271, "loc": { "start": { "line": 64, "column": 200 }, "end": { "line": 64, "column": 206 }, "identifierName": "append" }, "name": "append" }, "operator": "!==", "right": { "type": "Identifier", "start": 2276, "end": 2285, "loc": { "start": { "line": 64, "column": 211 }, "end": { "line": 64, "column": 220 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BinaryExpression", "start": 2288, "end": 2302, "loc": { "start": { "line": 64, "column": 223 }, "end": { "line": 64, "column": 237 } }, "left": { "type": "StringLiteral", "start": 2288, "end": 2293, "loc": { "start": { "line": 64, "column": 223 }, "end": { "line": 64, "column": 228 } }, "extra": { "rawValue": " - ", "raw": "' - '" }, "value": " - " }, "operator": "+", "right": { "type": "Identifier", "start": 2296, "end": 2302, "loc": { "start": { "line": 64, "column": 231 }, "end": { "line": 64, "column": 237 }, "identifierName": "append" }, "name": "append" } }, "alternate": { "type": "StringLiteral", "start": 2305, "end": 2307, "loc": { "start": { "line": 64, "column": 240 }, "end": { "line": 64, "column": 242 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 2075, "end": 2075, "loc": { "start": { "line": 64, "column": 10 }, "end": { "line": 64, "column": 10 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 2082, "end": 2086, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 21 } }, "value": { "raw": "(id:", "cooked": "(id:" }, "tail": false }, { "type": "TemplateElement", "start": 2104, "end": 2111, "loc": { "start": { "line": 64, "column": 39 }, "end": { "line": 64, "column": 46 } }, "value": { "raw": ",start:", "cooked": ",start:" }, "tail": false }, { "type": "TemplateElement", "start": 2132, "end": 2138, "loc": { "start": { "line": 64, "column": 67 }, "end": { "line": 64, "column": 73 } }, "value": { "raw": ",left:", "cooked": ",left:" }, "tail": false }, { "type": "TemplateElement", "start": 2152, "end": 2160, "loc": { "start": { "line": 64, "column": 87 }, "end": { "line": 64, "column": 95 } }, "value": { "raw": ",origin:", "cooked": ",origin:" }, "tail": false }, { "type": "TemplateElement", "start": 2176, "end": 2183, "loc": { "start": { "line": 64, "column": 111 }, "end": { "line": 64, "column": 118 } }, "value": { "raw": ",right:", "cooked": ",right:" }, "tail": false }, { "type": "TemplateElement", "start": 2204, "end": 2212, "loc": { "start": { "line": 64, "column": 139 }, "end": { "line": 64, "column": 147 } }, "value": { "raw": ",parent:", "cooked": ",parent:" }, "tail": false }, { "type": "TemplateElement", "start": 2234, "end": 2245, "loc": { "start": { "line": 64, "column": 169 }, "end": { "line": 64, "column": 180 } }, "value": { "raw": ",parentSub:", "cooked": ",parentSub:" }, "tail": false }, { "type": "TemplateElement", "start": 2263, "end": 2263, "loc": { "start": { "line": 64, "column": 198 }, "end": { "line": 64, "column": 198 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 2308, "end": 2309, "loc": { "start": { "line": 64, "column": 243 }, "end": { "line": 64, "column": 244 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Helper utility to convert an item to a readable format.\n *\n * @param {String} name The name of the item class (YText, ItemString, ..).\n * @param {Item} item The item instance.\n * @param {String} [append] Additional information to append to the returned\n * string.\n * @return {String} A readable string that represents the item object.\n *\n * @private\n ", "start": 1494, "end": 1879, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 60, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Helper utility to convert an item to a readable format.\n *\n * @param {String} name The name of the item class (YText, ItemString, ..).\n * @param {Item} item The item instance.\n * @param {String} [append] Additional information to append to the returned\n * string.\n * @return {String} A readable string that represents the item object.\n *\n * @private\n ", "start": 1494, "end": 1879, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 60, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " read roomname", "start": 438, "end": 454, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 42 } } }, { "type": "CommentLine", "value": " roomname", "start": 1044, "end": 1055, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 37 } } }, { "type": "CommentLine", "value": " messageType", "start": 1089, "end": 1103, "loc": { "start": { "line": 30, "column": 33 }, "end": { "line": 30, "column": 47 } } }, { "type": "CommentBlock", "value": "*\n * Helper utility to convert an item to a readable format.\n *\n * @param {String} name The name of the item class (YText, ItemString, ..).\n * @param {Item} item The item instance.\n * @param {String} [append] Additional information to append to the returned\n * string.\n * @return {String} A readable string that represents the item object.\n *\n * @private\n ", "start": 1494, "end": 1879, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 60, "column": 3 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryDecoder", "start": 7, "end": 20, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 21, "end": 25, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Util/Binary/Decoder.js", "start": 26, "end": 53, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 53 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 54, "end": 60, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 61, "end": 62, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringifyStructs", "start": 63, "end": 79, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 80, "end": 81, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 82, "end": 86, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./integrateRemoteStructs.js", "start": 87, "end": 116, "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 62 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 117, "end": 123, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 124, "end": 125, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringifySyncStep1", "start": 126, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 145, "end": 146, "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 3, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 147, "end": 151, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./syncStep1.js", "start": 152, "end": 168, "loc": { "start": { "line": 3, "column": 35 }, "end": { "line": 3, "column": 51 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 169, "end": 175, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 176, "end": 177, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringifySyncStep2", "start": 178, "end": 196, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 197, "end": 198, "loc": { "start": { "line": 4, "column": 28 }, "end": { "line": 4, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 199, "end": 203, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./syncStep2.js", "start": 204, "end": 220, "loc": { "start": { "line": 4, "column": 35 }, "end": { "line": 4, "column": 51 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 221, "end": 227, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ID", "start": 228, "end": 230, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 231, "end": 235, "loc": { "start": { "line": 5, "column": 10 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Util/ID/ID.js", "start": 236, "end": 254, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 33 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 255, "end": 261, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RootID", "start": 262, "end": 268, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 269, "end": 273, "loc": { "start": { "line": 6, "column": 14 }, "end": { "line": 6, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Util/ID/RootID.js", "start": 274, "end": 296, "loc": { "start": { "line": 6, "column": 19 }, "end": { "line": 6, "column": 41 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 297, "end": 303, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Y", "start": 304, "end": 305, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 306, "end": 310, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Y.js", "start": 311, "end": 320, "loc": { "start": { "line": 7, "column": 14 }, "end": { "line": 7, "column": 23 } } }, { "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": 322, "end": 328, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "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": 329, "end": 337, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageToString", "start": 338, "end": 353, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 354, "end": 355, "loc": { "start": { "line": 9, "column": 32 }, "end": { "line": 9, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 355, "end": 356, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 356, "end": 357, "loc": { "start": { "line": 9, "column": 34 }, "end": { "line": 9, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 357, "end": 358, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 9, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 359, "end": 365, "loc": { "start": { "line": 9, "column": 37 }, "end": { "line": 9, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 365, "end": 366, "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 366, "end": 367, "loc": { "start": { "line": 9, "column": 44 }, "end": { "line": 9, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 368, "end": 369, "loc": { "start": { "line": 9, "column": 46 }, "end": { "line": 9, "column": 47 } } }, { "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": 372, "end": 375, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 376, "end": 383, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 384, "end": 385, "loc": { "start": { "line": 10, "column": 14 }, "end": { "line": 10, "column": 15 } } }, { "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": 386, "end": 389, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryDecoder", "start": 390, "end": 403, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 403, "end": 404, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 10, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 404, "end": 410, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 410, "end": 411, "loc": { "start": { "line": 10, "column": 40 }, "end": { "line": 10, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 414, "end": 421, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 421, "end": 422, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarString", "start": 422, "end": 435, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 435, "end": 436, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 436, "end": 437, "loc": { "start": { "line": 11, "column": 24 }, "end": { "line": 11, "column": 25 } } }, { "type": "CommentLine", "value": " read roomname", "start": 438, "end": 454, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 42 } } }, { "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": 457, "end": 460, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 461, "end": 465, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 466, "end": 467, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 468, "end": 475, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 475, "end": 476, "loc": { "start": { "line": 12, "column": 20 }, "end": { "line": 12, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarString", "start": 476, "end": 489, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 489, "end": 490, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 490, "end": 491, "loc": { "start": { "line": 12, "column": 35 }, "end": { "line": 12, "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": 494, "end": 497, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 498, "end": 508, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 509, "end": 510, "loc": { "start": { "line": 13, "column": 17 }, "end": { "line": 13, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 511, "end": 512, "loc": { "start": { "line": 13, "column": 19 }, "end": { "line": 13, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 512, "end": 513, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 516, "end": 526, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 526, "end": 527, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 527, "end": 531, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 531, "end": 532, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 14, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n === ", "start": 532, "end": 541, "loc": { "start": { "line": 14, "column": 18 }, "end": { "line": 14, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 542, "end": 543, "loc": { "start": { "line": 14, "column": 28 }, "end": { "line": 14, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 544, "end": 548, "loc": { "start": { "line": 14, "column": 30 }, "end": { "line": 14, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 549, "end": 550, "loc": { "start": { "line": 14, "column": 35 }, "end": { "line": 14, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ===", "start": 551, "end": 557, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 557, "end": 558, "loc": { "start": { "line": 14, "column": 43 }, "end": { "line": 14, "column": 44 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 561, "end": 563, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 564, "end": 565, "loc": { "start": { "line": 15, "column": 5 }, "end": { "line": 15, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 565, "end": 569, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 10 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 570, "end": 573, "loc": { "start": { "line": 15, "column": 11 }, "end": { "line": 15, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "update", "start": 574, "end": 582, "loc": { "start": { "line": 15, "column": 15 }, "end": { "line": 15, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 582, "end": 583, "loc": { "start": { "line": 15, "column": 23 }, "end": { "line": 15, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 584, "end": 585, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringifyStructs", "start": 590, "end": 606, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 606, "end": 607, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 607, "end": 608, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 608, "end": 609, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 610, "end": 617, "loc": { "start": { "line": 16, "column": 24 }, "end": { "line": 16, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 617, "end": 618, "loc": { "start": { "line": 16, "column": 31 }, "end": { "line": 16, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 619, "end": 629, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 629, "end": 630, "loc": { "start": { "line": 16, "column": 43 }, "end": { "line": 16, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 633, "end": 634, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 17, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 635, "end": 639, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 640, "end": 642, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 643, "end": 644, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 644, "end": 648, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 649, "end": 652, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sync step 1", "start": 653, "end": 666, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 666, "end": 667, "loc": { "start": { "line": 17, "column": 35 }, "end": { "line": 17, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 668, "end": 669, "loc": { "start": { "line": 17, "column": 37 }, "end": { "line": 17, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringifySyncStep1", "start": 674, "end": 692, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 692, "end": 693, "loc": { "start": { "line": 18, "column": 22 }, "end": { "line": 18, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 693, "end": 694, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 694, "end": 695, "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": "decoder", "start": 696, "end": 703, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 703, "end": 704, "loc": { "start": { "line": 18, "column": 33 }, "end": { "line": 18, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 705, "end": 715, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 715, "end": 716, "loc": { "start": { "line": 18, "column": 45 }, "end": { "line": 18, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 719, "end": 720, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 721, "end": 725, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 726, "end": 728, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 729, "end": 730, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 730, "end": 734, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 735, "end": 738, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sync step 2", "start": 739, "end": 752, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 752, "end": 753, "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 19, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 754, "end": 755, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringifySyncStep2", "start": 760, "end": 778, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 778, "end": 779, "loc": { "start": { "line": 20, "column": 22 }, "end": { "line": 20, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 779, "end": 780, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 780, "end": 781, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 20, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 782, "end": 789, "loc": { "start": { "line": 20, "column": 26 }, "end": { "line": 20, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 789, "end": 790, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 791, "end": 801, "loc": { "start": { "line": 20, "column": 35 }, "end": { "line": 20, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 801, "end": 802, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 20, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 805, "end": 806, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 807, "end": 811, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 812, "end": 813, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 818, "end": 828, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 829, "end": 833, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 833, "end": 834, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-- Unknown message type - probably an encoding issue!!!", "start": 834, "end": 891, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 891, "end": 892, "loc": { "start": { "line": 22, "column": 77 }, "end": { "line": 22, "column": 78 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 895, "end": 896, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "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": 899, "end": 905, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strBuilder", "start": 906, "end": 916, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 916, "end": 917, "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 917, "end": 921, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 921, "end": 922, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n", "start": 922, "end": 926, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 926, "end": 927, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 928, "end": 929, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "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": 931, "end": 937, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "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": 938, "end": 946, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 27, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageToRoomname", "start": 947, "end": 964, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 965, "end": 966, "loc": { "start": { "line": 27, "column": 34 }, "end": { "line": 27, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 966, "end": 972, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 972, "end": 973, "loc": { "start": { "line": 27, "column": 41 }, "end": { "line": 27, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 974, "end": 975, "loc": { "start": { "line": 27, "column": 43 }, "end": { "line": 27, "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": 978, "end": 981, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 982, "end": 989, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 990, "end": 991, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 15 } } }, { "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": 992, "end": 995, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryDecoder", "start": 996, "end": 1009, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1009, "end": 1010, "loc": { "start": { "line": 28, "column": 33 }, "end": { "line": 28, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 1010, "end": 1016, "loc": { "start": { "line": 28, "column": 34 }, "end": { "line": 28, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1016, "end": 1017, "loc": { "start": { "line": 28, "column": 40 }, "end": { "line": 28, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 1020, "end": 1027, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1027, "end": 1028, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarString", "start": 1028, "end": 1041, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1041, "end": 1042, "loc": { "start": { "line": 29, "column": 23 }, "end": { "line": 29, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1042, "end": 1043, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 25 } } }, { "type": "CommentLine", "value": " roomname", "start": 1044, "end": 1055, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 37 } } }, { "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": 1058, "end": 1064, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 1065, "end": 1072, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1072, "end": 1073, "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarString", "start": 1073, "end": 1086, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1086, "end": 1087, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1087, "end": 1088, "loc": { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 32 } } }, { "type": "CommentLine", "value": " messageType", "start": 1089, "end": 1103, "loc": { "start": { "line": 30, "column": 33 }, "end": { "line": 30, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1104, "end": 1105, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "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": 1107, "end": 1113, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "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": 1114, "end": 1122, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 1123, "end": 1128, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1129, "end": 1130, "loc": { "start": { "line": 33, "column": 22 }, "end": { "line": 33, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1130, "end": 1132, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1132, "end": 1133, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1134, "end": 1135, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 28 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1138, "end": 1140, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1141, "end": 1142, "loc": { "start": { "line": 34, "column": 5 }, "end": { "line": 34, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1142, "end": 1144, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1145, "end": 1148, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 12 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1149, "end": 1153, "loc": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1154, "end": 1156, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1157, "end": 1159, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1159, "end": 1160, "loc": { "start": { "line": 34, "column": 23 }, "end": { "line": 34, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 1160, "end": 1163, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 1164, "end": 1166, "loc": { "start": { "line": 34, "column": 28 }, "end": { "line": 34, "column": 30 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1167, "end": 1171, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1171, "end": 1172, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1173, "end": 1174, "loc": { "start": { "line": 34, "column": 37 }, "end": { "line": 34, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1179, "end": 1181, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 6 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1182, "end": 1183, "loc": { "start": { "line": 35, "column": 7 }, "end": { "line": 35, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1184, "end": 1186, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1186, "end": 1187, "loc": { "start": { "line": 35, "column": 11 }, "end": { "line": 35, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 1187, "end": 1190, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1193, "end": 1194, "loc": { "start": { "line": 36, "column": 2 }, "end": { "line": 36, "column": 3 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1197, "end": 1199, "loc": { "start": { "line": 37, "column": 2 }, "end": { "line": 37, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1200, "end": 1201, "loc": { "start": { "line": 37, "column": 5 }, "end": { "line": 37, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1201, "end": 1203, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 8 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1204, "end": 1207, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 12 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1208, "end": 1212, "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 37, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1212, "end": 1213, "loc": { "start": { "line": 37, "column": 17 }, "end": { "line": 37, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1214, "end": 1215, "loc": { "start": { "line": 37, "column": 19 }, "end": { "line": 37, "column": 20 } } }, { "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": 1220, "end": 1226, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 10 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "()", "start": 1227, "end": 1231, "loc": { "start": { "line": 38, "column": 11 }, "end": { "line": 38, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1234, "end": 1235, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 39, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1236, "end": 1240, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1241, "end": 1243, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 39, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1244, "end": 1245, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1245, "end": 1247, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 15 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 1248, "end": 1258, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ID", "start": 1259, "end": 1261, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1261, "end": 1262, "loc": { "start": { "line": 39, "column": 29 }, "end": { "line": 39, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1263, "end": 1264, "loc": { "start": { "line": 39, "column": 31 }, "end": { "line": 39, "column": 32 } } }, { "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": 1269, "end": 1275, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 10 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1276, "end": 1277, "loc": { "start": { "line": 40, "column": 11 }, "end": { "line": 40, "column": 12 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(", "start": 1277, "end": 1278, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 13 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1278, "end": 1280, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1280, "end": 1282, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1282, "end": 1283, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 1283, "end": 1287, "loc": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1287, "end": 1288, "loc": { "start": { "line": 40, "column": 22 }, "end": { "line": 40, "column": 23 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",", "start": 1288, "end": 1289, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 40, "column": 24 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1289, "end": 1291, "loc": { "start": { "line": 40, "column": 24 }, "end": { "line": 40, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1291, "end": 1293, "loc": { "start": { "line": 40, "column": 26 }, "end": { "line": 40, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1293, "end": 1294, "loc": { "start": { "line": 40, "column": 28 }, "end": { "line": 40, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clock", "start": 1294, "end": 1299, "loc": { "start": { "line": 40, "column": 29 }, "end": { "line": 40, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1299, "end": 1300, "loc": { "start": { "line": 40, "column": 34 }, "end": { "line": 40, "column": 35 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 1300, "end": 1301, "loc": { "start": { "line": 40, "column": 35 }, "end": { "line": 40, "column": 36 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1301, "end": 1302, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1305, "end": 1306, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1307, "end": 1311, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1312, "end": 1314, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1315, "end": 1316, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1316, "end": 1318, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 15 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 1319, "end": 1329, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RootID", "start": 1330, "end": 1336, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1336, "end": 1337, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1338, "end": 1339, "loc": { "start": { "line": 41, "column": 35 }, "end": { "line": 41, "column": 36 } } }, { "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": 1344, "end": 1350, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 10 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1351, "end": 1352, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 12 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(", "start": 1352, "end": 1353, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 13 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1353, "end": 1355, "loc": { "start": { "line": 42, "column": 13 }, "end": { "line": 42, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1355, "end": 1357, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1357, "end": 1358, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 1358, "end": 1362, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1362, "end": 1363, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 23 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",", "start": 1363, "end": 1364, "loc": { "start": { "line": 42, "column": 23 }, "end": { "line": 42, "column": 24 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1364, "end": 1366, "loc": { "start": { "line": 42, "column": 24 }, "end": { "line": 42, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1366, "end": 1368, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1368, "end": 1369, "loc": { "start": { "line": 42, "column": 28 }, "end": { "line": 42, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1369, "end": 1373, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1373, "end": 1374, "loc": { "start": { "line": 42, "column": 33 }, "end": { "line": 42, "column": 34 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 1374, "end": 1375, "loc": { "start": { "line": 42, "column": 34 }, "end": { "line": 42, "column": 35 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1375, "end": 1376, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1379, "end": 1380, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1381, "end": 1385, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1386, "end": 1388, "loc": { "start": { "line": 43, "column": 9 }, "end": { "line": 43, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1389, "end": 1390, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1390, "end": 1392, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1392, "end": 1393, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1393, "end": 1404, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1405, "end": 1408, "loc": { "start": { "line": 43, "column": 28 }, "end": { "line": 43, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Y", "start": 1409, "end": 1410, "loc": { "start": { "line": 43, "column": 32 }, "end": { "line": 43, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1410, "end": 1411, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1412, "end": 1413, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 43, "column": 36 } } }, { "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": 1418, "end": 1424, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 10 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1425, "end": 1426, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "y", "start": 1426, "end": 1427, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1427, "end": 1428, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1431, "end": 1432, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1433, "end": 1437, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1438, "end": 1439, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 10 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 1444, "end": 1449, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 9 } } }, { "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": 1450, "end": 1453, "loc": { "start": { "line": 46, "column": 10 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 1454, "end": 1459, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1459, "end": 1460, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "This is not a valid ID!", "start": 1460, "end": 1485, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1485, "end": 1486, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1489, "end": 1490, "loc": { "start": { "line": 47, "column": 2 }, "end": { "line": 47, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1491, "end": 1492, "loc": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Helper utility to convert an item to a readable format.\n *\n * @param {String} name The name of the item class (YText, ItemString, ..).\n * @param {Item} item The item instance.\n * @param {String} [append] Additional information to append to the returned\n * string.\n * @return {String} A readable string that represents the item object.\n *\n * @private\n ", "start": 1494, "end": 1879, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 60, "column": 3 } } }, { "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": 1880, "end": 1886, "loc": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "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": 1887, "end": 1895, "loc": { "start": { "line": 61, "column": 7 }, "end": { "line": 61, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logItemHelper", "start": 1896, "end": 1909, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1910, "end": 1911, "loc": { "start": { "line": 61, "column": 30 }, "end": { "line": 61, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 1911, "end": 1915, "loc": { "start": { "line": 61, "column": 31 }, "end": { "line": 61, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1915, "end": 1916, "loc": { "start": { "line": 61, "column": 35 }, "end": { "line": 61, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 1917, "end": 1921, "loc": { "start": { "line": 61, "column": 37 }, "end": { "line": 61, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1921, "end": 1922, "loc": { "start": { "line": 61, "column": 41 }, "end": { "line": 61, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "append", "start": 1923, "end": 1929, "loc": { "start": { "line": 61, "column": 43 }, "end": { "line": 61, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1929, "end": 1930, "loc": { "start": { "line": 61, "column": 49 }, "end": { "line": 61, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1931, "end": 1932, "loc": { "start": { "line": 61, "column": 51 }, "end": { "line": 61, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1935, "end": 1940, "loc": { "start": { "line": 62, "column": 2 }, "end": { "line": 62, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 1941, "end": 1945, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1946, "end": 1947, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 1948, "end": 1952, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1952, "end": 1953, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_left", "start": 1953, "end": 1958, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1959, "end": 1962, "loc": { "start": { "line": 62, "column": 26 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1963, "end": 1967, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1968, "end": 1969, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 1970, "end": 1974, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1974, "end": 1975, "loc": { "start": { "line": 62, "column": 41 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_left", "start": 1975, "end": 1980, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1980, "end": 1981, "loc": { "start": { "line": 62, "column": 47 }, "end": { "line": 62, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_lastId", "start": 1981, "end": 1988, "loc": { "start": { "line": 62, "column": 48 }, "end": { "line": 62, "column": 55 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1989, "end": 1990, "loc": { "start": { "line": 62, "column": 56 }, "end": { "line": 62, "column": 57 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1991, "end": 1995, "loc": { "start": { "line": 62, "column": 58 }, "end": { "line": 62, "column": 62 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1998, "end": 2003, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 2004, "end": 2010, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2011, "end": 2012, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2013, "end": 2017, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2017, "end": 2018, "loc": { "start": { "line": 63, "column": 21 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_origin", "start": 2018, "end": 2025, "loc": { "start": { "line": 63, "column": 22 }, "end": { "line": 63, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2026, "end": 2029, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 33 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2030, "end": 2034, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 38 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2035, "end": 2036, "loc": { "start": { "line": 63, "column": 39 }, "end": { "line": 63, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2037, "end": 2041, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2041, "end": 2042, "loc": { "start": { "line": 63, "column": 45 }, "end": { "line": 63, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_origin", "start": 2042, "end": 2049, "loc": { "start": { "line": 63, "column": 46 }, "end": { "line": 63, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2049, "end": 2050, "loc": { "start": { "line": 63, "column": 53 }, "end": { "line": 63, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_lastId", "start": 2050, "end": 2057, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 61 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2058, "end": 2059, "loc": { "start": { "line": 63, "column": 62 }, "end": { "line": 63, "column": 63 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2060, "end": 2064, "loc": { "start": { "line": 63, "column": 64 }, "end": { "line": 63, "column": 68 } } }, { "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": 2067, "end": 2073, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 8 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2074, "end": 2075, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 10 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2075, "end": 2075, "loc": { "start": { "line": 64, "column": 10 }, "end": { "line": 64, "column": 10 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2075, "end": 2077, "loc": { "start": { "line": 64, "column": 10 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 2077, "end": 2081, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2081, "end": 2082, "loc": { "start": { "line": 64, "column": 16 }, "end": { "line": 64, "column": 17 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(id:", "start": 2082, "end": 2086, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2086, "end": 2088, "loc": { "start": { "line": 64, "column": 21 }, "end": { "line": 64, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 2088, "end": 2093, "loc": { "start": { "line": 64, "column": 23 }, "end": { "line": 64, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2093, "end": 2094, "loc": { "start": { "line": 64, "column": 28 }, "end": { "line": 64, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2094, "end": 2098, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2098, "end": 2099, "loc": { "start": { "line": 64, "column": 33 }, "end": { "line": 64, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 2099, "end": 2102, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2102, "end": 2103, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2103, "end": 2104, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 39 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",start:", "start": 2104, "end": 2111, "loc": { "start": { "line": 64, "column": 39 }, "end": { "line": 64, "column": 46 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2111, "end": 2113, "loc": { "start": { "line": 64, "column": 46 }, "end": { "line": 64, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 2113, "end": 2118, "loc": { "start": { "line": 64, "column": 48 }, "end": { "line": 64, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2118, "end": 2119, "loc": { "start": { "line": 64, "column": 53 }, "end": { "line": 64, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2119, "end": 2123, "loc": { "start": { "line": 64, "column": 54 }, "end": { "line": 64, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2123, "end": 2124, "loc": { "start": { "line": 64, "column": 58 }, "end": { "line": 64, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_start", "start": 2124, "end": 2130, "loc": { "start": { "line": 64, "column": 59 }, "end": { "line": 64, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2130, "end": 2131, "loc": { "start": { "line": 64, "column": 65 }, "end": { "line": 64, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2131, "end": 2132, "loc": { "start": { "line": 64, "column": 66 }, "end": { "line": 64, "column": 67 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",left:", "start": 2132, "end": 2138, "loc": { "start": { "line": 64, "column": 67 }, "end": { "line": 64, "column": 73 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2138, "end": 2140, "loc": { "start": { "line": 64, "column": 73 }, "end": { "line": 64, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 2140, "end": 2145, "loc": { "start": { "line": 64, "column": 75 }, "end": { "line": 64, "column": 80 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2145, "end": 2146, "loc": { "start": { "line": 64, "column": 80 }, "end": { "line": 64, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 2146, "end": 2150, "loc": { "start": { "line": 64, "column": 81 }, "end": { "line": 64, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2150, "end": 2151, "loc": { "start": { "line": 64, "column": 85 }, "end": { "line": 64, "column": 86 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2151, "end": 2152, "loc": { "start": { "line": 64, "column": 86 }, "end": { "line": 64, "column": 87 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",origin:", "start": 2152, "end": 2160, "loc": { "start": { "line": 64, "column": 87 }, "end": { "line": 64, "column": 95 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2160, "end": 2162, "loc": { "start": { "line": 64, "column": 95 }, "end": { "line": 64, "column": 97 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 2162, "end": 2167, "loc": { "start": { "line": 64, "column": 97 }, "end": { "line": 64, "column": 102 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2167, "end": 2168, "loc": { "start": { "line": 64, "column": 102 }, "end": { "line": 64, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 2168, "end": 2174, "loc": { "start": { "line": 64, "column": 103 }, "end": { "line": 64, "column": 109 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2174, "end": 2175, "loc": { "start": { "line": 64, "column": 109 }, "end": { "line": 64, "column": 110 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2175, "end": 2176, "loc": { "start": { "line": 64, "column": 110 }, "end": { "line": 64, "column": 111 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",right:", "start": 2176, "end": 2183, "loc": { "start": { "line": 64, "column": 111 }, "end": { "line": 64, "column": 118 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2183, "end": 2185, "loc": { "start": { "line": 64, "column": 118 }, "end": { "line": 64, "column": 120 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 2185, "end": 2190, "loc": { "start": { "line": 64, "column": 120 }, "end": { "line": 64, "column": 125 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2190, "end": 2191, "loc": { "start": { "line": 64, "column": 125 }, "end": { "line": 64, "column": 126 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2191, "end": 2195, "loc": { "start": { "line": 64, "column": 126 }, "end": { "line": 64, "column": 130 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2195, "end": 2196, "loc": { "start": { "line": 64, "column": 130 }, "end": { "line": 64, "column": 131 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_right", "start": 2196, "end": 2202, "loc": { "start": { "line": 64, "column": 131 }, "end": { "line": 64, "column": 137 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2202, "end": 2203, "loc": { "start": { "line": 64, "column": 137 }, "end": { "line": 64, "column": 138 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2203, "end": 2204, "loc": { "start": { "line": 64, "column": 138 }, "end": { "line": 64, "column": 139 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",parent:", "start": 2204, "end": 2212, "loc": { "start": { "line": 64, "column": 139 }, "end": { "line": 64, "column": 147 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2212, "end": 2214, "loc": { "start": { "line": 64, "column": 147 }, "end": { "line": 64, "column": 149 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logID", "start": 2214, "end": 2219, "loc": { "start": { "line": 64, "column": 149 }, "end": { "line": 64, "column": 154 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2219, "end": 2220, "loc": { "start": { "line": 64, "column": 154 }, "end": { "line": 64, "column": 155 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2220, "end": 2224, "loc": { "start": { "line": 64, "column": 155 }, "end": { "line": 64, "column": 159 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2224, "end": 2225, "loc": { "start": { "line": 64, "column": 159 }, "end": { "line": 64, "column": 160 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_parent", "start": 2225, "end": 2232, "loc": { "start": { "line": 64, "column": 160 }, "end": { "line": 64, "column": 167 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2232, "end": 2233, "loc": { "start": { "line": 64, "column": 167 }, "end": { "line": 64, "column": 168 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2233, "end": 2234, "loc": { "start": { "line": 64, "column": 168 }, "end": { "line": 64, "column": 169 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ",parentSub:", "start": 2234, "end": 2245, "loc": { "start": { "line": 64, "column": 169 }, "end": { "line": 64, "column": 180 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2245, "end": 2247, "loc": { "start": { "line": 64, "column": 180 }, "end": { "line": 64, "column": 182 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2247, "end": 2251, "loc": { "start": { "line": 64, "column": 182 }, "end": { "line": 64, "column": 186 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2251, "end": 2252, "loc": { "start": { "line": 64, "column": 186 }, "end": { "line": 64, "column": 187 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_parentSub", "start": 2252, "end": 2262, "loc": { "start": { "line": 64, "column": 187 }, "end": { "line": 64, "column": 197 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2262, "end": 2263, "loc": { "start": { "line": 64, "column": 197 }, "end": { "line": 64, "column": 198 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2263, "end": 2263, "loc": { "start": { "line": 64, "column": 198 }, "end": { "line": 64, "column": 198 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2263, "end": 2265, "loc": { "start": { "line": 64, "column": 198 }, "end": { "line": 64, "column": 200 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "append", "start": 2265, "end": 2271, "loc": { "start": { "line": 64, "column": 200 }, "end": { "line": 64, "column": 206 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2272, "end": 2275, "loc": { "start": { "line": 64, "column": 207 }, "end": { "line": 64, "column": 210 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 2276, "end": 2285, "loc": { "start": { "line": 64, "column": 211 }, "end": { "line": 64, "column": 220 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2286, "end": 2287, "loc": { "start": { "line": 64, "column": 221 }, "end": { "line": 64, "column": 222 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " - ", "start": 2288, "end": 2293, "loc": { "start": { "line": 64, "column": 223 }, "end": { "line": 64, "column": 228 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2294, "end": 2295, "loc": { "start": { "line": 64, "column": 229 }, "end": { "line": 64, "column": 230 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "append", "start": 2296, "end": 2302, "loc": { "start": { "line": 64, "column": 231 }, "end": { "line": 64, "column": 237 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2303, "end": 2304, "loc": { "start": { "line": 64, "column": 238 }, "end": { "line": 64, "column": 239 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2305, "end": 2307, "loc": { "start": { "line": 64, "column": 240 }, "end": { "line": 64, "column": 242 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2307, "end": 2308, "loc": { "start": { "line": 64, "column": 242 }, "end": { "line": 64, "column": 243 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 2308, "end": 2309, "loc": { "start": { "line": 64, "column": 243 }, "end": { "line": 64, "column": 244 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2309, "end": 2310, "loc": { "start": { "line": 64, "column": 244 }, "end": { "line": 64, "column": 245 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2311, "end": 2312, "loc": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2313, "end": 2313, "loc": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 0 } } } ] }