{ "type": "File", "start": 0, "end": 9893, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 298, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 9893, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 298, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 52, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 52 } }, "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": "BinaryEncoder" }, "name": "BinaryEncoder" } } ], "source": { "type": "StringLiteral", "start": 26, "end": 52, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 52 } }, "extra": { "rawValue": "./Util/Binary/Encoder.js", "raw": "'./Util/Binary/Encoder.js'" }, "value": "./Util/Binary/Encoder.js" } }, { "type": "ImportDeclaration", "start": 53, "end": 105, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 52 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 60, "end": 73, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 20 } }, "local": { "type": "Identifier", "start": 60, "end": 73, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 20 }, "identifierName": "BinaryDecoder" }, "name": "BinaryDecoder" } } ], "source": { "type": "StringLiteral", "start": 79, "end": 105, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 52 } }, "extra": { "rawValue": "./Util/Binary/Decoder.js", "raw": "'./Util/Binary/Decoder.js'" }, "value": "./Util/Binary/Decoder.js" } }, { "type": "ImportDeclaration", "start": 107, "end": 183, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 76 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 116, "end": 129, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 } }, "imported": { "type": "Identifier", "start": 116, "end": 129, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 }, "identifierName": "sendSyncStep1" }, "name": "sendSyncStep1" }, "local": { "type": "Identifier", "start": 116, "end": 129, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 }, "identifierName": "sendSyncStep1" }, "name": "sendSyncStep1" } }, { "type": "ImportSpecifier", "start": 131, "end": 144, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 37 } }, "imported": { "type": "Identifier", "start": 131, "end": 144, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 37 }, "identifierName": "readSyncStep1" }, "name": "readSyncStep1" }, "local": { "type": "Identifier", "start": 131, "end": 144, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 37 }, "identifierName": "readSyncStep1" }, "name": "readSyncStep1" } } ], "source": { "type": "StringLiteral", "start": 152, "end": 183, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 76 } }, "extra": { "rawValue": "./MessageHandler/syncStep1.js", "raw": "'./MessageHandler/syncStep1.js'" }, "value": "./MessageHandler/syncStep1.js" } }, { "type": "ImportDeclaration", "start": 184, "end": 245, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 193, "end": 206, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 22 } }, "imported": { "type": "Identifier", "start": 193, "end": 206, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 22 }, "identifierName": "readSyncStep2" }, "name": "readSyncStep2" }, "local": { "type": "Identifier", "start": 193, "end": 206, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 22 }, "identifierName": "readSyncStep2" }, "name": "readSyncStep2" } } ], "source": { "type": "StringLiteral", "start": 214, "end": 245, "loc": { "start": { "line": 5, "column": 30 }, "end": { "line": 5, "column": 61 } }, "extra": { "rawValue": "./MessageHandler/syncStep2.js", "raw": "'./MessageHandler/syncStep2.js'" }, "value": "./MessageHandler/syncStep2.js" } }, { "type": "ImportDeclaration", "start": 246, "end": 329, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 83 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 255, "end": 277, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 31 } }, "imported": { "type": "Identifier", "start": 255, "end": 277, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 31 }, "identifierName": "integrateRemoteStructs" }, "name": "integrateRemoteStructs" }, "local": { "type": "Identifier", "start": 255, "end": 277, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 31 }, "identifierName": "integrateRemoteStructs" }, "name": "integrateRemoteStructs" } } ], "source": { "type": "StringLiteral", "start": 285, "end": 329, "loc": { "start": { "line": 6, "column": 39 }, "end": { "line": 6, "column": 83 } }, "extra": { "rawValue": "./MessageHandler/integrateRemoteStructs.js", "raw": "'./MessageHandler/integrateRemoteStructs.js'" }, "value": "./MessageHandler/integrateRemoteStructs.js" } }, { "type": "ImportDeclaration", "start": 331, "end": 356, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 25 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 338, "end": 343, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 12 } }, "local": { "type": "Identifier", "start": 338, "end": 343, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 12 }, "identifierName": "debug" }, "name": "debug" } } ], "source": { "type": "StringLiteral", "start": 349, "end": 356, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 25 } }, "extra": { "rawValue": "debug", "raw": "'debug'" }, "value": "debug", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " TODO: rename Connector", "start": 358, "end": 383, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 25 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 385, "end": 9892, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 297, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 400, "end": 9892, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 297, "column": 1 } }, "id": { "type": "Identifier", "start": 406, "end": 423, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 38 }, "identifierName": "AbstractConnector" }, "name": "AbstractConnector", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 424, "end": 9892, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 297, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 428, "end": 1539, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 43, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 428, "end": 439, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 13 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 441, "end": 442, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 16 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 444, "end": 448, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 22 }, "identifierName": "opts" }, "name": "opts" } ], "body": { "type": "BlockStatement", "start": 450, "end": 1539, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 43, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 456, "end": 466, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 14 } }, "expression": { "type": "AssignmentExpression", "start": 456, "end": 466, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 14 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 456, "end": 462, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 10 } }, "object": { "type": "ThisExpression", "start": 456, "end": 460, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 8 } } }, "property": { "type": "Identifier", "start": 461, "end": 462, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 10 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "Identifier", "start": 465, "end": 466, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 14 }, "identifierName": "y" }, "name": "y" } } }, { "type": "ExpressionStatement", "start": 471, "end": 487, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 471, "end": 487, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 471, "end": 480, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 13 } }, "object": { "type": "ThisExpression", "start": 471, "end": 475, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 8 } } }, "property": { "type": "Identifier", "start": 476, "end": 480, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 13 }, "identifierName": "opts" }, "name": "opts" }, "computed": false }, "right": { "type": "Identifier", "start": 483, "end": 487, "loc": { "start": { "line": 15, "column": 16 }, "end": { "line": 15, "column": 20 }, "identifierName": "opts" }, "name": "opts" } } }, { "type": "IfStatement", "start": 492, "end": 720, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 22, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 496, "end": 539, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 51 } }, "left": { "type": "BinaryExpression", "start": 496, "end": 513, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 25 } }, "left": { "type": "MemberExpression", "start": 496, "end": 505, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 17 } }, "object": { "type": "Identifier", "start": 496, "end": 500, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 12 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 501, "end": 505, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 17 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "operator": "==", "right": { "type": "NullLiteral", "start": 509, "end": 513, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 25 } } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 517, "end": 539, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 51 } }, "left": { "type": "MemberExpression", "start": 517, "end": 526, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 38 } }, "object": { "type": "Identifier", "start": 517, "end": 521, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 33 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 522, "end": 526, "loc": { "start": { "line": 16, "column": 34 }, "end": { "line": 16, "column": 38 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 531, "end": 539, "loc": { "start": { "line": 16, "column": 43 }, "end": { "line": 16, "column": 51 } }, "extra": { "rawValue": "master", "raw": "'master'" }, "value": "master" } } }, "consequent": { "type": "BlockStatement", "start": 541, "end": 575, "loc": { "start": { "line": 16, "column": 53 }, "end": { "line": 18, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 549, "end": 569, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 549, "end": 569, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 549, "end": 558, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 15 } }, "object": { "type": "ThisExpression", "start": 549, "end": 553, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 10 } } }, "property": { "type": "Identifier", "start": 554, "end": 558, "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 15 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "right": { "type": "StringLiteral", "start": 561, "end": 569, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 26 } }, "extra": { "rawValue": "master", "raw": "'master'" }, "value": "master" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 581, "end": 720, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 22, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 585, "end": 606, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 36 } }, "left": { "type": "MemberExpression", "start": 585, "end": 594, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 24 } }, "object": { "type": "Identifier", "start": 585, "end": 589, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 19 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 590, "end": 594, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 24 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 599, "end": 606, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 36 } }, "extra": { "rawValue": "slave", "raw": "'slave'" }, "value": "slave" } }, "consequent": { "type": "BlockStatement", "start": 608, "end": 641, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 20, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 616, "end": 635, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 616, "end": 635, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 616, "end": 625, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 15 } }, "object": { "type": "ThisExpression", "start": 616, "end": 620, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 10 } } }, "property": { "type": "Identifier", "start": 621, "end": 625, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 15 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "right": { "type": "StringLiteral", "start": 628, "end": 635, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 25 } }, "extra": { "rawValue": "slave", "raw": "'slave'" }, "value": "slave" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 647, "end": 720, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 22, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 655, "end": 714, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 65 } }, "argument": { "type": "NewExpression", "start": 661, "end": 714, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 65 } }, "callee": { "type": "Identifier", "start": 665, "end": 670, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 671, "end": 713, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 64 } }, "extra": { "rawValue": "Role must be either 'master' or 'slave'!", "raw": "\"Role must be either 'master' or 'slave'!\"" }, "value": "Role must be either 'master' or 'slave'!" } ] } } ], "directives": [] } } }, { "type": "ExpressionStatement", "start": 725, "end": 756, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 725, "end": 756, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 725, "end": 733, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 12 } }, "object": { "type": "ThisExpression", "start": 725, "end": 729, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, "property": { "type": "Identifier", "start": 730, "end": 733, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "right": { "type": "CallExpression", "start": 736, "end": 756, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 35 } }, "callee": { "type": "Identifier", "start": 736, "end": 741, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 20 }, "identifierName": "debug" }, "name": "debug" }, "arguments": [ { "type": "StringLiteral", "start": 742, "end": 755, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 34 } }, "extra": { "rawValue": "y:connector", "raw": "'y:connector'" }, "value": "y:connector" } ] } } }, { "type": "ExpressionStatement", "start": 761, "end": 807, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 761, "end": 807, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 761, "end": 776, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 19 } }, "object": { "type": "ThisExpression", "start": 761, "end": 765, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 8 } } }, "property": { "type": "Identifier", "start": 766, "end": 776, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 19 }, "identifierName": "logMessage" }, "name": "logMessage" }, "computed": false }, "right": { "type": "CallExpression", "start": 779, "end": 807, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 50 } }, "callee": { "type": "Identifier", "start": 779, "end": 784, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "arguments": [ { "type": "StringLiteral", "start": 785, "end": 806, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 49 } }, "extra": { "rawValue": "y:connector-message", "raw": "'y:connector-message'" }, "value": "y:connector-message" } ] } } }, { "type": "ExpressionStatement", "start": 812, "end": 880, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 812, "end": 880, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 812, "end": 839, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 31 } }, "object": { "type": "ThisExpression", "start": 812, "end": 816, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 8 } } }, "property": { "type": "Identifier", "start": 817, "end": 839, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 31 }, "identifierName": "_forwardAppliedStructs" }, "name": "_forwardAppliedStructs" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 842, "end": 880, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 72 } }, "left": { "type": "MemberExpression", "start": 842, "end": 871, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 63 } }, "object": { "type": "Identifier", "start": 842, "end": 846, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 38 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 847, "end": 871, "loc": { "start": { "line": 25, "column": 39 }, "end": { "line": 25, "column": 63 }, "identifierName": "forwardAppliedOperations" }, "name": "forwardAppliedOperations" }, "computed": false }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 875, "end": 880, "loc": { "start": { "line": 25, "column": 67 }, "end": { "line": 25, "column": 72 } }, "value": false, "leadingComments": null, "trailingComments": null }, "trailingComments": null }, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " TODO: rename", "start": 881, "end": 896, "loc": { "start": { "line": 25, "column": 73 }, "end": { "line": 25, "column": 88 } } } ] }, { "type": "ExpressionStatement", "start": 901, "end": 922, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 901, "end": 922, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 901, "end": 910, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 13 } }, "object": { "type": "ThisExpression", "start": 901, "end": 905, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 906, "end": 910, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 13 }, "identifierName": "role" }, "name": "role" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 913, "end": 922, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 25 } }, "object": { "type": "Identifier", "start": 913, "end": 917, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 20 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 918, "end": 922, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 25 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " TODO: rename", "start": 881, "end": 896, "loc": { "start": { "line": 25, "column": 73 }, "end": { "line": 25, "column": 88 } } } ] }, { "type": "ExpressionStatement", "start": 927, "end": 955, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 927, "end": 955, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 927, "end": 943, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 20 } }, "object": { "type": "ThisExpression", "start": 927, "end": 931, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 8 } } }, "property": { "type": "Identifier", "start": 932, "end": 943, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 20 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "right": { "type": "NewExpression", "start": 946, "end": 955, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 32 } }, "callee": { "type": "Identifier", "start": 950, "end": 953, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 30 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 960, "end": 981, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 960, "end": 981, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 960, "end": 973, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 17 } }, "object": { "type": "ThisExpression", "start": 960, "end": 964, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 8 } } }, "property": { "type": "Identifier", "start": 965, "end": 973, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 17 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 976, "end": 981, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 25 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 986, "end": 1014, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 986, "end": 1014, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 986, "end": 1009, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 27 } }, "object": { "type": "ThisExpression", "start": 986, "end": 990, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 8 } } }, "property": { "type": "Identifier", "start": 991, "end": 1009, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 27 }, "identifierName": "userEventListeners" }, "name": "userEventListeners" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 1012, "end": 1014, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 32 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 1019, "end": 1048, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1019, "end": 1048, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1019, "end": 1043, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1019, "end": 1023, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } } }, "property": { "type": "Identifier", "start": 1024, "end": 1043, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 28 }, "identifierName": "whenSyncedListeners" }, "name": "whenSyncedListeners" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 1046, "end": 1048, "loc": { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 33 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 1053, "end": 1082, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1053, "end": 1082, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1053, "end": 1075, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1053, "end": 1057, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 8 } } }, "property": { "type": "Identifier", "start": 1058, "end": 1075, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 26 }, "identifierName": "currentSyncTarget" }, "name": "currentSyncTarget" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1078, "end": 1082, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 33 } } } } }, { "type": "ExpressionStatement", "start": 1087, "end": 1119, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 1087, "end": 1119, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1087, "end": 1097, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1087, "end": 1091, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 8 } } }, "property": { "type": "Identifier", "start": 1092, "end": 1097, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 1100, "end": 1119, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 36 } }, "left": { "type": "MemberExpression", "start": 1100, "end": 1110, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 27 } }, "object": { "type": "Identifier", "start": 1100, "end": 1104, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 21 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1105, "end": 1110, "loc": { "start": { "line": 32, "column": 22 }, "end": { "line": 32, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 1115, "end": 1119, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 36 } }, "value": true } } } }, { "type": "ExpressionStatement", "start": 1124, "end": 1166, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 1124, "end": 1166, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1124, "end": 1144, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1124, "end": 1128, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 8 } } }, "property": { "type": "Identifier", "start": 1129, "end": 1144, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 24 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "right": { "type": "NewExpression", "start": 1147, "end": 1166, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 46 } }, "callee": { "type": "Identifier", "start": 1151, "end": 1164, "loc": { "start": { "line": 33, "column": 31 }, "end": { "line": 33, "column": 44 }, "identifierName": "BinaryEncoder" }, "name": "BinaryEncoder" }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 1171, "end": 1199, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 1171, "end": 1199, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1171, "end": 1195, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1171, "end": 1175, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, "property": { "type": "Identifier", "start": 1176, "end": 1195, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 28 }, "identifierName": "broadcastBufferSize" }, "name": "broadcastBufferSize" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1198, "end": 1199, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 1204, "end": 1229, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 1204, "end": 1229, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1204, "end": 1224, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1204, "end": 1208, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } } }, "property": { "type": "Identifier", "start": 1209, "end": 1224, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 24 }, "identifierName": "protocolVersion" }, "name": "protocolVersion" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1227, "end": 1229, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 29 } }, "extra": { "rawValue": 11, "raw": "11" }, "value": 11 } } }, { "type": "ExpressionStatement", "start": 1234, "end": 1267, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 1234, "end": 1267, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1234, "end": 1247, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1234, "end": 1238, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 8 } } }, "property": { "type": "Identifier", "start": 1239, "end": 1247, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 17 }, "identifierName": "authInfo" }, "name": "authInfo" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 1250, "end": 1267, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 37 } }, "left": { "type": "MemberExpression", "start": 1250, "end": 1259, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 29 } }, "object": { "type": "Identifier", "start": 1250, "end": 1254, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 24 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1255, "end": 1259, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 29 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "||", "right": { "type": "NullLiteral", "start": 1263, "end": 1267, "loc": { "start": { "line": 36, "column": 33 }, "end": { "line": 36, "column": 37 } } } } } }, { "type": "ExpressionStatement", "start": 1272, "end": 1354, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 86 } }, "expression": { "type": "AssignmentExpression", "start": 1272, "end": 1354, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1272, "end": 1286, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1272, "end": 1276, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 8 } } }, "property": { "type": "Identifier", "start": 1277, "end": 1286, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 18 }, "identifierName": "checkAuth" }, "name": "checkAuth" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 1289, "end": 1354, "loc": { "start": { "line": 37, "column": 21 }, "end": { "line": 37, "column": 86 } }, "left": { "type": "MemberExpression", "start": 1289, "end": 1303, "loc": { "start": { "line": 37, "column": 21 }, "end": { "line": 37, "column": 35 } }, "object": { "type": "Identifier", "start": 1289, "end": 1293, "loc": { "start": { "line": 37, "column": 21 }, "end": { "line": 37, "column": 25 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1294, "end": 1303, "loc": { "start": { "line": 37, "column": 26 }, "end": { "line": 37, "column": 35 }, "identifierName": "checkAuth" }, "name": "checkAuth" }, "computed": false }, "operator": "||", "right": { "type": "FunctionExpression", "start": 1307, "end": 1354, "loc": { "start": { "line": 37, "column": 39 }, "end": { "line": 37, "column": 86 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1319, "end": 1354, "loc": { "start": { "line": 37, "column": 51 }, "end": { "line": 37, "column": 86 } }, "body": [ { "type": "ReturnStatement", "start": 1321, "end": 1352, "loc": { "start": { "line": 37, "column": 53 }, "end": { "line": 37, "column": 84 } }, "argument": { "type": "CallExpression", "start": 1328, "end": 1352, "loc": { "start": { "line": 37, "column": 60 }, "end": { "line": 37, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 1328, "end": 1343, "loc": { "start": { "line": 37, "column": 60 }, "end": { "line": 37, "column": 75 } }, "object": { "type": "Identifier", "start": 1328, "end": 1335, "loc": { "start": { "line": 37, "column": 60 }, "end": { "line": 37, "column": 67 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 1336, "end": 1343, "loc": { "start": { "line": 37, "column": 68 }, "end": { "line": 37, "column": 75 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1344, "end": 1351, "loc": { "start": { "line": 37, "column": 76 }, "end": { "line": 37, "column": 83 } }, "extra": { "rawValue": "write", "raw": "'write'" }, "value": "write" } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "trailingComments": null }, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " default is everyone has write access", "start": 1355, "end": 1394, "loc": { "start": { "line": 37, "column": 87 }, "end": { "line": 37, "column": 126 } } } ] }, { "type": "IfStatement", "start": 1399, "end": 1535, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 42, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1403, "end": 1431, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 36 } }, "left": { "type": "MemberExpression", "start": 1403, "end": 1423, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 28 } }, "object": { "type": "Identifier", "start": 1403, "end": 1407, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 }, "identifierName": "opts" }, "name": "opts", "leadingComments": null }, "property": { "type": "Identifier", "start": 1408, "end": 1423, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 28 }, "identifierName": "maxBufferLength" }, "name": "maxBufferLength" }, "computed": false, "leadingComments": null }, "operator": "==", "right": { "type": "NullLiteral", "start": 1427, "end": 1431, "loc": { "start": { "line": 38, "column": 32 }, "end": { "line": 38, "column": 36 } } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 1433, "end": 1472, "loc": { "start": { "line": 38, "column": 38 }, "end": { "line": 40, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1441, "end": 1466, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 1441, "end": 1466, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1441, "end": 1461, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1441, "end": 1445, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 10 } } }, "property": { "type": "Identifier", "start": 1446, "end": 1461, "loc": { "start": { "line": 39, "column": 11 }, "end": { "line": 39, "column": 26 }, "identifierName": "maxBufferLength" }, "name": "maxBufferLength" }, "computed": false }, "right": { "type": "UnaryExpression", "start": 1464, "end": 1466, "loc": { "start": { "line": 39, "column": 29 }, "end": { "line": 39, "column": 31 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 1465, "end": 1466, "loc": { "start": { "line": 39, "column": 30 }, "end": { "line": 39, "column": 31 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1478, "end": 1535, "loc": { "start": { "line": 40, "column": 11 }, "end": { "line": 42, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1486, "end": 1529, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 1486, "end": 1529, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1486, "end": 1506, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1486, "end": 1490, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 10 } } }, "property": { "type": "Identifier", "start": 1491, "end": 1506, "loc": { "start": { "line": 41, "column": 11 }, "end": { "line": 41, "column": 26 }, "identifierName": "maxBufferLength" }, "name": "maxBufferLength" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1509, "end": 1529, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 49 } }, "object": { "type": "Identifier", "start": 1509, "end": 1513, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 33 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1514, "end": 1529, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 49 }, "identifierName": "maxBufferLength" }, "name": "maxBufferLength" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " default is everyone has write access", "start": 1355, "end": 1394, "loc": { "start": { "line": 37, "column": 87 }, "end": { "line": 37, "column": 126 } } } ] } ], "directives": [] } }, { "type": "ClassMethod", "start": 1543, "end": 1592, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 47, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1543, "end": 1552, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 11 }, "identifierName": "reconnect" }, "name": "reconnect" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1556, "end": 1592, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 47, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1562, "end": 1588, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 30 } }, "expression": { "type": "CallExpression", "start": 1562, "end": 1588, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 1562, "end": 1570, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 12 } }, "object": { "type": "ThisExpression", "start": 1562, "end": 1566, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 8 } } }, "property": { "type": "Identifier", "start": 1567, "end": 1570, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1571, "end": 1587, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 29 } }, "extra": { "rawValue": "reconnecting..", "raw": "'reconnecting..'" }, "value": "reconnecting.." } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1596, "end": 1804, "loc": { "start": { "line": 49, "column": 2 }, "end": { "line": 56, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1596, "end": 1606, "loc": { "start": { "line": 49, "column": 2 }, "end": { "line": 49, "column": 12 }, "identifierName": "disconnect" }, "name": "disconnect" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1610, "end": 1804, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 56, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1616, "end": 1644, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 32 } }, "expression": { "type": "CallExpression", "start": 1616, "end": 1644, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1616, "end": 1624, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 12 } }, "object": { "type": "ThisExpression", "start": 1616, "end": 1620, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 8 } } }, "property": { "type": "Identifier", "start": 1621, "end": 1624, "loc": { "start": { "line": 50, "column": 9 }, "end": { "line": 50, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1625, "end": 1643, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 50, "column": 31 } }, "extra": { "rawValue": "discronnecting..", "raw": "'discronnecting..'" }, "value": "discronnecting.." } ] } }, { "type": "ExpressionStatement", "start": 1649, "end": 1677, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 1649, "end": 1677, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1649, "end": 1665, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1649, "end": 1653, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 } } }, "property": { "type": "Identifier", "start": 1654, "end": 1665, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 20 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "right": { "type": "NewExpression", "start": 1668, "end": 1677, "loc": { "start": { "line": 51, "column": 23 }, "end": { "line": 51, "column": 32 } }, "callee": { "type": "Identifier", "start": 1672, "end": 1675, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 30 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 1682, "end": 1703, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 1682, "end": 1703, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1682, "end": 1695, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1682, "end": 1686, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, "property": { "type": "Identifier", "start": 1687, "end": 1695, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 17 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1698, "end": 1703, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 25 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 1708, "end": 1737, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1708, "end": 1737, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1708, "end": 1730, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1708, "end": 1712, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 8 } } }, "property": { "type": "Identifier", "start": 1713, "end": 1730, "loc": { "start": { "line": 53, "column": 9 }, "end": { "line": 53, "column": 26 }, "identifierName": "currentSyncTarget" }, "name": "currentSyncTarget" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1733, "end": 1737, "loc": { "start": { "line": 53, "column": 29 }, "end": { "line": 53, "column": 33 } } } } }, { "type": "ExpressionStatement", "start": 1742, "end": 1771, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1742, "end": 1771, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1742, "end": 1766, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1742, "end": 1746, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 8 } } }, "property": { "type": "Identifier", "start": 1747, "end": 1766, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 28 }, "identifierName": "whenSyncedListeners" }, "name": "whenSyncedListeners" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 1769, "end": 1771, "loc": { "start": { "line": 54, "column": 31 }, "end": { "line": 54, "column": 33 } }, "elements": [] } } }, { "type": "ReturnStatement", "start": 1776, "end": 1800, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 28 } }, "argument": { "type": "CallExpression", "start": 1783, "end": 1800, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 1783, "end": 1798, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 26 } }, "object": { "type": "Identifier", "start": 1783, "end": 1790, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 18 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 1791, "end": 1798, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 26 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1808, "end": 1865, "loc": { "start": { "line": 58, "column": 2 }, "end": { "line": 60, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1808, "end": 1819, "loc": { "start": { "line": 58, "column": 2 }, "end": { "line": 58, "column": 13 }, "identifierName": "onUserEvent" }, "name": "onUserEvent" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1821, "end": 1822, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 16 }, "identifierName": "f" }, "name": "f" } ], "body": { "type": "BlockStatement", "start": 1824, "end": 1865, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 60, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1830, "end": 1861, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 35 } }, "expression": { "type": "CallExpression", "start": 1830, "end": 1861, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 1830, "end": 1858, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 32 } }, "object": { "type": "MemberExpression", "start": 1830, "end": 1853, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1830, "end": 1834, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 8 } } }, "property": { "type": "Identifier", "start": 1835, "end": 1853, "loc": { "start": { "line": 59, "column": 9 }, "end": { "line": 59, "column": 27 }, "identifierName": "userEventListeners" }, "name": "userEventListeners" }, "computed": false }, "property": { "type": "Identifier", "start": 1854, "end": 1858, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 32 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1859, "end": 1860, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 34 }, "identifierName": "f" }, "name": "f" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1869, "end": 1977, "loc": { "start": { "line": 62, "column": 2 }, "end": { "line": 64, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1869, "end": 1892, "loc": { "start": { "line": 62, "column": 2 }, "end": { "line": 62, "column": 25 }, "identifierName": "removeUserEventListener" }, "name": "removeUserEventListener" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1894, "end": 1895, "loc": { "start": { "line": 62, "column": 27 }, "end": { "line": 62, "column": 28 }, "identifierName": "f" }, "name": "f" } ], "body": { "type": "BlockStatement", "start": 1897, "end": 1977, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 64, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1903, "end": 1973, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 1903, "end": 1973, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 74 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1903, "end": 1926, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1903, "end": 1907, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 1908, "end": 1926, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 27 }, "identifierName": "userEventListeners" }, "name": "userEventListeners" }, "computed": false }, "right": { "type": "CallExpression", "start": 1929, "end": 1973, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 1929, "end": 1959, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 60 } }, "object": { "type": "MemberExpression", "start": 1929, "end": 1952, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 53 } }, "object": { "type": "ThisExpression", "start": 1929, "end": 1933, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 34 } } }, "property": { "type": "Identifier", "start": 1934, "end": 1952, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 53 }, "identifierName": "userEventListeners" }, "name": "userEventListeners" }, "computed": false }, "property": { "type": "Identifier", "start": 1953, "end": 1959, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 60 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 1960, "end": 1972, "loc": { "start": { "line": 63, "column": 61 }, "end": { "line": 63, "column": 73 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 1960, "end": 1961, "loc": { "start": { "line": 63, "column": 61 }, "end": { "line": 63, "column": 62 }, "identifierName": "g" }, "name": "g" } ], "body": { "type": "BinaryExpression", "start": 1965, "end": 1972, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 63, "column": 73 } }, "left": { "type": "Identifier", "start": 1965, "end": 1966, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 63, "column": 67 }, "identifierName": "f" }, "name": "f" }, "operator": "!==", "right": { "type": "Identifier", "start": 1971, "end": 1972, "loc": { "start": { "line": 63, "column": 72 }, "end": { "line": 63, "column": 73 }, "identifierName": "g" }, "name": "g" } } } ] } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1981, "end": 2348, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 79, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1981, "end": 1989, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 66, "column": 10 }, "identifierName": "userLeft" }, "name": "userLeft" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1991, "end": 1995, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 16 }, "identifierName": "user" }, "name": "user" } ], "body": { "type": "BlockStatement", "start": 1997, "end": 2348, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 79, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2003, "end": 2344, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 78, "column": 5 } }, "test": { "type": "CallExpression", "start": 2007, "end": 2033, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 2007, "end": 2027, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 28 } }, "object": { "type": "MemberExpression", "start": 2007, "end": 2023, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2007, "end": 2011, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 12 } } }, "property": { "type": "Identifier", "start": 2012, "end": 2023, "loc": { "start": { "line": 67, "column": 13 }, "end": { "line": 67, "column": 24 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 2024, "end": 2027, "loc": { "start": { "line": 67, "column": 25 }, "end": { "line": 67, "column": 28 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2028, "end": 2032, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 33 }, "identifierName": "user" }, "name": "user" } ] }, "consequent": { "type": "BlockStatement", "start": 2035, "end": 2344, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 78, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2043, "end": 2092, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 55 } }, "expression": { "type": "CallExpression", "start": 2043, "end": 2092, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 2043, "end": 2051, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 14 } }, "object": { "type": "ThisExpression", "start": 2043, "end": 2047, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 10 } } }, "property": { "type": "Identifier", "start": 2048, "end": 2051, "loc": { "start": { "line": 68, "column": 11 }, "end": { "line": 68, "column": 14 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2052, "end": 2070, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 33 } }, "extra": { "rawValue": "%s: User left %s", "raw": "'%s: User left %s'" }, "value": "%s: User left %s" }, { "type": "MemberExpression", "start": 2072, "end": 2085, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 48 } }, "object": { "type": "MemberExpression", "start": 2072, "end": 2078, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 41 } }, "object": { "type": "ThisExpression", "start": 2072, "end": 2076, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 39 } } }, "property": { "type": "Identifier", "start": 2077, "end": 2078, "loc": { "start": { "line": 68, "column": 40 }, "end": { "line": 68, "column": 41 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "property": { "type": "Identifier", "start": 2079, "end": 2085, "loc": { "start": { "line": 68, "column": 42 }, "end": { "line": 68, "column": 48 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, { "type": "Identifier", "start": 2087, "end": 2091, "loc": { "start": { "line": 68, "column": 50 }, "end": { "line": 68, "column": 54 }, "identifierName": "user" }, "name": "user" } ] } }, { "type": "ExpressionStatement", "start": 2099, "end": 2128, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 35 } }, "expression": { "type": "CallExpression", "start": 2099, "end": 2128, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 2099, "end": 2122, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 29 } }, "object": { "type": "MemberExpression", "start": 2099, "end": 2115, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2099, "end": 2103, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 10 } } }, "property": { "type": "Identifier", "start": 2104, "end": 2115, "loc": { "start": { "line": 69, "column": 11 }, "end": { "line": 69, "column": 22 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 2116, "end": 2122, "loc": { "start": { "line": 69, "column": 23 }, "end": { "line": 69, "column": 29 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2123, "end": 2127, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 34 }, "identifierName": "user" }, "name": "user" } ], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " check if isSynced event can be sent now", "start": 2135, "end": 2177, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 2184, "end": 2209, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 31 } }, "expression": { "type": "CallExpression", "start": 2184, "end": 2209, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 2184, "end": 2203, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 25 } }, "object": { "type": "ThisExpression", "start": 2184, "end": 2188, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2189, "end": 2203, "loc": { "start": { "line": 71, "column": 11 }, "end": { "line": 71, "column": 25 }, "identifierName": "_setSyncedWith" }, "name": "_setSyncedWith" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "NullLiteral", "start": 2204, "end": 2208, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 71, "column": 30 } } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " check if isSynced event can be sent now", "start": 2135, "end": 2177, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 48 } } } ] }, { "type": "ForOfStatement", "start": 2216, "end": 2338, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 77, "column": 7 } }, "left": { "type": "VariableDeclaration", "start": 2221, "end": 2226, "loc": { "start": { "line": 72, "column": 11 }, "end": { "line": 72, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2225, "end": 2226, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 16 } }, "id": { "type": "Identifier", "start": 2225, "end": 2226, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 16 }, "identifierName": "f" }, "name": "f" }, "init": null } ], "kind": "var" }, "right": { "type": "MemberExpression", "start": 2230, "end": 2253, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 43 } }, "object": { "type": "ThisExpression", "start": 2230, "end": 2234, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, "property": { "type": "Identifier", "start": 2235, "end": 2253, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 43 }, "identifierName": "userEventListeners" }, "name": "userEventListeners" }, "computed": false }, "body": { "type": "BlockStatement", "start": 2255, "end": 2338, "loc": { "start": { "line": 72, "column": 45 }, "end": { "line": 77, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2265, "end": 2330, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 76, "column": 10 } }, "expression": { "type": "CallExpression", "start": 2265, "end": 2330, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 76, "column": 10 } }, "callee": { "type": "Identifier", "start": 2265, "end": 2266, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 9 }, "identifierName": "f" }, "name": "f" }, "arguments": [ { "type": "ObjectExpression", "start": 2267, "end": 2329, "loc": { "start": { "line": 73, "column": 10 }, "end": { "line": 76, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2279, "end": 2297, "loc": { "start": { "line": 74, "column": 10 }, "end": { "line": 74, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2279, "end": 2285, "loc": { "start": { "line": 74, "column": 10 }, "end": { "line": 74, "column": 16 }, "identifierName": "action" }, "name": "action" }, "value": { "type": "StringLiteral", "start": 2287, "end": 2297, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 28 } }, "extra": { "rawValue": "userLeft", "raw": "'userLeft'" }, "value": "userLeft" } }, { "type": "ObjectProperty", "start": 2309, "end": 2319, "loc": { "start": { "line": 75, "column": 10 }, "end": { "line": 75, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2309, "end": 2313, "loc": { "start": { "line": 75, "column": 10 }, "end": { "line": 75, "column": 14 }, "identifierName": "user" }, "name": "user" }, "value": { "type": "Identifier", "start": 2315, "end": 2319, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 20 }, "identifierName": "user" }, "name": "user" } } ] } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ClassMethod", "start": 2352, "end": 3166, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 109, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2352, "end": 2362, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 81, "column": 12 }, "identifierName": "userJoined" }, "name": "userJoined" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2364, "end": 2368, "loc": { "start": { "line": 81, "column": 14 }, "end": { "line": 81, "column": 18 }, "identifierName": "user" }, "name": "user" }, { "type": "Identifier", "start": 2370, "end": 2374, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 }, "identifierName": "role" }, "name": "role" }, { "type": "Identifier", "start": 2376, "end": 2380, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 30 }, "identifierName": "auth" }, "name": "auth" } ], "body": { "type": "BlockStatement", "start": 2382, "end": 3166, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 109, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2388, "end": 2484, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 84, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2392, "end": 2404, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 20 } }, "left": { "type": "Identifier", "start": 2392, "end": 2396, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 }, "identifierName": "role" }, "name": "role" }, "operator": "==", "right": { "type": "NullLiteral", "start": 2400, "end": 2404, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 20 } } } }, "consequent": { "type": "BlockStatement", "start": 2406, "end": 2484, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 84, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 2414, "end": 2478, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 70 } }, "argument": { "type": "NewExpression", "start": 2420, "end": 2478, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 70 } }, "callee": { "type": "Identifier", "start": 2424, "end": 2429, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 2430, "end": 2477, "loc": { "start": { "line": 83, "column": 22 }, "end": { "line": 83, "column": 69 } }, "extra": { "rawValue": "You must specify the role of the joined user!", "raw": "'You must specify the role of the joined user!'" }, "value": "You must specify the role of the joined user!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2489, "end": 2579, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 87, "column": 5 } }, "test": { "type": "CallExpression", "start": 2493, "end": 2519, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 2493, "end": 2513, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 28 } }, "object": { "type": "MemberExpression", "start": 2493, "end": 2509, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2493, "end": 2497, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } } }, "property": { "type": "Identifier", "start": 2498, "end": 2509, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 24 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 2510, "end": 2513, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 28 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2514, "end": 2518, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 }, "identifierName": "user" }, "name": "user" } ] }, "consequent": { "type": "BlockStatement", "start": 2521, "end": 2579, "loc": { "start": { "line": 85, "column": 36 }, "end": { "line": 87, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 2529, "end": 2573, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 50 } }, "argument": { "type": "NewExpression", "start": 2535, "end": 2573, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 50 } }, "callee": { "type": "Identifier", "start": 2539, "end": 2544, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 2545, "end": 2572, "loc": { "start": { "line": 86, "column": 22 }, "end": { "line": 86, "column": 49 } }, "extra": { "rawValue": "This user already joined!", "raw": "'This user already joined!'" }, "value": "This user already joined!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 2584, "end": 2635, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 55 } }, "expression": { "type": "CallExpression", "start": 2584, "end": 2635, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 2584, "end": 2592, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 12 } }, "object": { "type": "ThisExpression", "start": 2584, "end": 2588, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 2589, "end": 2592, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2593, "end": 2613, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 33 } }, "extra": { "rawValue": "%s: User joined %s", "raw": "'%s: User joined %s'" }, "value": "%s: User joined %s" }, { "type": "MemberExpression", "start": 2615, "end": 2628, "loc": { "start": { "line": 88, "column": 35 }, "end": { "line": 88, "column": 48 } }, "object": { "type": "MemberExpression", "start": 2615, "end": 2621, "loc": { "start": { "line": 88, "column": 35 }, "end": { "line": 88, "column": 41 } }, "object": { "type": "ThisExpression", "start": 2615, "end": 2619, "loc": { "start": { "line": 88, "column": 35 }, "end": { "line": 88, "column": 39 } } }, "property": { "type": "Identifier", "start": 2620, "end": 2621, "loc": { "start": { "line": 88, "column": 40 }, "end": { "line": 88, "column": 41 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "property": { "type": "Identifier", "start": 2622, "end": 2628, "loc": { "start": { "line": 88, "column": 42 }, "end": { "line": 88, "column": 48 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, { "type": "Identifier", "start": 2630, "end": 2634, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 }, "identifierName": "user" }, "name": "user" } ] } }, { "type": "ExpressionStatement", "start": 2640, "end": 2846, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 97, "column": 6 } }, "expression": { "type": "CallExpression", "start": 2640, "end": 2846, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 97, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 2640, "end": 2660, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 24 } }, "object": { "type": "MemberExpression", "start": 2640, "end": 2656, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 20 } }, "object": { "type": "ThisExpression", "start": 2640, "end": 2644, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 2645, "end": 2656, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 20 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 2657, "end": 2660, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 24 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2661, "end": 2665, "loc": { "start": { "line": 89, "column": 25 }, "end": { "line": 89, "column": 29 }, "identifierName": "user" }, "name": "user" }, { "type": "ObjectExpression", "start": 2667, "end": 2845, "loc": { "start": { "line": 89, "column": 31 }, "end": { "line": 97, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 2675, "end": 2684, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 15 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2675, "end": 2678, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 9 }, "identifierName": "uid" }, "name": "uid" }, "value": { "type": "Identifier", "start": 2680, "end": 2684, "loc": { "start": { "line": 90, "column": 11 }, "end": { "line": 90, "column": 15 }, "identifierName": "user" }, "name": "user" } }, { "type": "ObjectProperty", "start": 2692, "end": 2707, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2692, "end": 2700, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 14 }, "identifierName": "isSynced" }, "name": "isSynced" }, "value": { "type": "BooleanLiteral", "start": 2702, "end": 2707, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 21 } }, "value": false } }, { "type": "ObjectProperty", "start": 2715, "end": 2725, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2715, "end": 2719, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 10 }, "identifierName": "role" }, "name": "role" }, "value": { "type": "Identifier", "start": 2721, "end": 2725, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 16 }, "identifierName": "role" }, "name": "role" } }, { "type": "ObjectProperty", "start": 2733, "end": 2753, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2733, "end": 2749, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 22 }, "identifierName": "processAfterAuth" }, "name": "processAfterAuth" }, "value": { "type": "ArrayExpression", "start": 2751, "end": 2753, "loc": { "start": { "line": 93, "column": 24 }, "end": { "line": 93, "column": 26 } }, "elements": [] } }, { "type": "ObjectProperty", "start": 2761, "end": 2781, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2761, "end": 2777, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 22 }, "identifierName": "processAfterSync" }, "name": "processAfterSync" }, "value": { "type": "ArrayExpression", "start": 2779, "end": 2781, "loc": { "start": { "line": 94, "column": 24 }, "end": { "line": 94, "column": 26 } }, "elements": [] } }, { "type": "ObjectProperty", "start": 2789, "end": 2807, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2789, "end": 2793, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 10 }, "identifierName": "auth" }, "name": "auth" }, "value": { "type": "LogicalExpression", "start": 2795, "end": 2807, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 24 } }, "left": { "type": "Identifier", "start": 2795, "end": 2799, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 16 }, "identifierName": "auth" }, "name": "auth" }, "operator": "||", "right": { "type": "NullLiteral", "start": 2803, "end": 2807, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 24 } } } } }, { "type": "ObjectProperty", "start": 2815, "end": 2839, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2815, "end": 2832, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 23 }, "identifierName": "receivedSyncStep2" }, "name": "receivedSyncStep2" }, "value": { "type": "BooleanLiteral", "start": 2834, "end": 2839, "loc": { "start": { "line": 96, "column": 25 }, "end": { "line": 96, "column": 30 } }, "value": false } } ] } ] } }, { "type": "VariableDeclaration", "start": 2851, "end": 2865, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2855, "end": 2865, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 18 } }, "id": { "type": "Identifier", "start": 2855, "end": 2860, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 13 }, "identifierName": "defer" }, "name": "defer" }, "init": { "type": "ObjectExpression", "start": 2863, "end": 2865, "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 98, "column": 18 } }, "properties": [] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 2870, "end": 2945, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 79 } }, "expression": { "type": "AssignmentExpression", "start": 2870, "end": 2945, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 79 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2870, "end": 2883, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 17 } }, "object": { "type": "Identifier", "start": 2870, "end": 2875, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 9 }, "identifierName": "defer" }, "name": "defer" }, "property": { "type": "Identifier", "start": 2876, "end": 2883, "loc": { "start": { "line": 99, "column": 10 }, "end": { "line": 99, "column": 17 }, "identifierName": "promise" }, "name": "promise" }, "computed": false }, "right": { "type": "NewExpression", "start": 2886, "end": 2945, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 79 } }, "callee": { "type": "Identifier", "start": 2890, "end": 2897, "loc": { "start": { "line": 99, "column": 24 }, "end": { "line": 99, "column": 31 }, "identifierName": "Promise" }, "name": "Promise" }, "arguments": [ { "type": "FunctionExpression", "start": 2898, "end": 2944, "loc": { "start": { "line": 99, "column": 32 }, "end": { "line": 99, "column": 78 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2908, "end": 2915, "loc": { "start": { "line": 99, "column": 42 }, "end": { "line": 99, "column": 49 }, "identifierName": "resolve" }, "name": "resolve" } ], "body": { "type": "BlockStatement", "start": 2917, "end": 2944, "loc": { "start": { "line": 99, "column": 51 }, "end": { "line": 99, "column": 78 } }, "body": [ { "type": "ExpressionStatement", "start": 2919, "end": 2942, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 2919, "end": 2942, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2919, "end": 2932, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 66 } }, "object": { "type": "Identifier", "start": 2919, "end": 2924, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 58 }, "identifierName": "defer" }, "name": "defer" }, "property": { "type": "Identifier", "start": 2925, "end": 2932, "loc": { "start": { "line": 99, "column": 59 }, "end": { "line": 99, "column": 66 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "right": { "type": "Identifier", "start": 2935, "end": 2942, "loc": { "start": { "line": 99, "column": 69 }, "end": { "line": 99, "column": 76 }, "identifierName": "resolve" }, "name": "resolve" } } } ], "directives": [] } } ] } } }, { "type": "ExpressionStatement", "start": 2950, "end": 2994, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 2950, "end": 2994, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2950, "end": 2986, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 40 } }, "object": { "type": "CallExpression", "start": 2950, "end": 2976, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 2950, "end": 2970, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 24 } }, "object": { "type": "MemberExpression", "start": 2950, "end": 2966, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 20 } }, "object": { "type": "ThisExpression", "start": 2950, "end": 2954, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 8 } } }, "property": { "type": "Identifier", "start": 2955, "end": 2966, "loc": { "start": { "line": 100, "column": 9 }, "end": { "line": 100, "column": 20 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 2967, "end": 2970, "loc": { "start": { "line": 100, "column": 21 }, "end": { "line": 100, "column": 24 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2971, "end": 2975, "loc": { "start": { "line": 100, "column": 25 }, "end": { "line": 100, "column": 29 }, "identifierName": "user" }, "name": "user" } ] }, "property": { "type": "Identifier", "start": 2977, "end": 2986, "loc": { "start": { "line": 100, "column": 31 }, "end": { "line": 100, "column": 40 }, "identifierName": "syncStep2" }, "name": "syncStep2" }, "computed": false }, "right": { "type": "Identifier", "start": 2989, "end": 2994, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 48 }, "identifierName": "defer" }, "name": "defer" } } }, { "type": "ForOfStatement", "start": 2999, "end": 3133, "loc": { "start": { "line": 101, "column": 4 }, "end": { "line": 107, "column": 5 } }, "left": { "type": "VariableDeclaration", "start": 3004, "end": 3009, "loc": { "start": { "line": 101, "column": 9 }, "end": { "line": 101, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3008, "end": 3009, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 14 } }, "id": { "type": "Identifier", "start": 3008, "end": 3009, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 14 }, "identifierName": "f" }, "name": "f" }, "init": null } ], "kind": "var" }, "right": { "type": "MemberExpression", "start": 3013, "end": 3036, "loc": { "start": { "line": 101, "column": 18 }, "end": { "line": 101, "column": 41 } }, "object": { "type": "ThisExpression", "start": 3013, "end": 3017, "loc": { "start": { "line": 101, "column": 18 }, "end": { "line": 101, "column": 22 } } }, "property": { "type": "Identifier", "start": 3018, "end": 3036, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 41 }, "identifierName": "userEventListeners" }, "name": "userEventListeners" }, "computed": false }, "body": { "type": "BlockStatement", "start": 3038, "end": 3133, "loc": { "start": { "line": 101, "column": 43 }, "end": { "line": 107, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3046, "end": 3127, "loc": { "start": { "line": 102, "column": 6 }, "end": { "line": 106, "column": 8 } }, "expression": { "type": "CallExpression", "start": 3046, "end": 3127, "loc": { "start": { "line": 102, "column": 6 }, "end": { "line": 106, "column": 8 } }, "callee": { "type": "Identifier", "start": 3046, "end": 3047, "loc": { "start": { "line": 102, "column": 6 }, "end": { "line": 102, "column": 7 }, "identifierName": "f" }, "name": "f" }, "arguments": [ { "type": "ObjectExpression", "start": 3048, "end": 3126, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 106, "column": 7 } }, "properties": [ { "type": "ObjectProperty", "start": 3058, "end": 3078, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3058, "end": 3064, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 14 }, "identifierName": "action" }, "name": "action" }, "value": { "type": "StringLiteral", "start": 3066, "end": 3078, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 28 } }, "extra": { "rawValue": "userJoined", "raw": "'userJoined'" }, "value": "userJoined" } }, { "type": "ObjectProperty", "start": 3088, "end": 3098, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3088, "end": 3092, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 12 }, "identifierName": "user" }, "name": "user" }, "value": { "type": "Identifier", "start": 3094, "end": 3098, "loc": { "start": { "line": 104, "column": 14 }, "end": { "line": 104, "column": 18 }, "identifierName": "user" }, "name": "user" } }, { "type": "ObjectProperty", "start": 3108, "end": 3118, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3108, "end": 3112, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 }, "identifierName": "role" }, "name": "role" }, "value": { "type": "Identifier", "start": 3114, "end": 3118, "loc": { "start": { "line": 105, "column": 14 }, "end": { "line": 105, "column": 18 }, "identifierName": "role" }, "name": "role" } } ] } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 3138, "end": 3162, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 28 } }, "expression": { "type": "CallExpression", "start": 3138, "end": 3162, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 3138, "end": 3156, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 22 } }, "object": { "type": "ThisExpression", "start": 3138, "end": 3142, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 8 } } }, "property": { "type": "Identifier", "start": 3143, "end": 3156, "loc": { "start": { "line": 108, "column": 9 }, "end": { "line": 108, "column": 22 }, "identifierName": "_syncWithUser" }, "name": "_syncWithUser" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3157, "end": 3161, "loc": { "start": { "line": 108, "column": 23 }, "end": { "line": 108, "column": 27 }, "identifierName": "user" }, "name": "user" } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Execute a function _when_ we are connected.", "start": 3170, "end": 3216, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 111, "column": 48 } } }, { "type": "CommentLine", "value": " If not connected, wait until connected", "start": 3219, "end": 3260, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 112, "column": 43 } } } ] }, { "type": "ClassMethod", "start": 3263, "end": 3376, "loc": { "start": { "line": 113, "column": 2 }, "end": { "line": 119, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3263, "end": 3273, "loc": { "start": { "line": 113, "column": 2 }, "end": { "line": 113, "column": 12 }, "identifierName": "whenSynced" }, "name": "whenSynced", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3275, "end": 3276, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 15 }, "identifierName": "f" }, "name": "f" } ], "body": { "type": "BlockStatement", "start": 3278, "end": 3376, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 119, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 3284, "end": 3372, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 118, "column": 5 } }, "test": { "type": "MemberExpression", "start": 3288, "end": 3301, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3288, "end": 3292, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 12 } } }, "property": { "type": "Identifier", "start": 3293, "end": 3301, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 21 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 3303, "end": 3320, "loc": { "start": { "line": 114, "column": 23 }, "end": { "line": 116, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3311, "end": 3314, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 9 } }, "expression": { "type": "CallExpression", "start": 3311, "end": 3314, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 9 } }, "callee": { "type": "Identifier", "start": 3311, "end": 3312, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 7 }, "identifierName": "f" }, "name": "f" }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 3326, "end": 3372, "loc": { "start": { "line": 116, "column": 11 }, "end": { "line": 118, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3334, "end": 3366, "loc": { "start": { "line": 117, "column": 6 }, "end": { "line": 117, "column": 38 } }, "expression": { "type": "CallExpression", "start": 3334, "end": 3366, "loc": { "start": { "line": 117, "column": 6 }, "end": { "line": 117, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 3334, "end": 3363, "loc": { "start": { "line": 117, "column": 6 }, "end": { "line": 117, "column": 35 } }, "object": { "type": "MemberExpression", "start": 3334, "end": 3358, "loc": { "start": { "line": 117, "column": 6 }, "end": { "line": 117, "column": 30 } }, "object": { "type": "ThisExpression", "start": 3334, "end": 3338, "loc": { "start": { "line": 117, "column": 6 }, "end": { "line": 117, "column": 10 } } }, "property": { "type": "Identifier", "start": 3339, "end": 3358, "loc": { "start": { "line": 117, "column": 11 }, "end": { "line": 117, "column": 30 }, "identifierName": "whenSyncedListeners" }, "name": "whenSyncedListeners" }, "computed": false }, "property": { "type": "Identifier", "start": 3359, "end": 3363, "loc": { "start": { "line": 117, "column": 31 }, "end": { "line": 117, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3364, "end": 3365, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 37 }, "identifierName": "f" }, "name": "f" } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Execute a function _when_ we are connected.", "start": 3170, "end": 3216, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 111, "column": 48 } } }, { "type": "CommentLine", "value": " If not connected, wait until connected", "start": 3219, "end": 3260, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 112, "column": 43 } } } ] }, { "type": "ClassMethod", "start": 3380, "end": 3566, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 126, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3380, "end": 3393, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 15 }, "identifierName": "_syncWithUser" }, "name": "_syncWithUser" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3395, "end": 3401, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 23 }, "identifierName": "userID" }, "name": "userID" } ], "body": { "type": "BlockStatement", "start": 3403, "end": 3566, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 126, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 3409, "end": 3530, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 124, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3413, "end": 3434, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 29 } }, "left": { "type": "MemberExpression", "start": 3413, "end": 3422, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 17 } }, "object": { "type": "ThisExpression", "start": 3413, "end": 3417, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 12 } } }, "property": { "type": "Identifier", "start": 3418, "end": 3422, "loc": { "start": { "line": 122, "column": 13 }, "end": { "line": 122, "column": 17 }, "identifierName": "role" }, "name": "role" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 3427, "end": 3434, "loc": { "start": { "line": 122, "column": 22 }, "end": { "line": 122, "column": 29 } }, "extra": { "rawValue": "slave", "raw": "'slave'" }, "value": "slave" } }, "consequent": { "type": "BlockStatement", "start": 3436, "end": 3530, "loc": { "start": { "line": 122, "column": 31 }, "end": { "line": 124, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 3444, "end": 3450, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 12 } }, "argument": null, "leadingComments": null, "trailingComments": [ { "type": "CommentLine", "value": " \"The current sync has not finished or this is controlled by a master!\"", "start": 3451, "end": 3524, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 86 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 3535, "end": 3562, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 31 } }, "expression": { "type": "CallExpression", "start": 3535, "end": 3562, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 31 } }, "callee": { "type": "Identifier", "start": 3535, "end": 3548, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 17 }, "identifierName": "sendSyncStep1" }, "name": "sendSyncStep1" }, "arguments": [ { "type": "ThisExpression", "start": 3549, "end": 3553, "loc": { "start": { "line": 125, "column": 18 }, "end": { "line": 125, "column": 22 } } }, { "type": "Identifier", "start": 3555, "end": 3561, "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 30 }, "identifierName": "userID" }, "name": "userID" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 3570, "end": 3896, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 140, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3570, "end": 3592, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 24 }, "identifierName": "_fireIsSyncedListeners" }, "name": "_fireIsSyncedListeners" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3596, "end": 3896, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 140, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 3602, "end": 3892, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 139, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 3606, "end": 3620, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 3607, "end": 3620, "loc": { "start": { "line": 129, "column": 9 }, "end": { "line": 129, "column": 22 } }, "object": { "type": "ThisExpression", "start": 3607, "end": 3611, "loc": { "start": { "line": 129, "column": 9 }, "end": { "line": 129, "column": 13 } } }, "property": { "type": "Identifier", "start": 3612, "end": 3620, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 22 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3622, "end": 3892, "loc": { "start": { "line": 129, "column": 24 }, "end": { "line": 139, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3630, "end": 3650, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 3630, "end": 3650, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3630, "end": 3643, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 19 } }, "object": { "type": "ThisExpression", "start": 3630, "end": 3634, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 10 } } }, "property": { "type": "Identifier", "start": 3635, "end": 3643, "loc": { "start": { "line": 130, "column": 11 }, "end": { "line": 130, "column": 19 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 3646, "end": 3650, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 26 } }, "value": true, "leadingComments": null, "trailingComments": null }, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " It is safer to remove this!", "start": 3657, "end": 3687, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 36 } } }, { "type": "CommentLine", "value": " call whensynced listeners", "start": 3694, "end": 3722, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 34 } } } ] }, { "type": "ForOfStatement", "start": 3729, "end": 3790, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 135, "column": 7 } }, "left": { "type": "VariableDeclaration", "start": 3734, "end": 3739, "loc": { "start": { "line": 133, "column": 11 }, "end": { "line": 133, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3738, "end": 3739, "loc": { "start": { "line": 133, "column": 15 }, "end": { "line": 133, "column": 16 } }, "id": { "type": "Identifier", "start": 3738, "end": 3739, "loc": { "start": { "line": 133, "column": 15 }, "end": { "line": 133, "column": 16 }, "identifierName": "f" }, "name": "f", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "var", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 3743, "end": 3767, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 44 } }, "object": { "type": "ThisExpression", "start": 3743, "end": 3747, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 24 } } }, "property": { "type": "Identifier", "start": 3748, "end": 3767, "loc": { "start": { "line": 133, "column": 25 }, "end": { "line": 133, "column": 44 }, "identifierName": "whenSyncedListeners" }, "name": "whenSyncedListeners" }, "computed": false }, "body": { "type": "BlockStatement", "start": 3769, "end": 3790, "loc": { "start": { "line": 133, "column": 46 }, "end": { "line": 135, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 3779, "end": 3782, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 11 } }, "expression": { "type": "CallExpression", "start": 3779, "end": 3782, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 11 } }, "callee": { "type": "Identifier", "start": 3779, "end": 3780, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 9 }, "identifierName": "f" }, "name": "f" }, "arguments": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " It is safer to remove this!", "start": 3657, "end": 3687, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 36 } } }, { "type": "CommentLine", "value": " call whensynced listeners", "start": 3694, "end": 3722, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 3797, "end": 3826, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 3797, "end": 3826, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3797, "end": 3821, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 30 } }, "object": { "type": "ThisExpression", "start": 3797, "end": 3801, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 10 } } }, "property": { "type": "Identifier", "start": 3802, "end": 3821, "loc": { "start": { "line": 136, "column": 11 }, "end": { "line": 136, "column": 30 }, "identifierName": "whenSyncedListeners" }, "name": "whenSyncedListeners" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 3824, "end": 3826, "loc": { "start": { "line": 136, "column": 33 }, "end": { "line": 136, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 3833, "end": 3858, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 31 } }, "expression": { "type": "CallExpression", "start": 3833, "end": 3858, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 3833, "end": 3856, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 29 } }, "object": { "type": "MemberExpression", "start": 3833, "end": 3839, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 12 } }, "object": { "type": "ThisExpression", "start": 3833, "end": 3837, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, "property": { "type": "Identifier", "start": 3838, "end": 3839, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 12 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "property": { "type": "Identifier", "start": 3840, "end": 3856, "loc": { "start": { "line": 137, "column": 13 }, "end": { "line": 137, "column": 29 }, "identifierName": "_setContentReady" }, "name": "_setContentReady" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 3865, "end": 3886, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 27 } }, "expression": { "type": "CallExpression", "start": 3865, "end": 3886, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 3865, "end": 3876, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 17 } }, "object": { "type": "MemberExpression", "start": 3865, "end": 3871, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 } }, "object": { "type": "ThisExpression", "start": 3865, "end": 3869, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 10 } } }, "property": { "type": "Identifier", "start": 3870, "end": 3871, "loc": { "start": { "line": 138, "column": 11 }, "end": { "line": 138, "column": 12 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "property": { "type": "Identifier", "start": 3872, "end": 3876, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 17 }, "identifierName": "emit" }, "name": "emit" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3877, "end": 3885, "loc": { "start": { "line": 138, "column": 18 }, "end": { "line": 138, "column": 26 } }, "extra": { "rawValue": "synced", "raw": "'synced'" }, "value": "synced" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ClassMethod", "start": 3900, "end": 4299, "loc": { "start": { "line": 142, "column": 2 }, "end": { "line": 149, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3900, "end": 3904, "loc": { "start": { "line": 142, "column": 2 }, "end": { "line": 142, "column": 6 }, "identifierName": "send" }, "name": "send" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3906, "end": 3909, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 11 }, "identifierName": "uid" }, "name": "uid" }, { "type": "Identifier", "start": 3911, "end": 3917, "loc": { "start": { "line": 142, "column": 13 }, "end": { "line": 142, "column": 19 }, "identifierName": "buffer" }, "name": "buffer" } ], "body": { "type": "BlockStatement", "start": 3919, "end": 4299, "loc": { "start": { "line": 142, "column": 21 }, "end": { "line": 149, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 3925, "end": 3941, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3931, "end": 3941, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 20 } }, "id": { "type": "Identifier", "start": 3931, "end": 3932, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 11 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "MemberExpression", "start": 3935, "end": 3941, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 20 } }, "object": { "type": "ThisExpression", "start": 3935, "end": 3939, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 18 } } }, "property": { "type": "Identifier", "start": 3940, "end": 3941, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 20 }, "identifierName": "y" }, "name": "y" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 3946, "end": 4149, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 3950, "end": 4014, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 72 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", "start": 3952, "end": 4013, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 3952, "end": 3981, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 39 } }, "left": { "type": "Identifier", "start": 3952, "end": 3958, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 16 }, "identifierName": "buffer" }, "name": "buffer" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 3970, "end": 3981, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 39 }, "identifierName": "ArrayBuffer" }, "name": "ArrayBuffer" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3985, "end": 4013, "loc": { "start": { "line": 144, "column": 43 }, "end": { "line": 144, "column": 71 } }, "left": { "type": "Identifier", "start": 3985, "end": 3991, "loc": { "start": { "line": 144, "column": 43 }, "end": { "line": 144, "column": 49 }, "identifierName": "buffer" }, "name": "buffer" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 4003, "end": 4013, "loc": { "start": { "line": 144, "column": 61 }, "end": { "line": 144, "column": 71 }, "identifierName": "Uint8Array" }, "name": "Uint8Array" } }, "extra": { "parenthesized": true, "parenStart": 3951 } }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4016, "end": 4149, "loc": { "start": { "line": 144, "column": 74 }, "end": { "line": 146, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 4024, "end": 4143, "loc": { "start": { "line": 145, "column": 6 }, "end": { "line": 145, "column": 125 } }, "argument": { "type": "NewExpression", "start": 4030, "end": 4143, "loc": { "start": { "line": 145, "column": 12 }, "end": { "line": 145, "column": 125 } }, "callee": { "type": "Identifier", "start": 4034, "end": 4039, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 4040, "end": 4142, "loc": { "start": { "line": 145, "column": 22 }, "end": { "line": 145, "column": 124 } }, "extra": { "rawValue": "Expected Message to be an ArrayBuffer or Uint8Array - don't use this method to send custom messages", "raw": "'Expected Message to be an ArrayBuffer or Uint8Array - don\\'t use this method to send custom messages'" }, "value": "Expected Message to be an ArrayBuffer or Uint8Array - don't use this method to send custom messages" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 4154, "end": 4218, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 68 } }, "expression": { "type": "CallExpression", "start": 4154, "end": 4218, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 4154, "end": 4162, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 12 } }, "object": { "type": "ThisExpression", "start": 4154, "end": 4158, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 8 } } }, "property": { "type": "Identifier", "start": 4159, "end": 4162, "loc": { "start": { "line": 147, "column": 9 }, "end": { "line": 147, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4163, "end": 4194, "loc": { "start": { "line": 147, "column": 13 }, "end": { "line": 147, "column": 44 } }, "extra": { "rawValue": "User%s to User%s: Send '%y'", "raw": "'User%s to User%s: Send \\'%y\\''" }, "value": "User%s to User%s: Send '%y'" }, { "type": "MemberExpression", "start": 4196, "end": 4204, "loc": { "start": { "line": 147, "column": 46 }, "end": { "line": 147, "column": 54 } }, "object": { "type": "Identifier", "start": 4196, "end": 4197, "loc": { "start": { "line": 147, "column": 46 }, "end": { "line": 147, "column": 47 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 4198, "end": 4204, "loc": { "start": { "line": 147, "column": 48 }, "end": { "line": 147, "column": 54 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, { "type": "Identifier", "start": 4206, "end": 4209, "loc": { "start": { "line": 147, "column": 56 }, "end": { "line": 147, "column": 59 }, "identifierName": "uid" }, "name": "uid" }, { "type": "Identifier", "start": 4211, "end": 4217, "loc": { "start": { "line": 147, "column": 61 }, "end": { "line": 147, "column": 67 }, "identifierName": "buffer" }, "name": "buffer" } ] } }, { "type": "ExpressionStatement", "start": 4223, "end": 4295, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 76 } }, "expression": { "type": "CallExpression", "start": 4223, "end": 4295, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 4223, "end": 4238, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4223, "end": 4227, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 8 } } }, "property": { "type": "Identifier", "start": 4228, "end": 4238, "loc": { "start": { "line": 148, "column": 9 }, "end": { "line": 148, "column": 19 }, "identifierName": "logMessage" }, "name": "logMessage" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4239, "end": 4266, "loc": { "start": { "line": 148, "column": 20 }, "end": { "line": 148, "column": 47 } }, "extra": { "rawValue": "User%s to User%s: Send %Y", "raw": "'User%s to User%s: Send %Y'" }, "value": "User%s to User%s: Send %Y" }, { "type": "MemberExpression", "start": 4268, "end": 4276, "loc": { "start": { "line": 148, "column": 49 }, "end": { "line": 148, "column": 57 } }, "object": { "type": "Identifier", "start": 4268, "end": 4269, "loc": { "start": { "line": 148, "column": 49 }, "end": { "line": 148, "column": 50 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 4270, "end": 4276, "loc": { "start": { "line": 148, "column": 51 }, "end": { "line": 148, "column": 57 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, { "type": "Identifier", "start": 4278, "end": 4281, "loc": { "start": { "line": 148, "column": 59 }, "end": { "line": 148, "column": 62 }, "identifierName": "uid" }, "name": "uid" }, { "type": "ArrayExpression", "start": 4283, "end": 4294, "loc": { "start": { "line": 148, "column": 64 }, "end": { "line": 148, "column": 75 } }, "elements": [ { "type": "Identifier", "start": 4284, "end": 4285, "loc": { "start": { "line": 148, "column": 65 }, "end": { "line": 148, "column": 66 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 4287, "end": 4293, "loc": { "start": { "line": 148, "column": 68 }, "end": { "line": 148, "column": 74 }, "identifierName": "buffer" }, "name": "buffer" } ] } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 4303, "end": 4683, "loc": { "start": { "line": 151, "column": 2 }, "end": { "line": 158, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4303, "end": 4312, "loc": { "start": { "line": 151, "column": 2 }, "end": { "line": 151, "column": 11 }, "identifierName": "broadcast" }, "name": "broadcast" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4314, "end": 4320, "loc": { "start": { "line": 151, "column": 13 }, "end": { "line": 151, "column": 19 }, "identifierName": "buffer" }, "name": "buffer" } ], "body": { "type": "BlockStatement", "start": 4322, "end": 4683, "loc": { "start": { "line": 151, "column": 21 }, "end": { "line": 158, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 4328, "end": 4344, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4334, "end": 4344, "loc": { "start": { "line": 152, "column": 10 }, "end": { "line": 152, "column": 20 } }, "id": { "type": "Identifier", "start": 4334, "end": 4335, "loc": { "start": { "line": 152, "column": 10 }, "end": { "line": 152, "column": 11 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "MemberExpression", "start": 4338, "end": 4344, "loc": { "start": { "line": 152, "column": 14 }, "end": { "line": 152, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4338, "end": 4342, "loc": { "start": { "line": 152, "column": 14 }, "end": { "line": 152, "column": 18 } } }, "property": { "type": "Identifier", "start": 4343, "end": 4344, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 20 }, "identifierName": "y" }, "name": "y" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 4349, "end": 4552, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 155, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 4353, "end": 4417, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 72 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", "start": 4355, "end": 4416, "loc": { "start": { "line": 153, "column": 10 }, "end": { "line": 153, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 4355, "end": 4384, "loc": { "start": { "line": 153, "column": 10 }, "end": { "line": 153, "column": 39 } }, "left": { "type": "Identifier", "start": 4355, "end": 4361, "loc": { "start": { "line": 153, "column": 10 }, "end": { "line": 153, "column": 16 }, "identifierName": "buffer" }, "name": "buffer" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 4373, "end": 4384, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 39 }, "identifierName": "ArrayBuffer" }, "name": "ArrayBuffer" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 4388, "end": 4416, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 71 } }, "left": { "type": "Identifier", "start": 4388, "end": 4394, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 49 }, "identifierName": "buffer" }, "name": "buffer" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 4406, "end": 4416, "loc": { "start": { "line": 153, "column": 61 }, "end": { "line": 153, "column": 71 }, "identifierName": "Uint8Array" }, "name": "Uint8Array" } }, "extra": { "parenthesized": true, "parenStart": 4354 } }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4419, "end": 4552, "loc": { "start": { "line": 153, "column": 74 }, "end": { "line": 155, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 4427, "end": 4546, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 125 } }, "argument": { "type": "NewExpression", "start": 4433, "end": 4546, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 125 } }, "callee": { "type": "Identifier", "start": 4437, "end": 4442, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 4443, "end": 4545, "loc": { "start": { "line": 154, "column": 22 }, "end": { "line": 154, "column": 124 } }, "extra": { "rawValue": "Expected Message to be an ArrayBuffer or Uint8Array - don't use this method to send custom messages", "raw": "'Expected Message to be an ArrayBuffer or Uint8Array - don\\'t use this method to send custom messages'" }, "value": "Expected Message to be an ArrayBuffer or Uint8Array - don't use this method to send custom messages" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 4557, "end": 4611, "loc": { "start": { "line": 156, "column": 4 }, "end": { "line": 156, "column": 58 } }, "expression": { "type": "CallExpression", "start": 4557, "end": 4611, "loc": { "start": { "line": 156, "column": 4 }, "end": { "line": 156, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 4557, "end": 4565, "loc": { "start": { "line": 156, "column": 4 }, "end": { "line": 156, "column": 12 } }, "object": { "type": "ThisExpression", "start": 4557, "end": 4561, "loc": { "start": { "line": 156, "column": 4 }, "end": { "line": 156, "column": 8 } } }, "property": { "type": "Identifier", "start": 4562, "end": 4565, "loc": { "start": { "line": 156, "column": 9 }, "end": { "line": 156, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4566, "end": 4592, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 39 } }, "extra": { "rawValue": "User%s: Broadcast '%y'", "raw": "'User%s: Broadcast \\'%y\\''" }, "value": "User%s: Broadcast '%y'" }, { "type": "MemberExpression", "start": 4594, "end": 4602, "loc": { "start": { "line": 156, "column": 41 }, "end": { "line": 156, "column": 49 } }, "object": { "type": "Identifier", "start": 4594, "end": 4595, "loc": { "start": { "line": 156, "column": 41 }, "end": { "line": 156, "column": 42 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 4596, "end": 4602, "loc": { "start": { "line": 156, "column": 43 }, "end": { "line": 156, "column": 49 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, { "type": "Identifier", "start": 4604, "end": 4610, "loc": { "start": { "line": 156, "column": 51 }, "end": { "line": 156, "column": 57 }, "identifierName": "buffer" }, "name": "buffer" } ] } }, { "type": "ExpressionStatement", "start": 4616, "end": 4679, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 67 } }, "expression": { "type": "CallExpression", "start": 4616, "end": 4679, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 4616, "end": 4631, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4616, "end": 4620, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 8 } } }, "property": { "type": "Identifier", "start": 4621, "end": 4631, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 157, "column": 19 }, "identifierName": "logMessage" }, "name": "logMessage" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4632, "end": 4655, "loc": { "start": { "line": 157, "column": 20 }, "end": { "line": 157, "column": 43 } }, "extra": { "rawValue": "User%s: Broadcast: %Y", "raw": "'User%s: Broadcast: %Y'" }, "value": "User%s: Broadcast: %Y" }, { "type": "MemberExpression", "start": 4657, "end": 4665, "loc": { "start": { "line": 157, "column": 45 }, "end": { "line": 157, "column": 53 } }, "object": { "type": "Identifier", "start": 4657, "end": 4658, "loc": { "start": { "line": 157, "column": 45 }, "end": { "line": 157, "column": 46 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 4659, "end": 4665, "loc": { "start": { "line": 157, "column": 47 }, "end": { "line": 157, "column": 53 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, { "type": "ArrayExpression", "start": 4667, "end": 4678, "loc": { "start": { "line": 157, "column": 55 }, "end": { "line": 157, "column": 66 } }, "elements": [ { "type": "Identifier", "start": 4668, "end": 4669, "loc": { "start": { "line": 157, "column": 56 }, "end": { "line": 157, "column": 57 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 4671, "end": 4677, "loc": { "start": { "line": 157, "column": 59 }, "end": { "line": 157, "column": 65 }, "identifierName": "buffer" }, "name": "buffer" } ] } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "\n Buffer operations, and broadcast them when ready.\n ", "start": 4687, "end": 4748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 162, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 4751, "end": 6123, "loc": { "start": { "line": 163, "column": 2 }, "end": { "line": 195, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4751, "end": 4766, "loc": { "start": { "line": 163, "column": 2 }, "end": { "line": 163, "column": 17 }, "identifierName": "broadcastStruct" }, "name": "broadcastStruct", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4768, "end": 4774, "loc": { "start": { "line": 163, "column": 19 }, "end": { "line": 163, "column": 25 }, "identifierName": "struct" }, "name": "struct" } ], "body": { "type": "BlockStatement", "start": 4776, "end": 6123, "loc": { "start": { "line": 163, "column": 27 }, "end": { "line": 195, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 4782, "end": 4836, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 164, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4788, "end": 4836, "loc": { "start": { "line": 164, "column": 10 }, "end": { "line": 164, "column": 58 } }, "id": { "type": "Identifier", "start": 4788, "end": 4800, "loc": { "start": { "line": 164, "column": 10 }, "end": { "line": 164, "column": 22 }, "identifierName": "firstContent" }, "name": "firstContent" }, "init": { "type": "BinaryExpression", "start": 4803, "end": 4836, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 58 } }, "left": { "type": "MemberExpression", "start": 4803, "end": 4830, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 52 } }, "object": { "type": "MemberExpression", "start": 4803, "end": 4823, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4803, "end": 4807, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 29 } } }, "property": { "type": "Identifier", "start": 4808, "end": 4823, "loc": { "start": { "line": 164, "column": 30 }, "end": { "line": 164, "column": 45 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 4824, "end": 4830, "loc": { "start": { "line": 164, "column": 46 }, "end": { "line": 164, "column": 52 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 4835, "end": 4836, "loc": { "start": { "line": 164, "column": 57 }, "end": { "line": 164, "column": 58 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "kind": "const" }, { "type": "IfStatement", "start": 4841, "end": 5111, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 171, "column": 5 } }, "test": { "type": "Identifier", "start": 4845, "end": 4857, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 20 }, "identifierName": "firstContent" }, "name": "firstContent" }, "consequent": { "type": "BlockStatement", "start": 4859, "end": 5111, "loc": { "start": { "line": 165, "column": 22 }, "end": { "line": 171, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4867, "end": 4915, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 54 } }, "expression": { "type": "CallExpression", "start": 4867, "end": 4915, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4867, "end": 4902, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 41 } }, "object": { "type": "MemberExpression", "start": 4867, "end": 4887, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4867, "end": 4871, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 10 } } }, "property": { "type": "Identifier", "start": 4872, "end": 4887, "loc": { "start": { "line": 166, "column": 11 }, "end": { "line": 166, "column": 26 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 4888, "end": 4902, "loc": { "start": { "line": 166, "column": 27 }, "end": { "line": 166, "column": 41 }, "identifierName": "writeVarString" }, "name": "writeVarString" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4903, "end": 4914, "loc": { "start": { "line": 166, "column": 42 }, "end": { "line": 166, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4903, "end": 4909, "loc": { "start": { "line": 166, "column": 42 }, "end": { "line": 166, "column": 48 } }, "object": { "type": "ThisExpression", "start": 4903, "end": 4907, "loc": { "start": { "line": 166, "column": 42 }, "end": { "line": 166, "column": 46 } } }, "property": { "type": "Identifier", "start": 4908, "end": 4909, "loc": { "start": { "line": 166, "column": 47 }, "end": { "line": 166, "column": 48 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "property": { "type": "Identifier", "start": 4910, "end": 4914, "loc": { "start": { "line": 166, "column": 49 }, "end": { "line": 166, "column": 53 }, "identifierName": "room" }, "name": "room" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 4922, "end": 4967, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 51 } }, "expression": { "type": "CallExpression", "start": 4922, "end": 4967, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 4922, "end": 4957, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", "start": 4922, "end": 4942, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4922, "end": 4926, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 10 } } }, "property": { "type": "Identifier", "start": 4927, "end": 4942, "loc": { "start": { "line": 167, "column": 11 }, "end": { "line": 167, "column": 26 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 4943, "end": 4957, "loc": { "start": { "line": 167, "column": 27 }, "end": { "line": 167, "column": 41 }, "identifierName": "writeVarString" }, "name": "writeVarString" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4958, "end": 4966, "loc": { "start": { "line": 167, "column": 42 }, "end": { "line": 167, "column": 50 } }, "extra": { "rawValue": "update", "raw": "'update'" }, "value": "update" } ] } }, { "type": "ExpressionStatement", "start": 4974, "end": 5002, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 4974, "end": 5002, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4974, "end": 4998, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4974, "end": 4978, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, "property": { "type": "Identifier", "start": 4979, "end": 4998, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 30 }, "identifierName": "broadcastBufferSize" }, "name": "broadcastBufferSize" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5001, "end": 5002, "loc": { "start": { "line": 168, "column": 33 }, "end": { "line": 168, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5009, "end": 5063, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 5009, "end": 5063, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5009, "end": 5036, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5009, "end": 5013, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 10 } } }, "property": { "type": "Identifier", "start": 5014, "end": 5036, "loc": { "start": { "line": 169, "column": 11 }, "end": { "line": 169, "column": 33 }, "identifierName": "broadcastBufferSizePos" }, "name": "broadcastBufferSizePos" }, "computed": false }, "right": { "type": "MemberExpression", "start": 5039, "end": 5063, "loc": { "start": { "line": 169, "column": 36 }, "end": { "line": 169, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5039, "end": 5059, "loc": { "start": { "line": 169, "column": 36 }, "end": { "line": 169, "column": 56 } }, "object": { "type": "ThisExpression", "start": 5039, "end": 5043, "loc": { "start": { "line": 169, "column": 36 }, "end": { "line": 169, "column": 40 } } }, "property": { "type": "Identifier", "start": 5044, "end": 5059, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 56 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 5060, "end": 5063, "loc": { "start": { "line": 169, "column": 57 }, "end": { "line": 169, "column": 60 }, "identifierName": "pos" }, "name": "pos" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 5070, "end": 5105, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 41 } }, "expression": { "type": "CallExpression", "start": 5070, "end": 5105, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 5070, "end": 5102, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5070, "end": 5090, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5070, "end": 5074, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 10 } } }, "property": { "type": "Identifier", "start": 5075, "end": 5090, "loc": { "start": { "line": 170, "column": 11 }, "end": { "line": 170, "column": 26 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 5091, "end": 5102, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 38 }, "identifierName": "writeUint32" }, "name": "writeUint32" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 5103, "end": 5104, "loc": { "start": { "line": 170, "column": 39 }, "end": { "line": 170, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 5116, "end": 5142, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 30 } }, "expression": { "type": "UpdateExpression", "start": 5116, "end": 5142, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 30 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 5116, "end": 5140, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5116, "end": 5120, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 8 } } }, "property": { "type": "Identifier", "start": 5121, "end": 5140, "loc": { "start": { "line": 172, "column": 9 }, "end": { "line": 172, "column": 28 }, "identifierName": "broadcastBufferSize" }, "name": "broadcastBufferSize" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 5147, "end": 5185, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 42 } }, "expression": { "type": "CallExpression", "start": 5147, "end": 5185, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 5147, "end": 5163, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 20 } }, "object": { "type": "Identifier", "start": 5147, "end": 5153, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 10 }, "identifierName": "struct" }, "name": "struct" }, "property": { "type": "Identifier", "start": 5154, "end": 5163, "loc": { "start": { "line": 173, "column": 11 }, "end": { "line": 173, "column": 20 }, "identifierName": "_toBinary" }, "name": "_toBinary" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5164, "end": 5184, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 41 } }, "object": { "type": "ThisExpression", "start": 5164, "end": 5168, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 25 } } }, "property": { "type": "Identifier", "start": 5169, "end": 5184, "loc": { "start": { "line": 173, "column": 26 }, "end": { "line": 173, "column": 41 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false } ] } }, { "type": "IfStatement", "start": 5190, "end": 6119, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 194, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 5194, "end": 5272, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 86 } }, "left": { "type": "BinaryExpression", "start": 5194, "end": 5218, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 32 } }, "left": { "type": "MemberExpression", "start": 5194, "end": 5214, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5194, "end": 5198, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 12 } } }, "property": { "type": "Identifier", "start": 5199, "end": 5214, "loc": { "start": { "line": 174, "column": 13 }, "end": { "line": 174, "column": 28 }, "identifierName": "maxBufferLength" }, "name": "maxBufferLength" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5217, "end": 5218, "loc": { "start": { "line": 174, "column": 31 }, "end": { "line": 174, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 5222, "end": 5272, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 86 } }, "left": { "type": "MemberExpression", "start": 5222, "end": 5249, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 63 } }, "object": { "type": "MemberExpression", "start": 5222, "end": 5242, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 56 } }, "object": { "type": "ThisExpression", "start": 5222, "end": 5226, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 40 } } }, "property": { "type": "Identifier", "start": 5227, "end": 5242, "loc": { "start": { "line": 174, "column": 41 }, "end": { "line": 174, "column": 56 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 5243, "end": 5249, "loc": { "start": { "line": 174, "column": 57 }, "end": { "line": 174, "column": 63 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "MemberExpression", "start": 5252, "end": 5272, "loc": { "start": { "line": 174, "column": 66 }, "end": { "line": 174, "column": 86 } }, "object": { "type": "ThisExpression", "start": 5252, "end": 5256, "loc": { "start": { "line": 174, "column": 66 }, "end": { "line": 174, "column": 70 } } }, "property": { "type": "Identifier", "start": 5257, "end": 5272, "loc": { "start": { "line": 174, "column": 71 }, "end": { "line": 174, "column": 86 }, "identifierName": "maxBufferLength" }, "name": "maxBufferLength" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 5274, "end": 5660, "loc": { "start": { "line": 174, "column": 88 }, "end": { "line": 183, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 5390, "end": 5425, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 177, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5396, "end": 5425, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 41 } }, "id": { "type": "Identifier", "start": 5396, "end": 5402, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 18 }, "identifierName": "buffer" }, "name": "buffer", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 5405, "end": 5425, "loc": { "start": { "line": 177, "column": 21 }, "end": { "line": 177, "column": 41 } }, "object": { "type": "ThisExpression", "start": 5405, "end": 5409, "loc": { "start": { "line": 177, "column": 21 }, "end": { "line": 177, "column": 25 } } }, "property": { "type": "Identifier", "start": 5410, "end": 5425, "loc": { "start": { "line": 177, "column": 26 }, "end": { "line": 177, "column": 41 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " it is necessary to send the buffer now", "start": 5282, "end": 5323, "loc": { "start": { "line": 175, "column": 6 }, "end": { "line": 175, "column": 47 } } }, { "type": "CommentLine", "value": " cache the buffer and check if server is responsive", "start": 5330, "end": 5383, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 59 } } } ] }, { "type": "ExpressionStatement", "start": 5432, "end": 5503, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 77 } }, "expression": { "type": "CallExpression", "start": 5432, "end": 5503, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 5432, "end": 5448, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 22 } }, "object": { "type": "Identifier", "start": 5432, "end": 5438, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 12 }, "identifierName": "buffer" }, "name": "buffer" }, "property": { "type": "Identifier", "start": 5439, "end": 5448, "loc": { "start": { "line": 178, "column": 13 }, "end": { "line": 178, "column": 22 }, "identifierName": "setUint32" }, "name": "setUint32" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5449, "end": 5476, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 50 } }, "object": { "type": "ThisExpression", "start": 5449, "end": 5453, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 27 } } }, "property": { "type": "Identifier", "start": 5454, "end": 5476, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 50 }, "identifierName": "broadcastBufferSizePos" }, "name": "broadcastBufferSizePos" }, "computed": false }, { "type": "MemberExpression", "start": 5478, "end": 5502, "loc": { "start": { "line": 178, "column": 52 }, "end": { "line": 178, "column": 76 } }, "object": { "type": "ThisExpression", "start": 5478, "end": 5482, "loc": { "start": { "line": 178, "column": 52 }, "end": { "line": 178, "column": 56 } } }, "property": { "type": "Identifier", "start": 5483, "end": 5502, "loc": { "start": { "line": 178, "column": 57 }, "end": { "line": 178, "column": 76 }, "identifierName": "broadcastBufferSize" }, "name": "broadcastBufferSize" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 5510, "end": 5552, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 5510, "end": 5552, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5510, "end": 5530, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5510, "end": 5514, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 10 } } }, "property": { "type": "Identifier", "start": 5515, "end": 5530, "loc": { "start": { "line": 179, "column": 11 }, "end": { "line": 179, "column": 26 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "right": { "type": "NewExpression", "start": 5533, "end": 5552, "loc": { "start": { "line": 179, "column": 29 }, "end": { "line": 179, "column": 48 } }, "callee": { "type": "Identifier", "start": 5537, "end": 5550, "loc": { "start": { "line": 179, "column": 33 }, "end": { "line": 179, "column": 46 }, "identifierName": "BinaryEncoder" }, "name": "BinaryEncoder" }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 5559, "end": 5654, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 182, "column": 8 } }, "expression": { "type": "CallExpression", "start": 5559, "end": 5654, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 182, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 5559, "end": 5591, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 180, "column": 38 } }, "object": { "type": "CallExpression", "start": 5559, "end": 5586, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 180, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 5559, "end": 5584, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 180, "column": 31 } }, "object": { "type": "ThisExpression", "start": 5559, "end": 5563, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 180, "column": 10 } } }, "property": { "type": "Identifier", "start": 5564, "end": 5584, "loc": { "start": { "line": 180, "column": 11 }, "end": { "line": 180, "column": 31 }, "identifierName": "whenRemoteResponsive" }, "name": "whenRemoteResponsive" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 5587, "end": 5591, "loc": { "start": { "line": 180, "column": 34 }, "end": { "line": 180, "column": 38 }, "identifierName": "then" }, "name": "then" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 5592, "end": 5653, "loc": { "start": { "line": 180, "column": 39 }, "end": { "line": 182, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5598, "end": 5653, "loc": { "start": { "line": 180, "column": 45 }, "end": { "line": 182, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 5608, "end": 5645, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 45 } }, "expression": { "type": "CallExpression", "start": 5608, "end": 5645, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 5608, "end": 5622, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 22 } }, "object": { "type": "ThisExpression", "start": 5608, "end": 5612, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 12 } } }, "property": { "type": "Identifier", "start": 5613, "end": 5622, "loc": { "start": { "line": 181, "column": 13 }, "end": { "line": 181, "column": 22 }, "identifierName": "broadcast" }, "name": "broadcast" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 5623, "end": 5644, "loc": { "start": { "line": 181, "column": 23 }, "end": { "line": 181, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5623, "end": 5642, "loc": { "start": { "line": 181, "column": 23 }, "end": { "line": 181, "column": 42 } }, "object": { "type": "Identifier", "start": 5623, "end": 5629, "loc": { "start": { "line": 181, "column": 23 }, "end": { "line": 181, "column": 29 }, "identifierName": "buffer" }, "name": "buffer" }, "property": { "type": "Identifier", "start": 5630, "end": 5642, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 42 }, "identifierName": "createBuffer" }, "name": "createBuffer" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 5666, "end": 6119, "loc": { "start": { "line": 183, "column": 11 }, "end": { "line": 194, "column": 5 } }, "test": { "type": "Identifier", "start": 5670, "end": 5682, "loc": { "start": { "line": 183, "column": 15 }, "end": { "line": 183, "column": 27 }, "identifierName": "firstContent" }, "name": "firstContent" }, "consequent": { "type": "BlockStatement", "start": 5684, "end": 6119, "loc": { "start": { "line": 183, "column": 29 }, "end": { "line": 194, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5797, "end": 6113, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 193, "column": 11 } }, "expression": { "type": "CallExpression", "start": 5797, "end": 6113, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 193, "column": 11 } }, "callee": { "type": "Identifier", "start": 5797, "end": 5807, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 186, "column": 16 }, "identifierName": "setTimeout" }, "name": "setTimeout", "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 5808, "end": 6109, "loc": { "start": { "line": 186, "column": 17 }, "end": { "line": 193, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5814, "end": 6109, "loc": { "start": { "line": 186, "column": 23 }, "end": { "line": 193, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 5824, "end": 6101, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 192, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 5828, "end": 5859, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 43 } }, "left": { "type": "MemberExpression", "start": 5828, "end": 5855, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 39 } }, "object": { "type": "MemberExpression", "start": 5828, "end": 5848, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 32 } }, "object": { "type": "ThisExpression", "start": 5828, "end": 5832, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 16 } } }, "property": { "type": "Identifier", "start": 5833, "end": 5848, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 32 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 5849, "end": 5855, "loc": { "start": { "line": 187, "column": 33 }, "end": { "line": 187, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5858, "end": 5859, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 43 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 5861, "end": 6101, "loc": { "start": { "line": 187, "column": 45 }, "end": { "line": 192, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 5873, "end": 5908, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5879, "end": 5908, "loc": { "start": { "line": 188, "column": 16 }, "end": { "line": 188, "column": 45 } }, "id": { "type": "Identifier", "start": 5879, "end": 5885, "loc": { "start": { "line": 188, "column": 16 }, "end": { "line": 188, "column": 22 }, "identifierName": "buffer" }, "name": "buffer" }, "init": { "type": "MemberExpression", "start": 5888, "end": 5908, "loc": { "start": { "line": 188, "column": 25 }, "end": { "line": 188, "column": 45 } }, "object": { "type": "ThisExpression", "start": 5888, "end": 5892, "loc": { "start": { "line": 188, "column": 25 }, "end": { "line": 188, "column": 29 } } }, "property": { "type": "Identifier", "start": 5893, "end": 5908, "loc": { "start": { "line": 188, "column": 30 }, "end": { "line": 188, "column": 45 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5919, "end": 5990, "loc": { "start": { "line": 189, "column": 10 }, "end": { "line": 189, "column": 81 } }, "expression": { "type": "CallExpression", "start": 5919, "end": 5990, "loc": { "start": { "line": 189, "column": 10 }, "end": { "line": 189, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 5919, "end": 5935, "loc": { "start": { "line": 189, "column": 10 }, "end": { "line": 189, "column": 26 } }, "object": { "type": "Identifier", "start": 5919, "end": 5925, "loc": { "start": { "line": 189, "column": 10 }, "end": { "line": 189, "column": 16 }, "identifierName": "buffer" }, "name": "buffer" }, "property": { "type": "Identifier", "start": 5926, "end": 5935, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 26 }, "identifierName": "setUint32" }, "name": "setUint32" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5936, "end": 5963, "loc": { "start": { "line": 189, "column": 27 }, "end": { "line": 189, "column": 54 } }, "object": { "type": "ThisExpression", "start": 5936, "end": 5940, "loc": { "start": { "line": 189, "column": 27 }, "end": { "line": 189, "column": 31 } } }, "property": { "type": "Identifier", "start": 5941, "end": 5963, "loc": { "start": { "line": 189, "column": 32 }, "end": { "line": 189, "column": 54 }, "identifierName": "broadcastBufferSizePos" }, "name": "broadcastBufferSizePos" }, "computed": false }, { "type": "MemberExpression", "start": 5965, "end": 5989, "loc": { "start": { "line": 189, "column": 56 }, "end": { "line": 189, "column": 80 } }, "object": { "type": "ThisExpression", "start": 5965, "end": 5969, "loc": { "start": { "line": 189, "column": 56 }, "end": { "line": 189, "column": 60 } } }, "property": { "type": "Identifier", "start": 5970, "end": 5989, "loc": { "start": { "line": 189, "column": 61 }, "end": { "line": 189, "column": 80 }, "identifierName": "broadcastBufferSize" }, "name": "broadcastBufferSize" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 6001, "end": 6038, "loc": { "start": { "line": 190, "column": 10 }, "end": { "line": 190, "column": 47 } }, "expression": { "type": "CallExpression", "start": 6001, "end": 6038, "loc": { "start": { "line": 190, "column": 10 }, "end": { "line": 190, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 6001, "end": 6015, "loc": { "start": { "line": 190, "column": 10 }, "end": { "line": 190, "column": 24 } }, "object": { "type": "ThisExpression", "start": 6001, "end": 6005, "loc": { "start": { "line": 190, "column": 10 }, "end": { "line": 190, "column": 14 } } }, "property": { "type": "Identifier", "start": 6006, "end": 6015, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 24 }, "identifierName": "broadcast" }, "name": "broadcast" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 6016, "end": 6037, "loc": { "start": { "line": 190, "column": 25 }, "end": { "line": 190, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 6016, "end": 6035, "loc": { "start": { "line": 190, "column": 25 }, "end": { "line": 190, "column": 44 } }, "object": { "type": "Identifier", "start": 6016, "end": 6022, "loc": { "start": { "line": 190, "column": 25 }, "end": { "line": 190, "column": 31 }, "identifierName": "buffer" }, "name": "buffer" }, "property": { "type": "Identifier", "start": 6023, "end": 6035, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 44 }, "identifierName": "createBuffer" }, "name": "createBuffer" }, "computed": false }, "arguments": [] } ] } }, { "type": "ExpressionStatement", "start": 6049, "end": 6091, "loc": { "start": { "line": 191, "column": 10 }, "end": { "line": 191, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 6049, "end": 6091, "loc": { "start": { "line": 191, "column": 10 }, "end": { "line": 191, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6049, "end": 6069, "loc": { "start": { "line": 191, "column": 10 }, "end": { "line": 191, "column": 30 } }, "object": { "type": "ThisExpression", "start": 6049, "end": 6053, "loc": { "start": { "line": 191, "column": 10 }, "end": { "line": 191, "column": 14 } } }, "property": { "type": "Identifier", "start": 6054, "end": 6069, "loc": { "start": { "line": 191, "column": 15 }, "end": { "line": 191, "column": 30 }, "identifierName": "broadcastBuffer" }, "name": "broadcastBuffer" }, "computed": false }, "right": { "type": "NewExpression", "start": 6072, "end": 6091, "loc": { "start": { "line": 191, "column": 33 }, "end": { "line": 191, "column": 52 } }, "callee": { "type": "Identifier", "start": 6076, "end": 6089, "loc": { "start": { "line": 191, "column": 37 }, "end": { "line": 191, "column": 50 }, "identifierName": "BinaryEncoder" }, "name": "BinaryEncoder" }, "arguments": [] } } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "NumericLiteral", "start": 6111, "end": 6112, "loc": { "start": { "line": 193, "column": 9 }, "end": { "line": 193, "column": 10 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " send the buffer when all transactions are finished", "start": 5692, "end": 5745, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 184, "column": 59 } } }, { "type": "CommentLine", "value": " (or buffer exceeds maxBufferLength)", "start": 5752, "end": 5790, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 185, "column": 44 } } } ] } ], "directives": [] }, "alternate": null } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "\n Buffer operations, and broadcast them when ready.\n ", "start": 4687, "end": 4748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 162, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "\n * Somehow check the responsiveness of the remote clients/server\n * Default behavior:\n * Wait 100ms before broadcasting the next batch of operations\n *\n * Only used when maxBufferLength is set\n *\n ", "start": 6127, "end": 6345, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 204, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6348, "end": 6459, "loc": { "start": { "line": 205, "column": 2 }, "end": { "line": 209, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6348, "end": 6368, "loc": { "start": { "line": 205, "column": 2 }, "end": { "line": 205, "column": 22 }, "identifierName": "whenRemoteResponsive" }, "name": "whenRemoteResponsive", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6372, "end": 6459, "loc": { "start": { "line": 205, "column": 26 }, "end": { "line": 209, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 6378, "end": 6455, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 208, "column": 6 } }, "argument": { "type": "NewExpression", "start": 6385, "end": 6455, "loc": { "start": { "line": 206, "column": 11 }, "end": { "line": 208, "column": 6 } }, "callee": { "type": "Identifier", "start": 6389, "end": 6396, "loc": { "start": { "line": 206, "column": 15 }, "end": { "line": 206, "column": 22 }, "identifierName": "Promise" }, "name": "Promise" }, "arguments": [ { "type": "FunctionExpression", "start": 6397, "end": 6454, "loc": { "start": { "line": 206, "column": 23 }, "end": { "line": 208, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6407, "end": 6414, "loc": { "start": { "line": 206, "column": 33 }, "end": { "line": 206, "column": 40 }, "identifierName": "resolve" }, "name": "resolve" } ], "body": { "type": "BlockStatement", "start": 6416, "end": 6454, "loc": { "start": { "line": 206, "column": 42 }, "end": { "line": 208, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6424, "end": 6448, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "column": 30 } }, "expression": { "type": "CallExpression", "start": 6424, "end": 6448, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "column": 30 } }, "callee": { "type": "Identifier", "start": 6424, "end": 6434, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "column": 16 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "Identifier", "start": 6435, "end": 6442, "loc": { "start": { "line": 207, "column": 17 }, "end": { "line": 207, "column": 24 }, "identifierName": "resolve" }, "name": "resolve" }, { "type": "NumericLiteral", "start": 6444, "end": 6447, "loc": { "start": { "line": 207, "column": 26 }, "end": { "line": 207, "column": 29 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "\n * Somehow check the responsiveness of the remote clients/server\n * Default behavior:\n * Wait 100ms before broadcasting the next batch of operations\n *\n * Only used when maxBufferLength is set\n *\n ", "start": 6127, "end": 6345, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 204, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "\n You received a raw message, and you know that it is intended for Yjs. Then call this function.\n ", "start": 6463, "end": 6569, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 213, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 6572, "end": 8595, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 262, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6572, "end": 6586, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 214, "column": 16 }, "identifierName": "receiveMessage" }, "name": "receiveMessage", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6588, "end": 6594, "loc": { "start": { "line": 214, "column": 18 }, "end": { "line": 214, "column": 24 }, "identifierName": "sender" }, "name": "sender" }, { "type": "Identifier", "start": 6596, "end": 6602, "loc": { "start": { "line": 214, "column": 26 }, "end": { "line": 214, "column": 32 }, "identifierName": "buffer" }, "name": "buffer" }, { "type": "Identifier", "start": 6604, "end": 6612, "loc": { "start": { "line": 214, "column": 34 }, "end": { "line": 214, "column": 42 }, "identifierName": "skipAuth" }, "name": "skipAuth" } ], "body": { "type": "BlockStatement", "start": 6614, "end": 8595, "loc": { "start": { "line": 214, "column": 44 }, "end": { "line": 262, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 6620, "end": 6636, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 215, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6626, "end": 6636, "loc": { "start": { "line": 215, "column": 10 }, "end": { "line": 215, "column": 20 } }, "id": { "type": "Identifier", "start": 6626, "end": 6627, "loc": { "start": { "line": 215, "column": 10 }, "end": { "line": 215, "column": 11 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "MemberExpression", "start": 6630, "end": 6636, "loc": { "start": { "line": 215, "column": 14 }, "end": { "line": 215, "column": 20 } }, "object": { "type": "ThisExpression", "start": 6630, "end": 6634, "loc": { "start": { "line": 215, "column": 14 }, "end": { "line": 215, "column": 18 } } }, "property": { "type": "Identifier", "start": 6635, "end": 6636, "loc": { "start": { "line": 215, "column": 19 }, "end": { "line": 215, "column": 20 }, "identifierName": "y" }, "name": "y" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6641, "end": 6664, "loc": { "start": { "line": 216, "column": 4 }, "end": { "line": 216, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6647, "end": 6664, "loc": { "start": { "line": 216, "column": 10 }, "end": { "line": 216, "column": 27 } }, "id": { "type": "Identifier", "start": 6647, "end": 6653, "loc": { "start": { "line": 216, "column": 10 }, "end": { "line": 216, "column": 16 }, "identifierName": "userID" }, "name": "userID" }, "init": { "type": "MemberExpression", "start": 6656, "end": 6664, "loc": { "start": { "line": 216, "column": 19 }, "end": { "line": 216, "column": 27 } }, "object": { "type": "Identifier", "start": 6656, "end": 6657, "loc": { "start": { "line": 216, "column": 19 }, "end": { "line": 216, "column": 20 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 6658, "end": 6664, "loc": { "start": { "line": 216, "column": 21 }, "end": { "line": 216, "column": 27 }, "identifierName": "userID" }, "name": "userID" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6669, "end": 6697, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 6669, "end": 6697, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 6669, "end": 6677, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 12 }, "identifierName": "skipAuth" }, "name": "skipAuth" }, "right": { "type": "LogicalExpression", "start": 6680, "end": 6697, "loc": { "start": { "line": 217, "column": 15 }, "end": { "line": 217, "column": 32 } }, "left": { "type": "Identifier", "start": 6680, "end": 6688, "loc": { "start": { "line": 217, "column": 15 }, "end": { "line": 217, "column": 23 }, "identifierName": "skipAuth" }, "name": "skipAuth" }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 6692, "end": 6697, "loc": { "start": { "line": 217, "column": 27 }, "end": { "line": 217, "column": 32 } }, "value": false } } } }, { "type": "IfStatement", "start": 6702, "end": 6874, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 220, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 6706, "end": 6770, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 72 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", "start": 6708, "end": 6769, "loc": { "start": { "line": 218, "column": 10 }, "end": { "line": 218, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 6708, "end": 6737, "loc": { "start": { "line": 218, "column": 10 }, "end": { "line": 218, "column": 39 } }, "left": { "type": "Identifier", "start": 6708, "end": 6714, "loc": { "start": { "line": 218, "column": 10 }, "end": { "line": 218, "column": 16 }, "identifierName": "buffer" }, "name": "buffer" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 6726, "end": 6737, "loc": { "start": { "line": 218, "column": 28 }, "end": { "line": 218, "column": 39 }, "identifierName": "ArrayBuffer" }, "name": "ArrayBuffer" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 6741, "end": 6769, "loc": { "start": { "line": 218, "column": 43 }, "end": { "line": 218, "column": 71 } }, "left": { "type": "Identifier", "start": 6741, "end": 6747, "loc": { "start": { "line": 218, "column": 43 }, "end": { "line": 218, "column": 49 }, "identifierName": "buffer" }, "name": "buffer" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 6759, "end": 6769, "loc": { "start": { "line": 218, "column": 61 }, "end": { "line": 218, "column": 71 }, "identifierName": "Uint8Array" }, "name": "Uint8Array" } }, "extra": { "parenthesized": true, "parenStart": 6707 } }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 6772, "end": 6874, "loc": { "start": { "line": 218, "column": 74 }, "end": { "line": 220, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6780, "end": 6868, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 94 } }, "argument": { "type": "CallExpression", "start": 6787, "end": 6868, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 6787, "end": 6801, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 27 } }, "object": { "type": "Identifier", "start": 6787, "end": 6794, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 20 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 6795, "end": 6801, "loc": { "start": { "line": 219, "column": 21 }, "end": { "line": 219, "column": 27 }, "identifierName": "reject" }, "name": "reject" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 6802, "end": 6867, "loc": { "start": { "line": 219, "column": 28 }, "end": { "line": 219, "column": 93 } }, "callee": { "type": "Identifier", "start": 6806, "end": 6811, "loc": { "start": { "line": 219, "column": 32 }, "end": { "line": 219, "column": 37 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6812, "end": 6866, "loc": { "start": { "line": 219, "column": 38 }, "end": { "line": 219, "column": 92 } }, "extra": { "rawValue": "Expected Message to be an ArrayBuffer or Uint8Array!", "raw": "'Expected Message to be an ArrayBuffer or Uint8Array!'" }, "value": "Expected Message to be an ArrayBuffer or Uint8Array!" } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6879, "end": 6940, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 223, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6883, "end": 6900, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 25 } }, "left": { "type": "Identifier", "start": 6883, "end": 6889, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 14 }, "identifierName": "sender" }, "name": "sender" }, "operator": "===", "right": { "type": "Identifier", "start": 6894, "end": 6900, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 25 }, "identifierName": "userID" }, "name": "userID" } }, "consequent": { "type": "BlockStatement", "start": 6902, "end": 6940, "loc": { "start": { "line": 221, "column": 27 }, "end": { "line": 223, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6910, "end": 6934, "loc": { "start": { "line": 222, "column": 6 }, "end": { "line": 222, "column": 30 } }, "argument": { "type": "CallExpression", "start": 6917, "end": 6934, "loc": { "start": { "line": 222, "column": 13 }, "end": { "line": 222, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 6917, "end": 6932, "loc": { "start": { "line": 222, "column": 13 }, "end": { "line": 222, "column": 28 } }, "object": { "type": "Identifier", "start": 6917, "end": 6924, "loc": { "start": { "line": 222, "column": 13 }, "end": { "line": 222, "column": 20 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 6925, "end": 6932, "loc": { "start": { "line": 222, "column": 21 }, "end": { "line": 222, "column": 28 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 6945, "end": 6984, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6949, "end": 6984, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 43 } }, "id": { "type": "Identifier", "start": 6949, "end": 6956, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 15 }, "identifierName": "decoder" }, "name": "decoder" }, "init": { "type": "NewExpression", "start": 6959, "end": 6984, "loc": { "start": { "line": 224, "column": 18 }, "end": { "line": 224, "column": 43 } }, "callee": { "type": "Identifier", "start": 6963, "end": 6976, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 35 }, "identifierName": "BinaryDecoder" }, "name": "BinaryDecoder" }, "arguments": [ { "type": "Identifier", "start": 6977, "end": 6983, "loc": { "start": { "line": 224, "column": 36 }, "end": { "line": 224, "column": 42 }, "identifierName": "buffer" }, "name": "buffer" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6989, "end": 7022, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6993, "end": 7022, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 37 } }, "id": { "type": "Identifier", "start": 6993, "end": 7000, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 15 }, "identifierName": "encoder" }, "name": "encoder" }, "init": { "type": "NewExpression", "start": 7003, "end": 7022, "loc": { "start": { "line": 225, "column": 18 }, "end": { "line": 225, "column": 37 } }, "callee": { "type": "Identifier", "start": 7007, "end": 7020, "loc": { "start": { "line": 225, "column": 22 }, "end": { "line": 225, "column": 35 }, "identifierName": "BinaryEncoder" }, "name": "BinaryEncoder" }, "arguments": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 7027, "end": 7065, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 226, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7031, "end": 7065, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 42 } }, "id": { "type": "Identifier", "start": 7031, "end": 7039, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 16 }, "identifierName": "roomname" }, "name": "roomname" }, "init": { "type": "CallExpression", "start": 7042, "end": 7065, "loc": { "start": { "line": 226, "column": 19 }, "end": { "line": 226, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 7042, "end": 7063, "loc": { "start": { "line": 226, "column": 19 }, "end": { "line": 226, "column": 40 } }, "object": { "type": "Identifier", "start": 7042, "end": 7049, "loc": { "start": { "line": 226, "column": 19 }, "end": { "line": 226, "column": 26 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 7050, "end": 7063, "loc": { "start": { "line": 226, "column": 27 }, "end": { "line": 226, "column": 40 }, "identifierName": "readVarString" }, "name": "readVarString" }, "computed": false }, "arguments": [], "trailingComments": null }, "trailingComments": null } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " read room name", "start": 7066, "end": 7083, "loc": { "start": { "line": 226, "column": 43 }, "end": { "line": 226, "column": 60 } } } ] }, { "type": "ExpressionStatement", "start": 7088, "end": 7120, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 36 } }, "expression": { "type": "CallExpression", "start": 7088, "end": 7120, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7088, "end": 7110, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 26 } }, "object": { "type": "Identifier", "start": 7088, "end": 7095, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 11 }, "identifierName": "encoder" }, "name": "encoder", "leadingComments": null }, "property": { "type": "Identifier", "start": 7096, "end": 7110, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 26 }, "identifierName": "writeVarString" }, "name": "writeVarString" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 7111, "end": 7119, "loc": { "start": { "line": 227, "column": 27 }, "end": { "line": 227, "column": 35 }, "identifierName": "roomname" }, "name": "roomname" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " read room name", "start": 7066, "end": 7083, "loc": { "start": { "line": 226, "column": 43 }, "end": { "line": 226, "column": 60 } } } ] }, { "type": "VariableDeclaration", "start": 7125, "end": 7166, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7129, "end": 7166, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 45 } }, "id": { "type": "Identifier", "start": 7129, "end": 7140, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 19 }, "identifierName": "messageType" }, "name": "messageType" }, "init": { "type": "CallExpression", "start": 7143, "end": 7166, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 7143, "end": 7164, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 43 } }, "object": { "type": "Identifier", "start": 7143, "end": 7150, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 29 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 7151, "end": 7164, "loc": { "start": { "line": 228, "column": 30 }, "end": { "line": 228, "column": 43 }, "identifierName": "readVarString" }, "name": "readVarString" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 7171, "end": 7216, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7175, "end": 7216, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 49 } }, "id": { "type": "Identifier", "start": 7175, "end": 7185, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 18 }, "identifierName": "senderConn" }, "name": "senderConn" }, "init": { "type": "CallExpression", "start": 7188, "end": 7216, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7188, "end": 7208, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7188, "end": 7204, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7188, "end": 7192, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 25 } } }, "property": { "type": "Identifier", "start": 7193, "end": 7204, "loc": { "start": { "line": 229, "column": 26 }, "end": { "line": 229, "column": 37 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 7205, "end": 7208, "loc": { "start": { "line": 229, "column": 38 }, "end": { "line": 229, "column": 41 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7209, "end": 7215, "loc": { "start": { "line": 229, "column": 42 }, "end": { "line": 229, "column": 48 }, "identifierName": "sender" }, "name": "sender" } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 7221, "end": 7296, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 79 } }, "expression": { "type": "CallExpression", "start": 7221, "end": 7296, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 7221, "end": 7229, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 12 } }, "object": { "type": "ThisExpression", "start": 7221, "end": 7225, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 8 } } }, "property": { "type": "Identifier", "start": 7226, "end": 7229, "loc": { "start": { "line": 230, "column": 9 }, "end": { "line": 230, "column": 12 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7230, "end": 7266, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 49 } }, "extra": { "rawValue": "User%s from User%s: Receive '%s'", "raw": "'User%s from User%s: Receive \\'%s\\''" }, "value": "User%s from User%s: Receive '%s'" }, { "type": "Identifier", "start": 7268, "end": 7274, "loc": { "start": { "line": 230, "column": 51 }, "end": { "line": 230, "column": 57 }, "identifierName": "userID" }, "name": "userID" }, { "type": "Identifier", "start": 7276, "end": 7282, "loc": { "start": { "line": 230, "column": 59 }, "end": { "line": 230, "column": 65 }, "identifierName": "sender" }, "name": "sender" }, { "type": "Identifier", "start": 7284, "end": 7295, "loc": { "start": { "line": 230, "column": 67 }, "end": { "line": 230, "column": 78 }, "identifierName": "messageType" }, "name": "messageType" } ] } }, { "type": "ExpressionStatement", "start": 7301, "end": 7379, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 82 } }, "expression": { "type": "CallExpression", "start": 7301, "end": 7379, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 7301, "end": 7316, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 19 } }, "object": { "type": "ThisExpression", "start": 7301, "end": 7305, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 8 } } }, "property": { "type": "Identifier", "start": 7306, "end": 7316, "loc": { "start": { "line": 231, "column": 9 }, "end": { "line": 231, "column": 19 }, "identifierName": "logMessage" }, "name": "logMessage" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7317, "end": 7349, "loc": { "start": { "line": 231, "column": 20 }, "end": { "line": 231, "column": 52 } }, "extra": { "rawValue": "User%s from User%s: Receive %Y", "raw": "'User%s from User%s: Receive %Y'" }, "value": "User%s from User%s: Receive %Y" }, { "type": "Identifier", "start": 7351, "end": 7357, "loc": { "start": { "line": 231, "column": 54 }, "end": { "line": 231, "column": 60 }, "identifierName": "userID" }, "name": "userID" }, { "type": "Identifier", "start": 7359, "end": 7365, "loc": { "start": { "line": 231, "column": 62 }, "end": { "line": 231, "column": 68 }, "identifierName": "sender" }, "name": "sender" }, { "type": "ArrayExpression", "start": 7367, "end": 7378, "loc": { "start": { "line": 231, "column": 70 }, "end": { "line": 231, "column": 81 } }, "elements": [ { "type": "Identifier", "start": 7368, "end": 7369, "loc": { "start": { "line": 231, "column": 71 }, "end": { "line": 231, "column": 72 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 7371, "end": 7377, "loc": { "start": { "line": 231, "column": 74 }, "end": { "line": 231, "column": 80 }, "identifierName": "buffer" }, "name": "buffer" } ] } ] } }, { "type": "IfStatement", "start": 7384, "end": 7489, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 7388, "end": 7419, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 39 } }, "left": { "type": "BinaryExpression", "start": 7388, "end": 7406, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 26 } }, "left": { "type": "Identifier", "start": 7388, "end": 7398, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 18 }, "identifierName": "senderConn" }, "name": "senderConn" }, "operator": "==", "right": { "type": "NullLiteral", "start": 7402, "end": 7406, "loc": { "start": { "line": 232, "column": 22 }, "end": { "line": 232, "column": 26 } } } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 7410, "end": 7419, "loc": { "start": { "line": 232, "column": 30 }, "end": { "line": 232, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7411, "end": 7419, "loc": { "start": { "line": 232, "column": 31 }, "end": { "line": 232, "column": 39 }, "identifierName": "skipAuth" }, "name": "skipAuth" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 7421, "end": 7489, "loc": { "start": { "line": 232, "column": 41 }, "end": { "line": 234, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 7429, "end": 7483, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 60 } }, "argument": { "type": "NewExpression", "start": 7435, "end": 7483, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 60 } }, "callee": { "type": "Identifier", "start": 7439, "end": 7444, "loc": { "start": { "line": 233, "column": 16 }, "end": { "line": 233, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 7445, "end": 7482, "loc": { "start": { "line": 233, "column": 22 }, "end": { "line": 233, "column": 59 } }, "extra": { "rawValue": "Received message from unknown peer!", "raw": "'Received message from unknown peer!'" }, "value": "Received message from unknown peer!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7494, "end": 8284, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 256, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 7498, "end": 7560, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 70 } }, "left": { "type": "BinaryExpression", "start": 7498, "end": 7527, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 37 } }, "left": { "type": "Identifier", "start": 7498, "end": 7509, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 19 }, "identifierName": "messageType" }, "name": "messageType" }, "operator": "===", "right": { "type": "StringLiteral", "start": 7514, "end": 7527, "loc": { "start": { "line": 235, "column": 24 }, "end": { "line": 235, "column": 37 } }, "extra": { "rawValue": "sync step 1", "raw": "'sync step 1'" }, "value": "sync step 1" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 7531, "end": 7560, "loc": { "start": { "line": 235, "column": 41 }, "end": { "line": 235, "column": 70 } }, "left": { "type": "Identifier", "start": 7531, "end": 7542, "loc": { "start": { "line": 235, "column": 41 }, "end": { "line": 235, "column": 52 }, "identifierName": "messageType" }, "name": "messageType" }, "operator": "===", "right": { "type": "StringLiteral", "start": 7547, "end": 7560, "loc": { "start": { "line": 235, "column": 57 }, "end": { "line": 235, "column": 70 } }, "extra": { "rawValue": "sync step 2", "raw": "'sync step 2'" }, "value": "sync step 2" } } }, "consequent": { "type": "BlockStatement", "start": 7562, "end": 8284, "loc": { "start": { "line": 235, "column": 72 }, "end": { "line": 256, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 7570, "end": 7602, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7574, "end": 7602, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 38 } }, "id": { "type": "Identifier", "start": 7574, "end": 7578, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 14 }, "identifierName": "auth" }, "name": "auth" }, "init": { "type": "CallExpression", "start": 7581, "end": 7602, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 7581, "end": 7600, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 36 } }, "object": { "type": "Identifier", "start": 7581, "end": 7588, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 24 }, "identifierName": "decoder" }, "name": "decoder" }, "property": { "type": "Identifier", "start": 7589, "end": 7600, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 36 }, "identifierName": "readVarUint" }, "name": "readVarUint" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 7609, "end": 8278, "loc": { "start": { "line": 237, "column": 6 }, "end": { "line": 255, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 7613, "end": 7636, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 237, "column": 33 } }, "left": { "type": "MemberExpression", "start": 7613, "end": 7628, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 237, "column": 25 } }, "object": { "type": "Identifier", "start": 7613, "end": 7623, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 237, "column": 20 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 7624, "end": 7628, "loc": { "start": { "line": 237, "column": 21 }, "end": { "line": 237, "column": 25 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "==", "right": { "type": "NullLiteral", "start": 7632, "end": 7636, "loc": { "start": { "line": 237, "column": 29 }, "end": { "line": 237, "column": 33 } } } }, "consequent": { "type": "BlockStatement", "start": 7638, "end": 8278, "loc": { "start": { "line": 237, "column": 35 }, "end": { "line": 255, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7648, "end": 7733, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 93 } }, "expression": { "type": "CallExpression", "start": 7648, "end": 7733, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 7648, "end": 7680, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7648, "end": 7675, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 35 } }, "object": { "type": "Identifier", "start": 7648, "end": 7658, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 18 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 7659, "end": 7675, "loc": { "start": { "line": 238, "column": 19 }, "end": { "line": 238, "column": 35 }, "identifierName": "processAfterAuth" }, "name": "processAfterAuth" }, "computed": false }, "property": { "type": "Identifier", "start": 7676, "end": 7680, "loc": { "start": { "line": 238, "column": 36 }, "end": { "line": 238, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 7681, "end": 7732, "loc": { "start": { "line": 238, "column": 41 }, "end": { "line": 238, "column": 92 } }, "elements": [ { "type": "Identifier", "start": 7682, "end": 7693, "loc": { "start": { "line": 238, "column": 42 }, "end": { "line": 238, "column": 53 }, "identifierName": "messageType" }, "name": "messageType" }, { "type": "Identifier", "start": 7695, "end": 7705, "loc": { "start": { "line": 238, "column": 55 }, "end": { "line": 238, "column": 65 }, "identifierName": "senderConn" }, "name": "senderConn" }, { "type": "Identifier", "start": 7707, "end": 7714, "loc": { "start": { "line": 238, "column": 67 }, "end": { "line": 238, "column": 74 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 7716, "end": 7723, "loc": { "start": { "line": 238, "column": 76 }, "end": { "line": 238, "column": 83 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "Identifier", "start": 7725, "end": 7731, "loc": { "start": { "line": 238, "column": 85 }, "end": { "line": 238, "column": 91 }, "identifierName": "sender" }, "name": "sender" } ] } ], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " check auth", "start": 7742, "end": 7755, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 21 } } } ] }, { "type": "ReturnStatement", "start": 7764, "end": 8270, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 254, "column": 10 } }, "argument": { "type": "CallExpression", "start": 7771, "end": 8270, "loc": { "start": { "line": 240, "column": 15 }, "end": { "line": 254, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 7771, "end": 7807, "loc": { "start": { "line": 240, "column": 15 }, "end": { "line": 240, "column": 51 } }, "object": { "type": "CallExpression", "start": 7771, "end": 7802, "loc": { "start": { "line": 240, "column": 15 }, "end": { "line": 240, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 7771, "end": 7785, "loc": { "start": { "line": 240, "column": 15 }, "end": { "line": 240, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7771, "end": 7775, "loc": { "start": { "line": 240, "column": 15 }, "end": { "line": 240, "column": 19 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7776, "end": 7785, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 29 }, "identifierName": "checkAuth" }, "name": "checkAuth" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 7786, "end": 7790, "loc": { "start": { "line": 240, "column": 30 }, "end": { "line": 240, "column": 34 }, "identifierName": "auth" }, "name": "auth" }, { "type": "Identifier", "start": 7792, "end": 7793, "loc": { "start": { "line": 240, "column": 36 }, "end": { "line": 240, "column": 37 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 7795, "end": 7801, "loc": { "start": { "line": 240, "column": 39 }, "end": { "line": 240, "column": 45 }, "identifierName": "sender" }, "name": "sender" } ], "leadingComments": null }, "property": { "type": "Identifier", "start": 7803, "end": 7807, "loc": { "start": { "line": 240, "column": 47 }, "end": { "line": 240, "column": 51 }, "identifierName": "then" }, "name": "then" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7808, "end": 8269, "loc": { "start": { "line": 240, "column": 52 }, "end": { "line": 254, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7808, "end": 7823, "loc": { "start": { "line": 240, "column": 52 }, "end": { "line": 240, "column": 67 }, "identifierName": "authPermissions" }, "name": "authPermissions" } ], "body": { "type": "BlockStatement", "start": 7827, "end": 8269, "loc": { "start": { "line": 240, "column": 71 }, "end": { "line": 254, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 7839, "end": 8056, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 247, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 7843, "end": 7866, "loc": { "start": { "line": 241, "column": 14 }, "end": { "line": 241, "column": 37 } }, "left": { "type": "MemberExpression", "start": 7843, "end": 7858, "loc": { "start": { "line": 241, "column": 14 }, "end": { "line": 241, "column": 29 } }, "object": { "type": "Identifier", "start": 7843, "end": 7853, "loc": { "start": { "line": 241, "column": 14 }, "end": { "line": 241, "column": 24 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 7854, "end": 7858, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 29 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "==", "right": { "type": "NullLiteral", "start": 7862, "end": 7866, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 37 } } } }, "consequent": { "type": "BlockStatement", "start": 7868, "end": 8056, "loc": { "start": { "line": 241, "column": 39 }, "end": { "line": 247, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 7882, "end": 7915, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7882, "end": 7915, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7882, "end": 7897, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 27 } }, "object": { "type": "Identifier", "start": 7882, "end": 7892, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 22 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 7893, "end": 7897, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 27 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "right": { "type": "Identifier", "start": 7900, "end": 7915, "loc": { "start": { "line": 242, "column": 30 }, "end": { "line": 242, "column": 45 }, "identifierName": "authPermissions" }, "name": "authPermissions" } } }, { "type": "ExpressionStatement", "start": 7928, "end": 8044, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 246, "column": 14 } }, "expression": { "type": "CallExpression", "start": 7928, "end": 8044, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 246, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 7928, "end": 7934, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 243, "column": 18 } }, "object": { "type": "Identifier", "start": 7928, "end": 7929, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 243, "column": 13 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 7930, "end": 7934, "loc": { "start": { "line": 243, "column": 14 }, "end": { "line": 243, "column": 18 }, "identifierName": "emit" }, "name": "emit" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7935, "end": 7954, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 38 } }, "extra": { "rawValue": "userAuthenticated", "raw": "'userAuthenticated'" }, "value": "userAuthenticated" }, { "type": "ObjectExpression", "start": 7956, "end": 8043, "loc": { "start": { "line": 243, "column": 40 }, "end": { "line": 246, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 7972, "end": 7992, "loc": { "start": { "line": 244, "column": 14 }, "end": { "line": 244, "column": 34 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 7972, "end": 7976, "loc": { "start": { "line": 244, "column": 14 }, "end": { "line": 244, "column": 18 }, "identifierName": "user" }, "name": "user" }, "value": { "type": "MemberExpression", "start": 7978, "end": 7992, "loc": { "start": { "line": 244, "column": 20 }, "end": { "line": 244, "column": 34 } }, "object": { "type": "Identifier", "start": 7978, "end": 7988, "loc": { "start": { "line": 244, "column": 20 }, "end": { "line": 244, "column": 30 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 7989, "end": 7992, "loc": { "start": { "line": 244, "column": 31 }, "end": { "line": 244, "column": 34 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } }, { "type": "ObjectProperty", "start": 8008, "end": 8029, "loc": { "start": { "line": 245, "column": 14 }, "end": { "line": 245, "column": 35 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 8008, "end": 8012, "loc": { "start": { "line": 245, "column": 14 }, "end": { "line": 245, "column": 18 }, "identifierName": "auth" }, "name": "auth" }, "value": { "type": "Identifier", "start": 8014, "end": 8029, "loc": { "start": { "line": 245, "column": 20 }, "end": { "line": 245, "column": 35 }, "identifierName": "authPermissions" }, "name": "authPermissions" } } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 8067, "end": 8109, "loc": { "start": { "line": 248, "column": 10 }, "end": { "line": 248, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8071, "end": 8109, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 52 } }, "id": { "type": "Identifier", "start": 8071, "end": 8079, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 22 }, "identifierName": "messages" }, "name": "messages" }, "init": { "type": "MemberExpression", "start": 8082, "end": 8109, "loc": { "start": { "line": 248, "column": 25 }, "end": { "line": 248, "column": 52 } }, "object": { "type": "Identifier", "start": 8082, "end": 8092, "loc": { "start": { "line": 248, "column": 25 }, "end": { "line": 248, "column": 35 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8093, "end": 8109, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 52 }, "identifierName": "processAfterAuth" }, "name": "processAfterAuth" }, "computed": false } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 8120, "end": 8152, "loc": { "start": { "line": 249, "column": 10 }, "end": { "line": 249, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 8120, "end": 8152, "loc": { "start": { "line": 249, "column": 10 }, "end": { "line": 249, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8120, "end": 8147, "loc": { "start": { "line": 249, "column": 10 }, "end": { "line": 249, "column": 37 } }, "object": { "type": "Identifier", "start": 8120, "end": 8130, "loc": { "start": { "line": 249, "column": 10 }, "end": { "line": 249, "column": 20 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8131, "end": 8147, "loc": { "start": { "line": 249, "column": 21 }, "end": { "line": 249, "column": 37 }, "identifierName": "processAfterAuth" }, "name": "processAfterAuth" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 8150, "end": 8152, "loc": { "start": { "line": 249, "column": 40 }, "end": { "line": 249, "column": 42 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 8164, "end": 8259, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 253, "column": 11 } }, "expression": { "type": "CallExpression", "start": 8164, "end": 8259, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 253, "column": 11 } }, "callee": { "type": "MemberExpression", "start": 8164, "end": 8180, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 26 } }, "object": { "type": "Identifier", "start": 8164, "end": 8172, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 18 }, "identifierName": "messages" }, "name": "messages" }, "property": { "type": "Identifier", "start": 8173, "end": 8180, "loc": { "start": { "line": 251, "column": 19 }, "end": { "line": 251, "column": 26 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 8181, "end": 8247, "loc": { "start": { "line": 251, "column": 27 }, "end": { "line": 252, "column": 61 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 8181, "end": 8182, "loc": { "start": { "line": 251, "column": 27 }, "end": { "line": 251, "column": 28 }, "identifierName": "m" }, "name": "m" } ], "body": { "type": "CallExpression", "start": 8198, "end": 8247, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 8198, "end": 8217, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8198, "end": 8202, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 16 } } }, "property": { "type": "Identifier", "start": 8203, "end": 8217, "loc": { "start": { "line": 252, "column": 17 }, "end": { "line": 252, "column": 31 }, "identifierName": "computeMessage" }, "name": "computeMessage" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8218, "end": 8222, "loc": { "start": { "line": 252, "column": 32 }, "end": { "line": 252, "column": 36 } }, "object": { "type": "Identifier", "start": 8218, "end": 8219, "loc": { "start": { "line": 252, "column": 32 }, "end": { "line": 252, "column": 33 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 8220, "end": 8221, "loc": { "start": { "line": 252, "column": 34 }, "end": { "line": 252, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, { "type": "MemberExpression", "start": 8224, "end": 8228, "loc": { "start": { "line": 252, "column": 38 }, "end": { "line": 252, "column": 42 } }, "object": { "type": "Identifier", "start": 8224, "end": 8225, "loc": { "start": { "line": 252, "column": 38 }, "end": { "line": 252, "column": 39 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 8226, "end": 8227, "loc": { "start": { "line": 252, "column": 40 }, "end": { "line": 252, "column": 41 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true }, { "type": "MemberExpression", "start": 8230, "end": 8234, "loc": { "start": { "line": 252, "column": 44 }, "end": { "line": 252, "column": 48 } }, "object": { "type": "Identifier", "start": 8230, "end": 8231, "loc": { "start": { "line": 252, "column": 44 }, "end": { "line": 252, "column": 45 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 8232, "end": 8233, "loc": { "start": { "line": 252, "column": 46 }, "end": { "line": 252, "column": 47 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "computed": true }, { "type": "MemberExpression", "start": 8236, "end": 8240, "loc": { "start": { "line": 252, "column": 50 }, "end": { "line": 252, "column": 54 } }, "object": { "type": "Identifier", "start": 8236, "end": 8237, "loc": { "start": { "line": 252, "column": 50 }, "end": { "line": 252, "column": 51 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 8238, "end": 8239, "loc": { "start": { "line": 252, "column": 52 }, "end": { "line": 252, "column": 53 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, "computed": true }, { "type": "MemberExpression", "start": 8242, "end": 8246, "loc": { "start": { "line": 252, "column": 56 }, "end": { "line": 252, "column": 60 } }, "object": { "type": "Identifier", "start": 8242, "end": 8243, "loc": { "start": { "line": 252, "column": 56 }, "end": { "line": 252, "column": 57 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 8244, "end": 8245, "loc": { "start": { "line": 252, "column": 58 }, "end": { "line": 252, "column": 59 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, "computed": true } ] } } ] } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " check auth", "start": 7742, "end": 7755, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 21 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8289, "end": 8591, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 261, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 8293, "end": 8383, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 98 } }, "left": { "type": "LogicalExpression", "start": 8294, "end": 8329, "loc": { "start": { "line": 257, "column": 9 }, "end": { "line": 257, "column": 44 } }, "left": { "type": "Identifier", "start": 8294, "end": 8302, "loc": { "start": { "line": 257, "column": 9 }, "end": { "line": 257, "column": 17 }, "identifierName": "skipAuth" }, "name": "skipAuth" }, "operator": "||", "right": { "type": "BinaryExpression", "start": 8306, "end": 8329, "loc": { "start": { "line": 257, "column": 21 }, "end": { "line": 257, "column": 44 } }, "left": { "type": "MemberExpression", "start": 8306, "end": 8321, "loc": { "start": { "line": 257, "column": 21 }, "end": { "line": 257, "column": 36 } }, "object": { "type": "Identifier", "start": 8306, "end": 8316, "loc": { "start": { "line": 257, "column": 21 }, "end": { "line": 257, "column": 31 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8317, "end": 8321, "loc": { "start": { "line": 257, "column": 32 }, "end": { "line": 257, "column": 36 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "!=", "right": { "type": "NullLiteral", "start": 8325, "end": 8329, "loc": { "start": { "line": 257, "column": 40 }, "end": { "line": 257, "column": 44 } } } }, "extra": { "parenthesized": true, "parenStart": 8293 } }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 8335, "end": 8382, "loc": { "start": { "line": 257, "column": 50 }, "end": { "line": 257, "column": 97 } }, "left": { "type": "BinaryExpression", "start": 8335, "end": 8359, "loc": { "start": { "line": 257, "column": 50 }, "end": { "line": 257, "column": 74 } }, "left": { "type": "Identifier", "start": 8335, "end": 8346, "loc": { "start": { "line": 257, "column": 50 }, "end": { "line": 257, "column": 61 }, "identifierName": "messageType" }, "name": "messageType" }, "operator": "!==", "right": { "type": "StringLiteral", "start": 8351, "end": 8359, "loc": { "start": { "line": 257, "column": 66 }, "end": { "line": 257, "column": 74 } }, "extra": { "rawValue": "update", "raw": "'update'" }, "value": "update" } }, "operator": "||", "right": { "type": "MemberExpression", "start": 8363, "end": 8382, "loc": { "start": { "line": 257, "column": 78 }, "end": { "line": 257, "column": 97 } }, "object": { "type": "Identifier", "start": 8363, "end": 8373, "loc": { "start": { "line": 257, "column": 78 }, "end": { "line": 257, "column": 88 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8374, "end": 8382, "loc": { "start": { "line": 257, "column": 89 }, "end": { "line": 257, "column": 97 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 8334 } } }, "consequent": { "type": "BlockStatement", "start": 8385, "end": 8479, "loc": { "start": { "line": 257, "column": 100 }, "end": { "line": 259, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8393, "end": 8473, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 86 } }, "expression": { "type": "CallExpression", "start": 8393, "end": 8473, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 8393, "end": 8412, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 25 } }, "object": { "type": "ThisExpression", "start": 8393, "end": 8397, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 10 } } }, "property": { "type": "Identifier", "start": 8398, "end": 8412, "loc": { "start": { "line": 258, "column": 11 }, "end": { "line": 258, "column": 25 }, "identifierName": "computeMessage" }, "name": "computeMessage" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8413, "end": 8424, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 37 }, "identifierName": "messageType" }, "name": "messageType" }, { "type": "Identifier", "start": 8426, "end": 8436, "loc": { "start": { "line": 258, "column": 39 }, "end": { "line": 258, "column": 49 }, "identifierName": "senderConn" }, "name": "senderConn" }, { "type": "Identifier", "start": 8438, "end": 8445, "loc": { "start": { "line": 258, "column": 51 }, "end": { "line": 258, "column": 58 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 8447, "end": 8454, "loc": { "start": { "line": 258, "column": 60 }, "end": { "line": 258, "column": 67 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "Identifier", "start": 8456, "end": 8462, "loc": { "start": { "line": 258, "column": 69 }, "end": { "line": 258, "column": 75 }, "identifierName": "sender" }, "name": "sender" }, { "type": "Identifier", "start": 8464, "end": 8472, "loc": { "start": { "line": 258, "column": 77 }, "end": { "line": 258, "column": 85 }, "identifierName": "skipAuth" }, "name": "skipAuth" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 8485, "end": 8591, "loc": { "start": { "line": 259, "column": 11 }, "end": { "line": 261, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8493, "end": 8585, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 98 } }, "expression": { "type": "CallExpression", "start": 8493, "end": 8585, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 8493, "end": 8525, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8493, "end": 8520, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 33 } }, "object": { "type": "Identifier", "start": 8493, "end": 8503, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 16 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8504, "end": 8520, "loc": { "start": { "line": 260, "column": 17 }, "end": { "line": 260, "column": 33 }, "identifierName": "processAfterSync" }, "name": "processAfterSync" }, "computed": false }, "property": { "type": "Identifier", "start": 8521, "end": 8525, "loc": { "start": { "line": 260, "column": 34 }, "end": { "line": 260, "column": 38 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 8526, "end": 8584, "loc": { "start": { "line": 260, "column": 39 }, "end": { "line": 260, "column": 97 } }, "elements": [ { "type": "Identifier", "start": 8527, "end": 8538, "loc": { "start": { "line": 260, "column": 40 }, "end": { "line": 260, "column": 51 }, "identifierName": "messageType" }, "name": "messageType" }, { "type": "Identifier", "start": 8540, "end": 8550, "loc": { "start": { "line": 260, "column": 53 }, "end": { "line": 260, "column": 63 }, "identifierName": "senderConn" }, "name": "senderConn" }, { "type": "Identifier", "start": 8552, "end": 8559, "loc": { "start": { "line": 260, "column": 65 }, "end": { "line": 260, "column": 72 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 8561, "end": 8568, "loc": { "start": { "line": 260, "column": 74 }, "end": { "line": 260, "column": 81 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "Identifier", "start": 8570, "end": 8576, "loc": { "start": { "line": 260, "column": 83 }, "end": { "line": 260, "column": 89 }, "identifierName": "sender" }, "name": "sender" }, { "type": "BooleanLiteral", "start": 8578, "end": 8583, "loc": { "start": { "line": 260, "column": 91 }, "end": { "line": 260, "column": 96 } }, "value": false } ] } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "\n You received a raw message, and you know that it is intended for Yjs. Then call this function.\n ", "start": 6463, "end": 6569, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 213, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 8599, "end": 9407, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 280, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8599, "end": 8613, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 16 }, "identifierName": "computeMessage" }, "name": "computeMessage" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8615, "end": 8626, "loc": { "start": { "line": 264, "column": 18 }, "end": { "line": 264, "column": 29 }, "identifierName": "messageType" }, "name": "messageType" }, { "type": "Identifier", "start": 8628, "end": 8638, "loc": { "start": { "line": 264, "column": 31 }, "end": { "line": 264, "column": 41 }, "identifierName": "senderConn" }, "name": "senderConn" }, { "type": "Identifier", "start": 8640, "end": 8647, "loc": { "start": { "line": 264, "column": 43 }, "end": { "line": 264, "column": 50 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 8649, "end": 8656, "loc": { "start": { "line": 264, "column": 52 }, "end": { "line": 264, "column": 59 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "Identifier", "start": 8658, "end": 8664, "loc": { "start": { "line": 264, "column": 61 }, "end": { "line": 264, "column": 67 }, "identifierName": "sender" }, "name": "sender" }, { "type": "Identifier", "start": 8666, "end": 8674, "loc": { "start": { "line": 264, "column": 69 }, "end": { "line": 264, "column": 77 }, "identifierName": "skipAuth" }, "name": "skipAuth" } ], "body": { "type": "BlockStatement", "start": 8676, "end": 9407, "loc": { "start": { "line": 264, "column": 79 }, "end": { "line": 280, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 8682, "end": 9403, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 279, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 8686, "end": 8778, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 100 } }, "left": { "type": "BinaryExpression", "start": 8686, "end": 8715, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 37 } }, "left": { "type": "Identifier", "start": 8686, "end": 8697, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 19 }, "identifierName": "messageType" }, "name": "messageType" }, "operator": "===", "right": { "type": "StringLiteral", "start": 8702, "end": 8715, "loc": { "start": { "line": 265, "column": 24 }, "end": { "line": 265, "column": 37 } }, "extra": { "rawValue": "sync step 1", "raw": "'sync step 1'" }, "value": "sync step 1" } }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 8720, "end": 8777, "loc": { "start": { "line": 265, "column": 42 }, "end": { "line": 265, "column": 99 } }, "left": { "type": "BinaryExpression", "start": 8720, "end": 8747, "loc": { "start": { "line": 265, "column": 42 }, "end": { "line": 265, "column": 69 } }, "left": { "type": "MemberExpression", "start": 8720, "end": 8735, "loc": { "start": { "line": 265, "column": 42 }, "end": { "line": 265, "column": 57 } }, "object": { "type": "Identifier", "start": 8720, "end": 8730, "loc": { "start": { "line": 265, "column": 42 }, "end": { "line": 265, "column": 52 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8731, "end": 8735, "loc": { "start": { "line": 265, "column": 53 }, "end": { "line": 265, "column": 57 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 8740, "end": 8747, "loc": { "start": { "line": 265, "column": 62 }, "end": { "line": 265, "column": 69 } }, "extra": { "rawValue": "write", "raw": "'write'" }, "value": "write" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 8751, "end": 8777, "loc": { "start": { "line": 265, "column": 73 }, "end": { "line": 265, "column": 99 } }, "left": { "type": "MemberExpression", "start": 8751, "end": 8766, "loc": { "start": { "line": 265, "column": 73 }, "end": { "line": 265, "column": 88 } }, "object": { "type": "Identifier", "start": 8751, "end": 8761, "loc": { "start": { "line": 265, "column": 73 }, "end": { "line": 265, "column": 83 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 8762, "end": 8766, "loc": { "start": { "line": 265, "column": 84 }, "end": { "line": 265, "column": 88 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 8771, "end": 8777, "loc": { "start": { "line": 265, "column": 93 }, "end": { "line": 265, "column": 99 } }, "extra": { "rawValue": "read", "raw": "'read'" }, "value": "read" } }, "extra": { "parenthesized": true, "parenStart": 8719 } } }, "consequent": { "type": "BlockStatement", "start": 8780, "end": 8961, "loc": { "start": { "line": 265, "column": 102 }, "end": { "line": 268, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8896, "end": 8955, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 65 } }, "expression": { "type": "CallExpression", "start": 8896, "end": 8955, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 65 } }, "callee": { "type": "Identifier", "start": 8896, "end": 8909, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 19 }, "identifierName": "readSyncStep1" }, "name": "readSyncStep1", "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 8910, "end": 8917, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 27 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 8919, "end": 8926, "loc": { "start": { "line": 267, "column": 29 }, "end": { "line": 267, "column": 36 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "MemberExpression", "start": 8928, "end": 8934, "loc": { "start": { "line": 267, "column": 38 }, "end": { "line": 267, "column": 44 } }, "object": { "type": "ThisExpression", "start": 8928, "end": 8932, "loc": { "start": { "line": 267, "column": 38 }, "end": { "line": 267, "column": 42 } } }, "property": { "type": "Identifier", "start": 8933, "end": 8934, "loc": { "start": { "line": 267, "column": 43 }, "end": { "line": 267, "column": 44 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "Identifier", "start": 8936, "end": 8946, "loc": { "start": { "line": 267, "column": 46 }, "end": { "line": 267, "column": 56 }, "identifierName": "senderConn" }, "name": "senderConn" }, { "type": "Identifier", "start": 8948, "end": 8954, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 64 }, "identifierName": "sender" }, "name": "sender" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " cannot wait for sync step 1 to finish, because we may wait for sync step 2 in sync step 1 (->lock)", "start": 8788, "end": 8889, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 107 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 8967, "end": 9403, "loc": { "start": { "line": 268, "column": 11 }, "end": { "line": 279, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 8975, "end": 8991, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8981, "end": 8991, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 22 } }, "id": { "type": "Identifier", "start": 8981, "end": 8982, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 13 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "MemberExpression", "start": 8985, "end": 8991, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 22 } }, "object": { "type": "ThisExpression", "start": 8985, "end": 8989, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 20 } } }, "property": { "type": "Identifier", "start": 8990, "end": 8991, "loc": { "start": { "line": 269, "column": 21 }, "end": { "line": 269, "column": 22 }, "identifierName": "y" }, "name": "y" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 8998, "end": 9397, "loc": { "start": { "line": 270, "column": 6 }, "end": { "line": 278, "column": 14 } }, "expression": { "type": "CallExpression", "start": 8998, "end": 9397, "loc": { "start": { "line": 270, "column": 6 }, "end": { "line": 278, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 8998, "end": 9008, "loc": { "start": { "line": 270, "column": 6 }, "end": { "line": 270, "column": 16 } }, "object": { "type": "Identifier", "start": 8998, "end": 8999, "loc": { "start": { "line": 270, "column": 6 }, "end": { "line": 270, "column": 7 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 9000, "end": 9008, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 16 }, "identifierName": "transact" }, "name": "transact" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 9009, "end": 9390, "loc": { "start": { "line": 270, "column": 17 }, "end": { "line": 278, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9021, "end": 9390, "loc": { "start": { "line": 270, "column": 29 }, "end": { "line": 278, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9031, "end": 9382, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 277, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 9035, "end": 9095, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 271, "column": 72 } }, "left": { "type": "BinaryExpression", "start": 9035, "end": 9064, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 271, "column": 41 } }, "left": { "type": "Identifier", "start": 9035, "end": 9046, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 271, "column": 23 }, "identifierName": "messageType" }, "name": "messageType" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9051, "end": 9064, "loc": { "start": { "line": 271, "column": 28 }, "end": { "line": 271, "column": 41 } }, "extra": { "rawValue": "sync step 2", "raw": "'sync step 2'" }, "value": "sync step 2" } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 9068, "end": 9095, "loc": { "start": { "line": 271, "column": 45 }, "end": { "line": 271, "column": 72 } }, "left": { "type": "MemberExpression", "start": 9068, "end": 9083, "loc": { "start": { "line": 271, "column": 45 }, "end": { "line": 271, "column": 60 } }, "object": { "type": "Identifier", "start": 9068, "end": 9078, "loc": { "start": { "line": 271, "column": 45 }, "end": { "line": 271, "column": 55 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 9079, "end": 9083, "loc": { "start": { "line": 271, "column": 56 }, "end": { "line": 271, "column": 60 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 9088, "end": 9095, "loc": { "start": { "line": 271, "column": 65 }, "end": { "line": 271, "column": 72 } }, "extra": { "rawValue": "write", "raw": "'write'" }, "value": "write" } } }, "consequent": { "type": "BlockStatement", "start": 9097, "end": 9173, "loc": { "start": { "line": 271, "column": 74 }, "end": { "line": 273, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9109, "end": 9163, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 64 } }, "expression": { "type": "CallExpression", "start": 9109, "end": 9163, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 64 } }, "callee": { "type": "Identifier", "start": 9109, "end": 9122, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 23 }, "identifierName": "readSyncStep2" }, "name": "readSyncStep2" }, "arguments": [ { "type": "Identifier", "start": 9123, "end": 9130, "loc": { "start": { "line": 272, "column": 24 }, "end": { "line": 272, "column": 31 }, "identifierName": "decoder" }, "name": "decoder" }, { "type": "Identifier", "start": 9132, "end": 9139, "loc": { "start": { "line": 272, "column": 33 }, "end": { "line": 272, "column": 40 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "Identifier", "start": 9141, "end": 9142, "loc": { "start": { "line": 272, "column": 42 }, "end": { "line": 272, "column": 43 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 9144, "end": 9154, "loc": { "start": { "line": 272, "column": 45 }, "end": { "line": 272, "column": 55 }, "identifierName": "senderConn" }, "name": "senderConn" }, { "type": "Identifier", "start": 9156, "end": 9162, "loc": { "start": { "line": 272, "column": 57 }, "end": { "line": 272, "column": 63 }, "identifierName": "sender" }, "name": "sender" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 9179, "end": 9382, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 277, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 9183, "end": 9252, "loc": { "start": { "line": 273, "column": 19 }, "end": { "line": 273, "column": 88 } }, "left": { "type": "BinaryExpression", "start": 9183, "end": 9207, "loc": { "start": { "line": 273, "column": 19 }, "end": { "line": 273, "column": 43 } }, "left": { "type": "Identifier", "start": 9183, "end": 9194, "loc": { "start": { "line": 273, "column": 19 }, "end": { "line": 273, "column": 30 }, "identifierName": "messageType" }, "name": "messageType" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9199, "end": 9207, "loc": { "start": { "line": 273, "column": 35 }, "end": { "line": 273, "column": 43 } }, "extra": { "rawValue": "update", "raw": "'update'" }, "value": "update" } }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9212, "end": 9251, "loc": { "start": { "line": 273, "column": 48 }, "end": { "line": 273, "column": 87 } }, "left": { "type": "Identifier", "start": 9212, "end": 9220, "loc": { "start": { "line": 273, "column": 48 }, "end": { "line": 273, "column": 56 }, "identifierName": "skipAuth" }, "name": "skipAuth" }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9224, "end": 9251, "loc": { "start": { "line": 273, "column": 60 }, "end": { "line": 273, "column": 87 } }, "left": { "type": "MemberExpression", "start": 9224, "end": 9239, "loc": { "start": { "line": 273, "column": 60 }, "end": { "line": 273, "column": 75 } }, "object": { "type": "Identifier", "start": 9224, "end": 9234, "loc": { "start": { "line": 273, "column": 60 }, "end": { "line": 273, "column": 70 }, "identifierName": "senderConn" }, "name": "senderConn" }, "property": { "type": "Identifier", "start": 9235, "end": 9239, "loc": { "start": { "line": 273, "column": 71 }, "end": { "line": 273, "column": 75 }, "identifierName": "auth" }, "name": "auth" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 9244, "end": 9251, "loc": { "start": { "line": 273, "column": 80 }, "end": { "line": 273, "column": 87 } }, "extra": { "rawValue": "write", "raw": "'write'" }, "value": "write" } }, "extra": { "parenthesized": true, "parenStart": 9211 } } }, "consequent": { "type": "BlockStatement", "start": 9254, "end": 9310, "loc": { "start": { "line": 273, "column": 90 }, "end": { "line": 275, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9266, "end": 9300, "loc": { "start": { "line": 274, "column": 10 }, "end": { "line": 274, "column": 44 } }, "expression": { "type": "CallExpression", "start": 9266, "end": 9300, "loc": { "start": { "line": 274, "column": 10 }, "end": { "line": 274, "column": 44 } }, "callee": { "type": "Identifier", "start": 9266, "end": 9288, "loc": { "start": { "line": 274, "column": 10 }, "end": { "line": 274, "column": 32 }, "identifierName": "integrateRemoteStructs" }, "name": "integrateRemoteStructs" }, "arguments": [ { "type": "Identifier", "start": 9289, "end": 9290, "loc": { "start": { "line": 274, "column": 33 }, "end": { "line": 274, "column": 34 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 9292, "end": 9299, "loc": { "start": { "line": 274, "column": 36 }, "end": { "line": 274, "column": 43 }, "identifierName": "decoder" }, "name": "decoder" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9316, "end": 9382, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 277, "column": 9 } }, "body": [ { "type": "ThrowStatement", "start": 9328, "end": 9372, "loc": { "start": { "line": 276, "column": 10 }, "end": { "line": 276, "column": 54 } }, "argument": { "type": "NewExpression", "start": 9334, "end": 9372, "loc": { "start": { "line": 276, "column": 16 }, "end": { "line": 276, "column": 54 } }, "callee": { "type": "Identifier", "start": 9338, "end": 9343, "loc": { "start": { "line": 276, "column": 20 }, "end": { "line": 276, "column": 25 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 9344, "end": 9371, "loc": { "start": { "line": 276, "column": 26 }, "end": { "line": 276, "column": 53 } }, "extra": { "rawValue": "Unable to receive message", "raw": "'Unable to receive message'" }, "value": "Unable to receive message" } ] } } ], "directives": [] } } } ], "directives": [] } }, { "type": "BooleanLiteral", "start": 9392, "end": 9396, "loc": { "start": { "line": 278, "column": 9 }, "end": { "line": 278, "column": 13 } }, "value": true } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 9411, "end": 9890, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 296, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9411, "end": 9425, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 282, "column": 16 }, "identifierName": "_setSyncedWith" }, "name": "_setSyncedWith" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9427, "end": 9431, "loc": { "start": { "line": 282, "column": 18 }, "end": { "line": 282, "column": 22 }, "identifierName": "user" }, "name": "user" } ], "body": { "type": "BlockStatement", "start": 9433, "end": 9890, "loc": { "start": { "line": 282, "column": 24 }, "end": { "line": 296, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 9439, "end": 9728, "loc": { "start": { "line": 283, "column": 4 }, "end": { "line": 291, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 9443, "end": 9455, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 20 } }, "left": { "type": "Identifier", "start": 9443, "end": 9447, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 }, "identifierName": "user" }, "name": "user" }, "operator": "!=", "right": { "type": "NullLiteral", "start": 9451, "end": 9455, "loc": { "start": { "line": 283, "column": 16 }, "end": { "line": 283, "column": 20 } } } }, "consequent": { "type": "BlockStatement", "start": 9457, "end": 9728, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 291, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9465, "end": 9508, "loc": { "start": { "line": 284, "column": 6 }, "end": { "line": 284, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9471, "end": 9508, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 49 } }, "id": { "type": "Identifier", "start": 9471, "end": 9479, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 20 }, "identifierName": "userConn" }, "name": "userConn" }, "init": { "type": "CallExpression", "start": 9482, "end": 9508, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 9482, "end": 9502, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 43 } }, "object": { "type": "MemberExpression", "start": 9482, "end": 9498, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 39 } }, "object": { "type": "ThisExpression", "start": 9482, "end": 9486, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 27 } } }, "property": { "type": "Identifier", "start": 9487, "end": 9498, "loc": { "start": { "line": 284, "column": 28 }, "end": { "line": 284, "column": 39 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 9499, "end": 9502, "loc": { "start": { "line": 284, "column": 40 }, "end": { "line": 284, "column": 43 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9503, "end": 9507, "loc": { "start": { "line": 284, "column": 44 }, "end": { "line": 284, "column": 48 }, "identifierName": "user" }, "name": "user" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 9515, "end": 9539, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 285, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 9515, "end": 9539, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 285, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9515, "end": 9532, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 285, "column": 23 } }, "object": { "type": "Identifier", "start": 9515, "end": 9523, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 285, "column": 14 }, "identifierName": "userConn" }, "name": "userConn" }, "property": { "type": "Identifier", "start": 9524, "end": 9532, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 23 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9535, "end": 9539, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "column": 30 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 9546, "end": 9588, "loc": { "start": { "line": 286, "column": 6 }, "end": { "line": 286, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9552, "end": 9588, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 48 } }, "id": { "type": "Identifier", "start": 9552, "end": 9560, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 20 }, "identifierName": "messages" }, "name": "messages" }, "init": { "type": "MemberExpression", "start": 9563, "end": 9588, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 48 } }, "object": { "type": "Identifier", "start": 9563, "end": 9571, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 31 }, "identifierName": "userConn" }, "name": "userConn" }, "property": { "type": "Identifier", "start": 9572, "end": 9588, "loc": { "start": { "line": 286, "column": 32 }, "end": { "line": 286, "column": 48 }, "identifierName": "processAfterSync" }, "name": "processAfterSync" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 9595, "end": 9625, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 9595, "end": 9625, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9595, "end": 9620, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 31 } }, "object": { "type": "Identifier", "start": 9595, "end": 9603, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 14 }, "identifierName": "userConn" }, "name": "userConn" }, "property": { "type": "Identifier", "start": 9604, "end": 9620, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 31 }, "identifierName": "processAfterSync" }, "name": "processAfterSync" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 9623, "end": 9625, "loc": { "start": { "line": 287, "column": 34 }, "end": { "line": 287, "column": 36 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 9632, "end": 9722, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 290, "column": 8 } }, "expression": { "type": "CallExpression", "start": 9632, "end": 9722, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 290, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 9632, "end": 9648, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 22 } }, "object": { "type": "Identifier", "start": 9632, "end": 9640, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 14 }, "identifierName": "messages" }, "name": "messages" }, "property": { "type": "Identifier", "start": 9641, "end": 9648, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9649, "end": 9721, "loc": { "start": { "line": 288, "column": 23 }, "end": { "line": 290, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9649, "end": 9650, "loc": { "start": { "line": 288, "column": 23 }, "end": { "line": 288, "column": 24 }, "identifierName": "m" }, "name": "m" } ], "body": { "type": "BlockStatement", "start": 9654, "end": 9721, "loc": { "start": { "line": 288, "column": 28 }, "end": { "line": 290, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9664, "end": 9713, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 57 } }, "expression": { "type": "CallExpression", "start": 9664, "end": 9713, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9664, "end": 9683, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 27 } }, "object": { "type": "ThisExpression", "start": 9664, "end": 9668, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 12 } } }, "property": { "type": "Identifier", "start": 9669, "end": 9683, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 27 }, "identifierName": "computeMessage" }, "name": "computeMessage" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9684, "end": 9688, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 32 } }, "object": { "type": "Identifier", "start": 9684, "end": 9685, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 29 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 9686, "end": 9687, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, { "type": "MemberExpression", "start": 9690, "end": 9694, "loc": { "start": { "line": 289, "column": 34 }, "end": { "line": 289, "column": 38 } }, "object": { "type": "Identifier", "start": 9690, "end": 9691, "loc": { "start": { "line": 289, "column": 34 }, "end": { "line": 289, "column": 35 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 9692, "end": 9693, "loc": { "start": { "line": 289, "column": 36 }, "end": { "line": 289, "column": 37 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true }, { "type": "MemberExpression", "start": 9696, "end": 9700, "loc": { "start": { "line": 289, "column": 40 }, "end": { "line": 289, "column": 44 } }, "object": { "type": "Identifier", "start": 9696, "end": 9697, "loc": { "start": { "line": 289, "column": 40 }, "end": { "line": 289, "column": 41 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 9698, "end": 9699, "loc": { "start": { "line": 289, "column": 42 }, "end": { "line": 289, "column": 43 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "computed": true }, { "type": "MemberExpression", "start": 9702, "end": 9706, "loc": { "start": { "line": 289, "column": 46 }, "end": { "line": 289, "column": 50 } }, "object": { "type": "Identifier", "start": 9702, "end": 9703, "loc": { "start": { "line": 289, "column": 46 }, "end": { "line": 289, "column": 47 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 9704, "end": 9705, "loc": { "start": { "line": 289, "column": 48 }, "end": { "line": 289, "column": 49 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, "computed": true }, { "type": "MemberExpression", "start": 9708, "end": 9712, "loc": { "start": { "line": 289, "column": 52 }, "end": { "line": 289, "column": 56 } }, "object": { "type": "Identifier", "start": 9708, "end": 9709, "loc": { "start": { "line": 289, "column": 52 }, "end": { "line": 289, "column": 53 }, "identifierName": "m" }, "name": "m" }, "property": { "type": "NumericLiteral", "start": 9710, "end": 9711, "loc": { "start": { "line": 289, "column": 54 }, "end": { "line": 289, "column": 55 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, "computed": true } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 9733, "end": 9784, "loc": { "start": { "line": 292, "column": 4 }, "end": { "line": 292, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9739, "end": 9784, "loc": { "start": { "line": 292, "column": 10 }, "end": { "line": 292, "column": 55 } }, "id": { "type": "Identifier", "start": 9739, "end": 9744, "loc": { "start": { "line": 292, "column": 10 }, "end": { "line": 292, "column": 15 }, "identifierName": "conns" }, "name": "conns" }, "init": { "type": "CallExpression", "start": 9747, "end": 9784, "loc": { "start": { "line": 292, "column": 18 }, "end": { "line": 292, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 9747, "end": 9757, "loc": { "start": { "line": 292, "column": 18 }, "end": { "line": 292, "column": 28 } }, "object": { "type": "Identifier", "start": 9747, "end": 9752, "loc": { "start": { "line": 292, "column": 18 }, "end": { "line": 292, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 9753, "end": 9757, "loc": { "start": { "line": 292, "column": 24 }, "end": { "line": 292, "column": 28 }, "identifierName": "from" }, "name": "from" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 9758, "end": 9783, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 9758, "end": 9781, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "column": 52 } }, "object": { "type": "MemberExpression", "start": 9758, "end": 9774, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "column": 45 } }, "object": { "type": "ThisExpression", "start": 9758, "end": 9762, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "column": 33 } } }, "property": { "type": "Identifier", "start": 9763, "end": 9774, "loc": { "start": { "line": 292, "column": 34 }, "end": { "line": 292, "column": 45 }, "identifierName": "connections" }, "name": "connections" }, "computed": false }, "property": { "type": "Identifier", "start": 9775, "end": 9781, "loc": { "start": { "line": 292, "column": 46 }, "end": { "line": 292, "column": 52 }, "identifierName": "values" }, "name": "values" }, "computed": false }, "arguments": [] } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 9789, "end": 9886, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 295, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 9793, "end": 9841, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 56 } }, "left": { "type": "BinaryExpression", "start": 9793, "end": 9809, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 24 } }, "left": { "type": "MemberExpression", "start": 9793, "end": 9805, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 20 } }, "object": { "type": "Identifier", "start": 9793, "end": 9798, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 13 }, "identifierName": "conns" }, "name": "conns" }, "property": { "type": "Identifier", "start": 9799, "end": 9805, "loc": { "start": { "line": 293, "column": 14 }, "end": { "line": 293, "column": 20 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 9808, "end": 9809, "loc": { "start": { "line": 293, "column": 23 }, "end": { "line": 293, "column": 24 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "CallExpression", "start": 9813, "end": 9841, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 9813, "end": 9824, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 39 } }, "object": { "type": "Identifier", "start": 9813, "end": 9818, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 33 }, "identifierName": "conns" }, "name": "conns" }, "property": { "type": "Identifier", "start": 9819, "end": 9824, "loc": { "start": { "line": 293, "column": 34 }, "end": { "line": 293, "column": 39 }, "identifierName": "every" }, "name": "every" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9825, "end": 9840, "loc": { "start": { "line": 293, "column": 40 }, "end": { "line": 293, "column": 55 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 9825, "end": 9826, "loc": { "start": { "line": 293, "column": 40 }, "end": { "line": 293, "column": 41 }, "identifierName": "u" }, "name": "u" } ], "body": { "type": "MemberExpression", "start": 9830, "end": 9840, "loc": { "start": { "line": 293, "column": 45 }, "end": { "line": 293, "column": 55 } }, "object": { "type": "Identifier", "start": 9830, "end": 9831, "loc": { "start": { "line": 293, "column": 45 }, "end": { "line": 293, "column": 46 }, "identifierName": "u" }, "name": "u" }, "property": { "type": "Identifier", "start": 9832, "end": 9840, "loc": { "start": { "line": 293, "column": 47 }, "end": { "line": 293, "column": 55 }, "identifierName": "isSynced" }, "name": "isSynced" }, "computed": false } } ] } }, "consequent": { "type": "BlockStatement", "start": 9843, "end": 9886, "loc": { "start": { "line": 293, "column": 58 }, "end": { "line": 295, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9851, "end": 9880, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 35 } }, "expression": { "type": "CallExpression", "start": 9851, "end": 9880, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 9851, "end": 9878, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 33 } }, "object": { "type": "ThisExpression", "start": 9851, "end": 9855, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, "property": { "type": "Identifier", "start": 9856, "end": 9878, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 33 }, "identifierName": "_fireIsSyncedListeners" }, "name": "_fireIsSyncedListeners" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] }, "leadingComments": [ { "type": "CommentLine", "value": " TODO: rename Connector", "start": 358, "end": 383, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 25 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentLine", "value": " TODO: rename Connector", "start": 358, "end": 383, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 25 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " TODO: rename Connector", "start": 358, "end": 383, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 25 } } }, { "type": "CommentLine", "value": " TODO: rename", "start": 881, "end": 896, "loc": { "start": { "line": 25, "column": 73 }, "end": { "line": 25, "column": 88 } } }, { "type": "CommentLine", "value": " default is everyone has write access", "start": 1355, "end": 1394, "loc": { "start": { "line": 37, "column": 87 }, "end": { "line": 37, "column": 126 } } }, { "type": "CommentLine", "value": " check if isSynced event can be sent now", "start": 2135, "end": 2177, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 48 } } }, { "type": "CommentLine", "value": " Execute a function _when_ we are connected.", "start": 3170, "end": 3216, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 111, "column": 48 } } }, { "type": "CommentLine", "value": " If not connected, wait until connected", "start": 3219, "end": 3260, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 112, "column": 43 } } }, { "type": "CommentLine", "value": " \"The current sync has not finished or this is controlled by a master!\"", "start": 3451, "end": 3524, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 86 } } }, { "type": "CommentLine", "value": " It is safer to remove this!", "start": 3657, "end": 3687, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 36 } } }, { "type": "CommentLine", "value": " call whensynced listeners", "start": 3694, "end": 3722, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 34 } } }, { "type": "CommentBlock", "value": "\n Buffer operations, and broadcast them when ready.\n ", "start": 4687, "end": 4748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 162, "column": 4 } } }, { "type": "CommentLine", "value": " it is necessary to send the buffer now", "start": 5282, "end": 5323, "loc": { "start": { "line": 175, "column": 6 }, "end": { "line": 175, "column": 47 } } }, { "type": "CommentLine", "value": " cache the buffer and check if server is responsive", "start": 5330, "end": 5383, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 59 } } }, { "type": "CommentLine", "value": " send the buffer when all transactions are finished", "start": 5692, "end": 5745, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 184, "column": 59 } } }, { "type": "CommentLine", "value": " (or buffer exceeds maxBufferLength)", "start": 5752, "end": 5790, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 185, "column": 44 } } }, { "type": "CommentBlock", "value": "\n * Somehow check the responsiveness of the remote clients/server\n * Default behavior:\n * Wait 100ms before broadcasting the next batch of operations\n *\n * Only used when maxBufferLength is set\n *\n ", "start": 6127, "end": 6345, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 204, "column": 5 } } }, { "type": "CommentBlock", "value": "\n You received a raw message, and you know that it is intended for Yjs. Then call this function.\n ", "start": 6463, "end": 6569, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 213, "column": 4 } } }, { "type": "CommentLine", "value": " read room name", "start": 7066, "end": 7083, "loc": { "start": { "line": 226, "column": 43 }, "end": { "line": 226, "column": 60 } } }, { "type": "CommentLine", "value": " check auth", "start": 7742, "end": 7755, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 21 } } }, { "type": "CommentLine", "value": " cannot wait for sync step 1 to finish, because we may wait for sync step 2 in sync step 1 (->lock)", "start": 8788, "end": 8889, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 107 } } } ], "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": "BinaryEncoder", "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/Encoder.js", "start": 26, "end": 52, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 52 } } }, { "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": 53, "end": 59, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryDecoder", "start": 60, "end": 73, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 74, "end": 78, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "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": 79, "end": 105, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 52 } } }, { "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": 107, "end": 113, "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": 114, "end": 115, "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": "sendSyncStep1", "start": 116, "end": 129, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 129, "end": 130, "loc": { "start": { "line": 4, "column": 22 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readSyncStep1", "start": 131, "end": 144, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 37 } } }, { "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": 4, "column": 38 }, "end": { "line": 4, "column": 39 } } }, { "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": 4, "column": 40 }, "end": { "line": 4, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./MessageHandler/syncStep1.js", "start": 152, "end": 183, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 76 } } }, { "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": 184, "end": 190, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 191, "end": 192, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readSyncStep2", "start": 193, "end": 206, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 207, "end": 208, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 209, "end": 213, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./MessageHandler/syncStep2.js", "start": 214, "end": 245, "loc": { "start": { "line": 5, "column": 30 }, "end": { "line": 5, "column": 61 } } }, { "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": 246, "end": 252, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 253, "end": 254, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "integrateRemoteStructs", "start": 255, "end": 277, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 278, "end": 279, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 280, "end": 284, "loc": { "start": { "line": 6, "column": 34 }, "end": { "line": 6, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./MessageHandler/integrateRemoteStructs.js", "start": 285, "end": 329, "loc": { "start": { "line": 6, "column": 39 }, "end": { "line": 6, "column": 83 } } }, { "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": 331, "end": 337, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 338, "end": 343, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 344, "end": 348, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "debug", "start": 349, "end": 356, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 25 } } }, { "type": "CommentLine", "value": " TODO: rename Connector", "start": 358, "end": 383, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 25 } } }, { "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": 385, "end": 391, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 392, "end": 399, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 12, "column": 14 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 400, "end": 405, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AbstractConnector", "start": 406, "end": 423, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 424, "end": 425, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 12, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 428, "end": 439, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 440, "end": 441, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 441, "end": 442, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 442, "end": 443, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 444, "end": 448, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 448, "end": 449, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 450, "end": 451, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 456, "end": 460, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 460, "end": 461, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 461, "end": 462, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 463, "end": 464, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 465, "end": 466, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 471, "end": 475, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 8 } } }, { "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": 15, "column": 8 }, "end": { "line": 15, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 476, "end": 480, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 481, "end": 482, "loc": { "start": { "line": 15, "column": 14 }, "end": { "line": 15, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 483, "end": 487, "loc": { "start": { "line": 15, "column": 16 }, "end": { "line": 15, "column": 20 } } }, { "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": 492, "end": 494, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 495, "end": 496, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 496, "end": 500, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 500, "end": 501, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 501, "end": 505, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 506, "end": 508, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 20 } } }, { "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": 509, "end": 513, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 514, "end": 516, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 517, "end": 521, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 521, "end": 522, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 522, "end": 526, "loc": { "start": { "line": 16, "column": 34 }, "end": { "line": 16, "column": 38 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 527, "end": 530, "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 16, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "master", "start": 531, "end": 539, "loc": { "start": { "line": 16, "column": 43 }, "end": { "line": 16, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 539, "end": 540, "loc": { "start": { "line": 16, "column": 51 }, "end": { "line": 16, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 541, "end": 542, "loc": { "start": { "line": 16, "column": 53 }, "end": { "line": 16, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 549, "end": 553, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 553, "end": 554, "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 554, "end": 558, "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 559, "end": 560, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "master", "start": 561, "end": 569, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 574, "end": 575, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 5 } } }, { "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": 576, "end": 580, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 10 } } }, { "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": 581, "end": 583, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 13 } } }, { "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": 18, "column": 14 }, "end": { "line": 18, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 585, "end": 589, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 589, "end": 590, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 590, "end": 594, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 595, "end": 598, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "slave", "start": 599, "end": 606, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 606, "end": 607, "loc": { "start": { "line": 18, "column": 36 }, "end": { "line": 18, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 608, "end": 609, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 616, "end": 620, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 620, "end": 621, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 621, "end": 625, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 626, "end": 627, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "slave", "start": 628, "end": 635, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 640, "end": 641, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 5 } } }, { "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": 642, "end": 646, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 647, "end": 648, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 12 } } }, { "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": 655, "end": 660, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 11 } } }, { "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": 661, "end": 664, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 665, "end": 670, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 670, "end": 671, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Role must be either 'master' or 'slave'!", "start": 671, "end": 713, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 713, "end": 714, "loc": { "start": { "line": 21, "column": 64 }, "end": { "line": 21, "column": 65 } } }, { "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": 22, "column": 4 }, "end": { "line": 22, "column": 5 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 725, "end": 729, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 729, "end": 730, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 730, "end": 733, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 734, "end": 735, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 736, "end": 741, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 741, "end": 742, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "y:connector", "start": 742, "end": 755, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 755, "end": 756, "loc": { "start": { "line": 23, "column": 34 }, "end": { "line": 23, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 761, "end": 765, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 765, "end": 766, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logMessage", "start": 766, "end": 776, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 777, "end": 778, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 779, "end": 784, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 784, "end": 785, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "y:connector-message", "start": 785, "end": 806, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 806, "end": 807, "loc": { "start": { "line": 24, "column": 49 }, "end": { "line": 24, "column": 50 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 812, "end": 816, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 816, "end": 817, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_forwardAppliedStructs", "start": 817, "end": 839, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 840, "end": 841, "loc": { "start": { "line": 25, "column": 32 }, "end": { "line": 25, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 842, "end": 846, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 846, "end": 847, "loc": { "start": { "line": 25, "column": 38 }, "end": { "line": 25, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forwardAppliedOperations", "start": 847, "end": 871, "loc": { "start": { "line": 25, "column": 39 }, "end": { "line": 25, "column": 63 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 872, "end": 874, "loc": { "start": { "line": 25, "column": 64 }, "end": { "line": 25, "column": 66 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 875, "end": 880, "loc": { "start": { "line": 25, "column": 67 }, "end": { "line": 25, "column": 72 } } }, { "type": "CommentLine", "value": " TODO: rename", "start": 881, "end": 896, "loc": { "start": { "line": 25, "column": 73 }, "end": { "line": 25, "column": 88 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 901, "end": 905, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 905, "end": 906, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 906, "end": 910, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 911, "end": 912, "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 913, "end": 917, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 917, "end": 918, "loc": { "start": { "line": 26, "column": 20 }, "end": { "line": 26, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 918, "end": 922, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 927, "end": 931, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 931, "end": 932, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 932, "end": 943, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 944, "end": 945, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 22 } } }, { "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": 946, "end": 949, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 950, "end": 953, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 953, "end": 954, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 954, "end": 955, "loc": { "start": { "line": 27, "column": 31 }, "end": { "line": 27, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 960, "end": 964, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 964, "end": 965, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 965, "end": 973, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 974, "end": 975, "loc": { "start": { "line": 28, "column": 18 }, "end": { "line": 28, "column": 19 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 976, "end": 981, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 986, "end": 990, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 990, "end": 991, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userEventListeners", "start": 991, "end": 1009, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1010, "end": 1011, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 29, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1012, "end": 1013, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1013, "end": 1014, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1019, "end": 1023, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1023, "end": 1024, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenSyncedListeners", "start": 1024, "end": 1043, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1044, "end": 1045, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1046, "end": 1047, "loc": { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1047, "end": 1048, "loc": { "start": { "line": 30, "column": 32 }, "end": { "line": 30, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1053, "end": 1057, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1057, "end": 1058, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentSyncTarget", "start": 1058, "end": 1075, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1076, "end": 1077, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 28 } } }, { "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": 1078, "end": 1082, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1087, "end": 1091, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1091, "end": 1092, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 1092, "end": 1097, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1098, "end": 1099, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1100, "end": 1104, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1104, "end": 1105, "loc": { "start": { "line": 32, "column": 21 }, "end": { "line": 32, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 1105, "end": 1110, "loc": { "start": { "line": 32, "column": 22 }, "end": { "line": 32, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1111, "end": 1114, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 31 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1115, "end": 1119, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1124, "end": 1128, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1128, "end": 1129, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 1129, "end": 1144, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1145, "end": 1146, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "column": 26 } } }, { "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": 1147, "end": 1150, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryEncoder", "start": 1151, "end": 1164, "loc": { "start": { "line": 33, "column": 31 }, "end": { "line": 33, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1164, "end": 1165, "loc": { "start": { "line": 33, "column": 44 }, "end": { "line": 33, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1165, "end": 1166, "loc": { "start": { "line": 33, "column": 45 }, "end": { "line": 33, "column": 46 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1171, "end": 1175, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1175, "end": 1176, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSize", "start": 1176, "end": 1195, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1196, "end": 1197, "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1198, "end": 1199, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1204, "end": 1208, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1208, "end": 1209, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "protocolVersion", "start": 1209, "end": 1224, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1225, "end": 1226, "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 11, "start": 1227, "end": 1229, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1234, "end": 1238, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1238, "end": 1239, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "authInfo", "start": 1239, "end": 1247, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1248, "end": 1249, "loc": { "start": { "line": 36, "column": 18 }, "end": { "line": 36, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1250, "end": 1254, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1254, "end": 1255, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 1255, "end": 1259, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1260, "end": 1262, "loc": { "start": { "line": 36, "column": 30 }, "end": { "line": 36, "column": 32 } } }, { "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": 1263, "end": 1267, "loc": { "start": { "line": 36, "column": 33 }, "end": { "line": 36, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1272, "end": 1276, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1276, "end": 1277, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkAuth", "start": 1277, "end": 1286, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1287, "end": 1288, "loc": { "start": { "line": 37, "column": 19 }, "end": { "line": 37, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1289, "end": 1293, "loc": { "start": { "line": 37, "column": 21 }, "end": { "line": 37, "column": 25 } } }, { "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": 37, "column": 25 }, "end": { "line": 37, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkAuth", "start": 1294, "end": 1303, "loc": { "start": { "line": 37, "column": 26 }, "end": { "line": 37, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1304, "end": 1306, "loc": { "start": { "line": 37, "column": 36 }, "end": { "line": 37, "column": 38 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1307, "end": 1315, "loc": { "start": { "line": 37, "column": 39 }, "end": { "line": 37, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1316, "end": 1317, "loc": { "start": { "line": 37, "column": 48 }, "end": { "line": 37, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1317, "end": 1318, "loc": { "start": { "line": 37, "column": 49 }, "end": { "line": 37, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1319, "end": 1320, "loc": { "start": { "line": 37, "column": 51 }, "end": { "line": 37, "column": 52 } } }, { "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": 1321, "end": 1327, "loc": { "start": { "line": 37, "column": 53 }, "end": { "line": 37, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 1328, "end": 1335, "loc": { "start": { "line": 37, "column": 60 }, "end": { "line": 37, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1335, "end": 1336, "loc": { "start": { "line": 37, "column": 67 }, "end": { "line": 37, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 1336, "end": 1343, "loc": { "start": { "line": 37, "column": 68 }, "end": { "line": 37, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1343, "end": 1344, "loc": { "start": { "line": 37, "column": 75 }, "end": { "line": 37, "column": 76 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "write", "start": 1344, "end": 1351, "loc": { "start": { "line": 37, "column": 76 }, "end": { "line": 37, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1351, "end": 1352, "loc": { "start": { "line": 37, "column": 83 }, "end": { "line": 37, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1353, "end": 1354, "loc": { "start": { "line": 37, "column": 85 }, "end": { "line": 37, "column": 86 } } }, { "type": "CommentLine", "value": " default is everyone has write access", "start": 1355, "end": 1394, "loc": { "start": { "line": 37, "column": 87 }, "end": { "line": 37, "column": 126 } } }, { "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": 1399, "end": 1401, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1402, "end": 1403, "loc": { "start": { "line": 38, "column": 7 }, "end": { "line": 38, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1403, "end": 1407, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1407, "end": 1408, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxBufferLength", "start": 1408, "end": 1423, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 28 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 1424, "end": 1426, "loc": { "start": { "line": 38, "column": 29 }, "end": { "line": 38, "column": 31 } } }, { "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": 1427, "end": 1431, "loc": { "start": { "line": 38, "column": 32 }, "end": { "line": 38, "column": 36 } } }, { "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": 38, "column": 36 }, "end": { "line": 38, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1433, "end": 1434, "loc": { "start": { "line": 38, "column": 38 }, "end": { "line": 38, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1441, "end": 1445, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1445, "end": 1446, "loc": { "start": { "line": 39, "column": 10 }, "end": { "line": 39, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxBufferLength", "start": 1446, "end": 1461, "loc": { "start": { "line": 39, "column": 11 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1462, "end": 1463, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1464, "end": 1465, "loc": { "start": { "line": 39, "column": 29 }, "end": { "line": 39, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1465, "end": 1466, "loc": { "start": { "line": 39, "column": 30 }, "end": { "line": 39, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1471, "end": 1472, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 5 } } }, { "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": 1473, "end": 1477, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1478, "end": 1479, "loc": { "start": { "line": 40, "column": 11 }, "end": { "line": 40, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1486, "end": 1490, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1490, "end": 1491, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 41, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxBufferLength", "start": 1491, "end": 1506, "loc": { "start": { "line": 41, "column": 11 }, "end": { "line": 41, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1507, "end": 1508, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1509, "end": 1513, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1513, "end": 1514, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxBufferLength", "start": 1514, "end": 1529, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1534, "end": 1535, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1538, "end": 1539, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reconnect", "start": 1543, "end": 1552, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1553, "end": 1554, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1554, "end": 1555, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1556, "end": 1557, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1562, "end": 1566, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1566, "end": 1567, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1567, "end": 1570, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1570, "end": 1571, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "reconnecting..", "start": 1571, "end": 1587, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1587, "end": 1588, "loc": { "start": { "line": 46, "column": 29 }, "end": { "line": 46, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 47, "column": 2 }, "end": { "line": 47, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disconnect", "start": 1596, "end": 1606, "loc": { "start": { "line": 49, "column": 2 }, "end": { "line": 49, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1607, "end": 1608, "loc": { "start": { "line": 49, "column": 13 }, "end": { "line": 49, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1608, "end": 1609, "loc": { "start": { "line": 49, "column": 14 }, "end": { "line": 49, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1610, "end": 1611, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1616, "end": 1620, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1621, "end": 1624, "loc": { "start": { "line": 50, "column": 9 }, "end": { "line": 50, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1624, "end": 1625, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "discronnecting..", "start": 1625, "end": 1643, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1643, "end": 1644, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1649, "end": 1653, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1653, "end": 1654, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 1654, "end": 1665, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1666, "end": 1667, "loc": { "start": { "line": 51, "column": 21 }, "end": { "line": 51, "column": 22 } } }, { "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": 1668, "end": 1671, "loc": { "start": { "line": 51, "column": 23 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 1672, "end": 1675, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1675, "end": 1676, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 51, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1676, "end": 1677, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1682, "end": 1686, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1686, "end": 1687, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 1687, "end": 1695, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1696, "end": 1697, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 19 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 1698, "end": 1703, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1708, "end": 1712, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1712, "end": 1713, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentSyncTarget", "start": 1713, "end": 1730, "loc": { "start": { "line": 53, "column": 9 }, "end": { "line": 53, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1731, "end": 1732, "loc": { "start": { "line": 53, "column": 27 }, "end": { "line": 53, "column": 28 } } }, { "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": 1733, "end": 1737, "loc": { "start": { "line": 53, "column": 29 }, "end": { "line": 53, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1742, "end": 1746, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1746, "end": 1747, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenSyncedListeners", "start": 1747, "end": 1766, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1767, "end": 1768, "loc": { "start": { "line": 54, "column": 29 }, "end": { "line": 54, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1769, "end": 1770, "loc": { "start": { "line": 54, "column": 31 }, "end": { "line": 54, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1770, "end": 1771, "loc": { "start": { "line": 54, "column": 32 }, "end": { "line": 54, "column": 33 } } }, { "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": 1776, "end": 1782, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 1783, "end": 1790, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1790, "end": 1791, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 1791, "end": 1798, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1798, "end": 1799, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1799, "end": 1800, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1803, "end": 1804, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onUserEvent", "start": 1808, "end": 1819, "loc": { "start": { "line": 58, "column": 2 }, "end": { "line": 58, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1820, "end": 1821, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 1821, "end": 1822, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1822, "end": 1823, "loc": { "start": { "line": 58, "column": 16 }, "end": { "line": 58, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1824, "end": 1825, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1830, "end": 1834, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1834, "end": 1835, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userEventListeners", "start": 1835, "end": 1853, "loc": { "start": { "line": 59, "column": 9 }, "end": { "line": 59, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1853, "end": 1854, "loc": { "start": { "line": 59, "column": 27 }, "end": { "line": 59, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1854, "end": 1858, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1858, "end": 1859, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 1859, "end": 1860, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1860, "end": 1861, "loc": { "start": { "line": 59, "column": 34 }, "end": { "line": 59, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1864, "end": 1865, "loc": { "start": { "line": 60, "column": 2 }, "end": { "line": 60, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeUserEventListener", "start": 1869, "end": 1892, "loc": { "start": { "line": 62, "column": 2 }, "end": { "line": 62, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1893, "end": 1894, "loc": { "start": { "line": 62, "column": 26 }, "end": { "line": 62, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 1894, "end": 1895, "loc": { "start": { "line": 62, "column": 27 }, "end": { "line": 62, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1895, "end": 1896, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1903, "end": 1907, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1907, "end": 1908, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userEventListeners", "start": 1908, "end": 1926, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1927, "end": 1928, "loc": { "start": { "line": 63, "column": 28 }, "end": { "line": 63, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1929, "end": 1933, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1933, "end": 1934, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userEventListeners", "start": 1934, "end": 1952, "loc": { "start": { "line": 63, "column": 35 }, "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": 1952, "end": 1953, "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": "filter", "start": 1953, "end": 1959, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1959, "end": 1960, "loc": { "start": { "line": 63, "column": 60 }, "end": { "line": 63, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "g", "start": 1960, "end": 1961, "loc": { "start": { "line": 63, "column": 61 }, "end": { "line": 63, "column": 62 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1962, "end": 1964, "loc": { "start": { "line": 63, "column": 63 }, "end": { "line": 63, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 1965, "end": 1966, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 63, "column": 67 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1967, "end": 1970, "loc": { "start": { "line": 63, "column": 68 }, "end": { "line": 63, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "g", "start": 1971, "end": 1972, "loc": { "start": { "line": 63, "column": 72 }, "end": { "line": 63, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1972, "end": 1973, "loc": { "start": { "line": 63, "column": 73 }, "end": { "line": 63, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1976, "end": 1977, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userLeft", "start": 1981, "end": 1989, "loc": { "start": { "line": 66, "column": 2 }, "end": { "line": 66, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1990, "end": 1991, "loc": { "start": { "line": 66, "column": 11 }, "end": { "line": 66, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 1991, "end": 1995, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1995, "end": 1996, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1997, "end": 1998, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 19 } } }, { "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": 2003, "end": 2005, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2006, "end": 2007, "loc": { "start": { "line": 67, "column": 7 }, "end": { "line": 67, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2007, "end": 2011, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2011, "end": 2012, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 2012, "end": 2023, "loc": { "start": { "line": 67, "column": 13 }, "end": { "line": 67, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2023, "end": 2024, "loc": { "start": { "line": 67, "column": 24 }, "end": { "line": 67, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 2024, "end": 2027, "loc": { "start": { "line": 67, "column": 25 }, "end": { "line": 67, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2027, "end": 2028, "loc": { "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2028, "end": 2032, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2032, "end": 2033, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2033, "end": 2034, "loc": { "start": { "line": 67, "column": 34 }, "end": { "line": 67, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2035, "end": 2036, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 67, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2043, "end": 2047, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2047, "end": 2048, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2048, "end": 2051, "loc": { "start": { "line": 68, "column": 11 }, "end": { "line": 68, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2051, "end": 2052, "loc": { "start": { "line": 68, "column": 14 }, "end": { "line": 68, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "%s: User left %s", "start": 2052, "end": 2070, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2070, "end": 2071, "loc": { "start": { "line": 68, "column": 33 }, "end": { "line": 68, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2072, "end": 2076, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2076, "end": 2077, "loc": { "start": { "line": 68, "column": 39 }, "end": { "line": 68, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2077, "end": 2078, "loc": { "start": { "line": 68, "column": 40 }, "end": { "line": 68, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2078, "end": 2079, "loc": { "start": { "line": 68, "column": 41 }, "end": { "line": 68, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 2079, "end": 2085, "loc": { "start": { "line": 68, "column": 42 }, "end": { "line": 68, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2085, "end": 2086, "loc": { "start": { "line": 68, "column": 48 }, "end": { "line": 68, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2087, "end": 2091, "loc": { "start": { "line": 68, "column": 50 }, "end": { "line": 68, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2091, "end": 2092, "loc": { "start": { "line": 68, "column": 54 }, "end": { "line": 68, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2099, "end": 2103, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2103, "end": 2104, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 2104, "end": 2115, "loc": { "start": { "line": 69, "column": 11 }, "end": { "line": 69, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2115, "end": 2116, "loc": { "start": { "line": 69, "column": 22 }, "end": { "line": 69, "column": 23 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 2116, "end": 2122, "loc": { "start": { "line": 69, "column": 23 }, "end": { "line": 69, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2122, "end": 2123, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2123, "end": 2127, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2127, "end": 2128, "loc": { "start": { "line": 69, "column": 34 }, "end": { "line": 69, "column": 35 } } }, { "type": "CommentLine", "value": " check if isSynced event can be sent now", "start": 2135, "end": 2177, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 48 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2184, "end": 2188, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2188, "end": 2189, "loc": { "start": { "line": 71, "column": 10 }, "end": { "line": 71, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_setSyncedWith", "start": 2189, "end": 2203, "loc": { "start": { "line": 71, "column": 11 }, "end": { "line": 71, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2203, "end": 2204, "loc": { "start": { "line": 71, "column": 25 }, "end": { "line": 71, "column": 26 } } }, { "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": 2204, "end": 2208, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 71, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2208, "end": 2209, "loc": { "start": { "line": 71, "column": 30 }, "end": { "line": 71, "column": 31 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2216, "end": 2219, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2220, "end": 2221, "loc": { "start": { "line": 72, "column": 10 }, "end": { "line": 72, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 2221, "end": 2224, "loc": { "start": { "line": 72, "column": 11 }, "end": { "line": 72, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 2225, "end": 2226, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 2227, "end": 2229, "loc": { "start": { "line": 72, "column": 17 }, "end": { "line": 72, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2230, "end": 2234, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2234, "end": 2235, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userEventListeners", "start": 2235, "end": 2253, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2253, "end": 2254, "loc": { "start": { "line": 72, "column": 43 }, "end": { "line": 72, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2255, "end": 2256, "loc": { "start": { "line": 72, "column": 45 }, "end": { "line": 72, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 2265, "end": 2266, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2267, "end": 2268, "loc": { "start": { "line": 73, "column": 10 }, "end": { "line": 73, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "action", "start": 2279, "end": 2285, "loc": { "start": { "line": 74, "column": 10 }, "end": { "line": 74, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2285, "end": 2286, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "userLeft", "start": 2287, "end": 2297, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2297, "end": 2298, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2309, "end": 2313, "loc": { "start": { "line": 75, "column": 10 }, "end": { "line": 75, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2313, "end": 2314, "loc": { "start": { "line": 75, "column": 14 }, "end": { "line": 75, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2315, "end": 2319, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2328, "end": 2329, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2329, "end": 2330, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2337, "end": 2338, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2343, "end": 2344, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2347, "end": 2348, "loc": { "start": { "line": 79, "column": 2 }, "end": { "line": 79, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userJoined", "start": 2352, "end": 2362, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 81, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2363, "end": 2364, "loc": { "start": { "line": 81, "column": 13 }, "end": { "line": 81, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2364, "end": 2368, "loc": { "start": { "line": 81, "column": 14 }, "end": { "line": 81, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2368, "end": 2369, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 2370, "end": 2374, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2374, "end": 2375, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 2376, "end": 2380, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2380, "end": 2381, "loc": { "start": { "line": 81, "column": 30 }, "end": { "line": 81, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2382, "end": 2383, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 81, "column": 33 } } }, { "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": 2388, "end": 2390, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2391, "end": 2392, "loc": { "start": { "line": 82, "column": 7 }, "end": { "line": 82, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 2392, "end": 2396, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 2397, "end": 2399, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 15 } } }, { "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": 2400, "end": 2404, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2404, "end": 2405, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2406, "end": 2407, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 23 } } }, { "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": 2414, "end": 2419, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 11 } } }, { "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": 2420, "end": 2423, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 2424, "end": 2429, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2429, "end": 2430, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "You must specify the role of the joined user!", "start": 2430, "end": 2477, "loc": { "start": { "line": 83, "column": 22 }, "end": { "line": 83, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2477, "end": 2478, "loc": { "start": { "line": 83, "column": 69 }, "end": { "line": 83, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2483, "end": 2484, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 5 } } }, { "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": 2489, "end": 2491, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2492, "end": 2493, "loc": { "start": { "line": 85, "column": 7 }, "end": { "line": 85, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2493, "end": 2497, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2497, "end": 2498, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 2498, "end": 2509, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2509, "end": 2510, "loc": { "start": { "line": 85, "column": 24 }, "end": { "line": 85, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 2510, "end": 2513, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2513, "end": 2514, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2514, "end": 2518, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2518, "end": 2519, "loc": { "start": { "line": 85, "column": 33 }, "end": { "line": 85, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2519, "end": 2520, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2521, "end": 2522, "loc": { "start": { "line": 85, "column": 36 }, "end": { "line": 85, "column": 37 } } }, { "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": 2529, "end": 2534, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 11 } } }, { "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": 2535, "end": 2538, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 2539, "end": 2544, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2544, "end": 2545, "loc": { "start": { "line": 86, "column": 21 }, "end": { "line": 86, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "This user already joined!", "start": 2545, "end": 2572, "loc": { "start": { "line": 86, "column": 22 }, "end": { "line": 86, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2572, "end": 2573, "loc": { "start": { "line": 86, "column": 49 }, "end": { "line": 86, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2578, "end": 2579, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 5 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2584, "end": 2588, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2588, "end": 2589, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2589, "end": 2592, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2592, "end": 2593, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "%s: User joined %s", "start": 2593, "end": 2613, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2613, "end": 2614, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2615, "end": 2619, "loc": { "start": { "line": 88, "column": 35 }, "end": { "line": 88, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2619, "end": 2620, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2620, "end": 2621, "loc": { "start": { "line": 88, "column": 40 }, "end": { "line": 88, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2621, "end": 2622, "loc": { "start": { "line": 88, "column": 41 }, "end": { "line": 88, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 2622, "end": 2628, "loc": { "start": { "line": 88, "column": 42 }, "end": { "line": 88, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2628, "end": 2629, "loc": { "start": { "line": 88, "column": 48 }, "end": { "line": 88, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2630, "end": 2634, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2634, "end": 2635, "loc": { "start": { "line": 88, "column": 54 }, "end": { "line": 88, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2640, "end": 2644, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2644, "end": 2645, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 2645, "end": 2656, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2656, "end": 2657, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 2657, "end": 2660, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2660, "end": 2661, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2661, "end": 2665, "loc": { "start": { "line": 89, "column": 25 }, "end": { "line": 89, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2665, "end": 2666, "loc": { "start": { "line": 89, "column": 29 }, "end": { "line": 89, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2667, "end": 2668, "loc": { "start": { "line": 89, "column": 31 }, "end": { "line": 89, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 2675, "end": 2678, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2678, "end": 2679, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2680, "end": 2684, "loc": { "start": { "line": 90, "column": 11 }, "end": { "line": 90, "column": 15 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2684, "end": 2685, "loc": { "start": { "line": 90, "column": 15 }, "end": { "line": 90, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 2692, "end": 2700, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2700, "end": 2701, "loc": { "start": { "line": 91, "column": 14 }, "end": { "line": 91, "column": 15 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 2702, "end": 2707, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2707, "end": 2708, "loc": { "start": { "line": 91, "column": 21 }, "end": { "line": 91, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 2715, "end": 2719, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 10 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2719, "end": 2720, "loc": { "start": { "line": 92, "column": 10 }, "end": { "line": 92, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 2721, "end": 2725, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2725, "end": 2726, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterAuth", "start": 2733, "end": 2749, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2749, "end": 2750, "loc": { "start": { "line": 93, "column": 22 }, "end": { "line": 93, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2751, "end": 2752, "loc": { "start": { "line": 93, "column": 24 }, "end": { "line": 93, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2752, "end": 2753, "loc": { "start": { "line": 93, "column": 25 }, "end": { "line": 93, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2753, "end": 2754, "loc": { "start": { "line": 93, "column": 26 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterSync", "start": 2761, "end": 2777, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2777, "end": 2778, "loc": { "start": { "line": 94, "column": 22 }, "end": { "line": 94, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2779, "end": 2780, "loc": { "start": { "line": 94, "column": 24 }, "end": { "line": 94, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2780, "end": 2781, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 94, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2781, "end": 2782, "loc": { "start": { "line": 94, "column": 26 }, "end": { "line": 94, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 2789, "end": 2793, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 10 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2793, "end": 2794, "loc": { "start": { "line": 95, "column": 10 }, "end": { "line": 95, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 2795, "end": 2799, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 16 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2800, "end": 2802, "loc": { "start": { "line": 95, "column": 17 }, "end": { "line": 95, "column": 19 } } }, { "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": 2803, "end": 2807, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2807, "end": 2808, "loc": { "start": { "line": 95, "column": 24 }, "end": { "line": 95, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receivedSyncStep2", "start": 2815, "end": 2832, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2832, "end": 2833, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "column": 24 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 2834, "end": 2839, "loc": { "start": { "line": 96, "column": 25 }, "end": { "line": 96, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2844, "end": 2845, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2845, "end": 2846, "loc": { "start": { "line": 97, "column": 5 }, "end": { "line": 97, "column": 6 } } }, { "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": 2851, "end": 2854, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defer", "start": 2855, "end": 2860, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2861, "end": 2862, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2863, "end": 2864, "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 98, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2864, "end": 2865, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defer", "start": 2870, "end": 2875, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2875, "end": 2876, "loc": { "start": { "line": 99, "column": 9 }, "end": { "line": 99, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "promise", "start": 2876, "end": 2883, "loc": { "start": { "line": 99, "column": 10 }, "end": { "line": 99, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2884, "end": 2885, "loc": { "start": { "line": 99, "column": 18 }, "end": { "line": 99, "column": 19 } } }, { "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": 2886, "end": 2889, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 2890, "end": 2897, "loc": { "start": { "line": 99, "column": 24 }, "end": { "line": 99, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2897, "end": 2898, "loc": { "start": { "line": 99, "column": 31 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2898, "end": 2906, "loc": { "start": { "line": 99, "column": 32 }, "end": { "line": 99, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2907, "end": 2908, "loc": { "start": { "line": 99, "column": 41 }, "end": { "line": 99, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2908, "end": 2915, "loc": { "start": { "line": 99, "column": 42 }, "end": { "line": 99, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2915, "end": 2916, "loc": { "start": { "line": 99, "column": 49 }, "end": { "line": 99, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2917, "end": 2918, "loc": { "start": { "line": 99, "column": 51 }, "end": { "line": 99, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defer", "start": 2919, "end": 2924, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2924, "end": 2925, "loc": { "start": { "line": 99, "column": 58 }, "end": { "line": 99, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2925, "end": 2932, "loc": { "start": { "line": 99, "column": 59 }, "end": { "line": 99, "column": 66 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2933, "end": 2934, "loc": { "start": { "line": 99, "column": 67 }, "end": { "line": 99, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2935, "end": 2942, "loc": { "start": { "line": 99, "column": 69 }, "end": { "line": 99, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2943, "end": 2944, "loc": { "start": { "line": 99, "column": 77 }, "end": { "line": 99, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2944, "end": 2945, "loc": { "start": { "line": 99, "column": 78 }, "end": { "line": 99, "column": 79 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2950, "end": 2954, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2954, "end": 2955, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 2955, "end": 2966, "loc": { "start": { "line": 100, "column": 9 }, "end": { "line": 100, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2966, "end": 2967, "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 2967, "end": 2970, "loc": { "start": { "line": 100, "column": 21 }, "end": { "line": 100, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2970, "end": 2971, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 2971, "end": 2975, "loc": { "start": { "line": 100, "column": 25 }, "end": { "line": 100, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2975, "end": 2976, "loc": { "start": { "line": 100, "column": 29 }, "end": { "line": 100, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2976, "end": 2977, "loc": { "start": { "line": 100, "column": 30 }, "end": { "line": 100, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncStep2", "start": 2977, "end": 2986, "loc": { "start": { "line": 100, "column": 31 }, "end": { "line": 100, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2987, "end": 2988, "loc": { "start": { "line": 100, "column": 41 }, "end": { "line": 100, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defer", "start": 2989, "end": 2994, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 48 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2999, "end": 3002, "loc": { "start": { "line": 101, "column": 4 }, "end": { "line": 101, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3003, "end": 3004, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 9 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 3004, "end": 3007, "loc": { "start": { "line": 101, "column": 9 }, "end": { "line": 101, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3008, "end": 3009, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 3010, "end": 3012, "loc": { "start": { "line": 101, "column": 15 }, "end": { "line": 101, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3013, "end": 3017, "loc": { "start": { "line": 101, "column": 18 }, "end": { "line": 101, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3017, "end": 3018, "loc": { "start": { "line": 101, "column": 22 }, "end": { "line": 101, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userEventListeners", "start": 3018, "end": 3036, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3036, "end": 3037, "loc": { "start": { "line": 101, "column": 41 }, "end": { "line": 101, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3038, "end": 3039, "loc": { "start": { "line": 101, "column": 43 }, "end": { "line": 101, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3046, "end": 3047, "loc": { "start": { "line": 102, "column": 6 }, "end": { "line": 102, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3047, "end": 3048, "loc": { "start": { "line": 102, "column": 7 }, "end": { "line": 102, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3048, "end": 3049, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "action", "start": 3058, "end": 3064, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3064, "end": 3065, "loc": { "start": { "line": 103, "column": 14 }, "end": { "line": 103, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "userJoined", "start": 3066, "end": 3078, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3078, "end": 3079, "loc": { "start": { "line": 103, "column": 28 }, "end": { "line": 103, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 3088, "end": 3092, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3092, "end": 3093, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 3094, "end": 3098, "loc": { "start": { "line": 104, "column": 14 }, "end": { "line": 104, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3098, "end": 3099, "loc": { "start": { "line": 104, "column": 18 }, "end": { "line": 104, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 3108, "end": 3112, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3112, "end": 3113, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 3114, "end": 3118, "loc": { "start": { "line": 105, "column": 14 }, "end": { "line": 105, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3125, "end": 3126, "loc": { "start": { "line": 106, "column": 6 }, "end": { "line": 106, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3126, "end": 3127, "loc": { "start": { "line": 106, "column": 7 }, "end": { "line": 106, "column": 8 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3132, "end": 3133, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 5 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3138, "end": 3142, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3142, "end": 3143, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_syncWithUser", "start": 3143, "end": 3156, "loc": { "start": { "line": 108, "column": 9 }, "end": { "line": 108, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3156, "end": 3157, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 3157, "end": 3161, "loc": { "start": { "line": 108, "column": 23 }, "end": { "line": 108, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3161, "end": 3162, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3165, "end": 3166, "loc": { "start": { "line": 109, "column": 2 }, "end": { "line": 109, "column": 3 } } }, { "type": "CommentLine", "value": " Execute a function _when_ we are connected.", "start": 3170, "end": 3216, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 111, "column": 48 } } }, { "type": "CommentLine", "value": " If not connected, wait until connected", "start": 3219, "end": 3260, "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 112, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenSynced", "start": 3263, "end": 3273, "loc": { "start": { "line": 113, "column": 2 }, "end": { "line": 113, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3274, "end": 3275, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3275, "end": 3276, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3276, "end": 3277, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3278, "end": 3279, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 18 } } }, { "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": 3284, "end": 3286, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3287, "end": 3288, "loc": { "start": { "line": 114, "column": 7 }, "end": { "line": 114, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3288, "end": 3292, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3292, "end": 3293, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 3293, "end": 3301, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3301, "end": 3302, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3303, "end": 3304, "loc": { "start": { "line": 114, "column": 23 }, "end": { "line": 114, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3311, "end": 3312, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3312, "end": 3313, "loc": { "start": { "line": 115, "column": 7 }, "end": { "line": 115, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3313, "end": 3314, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3319, "end": 3320, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 5 } } }, { "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": 3321, "end": 3325, "loc": { "start": { "line": 116, "column": 6 }, "end": { "line": 116, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3326, "end": 3327, "loc": { "start": { "line": 116, "column": 11 }, "end": { "line": 116, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3334, "end": 3338, "loc": { "start": { "line": 117, "column": 6 }, "end": { "line": 117, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3338, "end": 3339, "loc": { "start": { "line": 117, "column": 10 }, "end": { "line": 117, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenSyncedListeners", "start": 3339, "end": 3358, "loc": { "start": { "line": 117, "column": 11 }, "end": { "line": 117, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3358, "end": 3359, "loc": { "start": { "line": 117, "column": 30 }, "end": { "line": 117, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 3359, "end": 3363, "loc": { "start": { "line": 117, "column": 31 }, "end": { "line": 117, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3363, "end": 3364, "loc": { "start": { "line": 117, "column": 35 }, "end": { "line": 117, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3364, "end": 3365, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 117, "column": 37 }, "end": { "line": 117, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3371, "end": 3372, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3375, "end": 3376, "loc": { "start": { "line": 119, "column": 2 }, "end": { "line": 119, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_syncWithUser", "start": 3380, "end": 3393, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3394, "end": 3395, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 3395, "end": 3401, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3401, "end": 3402, "loc": { "start": { "line": 121, "column": 23 }, "end": { "line": 121, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3403, "end": 3404, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 26 } } }, { "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": 3409, "end": 3411, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3412, "end": 3413, "loc": { "start": { "line": 122, "column": 7 }, "end": { "line": 122, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3413, "end": 3417, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3417, "end": 3418, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "role", "start": 3418, "end": 3422, "loc": { "start": { "line": 122, "column": 13 }, "end": { "line": 122, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3423, "end": 3426, "loc": { "start": { "line": 122, "column": 18 }, "end": { "line": 122, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "slave", "start": 3427, "end": 3434, "loc": { "start": { "line": 122, "column": 22 }, "end": { "line": 122, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3434, "end": 3435, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3436, "end": 3437, "loc": { "start": { "line": 122, "column": 31 }, "end": { "line": 122, "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": 3444, "end": 3450, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 12 } } }, { "type": "CommentLine", "value": " \"The current sync has not finished or this is controlled by a master!\"", "start": 3451, "end": 3524, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 86 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3529, "end": 3530, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sendSyncStep1", "start": 3535, "end": 3548, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3548, "end": 3549, "loc": { "start": { "line": 125, "column": 17 }, "end": { "line": 125, "column": 18 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3549, "end": 3553, "loc": { "start": { "line": 125, "column": 18 }, "end": { "line": 125, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3553, "end": 3554, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 125, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 3555, "end": 3561, "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3561, "end": 3562, "loc": { "start": { "line": 125, "column": 30 }, "end": { "line": 125, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3565, "end": 3566, "loc": { "start": { "line": 126, "column": 2 }, "end": { "line": 126, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_fireIsSyncedListeners", "start": 3570, "end": 3592, "loc": { "start": { "line": 128, "column": 2 }, "end": { "line": 128, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3593, "end": 3594, "loc": { "start": { "line": 128, "column": 25 }, "end": { "line": 128, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3594, "end": 3595, "loc": { "start": { "line": 128, "column": 26 }, "end": { "line": 128, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3596, "end": 3597, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 128, "column": 29 } } }, { "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": 3602, "end": 3604, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3605, "end": 3606, "loc": { "start": { "line": 129, "column": 7 }, "end": { "line": 129, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3606, "end": 3607, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3607, "end": 3611, "loc": { "start": { "line": 129, "column": 9 }, "end": { "line": 129, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3611, "end": 3612, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 3612, "end": 3620, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3620, "end": 3621, "loc": { "start": { "line": 129, "column": 22 }, "end": { "line": 129, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3622, "end": 3623, "loc": { "start": { "line": 129, "column": 24 }, "end": { "line": 129, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3630, "end": 3634, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3634, "end": 3635, "loc": { "start": { "line": 130, "column": 10 }, "end": { "line": 130, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 3635, "end": 3643, "loc": { "start": { "line": 130, "column": 11 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3644, "end": 3645, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 21 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 3646, "end": 3650, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 26 } } }, { "type": "CommentLine", "value": " It is safer to remove this!", "start": 3657, "end": 3687, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 36 } } }, { "type": "CommentLine", "value": " call whensynced listeners", "start": 3694, "end": 3722, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 34 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 3729, "end": 3732, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3733, "end": 3734, "loc": { "start": { "line": 133, "column": 10 }, "end": { "line": 133, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 3734, "end": 3737, "loc": { "start": { "line": 133, "column": 11 }, "end": { "line": 133, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3738, "end": 3739, "loc": { "start": { "line": 133, "column": 15 }, "end": { "line": 133, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 3740, "end": 3742, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3743, "end": 3747, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3747, "end": 3748, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenSyncedListeners", "start": 3748, "end": 3767, "loc": { "start": { "line": 133, "column": 25 }, "end": { "line": 133, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3767, "end": 3768, "loc": { "start": { "line": 133, "column": 44 }, "end": { "line": 133, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3769, "end": 3770, "loc": { "start": { "line": 133, "column": 46 }, "end": { "line": 133, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3779, "end": 3780, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3780, "end": 3781, "loc": { "start": { "line": 134, "column": 9 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3781, "end": 3782, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3789, "end": 3790, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3797, "end": 3801, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3801, "end": 3802, "loc": { "start": { "line": 136, "column": 10 }, "end": { "line": 136, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenSyncedListeners", "start": 3802, "end": 3821, "loc": { "start": { "line": 136, "column": 11 }, "end": { "line": 136, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3822, "end": 3823, "loc": { "start": { "line": 136, "column": 31 }, "end": { "line": 136, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3824, "end": 3825, "loc": { "start": { "line": 136, "column": 33 }, "end": { "line": 136, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3825, "end": 3826, "loc": { "start": { "line": 136, "column": 34 }, "end": { "line": 136, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3833, "end": 3837, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3837, "end": 3838, "loc": { "start": { "line": 137, "column": 10 }, "end": { "line": 137, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3838, "end": 3839, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3839, "end": 3840, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_setContentReady", "start": 3840, "end": 3856, "loc": { "start": { "line": 137, "column": 13 }, "end": { "line": 137, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3856, "end": 3857, "loc": { "start": { "line": 137, "column": 29 }, "end": { "line": 137, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3857, "end": 3858, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3865, "end": 3869, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3869, "end": 3870, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 138, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3870, "end": 3871, "loc": { "start": { "line": 138, "column": 11 }, "end": { "line": 138, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3871, "end": 3872, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 3872, "end": 3876, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3876, "end": 3877, "loc": { "start": { "line": 138, "column": 17 }, "end": { "line": 138, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "synced", "start": 3877, "end": 3885, "loc": { "start": { "line": 138, "column": 18 }, "end": { "line": 138, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3885, "end": 3886, "loc": { "start": { "line": 138, "column": 26 }, "end": { "line": 138, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3891, "end": 3892, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3895, "end": 3896, "loc": { "start": { "line": 140, "column": 2 }, "end": { "line": 140, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "send", "start": 3900, "end": 3904, "loc": { "start": { "line": 142, "column": 2 }, "end": { "line": 142, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3905, "end": 3906, "loc": { "start": { "line": 142, "column": 7 }, "end": { "line": 142, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 3906, "end": 3909, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 11 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3909, "end": 3910, "loc": { "start": { "line": 142, "column": 11 }, "end": { "line": 142, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 3911, "end": 3917, "loc": { "start": { "line": 142, "column": 13 }, "end": { "line": 142, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3917, "end": 3918, "loc": { "start": { "line": 142, "column": 19 }, "end": { "line": 142, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3919, "end": 3920, "loc": { "start": { "line": 142, "column": 21 }, "end": { "line": 142, "column": 22 } } }, { "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": 3925, "end": 3930, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3931, "end": 3932, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3933, "end": 3934, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3935, "end": 3939, "loc": { "start": { "line": 143, "column": 14 }, "end": { "line": 143, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3939, "end": 3940, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3940, "end": 3941, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 20 } } }, { "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": 3946, "end": 3948, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3949, "end": 3950, "loc": { "start": { "line": 144, "column": 7 }, "end": { "line": 144, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3950, "end": 3951, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3951, "end": 3952, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 3952, "end": 3958, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 16 } } }, { "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": 3959, "end": 3969, "loc": { "start": { "line": 144, "column": 17 }, "end": { "line": 144, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ArrayBuffer", "start": 3970, "end": 3981, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 39 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3982, "end": 3984, "loc": { "start": { "line": 144, "column": 40 }, "end": { "line": 144, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 3985, "end": 3991, "loc": { "start": { "line": 144, "column": 43 }, "end": { "line": 144, "column": 49 } } }, { "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": 3992, "end": 4002, "loc": { "start": { "line": 144, "column": 50 }, "end": { "line": 144, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Uint8Array", "start": 4003, "end": 4013, "loc": { "start": { "line": 144, "column": 61 }, "end": { "line": 144, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4013, "end": 4014, "loc": { "start": { "line": 144, "column": 71 }, "end": { "line": 144, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4014, "end": 4015, "loc": { "start": { "line": 144, "column": 72 }, "end": { "line": 144, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4016, "end": 4017, "loc": { "start": { "line": 144, "column": 74 }, "end": { "line": 144, "column": 75 } } }, { "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": 4024, "end": 4029, "loc": { "start": { "line": 145, "column": 6 }, "end": { "line": 145, "column": 11 } } }, { "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": 4030, "end": 4033, "loc": { "start": { "line": 145, "column": 12 }, "end": { "line": 145, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 4034, "end": 4039, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4039, "end": 4040, "loc": { "start": { "line": 145, "column": 21 }, "end": { "line": 145, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Expected Message to be an ArrayBuffer or Uint8Array - don't use this method to send custom messages", "start": 4040, "end": 4142, "loc": { "start": { "line": 145, "column": 22 }, "end": { "line": 145, "column": 124 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4142, "end": 4143, "loc": { "start": { "line": 145, "column": 124 }, "end": { "line": 145, "column": 125 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4148, "end": 4149, "loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 146, "column": 5 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4154, "end": 4158, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4158, "end": 4159, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 4159, "end": 4162, "loc": { "start": { "line": 147, "column": 9 }, "end": { "line": 147, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4162, "end": 4163, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "User%s to User%s: Send '%y'", "start": 4163, "end": 4194, "loc": { "start": { "line": 147, "column": 13 }, "end": { "line": 147, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4194, "end": 4195, "loc": { "start": { "line": 147, "column": 44 }, "end": { "line": 147, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4196, "end": 4197, "loc": { "start": { "line": 147, "column": 46 }, "end": { "line": 147, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4197, "end": 4198, "loc": { "start": { "line": 147, "column": 47 }, "end": { "line": 147, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 4198, "end": 4204, "loc": { "start": { "line": 147, "column": 48 }, "end": { "line": 147, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4204, "end": 4205, "loc": { "start": { "line": 147, "column": 54 }, "end": { "line": 147, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 4206, "end": 4209, "loc": { "start": { "line": 147, "column": 56 }, "end": { "line": 147, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4209, "end": 4210, "loc": { "start": { "line": 147, "column": 59 }, "end": { "line": 147, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4211, "end": 4217, "loc": { "start": { "line": 147, "column": 61 }, "end": { "line": 147, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4217, "end": 4218, "loc": { "start": { "line": 147, "column": 67 }, "end": { "line": 147, "column": 68 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4223, "end": 4227, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4227, "end": 4228, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logMessage", "start": 4228, "end": 4238, "loc": { "start": { "line": 148, "column": 9 }, "end": { "line": 148, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4238, "end": 4239, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "User%s to User%s: Send %Y", "start": 4239, "end": 4266, "loc": { "start": { "line": 148, "column": 20 }, "end": { "line": 148, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4266, "end": 4267, "loc": { "start": { "line": 148, "column": 47 }, "end": { "line": 148, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4268, "end": 4269, "loc": { "start": { "line": 148, "column": 49 }, "end": { "line": 148, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4269, "end": 4270, "loc": { "start": { "line": 148, "column": 50 }, "end": { "line": 148, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 4270, "end": 4276, "loc": { "start": { "line": 148, "column": 51 }, "end": { "line": 148, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4276, "end": 4277, "loc": { "start": { "line": 148, "column": 57 }, "end": { "line": 148, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 4278, "end": 4281, "loc": { "start": { "line": 148, "column": 59 }, "end": { "line": 148, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4281, "end": 4282, "loc": { "start": { "line": 148, "column": 62 }, "end": { "line": 148, "column": 63 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4283, "end": 4284, "loc": { "start": { "line": 148, "column": 64 }, "end": { "line": 148, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4284, "end": 4285, "loc": { "start": { "line": 148, "column": 65 }, "end": { "line": 148, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4285, "end": 4286, "loc": { "start": { "line": 148, "column": 66 }, "end": { "line": 148, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4287, "end": 4293, "loc": { "start": { "line": 148, "column": 68 }, "end": { "line": 148, "column": 74 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4293, "end": 4294, "loc": { "start": { "line": 148, "column": 74 }, "end": { "line": 148, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4294, "end": 4295, "loc": { "start": { "line": 148, "column": 75 }, "end": { "line": 148, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4298, "end": 4299, "loc": { "start": { "line": 149, "column": 2 }, "end": { "line": 149, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcast", "start": 4303, "end": 4312, "loc": { "start": { "line": 151, "column": 2 }, "end": { "line": 151, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4313, "end": 4314, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4314, "end": 4320, "loc": { "start": { "line": 151, "column": 13 }, "end": { "line": 151, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4320, "end": 4321, "loc": { "start": { "line": 151, "column": 19 }, "end": { "line": 151, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4322, "end": 4323, "loc": { "start": { "line": 151, "column": 21 }, "end": { "line": 151, "column": 22 } } }, { "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": 4328, "end": 4333, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4334, "end": 4335, "loc": { "start": { "line": 152, "column": 10 }, "end": { "line": 152, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4336, "end": 4337, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 152, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4338, "end": 4342, "loc": { "start": { "line": 152, "column": 14 }, "end": { "line": 152, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 152, "column": 18 }, "end": { "line": 152, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4343, "end": 4344, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 20 } } }, { "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": 4349, "end": 4351, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4352, "end": 4353, "loc": { "start": { "line": 153, "column": 7 }, "end": { "line": 153, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4353, "end": 4354, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4354, "end": 4355, "loc": { "start": { "line": 153, "column": 9 }, "end": { "line": 153, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4355, "end": 4361, "loc": { "start": { "line": 153, "column": 10 }, "end": { "line": 153, "column": 16 } } }, { "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": 4362, "end": 4372, "loc": { "start": { "line": 153, "column": 17 }, "end": { "line": 153, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ArrayBuffer", "start": 4373, "end": 4384, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 39 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4385, "end": 4387, "loc": { "start": { "line": 153, "column": 40 }, "end": { "line": 153, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4388, "end": 4394, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 49 } } }, { "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": 4395, "end": 4405, "loc": { "start": { "line": 153, "column": 50 }, "end": { "line": 153, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Uint8Array", "start": 4406, "end": 4416, "loc": { "start": { "line": 153, "column": 61 }, "end": { "line": 153, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4416, "end": 4417, "loc": { "start": { "line": 153, "column": 71 }, "end": { "line": 153, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4417, "end": 4418, "loc": { "start": { "line": 153, "column": 72 }, "end": { "line": 153, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4419, "end": 4420, "loc": { "start": { "line": 153, "column": 74 }, "end": { "line": 153, "column": 75 } } }, { "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": 4427, "end": 4432, "loc": { "start": { "line": 154, "column": 6 }, "end": { "line": 154, "column": 11 } } }, { "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": 4433, "end": 4436, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 4437, "end": 4442, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4442, "end": 4443, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Expected Message to be an ArrayBuffer or Uint8Array - don't use this method to send custom messages", "start": 4443, "end": 4545, "loc": { "start": { "line": 154, "column": 22 }, "end": { "line": 154, "column": 124 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4545, "end": 4546, "loc": { "start": { "line": 154, "column": 124 }, "end": { "line": 154, "column": 125 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4551, "end": 4552, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 155, "column": 5 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4557, "end": 4561, "loc": { "start": { "line": 156, "column": 4 }, "end": { "line": 156, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4561, "end": 4562, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 4562, "end": 4565, "loc": { "start": { "line": 156, "column": 9 }, "end": { "line": 156, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4565, "end": 4566, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "User%s: Broadcast '%y'", "start": 4566, "end": 4592, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4592, "end": 4593, "loc": { "start": { "line": 156, "column": 39 }, "end": { "line": 156, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4594, "end": 4595, "loc": { "start": { "line": 156, "column": 41 }, "end": { "line": 156, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4595, "end": 4596, "loc": { "start": { "line": 156, "column": 42 }, "end": { "line": 156, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 4596, "end": 4602, "loc": { "start": { "line": 156, "column": 43 }, "end": { "line": 156, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4602, "end": 4603, "loc": { "start": { "line": 156, "column": 49 }, "end": { "line": 156, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4604, "end": 4610, "loc": { "start": { "line": 156, "column": 51 }, "end": { "line": 156, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4610, "end": 4611, "loc": { "start": { "line": 156, "column": 57 }, "end": { "line": 156, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4616, "end": 4620, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4620, "end": 4621, "loc": { "start": { "line": 157, "column": 8 }, "end": { "line": 157, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logMessage", "start": 4621, "end": 4631, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 157, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4631, "end": 4632, "loc": { "start": { "line": 157, "column": 19 }, "end": { "line": 157, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "User%s: Broadcast: %Y", "start": 4632, "end": 4655, "loc": { "start": { "line": 157, "column": 20 }, "end": { "line": 157, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4655, "end": 4656, "loc": { "start": { "line": 157, "column": 43 }, "end": { "line": 157, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4657, "end": 4658, "loc": { "start": { "line": 157, "column": 45 }, "end": { "line": 157, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4658, "end": 4659, "loc": { "start": { "line": 157, "column": 46 }, "end": { "line": 157, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 4659, "end": 4665, "loc": { "start": { "line": 157, "column": 47 }, "end": { "line": 157, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4665, "end": 4666, "loc": { "start": { "line": 157, "column": 53 }, "end": { "line": 157, "column": 54 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4667, "end": 4668, "loc": { "start": { "line": 157, "column": 55 }, "end": { "line": 157, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4668, "end": 4669, "loc": { "start": { "line": 157, "column": 56 }, "end": { "line": 157, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4669, "end": 4670, "loc": { "start": { "line": 157, "column": 57 }, "end": { "line": 157, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 4671, "end": 4677, "loc": { "start": { "line": 157, "column": 59 }, "end": { "line": 157, "column": 65 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4677, "end": 4678, "loc": { "start": { "line": 157, "column": 65 }, "end": { "line": 157, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4678, "end": 4679, "loc": { "start": { "line": 157, "column": 66 }, "end": { "line": 157, "column": 67 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4682, "end": 4683, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 3 } } }, { "type": "CommentBlock", "value": "\n Buffer operations, and broadcast them when ready.\n ", "start": 4687, "end": 4748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 162, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastStruct", "start": 4751, "end": 4766, "loc": { "start": { "line": 163, "column": 2 }, "end": { "line": 163, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4767, "end": 4768, "loc": { "start": { "line": 163, "column": 18 }, "end": { "line": 163, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "struct", "start": 4768, "end": 4774, "loc": { "start": { "line": 163, "column": 19 }, "end": { "line": 163, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4774, "end": 4775, "loc": { "start": { "line": 163, "column": 25 }, "end": { "line": 163, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4776, "end": 4777, "loc": { "start": { "line": 163, "column": 27 }, "end": { "line": 163, "column": 28 } } }, { "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": 4782, "end": 4787, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 164, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstContent", "start": 4788, "end": 4800, "loc": { "start": { "line": 164, "column": 10 }, "end": { "line": 164, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4801, "end": 4802, "loc": { "start": { "line": 164, "column": 23 }, "end": { "line": 164, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4803, "end": 4807, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4807, "end": 4808, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 4808, "end": 4823, "loc": { "start": { "line": 164, "column": 30 }, "end": { "line": 164, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4823, "end": 4824, "loc": { "start": { "line": 164, "column": 45 }, "end": { "line": 164, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4824, "end": 4830, "loc": { "start": { "line": 164, "column": 46 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4831, "end": 4834, "loc": { "start": { "line": 164, "column": 53 }, "end": { "line": 164, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4835, "end": 4836, "loc": { "start": { "line": 164, "column": 57 }, "end": { "line": 164, "column": 58 } } }, { "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": 4841, "end": 4843, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4844, "end": 4845, "loc": { "start": { "line": 165, "column": 7 }, "end": { "line": 165, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstContent", "start": 4845, "end": 4857, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4857, "end": 4858, "loc": { "start": { "line": 165, "column": 20 }, "end": { "line": 165, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4859, "end": 4860, "loc": { "start": { "line": 165, "column": 22 }, "end": { "line": 165, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4867, "end": 4871, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4871, "end": 4872, "loc": { "start": { "line": 166, "column": 10 }, "end": { "line": 166, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 4872, "end": 4887, "loc": { "start": { "line": 166, "column": 11 }, "end": { "line": 166, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4887, "end": 4888, "loc": { "start": { "line": 166, "column": 26 }, "end": { "line": 166, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeVarString", "start": 4888, "end": 4902, "loc": { "start": { "line": 166, "column": 27 }, "end": { "line": 166, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4902, "end": 4903, "loc": { "start": { "line": 166, "column": 41 }, "end": { "line": 166, "column": 42 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4903, "end": 4907, "loc": { "start": { "line": 166, "column": 42 }, "end": { "line": 166, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4907, "end": 4908, "loc": { "start": { "line": 166, "column": 46 }, "end": { "line": 166, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4908, "end": 4909, "loc": { "start": { "line": 166, "column": 47 }, "end": { "line": 166, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4909, "end": 4910, "loc": { "start": { "line": 166, "column": 48 }, "end": { "line": 166, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "room", "start": 4910, "end": 4914, "loc": { "start": { "line": 166, "column": 49 }, "end": { "line": 166, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4914, "end": 4915, "loc": { "start": { "line": 166, "column": 53 }, "end": { "line": 166, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4922, "end": 4926, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4926, "end": 4927, "loc": { "start": { "line": 167, "column": 10 }, "end": { "line": 167, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 4927, "end": 4942, "loc": { "start": { "line": 167, "column": 11 }, "end": { "line": 167, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4942, "end": 4943, "loc": { "start": { "line": 167, "column": 26 }, "end": { "line": 167, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeVarString", "start": 4943, "end": 4957, "loc": { "start": { "line": 167, "column": 27 }, "end": { "line": 167, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4957, "end": 4958, "loc": { "start": { "line": 167, "column": 41 }, "end": { "line": 167, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "update", "start": 4958, "end": 4966, "loc": { "start": { "line": 167, "column": 42 }, "end": { "line": 167, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4966, "end": 4967, "loc": { "start": { "line": 167, "column": 50 }, "end": { "line": 167, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4974, "end": 4978, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4978, "end": 4979, "loc": { "start": { "line": 168, "column": 10 }, "end": { "line": 168, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSize", "start": 4979, "end": 4998, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4999, "end": 5000, "loc": { "start": { "line": 168, "column": 31 }, "end": { "line": 168, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5001, "end": 5002, "loc": { "start": { "line": 168, "column": 33 }, "end": { "line": 168, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5009, "end": 5013, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5013, "end": 5014, "loc": { "start": { "line": 169, "column": 10 }, "end": { "line": 169, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSizePos", "start": 5014, "end": 5036, "loc": { "start": { "line": 169, "column": 11 }, "end": { "line": 169, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5037, "end": 5038, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5039, "end": 5043, "loc": { "start": { "line": 169, "column": 36 }, "end": { "line": 169, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5043, "end": 5044, "loc": { "start": { "line": 169, "column": 40 }, "end": { "line": 169, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5044, "end": 5059, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5059, "end": 5060, "loc": { "start": { "line": 169, "column": 56 }, "end": { "line": 169, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 5060, "end": 5063, "loc": { "start": { "line": 169, "column": 57 }, "end": { "line": 169, "column": 60 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5070, "end": 5074, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5074, "end": 5075, "loc": { "start": { "line": 170, "column": 10 }, "end": { "line": 170, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5075, "end": 5090, "loc": { "start": { "line": 170, "column": 11 }, "end": { "line": 170, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5090, "end": 5091, "loc": { "start": { "line": 170, "column": 26 }, "end": { "line": 170, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeUint32", "start": 5091, "end": 5102, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5102, "end": 5103, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5103, "end": 5104, "loc": { "start": { "line": 170, "column": 39 }, "end": { "line": 170, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5104, "end": 5105, "loc": { "start": { "line": 170, "column": 40 }, "end": { "line": 170, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5110, "end": 5111, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 5 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5116, "end": 5120, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5120, "end": 5121, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSize", "start": 5121, "end": 5140, "loc": { "start": { "line": 172, "column": 9 }, "end": { "line": 172, "column": 28 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5140, "end": 5142, "loc": { "start": { "line": 172, "column": 28 }, "end": { "line": 172, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "struct", "start": 5147, "end": 5153, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5153, "end": 5154, "loc": { "start": { "line": 173, "column": 10 }, "end": { "line": 173, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_toBinary", "start": 5154, "end": 5163, "loc": { "start": { "line": 173, "column": 11 }, "end": { "line": 173, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5163, "end": 5164, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5164, "end": 5168, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5168, "end": 5169, "loc": { "start": { "line": 173, "column": 25 }, "end": { "line": 173, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5169, "end": 5184, "loc": { "start": { "line": 173, "column": 26 }, "end": { "line": 173, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5184, "end": 5185, "loc": { "start": { "line": 173, "column": 41 }, "end": { "line": 173, "column": 42 } } }, { "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": 5190, "end": 5192, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 174, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5193, "end": 5194, "loc": { "start": { "line": 174, "column": 7 }, "end": { "line": 174, "column": 8 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5194, "end": 5198, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5198, "end": 5199, "loc": { "start": { "line": 174, "column": 12 }, "end": { "line": 174, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxBufferLength", "start": 5199, "end": 5214, "loc": { "start": { "line": 174, "column": 13 }, "end": { "line": 174, "column": 28 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5215, "end": 5216, "loc": { "start": { "line": 174, "column": 29 }, "end": { "line": 174, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5217, "end": 5218, "loc": { "start": { "line": 174, "column": 31 }, "end": { "line": 174, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 5219, "end": 5221, "loc": { "start": { "line": 174, "column": 33 }, "end": { "line": 174, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5222, "end": 5226, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5226, "end": 5227, "loc": { "start": { "line": 174, "column": 40 }, "end": { "line": 174, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5227, "end": 5242, "loc": { "start": { "line": 174, "column": 41 }, "end": { "line": 174, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5242, "end": 5243, "loc": { "start": { "line": 174, "column": 56 }, "end": { "line": 174, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5243, "end": 5249, "loc": { "start": { "line": 174, "column": 57 }, "end": { "line": 174, "column": 63 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5250, "end": 5251, "loc": { "start": { "line": 174, "column": 64 }, "end": { "line": 174, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5252, "end": 5256, "loc": { "start": { "line": 174, "column": 66 }, "end": { "line": 174, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5256, "end": 5257, "loc": { "start": { "line": 174, "column": 70 }, "end": { "line": 174, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxBufferLength", "start": 5257, "end": 5272, "loc": { "start": { "line": 174, "column": 71 }, "end": { "line": 174, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5272, "end": 5273, "loc": { "start": { "line": 174, "column": 86 }, "end": { "line": 174, "column": 87 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5274, "end": 5275, "loc": { "start": { "line": 174, "column": 88 }, "end": { "line": 174, "column": 89 } } }, { "type": "CommentLine", "value": " it is necessary to send the buffer now", "start": 5282, "end": 5323, "loc": { "start": { "line": 175, "column": 6 }, "end": { "line": 175, "column": 47 } } }, { "type": "CommentLine", "value": " cache the buffer and check if server is responsive", "start": 5330, "end": 5383, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 59 } } }, { "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": 5390, "end": 5395, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 177, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 5396, "end": 5402, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5403, "end": 5404, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5405, "end": 5409, "loc": { "start": { "line": 177, "column": 21 }, "end": { "line": 177, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5409, "end": 5410, "loc": { "start": { "line": 177, "column": 25 }, "end": { "line": 177, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5410, "end": 5425, "loc": { "start": { "line": 177, "column": 26 }, "end": { "line": 177, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 5432, "end": 5438, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5438, "end": 5439, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setUint32", "start": 5439, "end": 5448, "loc": { "start": { "line": 178, "column": 13 }, "end": { "line": 178, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5448, "end": 5449, "loc": { "start": { "line": 178, "column": 22 }, "end": { "line": 178, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5449, "end": 5453, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5453, "end": 5454, "loc": { "start": { "line": 178, "column": 27 }, "end": { "line": 178, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSizePos", "start": 5454, "end": 5476, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5476, "end": 5477, "loc": { "start": { "line": 178, "column": 50 }, "end": { "line": 178, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5478, "end": 5482, "loc": { "start": { "line": 178, "column": 52 }, "end": { "line": 178, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5482, "end": 5483, "loc": { "start": { "line": 178, "column": 56 }, "end": { "line": 178, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSize", "start": 5483, "end": 5502, "loc": { "start": { "line": 178, "column": 57 }, "end": { "line": 178, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5502, "end": 5503, "loc": { "start": { "line": 178, "column": 76 }, "end": { "line": 178, "column": 77 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5510, "end": 5514, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5514, "end": 5515, "loc": { "start": { "line": 179, "column": 10 }, "end": { "line": 179, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5515, "end": 5530, "loc": { "start": { "line": 179, "column": 11 }, "end": { "line": 179, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5531, "end": 5532, "loc": { "start": { "line": 179, "column": 27 }, "end": { "line": 179, "column": 28 } } }, { "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": 5533, "end": 5536, "loc": { "start": { "line": 179, "column": 29 }, "end": { "line": 179, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryEncoder", "start": 5537, "end": 5550, "loc": { "start": { "line": 179, "column": 33 }, "end": { "line": 179, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5550, "end": 5551, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5551, "end": 5552, "loc": { "start": { "line": 179, "column": 47 }, "end": { "line": 179, "column": 48 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5559, "end": 5563, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 180, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5563, "end": 5564, "loc": { "start": { "line": 180, "column": 10 }, "end": { "line": 180, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenRemoteResponsive", "start": 5564, "end": 5584, "loc": { "start": { "line": 180, "column": 11 }, "end": { "line": 180, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5584, "end": 5585, "loc": { "start": { "line": 180, "column": 31 }, "end": { "line": 180, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5585, "end": 5586, "loc": { "start": { "line": 180, "column": 32 }, "end": { "line": 180, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5586, "end": 5587, "loc": { "start": { "line": 180, "column": 33 }, "end": { "line": 180, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 5587, "end": 5591, "loc": { "start": { "line": 180, "column": 34 }, "end": { "line": 180, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5591, "end": 5592, "loc": { "start": { "line": 180, "column": 38 }, "end": { "line": 180, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5592, "end": 5593, "loc": { "start": { "line": 180, "column": 39 }, "end": { "line": 180, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5593, "end": 5594, "loc": { "start": { "line": 180, "column": 40 }, "end": { "line": 180, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5595, "end": 5597, "loc": { "start": { "line": 180, "column": 42 }, "end": { "line": 180, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5598, "end": 5599, "loc": { "start": { "line": 180, "column": 45 }, "end": { "line": 180, "column": 46 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5608, "end": 5612, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5612, "end": 5613, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcast", "start": 5613, "end": 5622, "loc": { "start": { "line": 181, "column": 13 }, "end": { "line": 181, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5622, "end": 5623, "loc": { "start": { "line": 181, "column": 22 }, "end": { "line": 181, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 5623, "end": 5629, "loc": { "start": { "line": 181, "column": 23 }, "end": { "line": 181, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5629, "end": 5630, "loc": { "start": { "line": 181, "column": 29 }, "end": { "line": 181, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createBuffer", "start": 5630, "end": 5642, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5642, "end": 5643, "loc": { "start": { "line": 181, "column": 42 }, "end": { "line": 181, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5643, "end": 5644, "loc": { "start": { "line": 181, "column": 43 }, "end": { "line": 181, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5644, "end": 5645, "loc": { "start": { "line": 181, "column": 44 }, "end": { "line": 181, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5652, "end": 5653, "loc": { "start": { "line": 182, "column": 6 }, "end": { "line": 182, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5653, "end": 5654, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 8 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5659, "end": 5660, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 183, "column": 5 } } }, { "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": 5661, "end": 5665, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 183, "column": 10 } } }, { "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": 5666, "end": 5668, "loc": { "start": { "line": 183, "column": 11 }, "end": { "line": 183, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5669, "end": 5670, "loc": { "start": { "line": 183, "column": 14 }, "end": { "line": 183, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstContent", "start": 5670, "end": 5682, "loc": { "start": { "line": 183, "column": 15 }, "end": { "line": 183, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5682, "end": 5683, "loc": { "start": { "line": 183, "column": 27 }, "end": { "line": 183, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5684, "end": 5685, "loc": { "start": { "line": 183, "column": 29 }, "end": { "line": 183, "column": 30 } } }, { "type": "CommentLine", "value": " send the buffer when all transactions are finished", "start": 5692, "end": 5745, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 184, "column": 59 } } }, { "type": "CommentLine", "value": " (or buffer exceeds maxBufferLength)", "start": 5752, "end": 5790, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 185, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 5797, "end": 5807, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 186, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5807, "end": 5808, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5808, "end": 5809, "loc": { "start": { "line": 186, "column": 17 }, "end": { "line": 186, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5809, "end": 5810, "loc": { "start": { "line": 186, "column": 18 }, "end": { "line": 186, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5811, "end": 5813, "loc": { "start": { "line": 186, "column": 20 }, "end": { "line": 186, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5814, "end": 5815, "loc": { "start": { "line": 186, "column": 23 }, "end": { "line": 186, "column": 24 } } }, { "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": 5824, "end": 5826, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5827, "end": 5828, "loc": { "start": { "line": 187, "column": 11 }, "end": { "line": 187, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5828, "end": 5832, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5832, "end": 5833, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5833, "end": 5848, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5848, "end": 5849, "loc": { "start": { "line": 187, "column": 32 }, "end": { "line": 187, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5849, "end": 5855, "loc": { "start": { "line": 187, "column": 33 }, "end": { "line": 187, "column": 39 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5856, "end": 5857, "loc": { "start": { "line": 187, "column": 40 }, "end": { "line": 187, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5858, "end": 5859, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5859, "end": 5860, "loc": { "start": { "line": 187, "column": 43 }, "end": { "line": 187, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5861, "end": 5862, "loc": { "start": { "line": 187, "column": 45 }, "end": { "line": 187, "column": 46 } } }, { "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": 5873, "end": 5878, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 5879, "end": 5885, "loc": { "start": { "line": 188, "column": 16 }, "end": { "line": 188, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5886, "end": 5887, "loc": { "start": { "line": 188, "column": 23 }, "end": { "line": 188, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5888, "end": 5892, "loc": { "start": { "line": 188, "column": 25 }, "end": { "line": 188, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5892, "end": 5893, "loc": { "start": { "line": 188, "column": 29 }, "end": { "line": 188, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 5893, "end": 5908, "loc": { "start": { "line": 188, "column": 30 }, "end": { "line": 188, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 5919, "end": 5925, "loc": { "start": { "line": 189, "column": 10 }, "end": { "line": 189, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5925, "end": 5926, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setUint32", "start": 5926, "end": 5935, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5935, "end": 5936, "loc": { "start": { "line": 189, "column": 26 }, "end": { "line": 189, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5936, "end": 5940, "loc": { "start": { "line": 189, "column": 27 }, "end": { "line": 189, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5940, "end": 5941, "loc": { "start": { "line": 189, "column": 31 }, "end": { "line": 189, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSizePos", "start": 5941, "end": 5963, "loc": { "start": { "line": 189, "column": 32 }, "end": { "line": 189, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5963, "end": 5964, "loc": { "start": { "line": 189, "column": 54 }, "end": { "line": 189, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5965, "end": 5969, "loc": { "start": { "line": 189, "column": 56 }, "end": { "line": 189, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5969, "end": 5970, "loc": { "start": { "line": 189, "column": 60 }, "end": { "line": 189, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBufferSize", "start": 5970, "end": 5989, "loc": { "start": { "line": 189, "column": 61 }, "end": { "line": 189, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5989, "end": 5990, "loc": { "start": { "line": 189, "column": 80 }, "end": { "line": 189, "column": 81 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6001, "end": 6005, "loc": { "start": { "line": 190, "column": 10 }, "end": { "line": 190, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6005, "end": 6006, "loc": { "start": { "line": 190, "column": 14 }, "end": { "line": 190, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcast", "start": 6006, "end": 6015, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6015, "end": 6016, "loc": { "start": { "line": 190, "column": 24 }, "end": { "line": 190, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 6016, "end": 6022, "loc": { "start": { "line": 190, "column": 25 }, "end": { "line": 190, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6022, "end": 6023, "loc": { "start": { "line": 190, "column": 31 }, "end": { "line": 190, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createBuffer", "start": 6023, "end": 6035, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6035, "end": 6036, "loc": { "start": { "line": 190, "column": 44 }, "end": { "line": 190, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6036, "end": 6037, "loc": { "start": { "line": 190, "column": 45 }, "end": { "line": 190, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6037, "end": 6038, "loc": { "start": { "line": 190, "column": 46 }, "end": { "line": 190, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6049, "end": 6053, "loc": { "start": { "line": 191, "column": 10 }, "end": { "line": 191, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6053, "end": 6054, "loc": { "start": { "line": 191, "column": 14 }, "end": { "line": 191, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "broadcastBuffer", "start": 6054, "end": 6069, "loc": { "start": { "line": 191, "column": 15 }, "end": { "line": 191, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6070, "end": 6071, "loc": { "start": { "line": 191, "column": 31 }, "end": { "line": 191, "column": 32 } } }, { "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": 6072, "end": 6075, "loc": { "start": { "line": 191, "column": 33 }, "end": { "line": 191, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryEncoder", "start": 6076, "end": 6089, "loc": { "start": { "line": 191, "column": 37 }, "end": { "line": 191, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6089, "end": 6090, "loc": { "start": { "line": 191, "column": 50 }, "end": { "line": 191, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6090, "end": 6091, "loc": { "start": { "line": 191, "column": 51 }, "end": { "line": 191, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6100, "end": 6101, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6108, "end": 6109, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 193, "column": 7 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6109, "end": 6110, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 8 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6111, "end": 6112, "loc": { "start": { "line": 193, "column": 9 }, "end": { "line": 193, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6112, "end": 6113, "loc": { "start": { "line": 193, "column": 10 }, "end": { "line": 193, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6118, "end": 6119, "loc": { "start": { "line": 194, "column": 4 }, "end": { "line": 194, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6122, "end": 6123, "loc": { "start": { "line": 195, "column": 2 }, "end": { "line": 195, "column": 3 } } }, { "type": "CommentBlock", "value": "\n * Somehow check the responsiveness of the remote clients/server\n * Default behavior:\n * Wait 100ms before broadcasting the next batch of operations\n *\n * Only used when maxBufferLength is set\n *\n ", "start": 6127, "end": 6345, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 204, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenRemoteResponsive", "start": 6348, "end": 6368, "loc": { "start": { "line": 205, "column": 2 }, "end": { "line": 205, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6369, "end": 6370, "loc": { "start": { "line": 205, "column": 23 }, "end": { "line": 205, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6370, "end": 6371, "loc": { "start": { "line": 205, "column": 24 }, "end": { "line": 205, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6372, "end": 6373, "loc": { "start": { "line": 205, "column": 26 }, "end": { "line": 205, "column": 27 } } }, { "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": 6378, "end": 6384, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 10 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 6385, "end": 6388, "loc": { "start": { "line": 206, "column": 11 }, "end": { "line": 206, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 6389, "end": 6396, "loc": { "start": { "line": 206, "column": 15 }, "end": { "line": 206, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6396, "end": 6397, "loc": { "start": { "line": 206, "column": 22 }, "end": { "line": 206, "column": 23 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 6397, "end": 6405, "loc": { "start": { "line": 206, "column": 23 }, "end": { "line": 206, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6406, "end": 6407, "loc": { "start": { "line": 206, "column": 32 }, "end": { "line": 206, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 6407, "end": 6414, "loc": { "start": { "line": 206, "column": 33 }, "end": { "line": 206, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6414, "end": 6415, "loc": { "start": { "line": 206, "column": 40 }, "end": { "line": 206, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6416, "end": 6417, "loc": { "start": { "line": 206, "column": 42 }, "end": { "line": 206, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 6424, "end": 6434, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6434, "end": 6435, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 6435, "end": 6442, "loc": { "start": { "line": 207, "column": 17 }, "end": { "line": 207, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6442, "end": 6443, "loc": { "start": { "line": 207, "column": 24 }, "end": { "line": 207, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 6444, "end": 6447, "loc": { "start": { "line": 207, "column": 26 }, "end": { "line": 207, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6447, "end": 6448, "loc": { "start": { "line": 207, "column": 29 }, "end": { "line": 207, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6453, "end": 6454, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6454, "end": 6455, "loc": { "start": { "line": 208, "column": 5 }, "end": { "line": 208, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6458, "end": 6459, "loc": { "start": { "line": 209, "column": 2 }, "end": { "line": 209, "column": 3 } } }, { "type": "CommentBlock", "value": "\n You received a raw message, and you know that it is intended for Yjs. Then call this function.\n ", "start": 6463, "end": 6569, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 213, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiveMessage", "start": 6572, "end": 6586, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 214, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6587, "end": 6588, "loc": { "start": { "line": 214, "column": 17 }, "end": { "line": 214, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 6588, "end": 6594, "loc": { "start": { "line": 214, "column": 18 }, "end": { "line": 214, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6594, "end": 6595, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 6596, "end": 6602, "loc": { "start": { "line": 214, "column": 26 }, "end": { "line": 214, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6602, "end": 6603, "loc": { "start": { "line": 214, "column": 32 }, "end": { "line": 214, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 6604, "end": 6612, "loc": { "start": { "line": 214, "column": 34 }, "end": { "line": 214, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6612, "end": 6613, "loc": { "start": { "line": 214, "column": 42 }, "end": { "line": 214, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6614, "end": 6615, "loc": { "start": { "line": 214, "column": 44 }, "end": { "line": 214, "column": 45 } } }, { "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": 6620, "end": 6625, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 215, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6626, "end": 6627, "loc": { "start": { "line": 215, "column": 10 }, "end": { "line": 215, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6628, "end": 6629, "loc": { "start": { "line": 215, "column": 12 }, "end": { "line": 215, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6630, "end": 6634, "loc": { "start": { "line": 215, "column": 14 }, "end": { "line": 215, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6634, "end": 6635, "loc": { "start": { "line": 215, "column": 18 }, "end": { "line": 215, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6635, "end": 6636, "loc": { "start": { "line": 215, "column": 19 }, "end": { "line": 215, "column": 20 } } }, { "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": 6641, "end": 6646, "loc": { "start": { "line": 216, "column": 4 }, "end": { "line": 216, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 6647, "end": 6653, "loc": { "start": { "line": 216, "column": 10 }, "end": { "line": 216, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6654, "end": 6655, "loc": { "start": { "line": 216, "column": 17 }, "end": { "line": 216, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6656, "end": 6657, "loc": { "start": { "line": 216, "column": 19 }, "end": { "line": 216, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6657, "end": 6658, "loc": { "start": { "line": 216, "column": 20 }, "end": { "line": 216, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 6658, "end": 6664, "loc": { "start": { "line": 216, "column": 21 }, "end": { "line": 216, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 6669, "end": 6677, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6678, "end": 6679, "loc": { "start": { "line": 217, "column": 13 }, "end": { "line": 217, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 6680, "end": 6688, "loc": { "start": { "line": 217, "column": 15 }, "end": { "line": 217, "column": 23 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 6689, "end": 6691, "loc": { "start": { "line": 217, "column": 24 }, "end": { "line": 217, "column": 26 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 6692, "end": 6697, "loc": { "start": { "line": 217, "column": 27 }, "end": { "line": 217, "column": 32 } } }, { "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": 6702, "end": 6704, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6705, "end": 6706, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6706, "end": 6707, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6707, "end": 6708, "loc": { "start": { "line": 218, "column": 9 }, "end": { "line": 218, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 6708, "end": 6714, "loc": { "start": { "line": 218, "column": 10 }, "end": { "line": 218, "column": 16 } } }, { "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": 6715, "end": 6725, "loc": { "start": { "line": 218, "column": 17 }, "end": { "line": 218, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ArrayBuffer", "start": 6726, "end": 6737, "loc": { "start": { "line": 218, "column": 28 }, "end": { "line": 218, "column": 39 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 6738, "end": 6740, "loc": { "start": { "line": 218, "column": 40 }, "end": { "line": 218, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 6741, "end": 6747, "loc": { "start": { "line": 218, "column": 43 }, "end": { "line": 218, "column": 49 } } }, { "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": 6748, "end": 6758, "loc": { "start": { "line": 218, "column": 50 }, "end": { "line": 218, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Uint8Array", "start": 6759, "end": 6769, "loc": { "start": { "line": 218, "column": 61 }, "end": { "line": 218, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6769, "end": 6770, "loc": { "start": { "line": 218, "column": 71 }, "end": { "line": 218, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6770, "end": 6771, "loc": { "start": { "line": 218, "column": 72 }, "end": { "line": 218, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6772, "end": 6773, "loc": { "start": { "line": 218, "column": 74 }, "end": { "line": 218, "column": 75 } } }, { "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": 6780, "end": 6786, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 6787, "end": 6794, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6794, "end": 6795, "loc": { "start": { "line": 219, "column": 20 }, "end": { "line": 219, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reject", "start": 6795, "end": 6801, "loc": { "start": { "line": 219, "column": 21 }, "end": { "line": 219, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6801, "end": 6802, "loc": { "start": { "line": 219, "column": 27 }, "end": { "line": 219, "column": 28 } } }, { "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": 6802, "end": 6805, "loc": { "start": { "line": 219, "column": 28 }, "end": { "line": 219, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 6806, "end": 6811, "loc": { "start": { "line": 219, "column": 32 }, "end": { "line": 219, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6811, "end": 6812, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Expected Message to be an ArrayBuffer or Uint8Array!", "start": 6812, "end": 6866, "loc": { "start": { "line": 219, "column": 38 }, "end": { "line": 219, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6866, "end": 6867, "loc": { "start": { "line": 219, "column": 92 }, "end": { "line": 219, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6867, "end": 6868, "loc": { "start": { "line": 219, "column": 93 }, "end": { "line": 219, "column": 94 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6873, "end": 6874, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 5 } } }, { "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": 6879, "end": 6881, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6882, "end": 6883, "loc": { "start": { "line": 221, "column": 7 }, "end": { "line": 221, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 6883, "end": 6889, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 14 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6890, "end": 6893, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 6894, "end": 6900, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6900, "end": 6901, "loc": { "start": { "line": 221, "column": 25 }, "end": { "line": 221, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6902, "end": 6903, "loc": { "start": { "line": 221, "column": 27 }, "end": { "line": 221, "column": 28 } } }, { "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": 6910, "end": 6916, "loc": { "start": { "line": 222, "column": 6 }, "end": { "line": 222, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 6917, "end": 6924, "loc": { "start": { "line": 222, "column": 13 }, "end": { "line": 222, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6924, "end": 6925, "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 6925, "end": 6932, "loc": { "start": { "line": 222, "column": 21 }, "end": { "line": 222, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6932, "end": 6933, "loc": { "start": { "line": 222, "column": 28 }, "end": { "line": 222, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6933, "end": 6934, "loc": { "start": { "line": 222, "column": 29 }, "end": { "line": 222, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6939, "end": 6940, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 5 } } }, { "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": 6945, "end": 6948, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 6949, "end": 6956, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6957, "end": 6958, "loc": { "start": { "line": 224, "column": 16 }, "end": { "line": 224, "column": 17 } } }, { "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": 6959, "end": 6962, "loc": { "start": { "line": 224, "column": 18 }, "end": { "line": 224, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryDecoder", "start": 6963, "end": 6976, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6976, "end": 6977, "loc": { "start": { "line": 224, "column": 35 }, "end": { "line": 224, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 6977, "end": 6983, "loc": { "start": { "line": 224, "column": 36 }, "end": { "line": 224, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6983, "end": 6984, "loc": { "start": { "line": 224, "column": 42 }, "end": { "line": 224, "column": 43 } } }, { "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": 6989, "end": 6992, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 6993, "end": 7000, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7001, "end": 7002, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 17 } } }, { "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": 7003, "end": 7006, "loc": { "start": { "line": 225, "column": 18 }, "end": { "line": 225, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryEncoder", "start": 7007, "end": 7020, "loc": { "start": { "line": 225, "column": 22 }, "end": { "line": 225, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7020, "end": 7021, "loc": { "start": { "line": 225, "column": 35 }, "end": { "line": 225, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7021, "end": 7022, "loc": { "start": { "line": 225, "column": 36 }, "end": { "line": 225, "column": 37 } } }, { "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": 7027, "end": 7030, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 226, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roomname", "start": 7031, "end": 7039, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7040, "end": 7041, "loc": { "start": { "line": 226, "column": 17 }, "end": { "line": 226, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 7042, "end": 7049, "loc": { "start": { "line": 226, "column": 19 }, "end": { "line": 226, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7049, "end": 7050, "loc": { "start": { "line": 226, "column": 26 }, "end": { "line": 226, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarString", "start": 7050, "end": 7063, "loc": { "start": { "line": 226, "column": 27 }, "end": { "line": 226, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7063, "end": 7064, "loc": { "start": { "line": 226, "column": 40 }, "end": { "line": 226, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7064, "end": 7065, "loc": { "start": { "line": 226, "column": 41 }, "end": { "line": 226, "column": 42 } } }, { "type": "CommentLine", "value": " read room name", "start": 7066, "end": 7083, "loc": { "start": { "line": 226, "column": 43 }, "end": { "line": 226, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 7088, "end": 7095, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7095, "end": 7096, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeVarString", "start": 7096, "end": 7110, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7110, "end": 7111, "loc": { "start": { "line": 227, "column": 26 }, "end": { "line": 227, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roomname", "start": 7111, "end": 7119, "loc": { "start": { "line": 227, "column": 27 }, "end": { "line": 227, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7119, "end": 7120, "loc": { "start": { "line": 227, "column": 35 }, "end": { "line": 227, "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": 7125, "end": 7128, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 7129, "end": 7140, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7141, "end": 7142, "loc": { "start": { "line": 228, "column": 20 }, "end": { "line": 228, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 7143, "end": 7150, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7150, "end": 7151, "loc": { "start": { "line": 228, "column": 29 }, "end": { "line": 228, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarString", "start": 7151, "end": 7164, "loc": { "start": { "line": 228, "column": 30 }, "end": { "line": 228, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7164, "end": 7165, "loc": { "start": { "line": 228, "column": 43 }, "end": { "line": 228, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7165, "end": 7166, "loc": { "start": { "line": 228, "column": 44 }, "end": { "line": 228, "column": 45 } } }, { "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": 7171, "end": 7174, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7175, "end": 7185, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7186, "end": 7187, "loc": { "start": { "line": 229, "column": 19 }, "end": { "line": 229, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7188, "end": 7192, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7192, "end": 7193, "loc": { "start": { "line": 229, "column": 25 }, "end": { "line": 229, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 7193, "end": 7204, "loc": { "start": { "line": 229, "column": 26 }, "end": { "line": 229, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7204, "end": 7205, "loc": { "start": { "line": 229, "column": 37 }, "end": { "line": 229, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 7205, "end": 7208, "loc": { "start": { "line": 229, "column": 38 }, "end": { "line": 229, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7208, "end": 7209, "loc": { "start": { "line": 229, "column": 41 }, "end": { "line": 229, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 7209, "end": 7215, "loc": { "start": { "line": 229, "column": 42 }, "end": { "line": 229, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7215, "end": 7216, "loc": { "start": { "line": 229, "column": 48 }, "end": { "line": 229, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7221, "end": 7225, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7225, "end": 7226, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7226, "end": 7229, "loc": { "start": { "line": 230, "column": 9 }, "end": { "line": 230, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7229, "end": 7230, "loc": { "start": { "line": 230, "column": 12 }, "end": { "line": 230, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "User%s from User%s: Receive '%s'", "start": 7230, "end": 7266, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7266, "end": 7267, "loc": { "start": { "line": 230, "column": 49 }, "end": { "line": 230, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 7268, "end": 7274, "loc": { "start": { "line": 230, "column": 51 }, "end": { "line": 230, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7274, "end": 7275, "loc": { "start": { "line": 230, "column": 57 }, "end": { "line": 230, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 7276, "end": 7282, "loc": { "start": { "line": 230, "column": 59 }, "end": { "line": 230, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7282, "end": 7283, "loc": { "start": { "line": 230, "column": 65 }, "end": { "line": 230, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 7284, "end": 7295, "loc": { "start": { "line": 230, "column": 67 }, "end": { "line": 230, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7295, "end": 7296, "loc": { "start": { "line": 230, "column": 78 }, "end": { "line": 230, "column": 79 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7301, "end": 7305, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7305, "end": 7306, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logMessage", "start": 7306, "end": 7316, "loc": { "start": { "line": 231, "column": 9 }, "end": { "line": 231, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7316, "end": 7317, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "User%s from User%s: Receive %Y", "start": 7317, "end": 7349, "loc": { "start": { "line": 231, "column": 20 }, "end": { "line": 231, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7349, "end": 7350, "loc": { "start": { "line": 231, "column": 52 }, "end": { "line": 231, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 7351, "end": 7357, "loc": { "start": { "line": 231, "column": 54 }, "end": { "line": 231, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7357, "end": 7358, "loc": { "start": { "line": 231, "column": 60 }, "end": { "line": 231, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 7359, "end": 7365, "loc": { "start": { "line": 231, "column": 62 }, "end": { "line": 231, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7365, "end": 7366, "loc": { "start": { "line": 231, "column": 68 }, "end": { "line": 231, "column": 69 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7367, "end": 7368, "loc": { "start": { "line": 231, "column": 70 }, "end": { "line": 231, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 7368, "end": 7369, "loc": { "start": { "line": 231, "column": 71 }, "end": { "line": 231, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7369, "end": 7370, "loc": { "start": { "line": 231, "column": 72 }, "end": { "line": 231, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffer", "start": 7371, "end": 7377, "loc": { "start": { "line": 231, "column": 74 }, "end": { "line": 231, "column": 80 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7377, "end": 7378, "loc": { "start": { "line": 231, "column": 80 }, "end": { "line": 231, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7378, "end": 7379, "loc": { "start": { "line": 231, "column": 81 }, "end": { "line": 231, "column": 82 } } }, { "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": 7384, "end": 7386, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 232, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7387, "end": 7388, "loc": { "start": { "line": 232, "column": 7 }, "end": { "line": 232, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7388, "end": 7398, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 7399, "end": 7401, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 21 } } }, { "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": 7402, "end": 7406, "loc": { "start": { "line": 232, "column": 22 }, "end": { "line": 232, "column": 26 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7407, "end": 7409, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 29 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 7410, "end": 7411, "loc": { "start": { "line": 232, "column": 30 }, "end": { "line": 232, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 7411, "end": 7419, "loc": { "start": { "line": 232, "column": 31 }, "end": { "line": 232, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7419, "end": 7420, "loc": { "start": { "line": 232, "column": 39 }, "end": { "line": 232, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7421, "end": 7422, "loc": { "start": { "line": 232, "column": 41 }, "end": { "line": 232, "column": 42 } } }, { "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": 7429, "end": 7434, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 11 } } }, { "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": 7435, "end": 7438, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 7439, "end": 7444, "loc": { "start": { "line": 233, "column": 16 }, "end": { "line": 233, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7444, "end": 7445, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Received message from unknown peer!", "start": 7445, "end": 7482, "loc": { "start": { "line": 233, "column": 22 }, "end": { "line": 233, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7482, "end": 7483, "loc": { "start": { "line": 233, "column": 59 }, "end": { "line": 233, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7488, "end": 7489, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 5 } } }, { "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": 7494, "end": 7496, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7497, "end": 7498, "loc": { "start": { "line": 235, "column": 7 }, "end": { "line": 235, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 7498, "end": 7509, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7510, "end": 7513, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 23 } } }, { "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": 7514, "end": 7527, "loc": { "start": { "line": 235, "column": 24 }, "end": { "line": 235, "column": 37 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7528, "end": 7530, "loc": { "start": { "line": 235, "column": 38 }, "end": { "line": 235, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 7531, "end": 7542, "loc": { "start": { "line": 235, "column": 41 }, "end": { "line": 235, "column": 52 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7543, "end": 7546, "loc": { "start": { "line": 235, "column": 53 }, "end": { "line": 235, "column": 56 } } }, { "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": 7547, "end": 7560, "loc": { "start": { "line": 235, "column": 57 }, "end": { "line": 235, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7560, "end": 7561, "loc": { "start": { "line": 235, "column": 70 }, "end": { "line": 235, "column": 71 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7562, "end": 7563, "loc": { "start": { "line": 235, "column": 72 }, "end": { "line": 235, "column": 73 } } }, { "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": 7570, "end": 7573, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 7574, "end": 7578, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7579, "end": 7580, "loc": { "start": { "line": 236, "column": 15 }, "end": { "line": 236, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 7581, "end": 7588, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7588, "end": 7589, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readVarUint", "start": 7589, "end": 7600, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7600, "end": 7601, "loc": { "start": { "line": 236, "column": 36 }, "end": { "line": 236, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7601, "end": 7602, "loc": { "start": { "line": 236, "column": 37 }, "end": { "line": 236, "column": 38 } } }, { "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": 7609, "end": 7611, "loc": { "start": { "line": 237, "column": 6 }, "end": { "line": 237, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7612, "end": 7613, "loc": { "start": { "line": 237, "column": 9 }, "end": { "line": 237, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7613, "end": 7623, "loc": { "start": { "line": 237, "column": 10 }, "end": { "line": 237, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7623, "end": 7624, "loc": { "start": { "line": 237, "column": 20 }, "end": { "line": 237, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 7624, "end": 7628, "loc": { "start": { "line": 237, "column": 21 }, "end": { "line": 237, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 7629, "end": 7631, "loc": { "start": { "line": 237, "column": 26 }, "end": { "line": 237, "column": 28 } } }, { "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": 7632, "end": 7636, "loc": { "start": { "line": 237, "column": 29 }, "end": { "line": 237, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7636, "end": 7637, "loc": { "start": { "line": 237, "column": 33 }, "end": { "line": 237, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7638, "end": 7639, "loc": { "start": { "line": 237, "column": 35 }, "end": { "line": 237, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7648, "end": 7658, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7658, "end": 7659, "loc": { "start": { "line": 238, "column": 18 }, "end": { "line": 238, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterAuth", "start": 7659, "end": 7675, "loc": { "start": { "line": 238, "column": 19 }, "end": { "line": 238, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7675, "end": 7676, "loc": { "start": { "line": 238, "column": 35 }, "end": { "line": 238, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 7676, "end": 7680, "loc": { "start": { "line": 238, "column": 36 }, "end": { "line": 238, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7680, "end": 7681, "loc": { "start": { "line": 238, "column": 40 }, "end": { "line": 238, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7681, "end": 7682, "loc": { "start": { "line": 238, "column": 41 }, "end": { "line": 238, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 7682, "end": 7693, "loc": { "start": { "line": 238, "column": 42 }, "end": { "line": 238, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7693, "end": 7694, "loc": { "start": { "line": 238, "column": 53 }, "end": { "line": 238, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7695, "end": 7705, "loc": { "start": { "line": 238, "column": 55 }, "end": { "line": 238, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7705, "end": 7706, "loc": { "start": { "line": 238, "column": 65 }, "end": { "line": 238, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 7707, "end": 7714, "loc": { "start": { "line": 238, "column": 67 }, "end": { "line": 238, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7714, "end": 7715, "loc": { "start": { "line": 238, "column": 74 }, "end": { "line": 238, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 7716, "end": 7723, "loc": { "start": { "line": 238, "column": 76 }, "end": { "line": 238, "column": 83 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7723, "end": 7724, "loc": { "start": { "line": 238, "column": 83 }, "end": { "line": 238, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 7725, "end": 7731, "loc": { "start": { "line": 238, "column": 85 }, "end": { "line": 238, "column": 91 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7731, "end": 7732, "loc": { "start": { "line": 238, "column": 91 }, "end": { "line": 238, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7732, "end": 7733, "loc": { "start": { "line": 238, "column": 92 }, "end": { "line": 238, "column": 93 } } }, { "type": "CommentLine", "value": " check auth", "start": 7742, "end": 7755, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 21 } } }, { "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": 7764, "end": 7770, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7771, "end": 7775, "loc": { "start": { "line": 240, "column": 15 }, "end": { "line": 240, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7775, "end": 7776, "loc": { "start": { "line": 240, "column": 19 }, "end": { "line": 240, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkAuth", "start": 7776, "end": 7785, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7785, "end": 7786, "loc": { "start": { "line": 240, "column": 29 }, "end": { "line": 240, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 7786, "end": 7790, "loc": { "start": { "line": 240, "column": 30 }, "end": { "line": 240, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7790, "end": 7791, "loc": { "start": { "line": 240, "column": 34 }, "end": { "line": 240, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 7792, "end": 7793, "loc": { "start": { "line": 240, "column": 36 }, "end": { "line": 240, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7793, "end": 7794, "loc": { "start": { "line": 240, "column": 37 }, "end": { "line": 240, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 7795, "end": 7801, "loc": { "start": { "line": 240, "column": 39 }, "end": { "line": 240, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7801, "end": 7802, "loc": { "start": { "line": 240, "column": 45 }, "end": { "line": 240, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7802, "end": 7803, "loc": { "start": { "line": 240, "column": 46 }, "end": { "line": 240, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 7803, "end": 7807, "loc": { "start": { "line": 240, "column": 47 }, "end": { "line": 240, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7807, "end": 7808, "loc": { "start": { "line": 240, "column": 51 }, "end": { "line": 240, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "authPermissions", "start": 7808, "end": 7823, "loc": { "start": { "line": 240, "column": 52 }, "end": { "line": 240, "column": 67 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7824, "end": 7826, "loc": { "start": { "line": 240, "column": 68 }, "end": { "line": 240, "column": 70 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7827, "end": 7828, "loc": { "start": { "line": 240, "column": 71 }, "end": { "line": 240, "column": 72 } } }, { "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": 7839, "end": 7841, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7842, "end": 7843, "loc": { "start": { "line": 241, "column": 13 }, "end": { "line": 241, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7843, "end": 7853, "loc": { "start": { "line": 241, "column": 14 }, "end": { "line": 241, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7853, "end": 7854, "loc": { "start": { "line": 241, "column": 24 }, "end": { "line": 241, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 7854, "end": 7858, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 7859, "end": 7861, "loc": { "start": { "line": 241, "column": 30 }, "end": { "line": 241, "column": 32 } } }, { "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": 7862, "end": 7866, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7866, "end": 7867, "loc": { "start": { "line": 241, "column": 37 }, "end": { "line": 241, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7868, "end": 7869, "loc": { "start": { "line": 241, "column": 39 }, "end": { "line": 241, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7882, "end": 7892, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7892, "end": 7893, "loc": { "start": { "line": 242, "column": 22 }, "end": { "line": 242, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 7893, "end": 7897, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7898, "end": 7899, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "authPermissions", "start": 7900, "end": 7915, "loc": { "start": { "line": 242, "column": 30 }, "end": { "line": 242, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 7928, "end": 7929, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 243, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7929, "end": 7930, "loc": { "start": { "line": 243, "column": 13 }, "end": { "line": 243, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 7930, "end": 7934, "loc": { "start": { "line": 243, "column": 14 }, "end": { "line": 243, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7934, "end": 7935, "loc": { "start": { "line": 243, "column": 18 }, "end": { "line": 243, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "userAuthenticated", "start": 7935, "end": 7954, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7954, "end": 7955, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7956, "end": 7957, "loc": { "start": { "line": 243, "column": 40 }, "end": { "line": 243, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 7972, "end": 7976, "loc": { "start": { "line": 244, "column": 14 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7976, "end": 7977, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 7978, "end": 7988, "loc": { "start": { "line": 244, "column": 20 }, "end": { "line": 244, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7988, "end": 7989, "loc": { "start": { "line": 244, "column": 30 }, "end": { "line": 244, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 7989, "end": 7992, "loc": { "start": { "line": 244, "column": 31 }, "end": { "line": 244, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7992, "end": 7993, "loc": { "start": { "line": 244, "column": 34 }, "end": { "line": 244, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 8008, "end": 8012, "loc": { "start": { "line": 245, "column": 14 }, "end": { "line": 245, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8012, "end": 8013, "loc": { "start": { "line": 245, "column": 18 }, "end": { "line": 245, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "authPermissions", "start": 8014, "end": 8029, "loc": { "start": { "line": 245, "column": 20 }, "end": { "line": 245, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8042, "end": 8043, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 246, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8043, "end": 8044, "loc": { "start": { "line": 246, "column": 13 }, "end": { "line": 246, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8055, "end": 8056, "loc": { "start": { "line": 247, "column": 10 }, "end": { "line": 247, "column": 11 } } }, { "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": 8067, "end": 8070, "loc": { "start": { "line": 248, "column": 10 }, "end": { "line": 248, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messages", "start": 8071, "end": 8079, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8080, "end": 8081, "loc": { "start": { "line": 248, "column": 23 }, "end": { "line": 248, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8082, "end": 8092, "loc": { "start": { "line": 248, "column": 25 }, "end": { "line": 248, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8092, "end": 8093, "loc": { "start": { "line": 248, "column": 35 }, "end": { "line": 248, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterAuth", "start": 8093, "end": 8109, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8120, "end": 8130, "loc": { "start": { "line": 249, "column": 10 }, "end": { "line": 249, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8130, "end": 8131, "loc": { "start": { "line": 249, "column": 20 }, "end": { "line": 249, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterAuth", "start": 8131, "end": 8147, "loc": { "start": { "line": 249, "column": 21 }, "end": { "line": 249, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8148, "end": 8149, "loc": { "start": { "line": 249, "column": 38 }, "end": { "line": 249, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8150, "end": 8151, "loc": { "start": { "line": 249, "column": 40 }, "end": { "line": 249, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8151, "end": 8152, "loc": { "start": { "line": 249, "column": 41 }, "end": { "line": 249, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messages", "start": 8164, "end": 8172, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8172, "end": 8173, "loc": { "start": { "line": 251, "column": 18 }, "end": { "line": 251, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 8173, "end": 8180, "loc": { "start": { "line": 251, "column": 19 }, "end": { "line": 251, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8180, "end": 8181, "loc": { "start": { "line": 251, "column": 26 }, "end": { "line": 251, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 8181, "end": 8182, "loc": { "start": { "line": 251, "column": 27 }, "end": { "line": 251, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8183, "end": 8185, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8198, "end": 8202, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8202, "end": 8203, "loc": { "start": { "line": 252, "column": 16 }, "end": { "line": 252, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeMessage", "start": 8203, "end": 8217, "loc": { "start": { "line": 252, "column": 17 }, "end": { "line": 252, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8217, "end": 8218, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 8218, "end": 8219, "loc": { "start": { "line": 252, "column": 32 }, "end": { "line": 252, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8219, "end": 8220, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8220, "end": 8221, "loc": { "start": { "line": 252, "column": 34 }, "end": { "line": 252, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8221, "end": 8222, "loc": { "start": { "line": 252, "column": 35 }, "end": { "line": 252, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8222, "end": 8223, "loc": { "start": { "line": 252, "column": 36 }, "end": { "line": 252, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 8224, "end": 8225, "loc": { "start": { "line": 252, "column": 38 }, "end": { "line": 252, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8225, "end": 8226, "loc": { "start": { "line": 252, "column": 39 }, "end": { "line": 252, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 8226, "end": 8227, "loc": { "start": { "line": 252, "column": 40 }, "end": { "line": 252, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8227, "end": 8228, "loc": { "start": { "line": 252, "column": 41 }, "end": { "line": 252, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8228, "end": 8229, "loc": { "start": { "line": 252, "column": 42 }, "end": { "line": 252, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 8230, "end": 8231, "loc": { "start": { "line": 252, "column": 44 }, "end": { "line": 252, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8231, "end": 8232, "loc": { "start": { "line": 252, "column": 45 }, "end": { "line": 252, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 8232, "end": 8233, "loc": { "start": { "line": 252, "column": 46 }, "end": { "line": 252, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8233, "end": 8234, "loc": { "start": { "line": 252, "column": 47 }, "end": { "line": 252, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8234, "end": 8235, "loc": { "start": { "line": 252, "column": 48 }, "end": { "line": 252, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 8236, "end": 8237, "loc": { "start": { "line": 252, "column": 50 }, "end": { "line": 252, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8237, "end": 8238, "loc": { "start": { "line": 252, "column": 51 }, "end": { "line": 252, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 8238, "end": 8239, "loc": { "start": { "line": 252, "column": 52 }, "end": { "line": 252, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8239, "end": 8240, "loc": { "start": { "line": 252, "column": 53 }, "end": { "line": 252, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8240, "end": 8241, "loc": { "start": { "line": 252, "column": 54 }, "end": { "line": 252, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 8242, "end": 8243, "loc": { "start": { "line": 252, "column": 56 }, "end": { "line": 252, "column": 57 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8243, "end": 8244, "loc": { "start": { "line": 252, "column": 57 }, "end": { "line": 252, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 8244, "end": 8245, "loc": { "start": { "line": 252, "column": 58 }, "end": { "line": 252, "column": 59 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8245, "end": 8246, "loc": { "start": { "line": 252, "column": 59 }, "end": { "line": 252, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8246, "end": 8247, "loc": { "start": { "line": 252, "column": 60 }, "end": { "line": 252, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8258, "end": 8259, "loc": { "start": { "line": 253, "column": 10 }, "end": { "line": 253, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8268, "end": 8269, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8269, "end": 8270, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8277, "end": 8278, "loc": { "start": { "line": 255, "column": 6 }, "end": { "line": 255, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8283, "end": 8284, "loc": { "start": { "line": 256, "column": 4 }, "end": { "line": 256, "column": 5 } } }, { "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": 8289, "end": 8291, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8292, "end": 8293, "loc": { "start": { "line": 257, "column": 7 }, "end": { "line": 257, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8293, "end": 8294, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 8294, "end": 8302, "loc": { "start": { "line": 257, "column": 9 }, "end": { "line": 257, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8303, "end": 8305, "loc": { "start": { "line": 257, "column": 18 }, "end": { "line": 257, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8306, "end": 8316, "loc": { "start": { "line": 257, "column": 21 }, "end": { "line": 257, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8316, "end": 8317, "loc": { "start": { "line": 257, "column": 31 }, "end": { "line": 257, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 8317, "end": 8321, "loc": { "start": { "line": 257, "column": 32 }, "end": { "line": 257, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 8322, "end": 8324, "loc": { "start": { "line": 257, "column": 37 }, "end": { "line": 257, "column": 39 } } }, { "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": 8325, "end": 8329, "loc": { "start": { "line": 257, "column": 40 }, "end": { "line": 257, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8329, "end": 8330, "loc": { "start": { "line": 257, "column": 44 }, "end": { "line": 257, "column": 45 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8331, "end": 8333, "loc": { "start": { "line": 257, "column": 46 }, "end": { "line": 257, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8334, "end": 8335, "loc": { "start": { "line": 257, "column": 49 }, "end": { "line": 257, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 8335, "end": 8346, "loc": { "start": { "line": 257, "column": 50 }, "end": { "line": 257, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 8347, "end": 8350, "loc": { "start": { "line": 257, "column": 62 }, "end": { "line": 257, "column": 65 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "update", "start": 8351, "end": 8359, "loc": { "start": { "line": 257, "column": 66 }, "end": { "line": 257, "column": 74 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8360, "end": 8362, "loc": { "start": { "line": 257, "column": 75 }, "end": { "line": 257, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8363, "end": 8373, "loc": { "start": { "line": 257, "column": 78 }, "end": { "line": 257, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8373, "end": 8374, "loc": { "start": { "line": 257, "column": 88 }, "end": { "line": 257, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 8374, "end": 8382, "loc": { "start": { "line": 257, "column": 89 }, "end": { "line": 257, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8382, "end": 8383, "loc": { "start": { "line": 257, "column": 97 }, "end": { "line": 257, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8383, "end": 8384, "loc": { "start": { "line": 257, "column": 98 }, "end": { "line": 257, "column": 99 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8385, "end": 8386, "loc": { "start": { "line": 257, "column": 100 }, "end": { "line": 257, "column": 101 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8393, "end": 8397, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8397, "end": 8398, "loc": { "start": { "line": 258, "column": 10 }, "end": { "line": 258, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeMessage", "start": 8398, "end": 8412, "loc": { "start": { "line": 258, "column": 11 }, "end": { "line": 258, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8412, "end": 8413, "loc": { "start": { "line": 258, "column": 25 }, "end": { "line": 258, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 8413, "end": 8424, "loc": { "start": { "line": 258, "column": 26 }, "end": { "line": 258, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8424, "end": 8425, "loc": { "start": { "line": 258, "column": 37 }, "end": { "line": 258, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8426, "end": 8436, "loc": { "start": { "line": 258, "column": 39 }, "end": { "line": 258, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8436, "end": 8437, "loc": { "start": { "line": 258, "column": 49 }, "end": { "line": 258, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 8438, "end": 8445, "loc": { "start": { "line": 258, "column": 51 }, "end": { "line": 258, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8445, "end": 8446, "loc": { "start": { "line": 258, "column": 58 }, "end": { "line": 258, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 8447, "end": 8454, "loc": { "start": { "line": 258, "column": 60 }, "end": { "line": 258, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8454, "end": 8455, "loc": { "start": { "line": 258, "column": 67 }, "end": { "line": 258, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 8456, "end": 8462, "loc": { "start": { "line": 258, "column": 69 }, "end": { "line": 258, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8462, "end": 8463, "loc": { "start": { "line": 258, "column": 75 }, "end": { "line": 258, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 8464, "end": 8472, "loc": { "start": { "line": 258, "column": 77 }, "end": { "line": 258, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8472, "end": 8473, "loc": { "start": { "line": 258, "column": 85 }, "end": { "line": 258, "column": 86 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8478, "end": 8479, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 259, "column": 5 } } }, { "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": 8480, "end": 8484, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8485, "end": 8486, "loc": { "start": { "line": 259, "column": 11 }, "end": { "line": 259, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8493, "end": 8503, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8503, "end": 8504, "loc": { "start": { "line": 260, "column": 16 }, "end": { "line": 260, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterSync", "start": 8504, "end": 8520, "loc": { "start": { "line": 260, "column": 17 }, "end": { "line": 260, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8520, "end": 8521, "loc": { "start": { "line": 260, "column": 33 }, "end": { "line": 260, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 8521, "end": 8525, "loc": { "start": { "line": 260, "column": 34 }, "end": { "line": 260, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8525, "end": 8526, "loc": { "start": { "line": 260, "column": 38 }, "end": { "line": 260, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8526, "end": 8527, "loc": { "start": { "line": 260, "column": 39 }, "end": { "line": 260, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 8527, "end": 8538, "loc": { "start": { "line": 260, "column": 40 }, "end": { "line": 260, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8538, "end": 8539, "loc": { "start": { "line": 260, "column": 51 }, "end": { "line": 260, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8540, "end": 8550, "loc": { "start": { "line": 260, "column": 53 }, "end": { "line": 260, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8550, "end": 8551, "loc": { "start": { "line": 260, "column": 63 }, "end": { "line": 260, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 8552, "end": 8559, "loc": { "start": { "line": 260, "column": 65 }, "end": { "line": 260, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8559, "end": 8560, "loc": { "start": { "line": 260, "column": 72 }, "end": { "line": 260, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 8561, "end": 8568, "loc": { "start": { "line": 260, "column": 74 }, "end": { "line": 260, "column": 81 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8568, "end": 8569, "loc": { "start": { "line": 260, "column": 81 }, "end": { "line": 260, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 8570, "end": 8576, "loc": { "start": { "line": 260, "column": 83 }, "end": { "line": 260, "column": 89 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8576, "end": 8577, "loc": { "start": { "line": 260, "column": 89 }, "end": { "line": 260, "column": 90 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 8578, "end": 8583, "loc": { "start": { "line": 260, "column": 91 }, "end": { "line": 260, "column": 96 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8583, "end": 8584, "loc": { "start": { "line": 260, "column": 96 }, "end": { "line": 260, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8584, "end": 8585, "loc": { "start": { "line": 260, "column": 97 }, "end": { "line": 260, "column": 98 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8590, "end": 8591, "loc": { "start": { "line": 261, "column": 4 }, "end": { "line": 261, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8594, "end": 8595, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 262, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeMessage", "start": 8599, "end": 8613, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8614, "end": 8615, "loc": { "start": { "line": 264, "column": 17 }, "end": { "line": 264, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 8615, "end": 8626, "loc": { "start": { "line": 264, "column": 18 }, "end": { "line": 264, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8626, "end": 8627, "loc": { "start": { "line": 264, "column": 29 }, "end": { "line": 264, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8628, "end": 8638, "loc": { "start": { "line": 264, "column": 31 }, "end": { "line": 264, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8638, "end": 8639, "loc": { "start": { "line": 264, "column": 41 }, "end": { "line": 264, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 8640, "end": 8647, "loc": { "start": { "line": 264, "column": 43 }, "end": { "line": 264, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8647, "end": 8648, "loc": { "start": { "line": 264, "column": 50 }, "end": { "line": 264, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 8649, "end": 8656, "loc": { "start": { "line": 264, "column": 52 }, "end": { "line": 264, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8656, "end": 8657, "loc": { "start": { "line": 264, "column": 59 }, "end": { "line": 264, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 8658, "end": 8664, "loc": { "start": { "line": 264, "column": 61 }, "end": { "line": 264, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8664, "end": 8665, "loc": { "start": { "line": 264, "column": 67 }, "end": { "line": 264, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 8666, "end": 8674, "loc": { "start": { "line": 264, "column": 69 }, "end": { "line": 264, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8674, "end": 8675, "loc": { "start": { "line": 264, "column": 77 }, "end": { "line": 264, "column": 78 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8676, "end": 8677, "loc": { "start": { "line": 264, "column": 79 }, "end": { "line": 264, "column": 80 } } }, { "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": 8682, "end": 8684, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8685, "end": 8686, "loc": { "start": { "line": 265, "column": 7 }, "end": { "line": 265, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 8686, "end": 8697, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8698, "end": 8701, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 23 } } }, { "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": 8702, "end": 8715, "loc": { "start": { "line": 265, "column": 24 }, "end": { "line": 265, "column": 37 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8716, "end": 8718, "loc": { "start": { "line": 265, "column": 38 }, "end": { "line": 265, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8719, "end": 8720, "loc": { "start": { "line": 265, "column": 41 }, "end": { "line": 265, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8720, "end": 8730, "loc": { "start": { "line": 265, "column": 42 }, "end": { "line": 265, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8730, "end": 8731, "loc": { "start": { "line": 265, "column": 52 }, "end": { "line": 265, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 8731, "end": 8735, "loc": { "start": { "line": 265, "column": 53 }, "end": { "line": 265, "column": 57 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8736, "end": 8739, "loc": { "start": { "line": 265, "column": 58 }, "end": { "line": 265, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "write", "start": 8740, "end": 8747, "loc": { "start": { "line": 265, "column": 62 }, "end": { "line": 265, "column": 69 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8748, "end": 8750, "loc": { "start": { "line": 265, "column": 70 }, "end": { "line": 265, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8751, "end": 8761, "loc": { "start": { "line": 265, "column": 73 }, "end": { "line": 265, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8761, "end": 8762, "loc": { "start": { "line": 265, "column": 83 }, "end": { "line": 265, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 8762, "end": 8766, "loc": { "start": { "line": 265, "column": 84 }, "end": { "line": 265, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8767, "end": 8770, "loc": { "start": { "line": 265, "column": 89 }, "end": { "line": 265, "column": 92 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "read", "start": 8771, "end": 8777, "loc": { "start": { "line": 265, "column": 93 }, "end": { "line": 265, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8777, "end": 8778, "loc": { "start": { "line": 265, "column": 99 }, "end": { "line": 265, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8778, "end": 8779, "loc": { "start": { "line": 265, "column": 100 }, "end": { "line": 265, "column": 101 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8780, "end": 8781, "loc": { "start": { "line": 265, "column": 102 }, "end": { "line": 265, "column": 103 } } }, { "type": "CommentLine", "value": " cannot wait for sync step 1 to finish, because we may wait for sync step 2 in sync step 1 (->lock)", "start": 8788, "end": 8889, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 107 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readSyncStep1", "start": 8896, "end": 8909, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8909, "end": 8910, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 8910, "end": 8917, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8917, "end": 8918, "loc": { "start": { "line": 267, "column": 27 }, "end": { "line": 267, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 8919, "end": 8926, "loc": { "start": { "line": 267, "column": 29 }, "end": { "line": 267, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8926, "end": 8927, "loc": { "start": { "line": 267, "column": 36 }, "end": { "line": 267, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8928, "end": 8932, "loc": { "start": { "line": 267, "column": 38 }, "end": { "line": 267, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8932, "end": 8933, "loc": { "start": { "line": 267, "column": 42 }, "end": { "line": 267, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8933, "end": 8934, "loc": { "start": { "line": 267, "column": 43 }, "end": { "line": 267, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8934, "end": 8935, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 8936, "end": 8946, "loc": { "start": { "line": 267, "column": 46 }, "end": { "line": 267, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8946, "end": 8947, "loc": { "start": { "line": 267, "column": 56 }, "end": { "line": 267, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 8948, "end": 8954, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8954, "end": 8955, "loc": { "start": { "line": 267, "column": 64 }, "end": { "line": 267, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8960, "end": 8961, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 5 } } }, { "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": 8962, "end": 8966, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8967, "end": 8968, "loc": { "start": { "line": 268, "column": 11 }, "end": { "line": 268, "column": 12 } } }, { "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": 8975, "end": 8980, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8981, "end": 8982, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8983, "end": 8984, "loc": { "start": { "line": 269, "column": 14 }, "end": { "line": 269, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8985, "end": 8989, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8989, "end": 8990, "loc": { "start": { "line": 269, "column": 20 }, "end": { "line": 269, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8990, "end": 8991, "loc": { "start": { "line": 269, "column": 21 }, "end": { "line": 269, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8998, "end": 8999, "loc": { "start": { "line": 270, "column": 6 }, "end": { "line": 270, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8999, "end": 9000, "loc": { "start": { "line": 270, "column": 7 }, "end": { "line": 270, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transact", "start": 9000, "end": 9008, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9008, "end": 9009, "loc": { "start": { "line": 270, "column": 16 }, "end": { "line": 270, "column": 17 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9009, "end": 9017, "loc": { "start": { "line": 270, "column": 17 }, "end": { "line": 270, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9018, "end": 9019, "loc": { "start": { "line": 270, "column": 26 }, "end": { "line": 270, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9019, "end": 9020, "loc": { "start": { "line": 270, "column": 27 }, "end": { "line": 270, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9021, "end": 9022, "loc": { "start": { "line": 270, "column": 29 }, "end": { "line": 270, "column": 30 } } }, { "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": 9031, "end": 9033, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9034, "end": 9035, "loc": { "start": { "line": 271, "column": 11 }, "end": { "line": 271, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 9035, "end": 9046, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 271, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9047, "end": 9050, "loc": { "start": { "line": 271, "column": 24 }, "end": { "line": 271, "column": 27 } } }, { "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": 9051, "end": 9064, "loc": { "start": { "line": 271, "column": 28 }, "end": { "line": 271, "column": 41 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9065, "end": 9067, "loc": { "start": { "line": 271, "column": 42 }, "end": { "line": 271, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 9068, "end": 9078, "loc": { "start": { "line": 271, "column": 45 }, "end": { "line": 271, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9078, "end": 9079, "loc": { "start": { "line": 271, "column": 55 }, "end": { "line": 271, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 9079, "end": 9083, "loc": { "start": { "line": 271, "column": 56 }, "end": { "line": 271, "column": 60 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9084, "end": 9087, "loc": { "start": { "line": 271, "column": 61 }, "end": { "line": 271, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "write", "start": 9088, "end": 9095, "loc": { "start": { "line": 271, "column": 65 }, "end": { "line": 271, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9095, "end": 9096, "loc": { "start": { "line": 271, "column": 72 }, "end": { "line": 271, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9097, "end": 9098, "loc": { "start": { "line": 271, "column": 74 }, "end": { "line": 271, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readSyncStep2", "start": 9109, "end": 9122, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9122, "end": 9123, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 272, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 9123, "end": 9130, "loc": { "start": { "line": 272, "column": 24 }, "end": { "line": 272, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9130, "end": 9131, "loc": { "start": { "line": 272, "column": 31 }, "end": { "line": 272, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 9132, "end": 9139, "loc": { "start": { "line": 272, "column": 33 }, "end": { "line": 272, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9139, "end": 9140, "loc": { "start": { "line": 272, "column": 40 }, "end": { "line": 272, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 9141, "end": 9142, "loc": { "start": { "line": 272, "column": 42 }, "end": { "line": 272, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9142, "end": 9143, "loc": { "start": { "line": 272, "column": 43 }, "end": { "line": 272, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 9144, "end": 9154, "loc": { "start": { "line": 272, "column": 45 }, "end": { "line": 272, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9154, "end": 9155, "loc": { "start": { "line": 272, "column": 55 }, "end": { "line": 272, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 9156, "end": 9162, "loc": { "start": { "line": 272, "column": 57 }, "end": { "line": 272, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9162, "end": 9163, "loc": { "start": { "line": 272, "column": 63 }, "end": { "line": 272, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9172, "end": 9173, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 9 } } }, { "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": 9174, "end": 9178, "loc": { "start": { "line": 273, "column": 10 }, "end": { "line": 273, "column": 14 } } }, { "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": 9179, "end": 9181, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9182, "end": 9183, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messageType", "start": 9183, "end": 9194, "loc": { "start": { "line": 273, "column": 19 }, "end": { "line": 273, "column": 30 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9195, "end": 9198, "loc": { "start": { "line": 273, "column": 31 }, "end": { "line": 273, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "update", "start": 9199, "end": 9207, "loc": { "start": { "line": 273, "column": 35 }, "end": { "line": 273, "column": 43 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9208, "end": 9210, "loc": { "start": { "line": 273, "column": 44 }, "end": { "line": 273, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9211, "end": 9212, "loc": { "start": { "line": 273, "column": 47 }, "end": { "line": 273, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "skipAuth", "start": 9212, "end": 9220, "loc": { "start": { "line": 273, "column": 48 }, "end": { "line": 273, "column": 56 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9221, "end": 9223, "loc": { "start": { "line": 273, "column": 57 }, "end": { "line": 273, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "senderConn", "start": 9224, "end": 9234, "loc": { "start": { "line": 273, "column": 60 }, "end": { "line": 273, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9234, "end": 9235, "loc": { "start": { "line": 273, "column": 70 }, "end": { "line": 273, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "auth", "start": 9235, "end": 9239, "loc": { "start": { "line": 273, "column": 71 }, "end": { "line": 273, "column": 75 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9240, "end": 9243, "loc": { "start": { "line": 273, "column": 76 }, "end": { "line": 273, "column": 79 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "write", "start": 9244, "end": 9251, "loc": { "start": { "line": 273, "column": 80 }, "end": { "line": 273, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9251, "end": 9252, "loc": { "start": { "line": 273, "column": 87 }, "end": { "line": 273, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9252, "end": 9253, "loc": { "start": { "line": 273, "column": 88 }, "end": { "line": 273, "column": 89 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9254, "end": 9255, "loc": { "start": { "line": 273, "column": 90 }, "end": { "line": 273, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "integrateRemoteStructs", "start": 9266, "end": 9288, "loc": { "start": { "line": 274, "column": 10 }, "end": { "line": 274, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9288, "end": 9289, "loc": { "start": { "line": 274, "column": 32 }, "end": { "line": 274, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 9289, "end": 9290, "loc": { "start": { "line": 274, "column": 33 }, "end": { "line": 274, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9290, "end": 9291, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 274, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 9292, "end": 9299, "loc": { "start": { "line": 274, "column": 36 }, "end": { "line": 274, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9299, "end": 9300, "loc": { "start": { "line": 274, "column": 43 }, "end": { "line": 274, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9309, "end": 9310, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 9 } } }, { "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": 9311, "end": 9315, "loc": { "start": { "line": 275, "column": 10 }, "end": { "line": 275, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9316, "end": 9317, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 275, "column": 16 } } }, { "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": 9328, "end": 9333, "loc": { "start": { "line": 276, "column": 10 }, "end": { "line": 276, "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": 9334, "end": 9337, "loc": { "start": { "line": 276, "column": 16 }, "end": { "line": 276, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 9338, "end": 9343, "loc": { "start": { "line": 276, "column": 20 }, "end": { "line": 276, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9343, "end": 9344, "loc": { "start": { "line": 276, "column": 25 }, "end": { "line": 276, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unable to receive message", "start": 9344, "end": 9371, "loc": { "start": { "line": 276, "column": 26 }, "end": { "line": 276, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9371, "end": 9372, "loc": { "start": { "line": 276, "column": 53 }, "end": { "line": 276, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9381, "end": 9382, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9389, "end": 9390, "loc": { "start": { "line": 278, "column": 6 }, "end": { "line": 278, "column": 7 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9390, "end": 9391, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 8 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9392, "end": 9396, "loc": { "start": { "line": 278, "column": 9 }, "end": { "line": 278, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9396, "end": 9397, "loc": { "start": { "line": 278, "column": 13 }, "end": { "line": 278, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9402, "end": 9403, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 279, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9406, "end": 9407, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 280, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_setSyncedWith", "start": 9411, "end": 9425, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 282, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9426, "end": 9427, "loc": { "start": { "line": 282, "column": 17 }, "end": { "line": 282, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 9427, "end": 9431, "loc": { "start": { "line": 282, "column": 18 }, "end": { "line": 282, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9431, "end": 9432, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9433, "end": 9434, "loc": { "start": { "line": 282, "column": 24 }, "end": { "line": 282, "column": 25 } } }, { "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": 9439, "end": 9441, "loc": { "start": { "line": 283, "column": 4 }, "end": { "line": 283, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9442, "end": 9443, "loc": { "start": { "line": 283, "column": 7 }, "end": { "line": 283, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 9443, "end": 9447, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 12 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 9448, "end": 9450, "loc": { "start": { "line": 283, "column": 13 }, "end": { "line": 283, "column": 15 } } }, { "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": 9451, "end": 9455, "loc": { "start": { "line": 283, "column": 16 }, "end": { "line": 283, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9455, "end": 9456, "loc": { "start": { "line": 283, "column": 20 }, "end": { "line": 283, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9457, "end": 9458, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 23 } } }, { "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": 9465, "end": 9470, "loc": { "start": { "line": 284, "column": 6 }, "end": { "line": 284, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userConn", "start": 9471, "end": 9479, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9480, "end": 9481, "loc": { "start": { "line": 284, "column": 21 }, "end": { "line": 284, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9482, "end": 9486, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9486, "end": 9487, "loc": { "start": { "line": 284, "column": 27 }, "end": { "line": 284, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 9487, "end": 9498, "loc": { "start": { "line": 284, "column": 28 }, "end": { "line": 284, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9498, "end": 9499, "loc": { "start": { "line": 284, "column": 39 }, "end": { "line": 284, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 9499, "end": 9502, "loc": { "start": { "line": 284, "column": 40 }, "end": { "line": 284, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9502, "end": 9503, "loc": { "start": { "line": 284, "column": 43 }, "end": { "line": 284, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 9503, "end": 9507, "loc": { "start": { "line": 284, "column": 44 }, "end": { "line": 284, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9507, "end": 9508, "loc": { "start": { "line": 284, "column": 48 }, "end": { "line": 284, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userConn", "start": 9515, "end": 9523, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 285, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9523, "end": 9524, "loc": { "start": { "line": 285, "column": 14 }, "end": { "line": 285, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 9524, "end": 9532, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9533, "end": 9534, "loc": { "start": { "line": 285, "column": 24 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9535, "end": 9539, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "column": 30 } } }, { "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": 9546, "end": 9551, "loc": { "start": { "line": 286, "column": 6 }, "end": { "line": 286, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messages", "start": 9552, "end": 9560, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9561, "end": 9562, "loc": { "start": { "line": 286, "column": 21 }, "end": { "line": 286, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userConn", "start": 9563, "end": 9571, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9571, "end": 9572, "loc": { "start": { "line": 286, "column": 31 }, "end": { "line": 286, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterSync", "start": 9572, "end": 9588, "loc": { "start": { "line": 286, "column": 32 }, "end": { "line": 286, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userConn", "start": 9595, "end": 9603, "loc": { "start": { "line": 287, "column": 6 }, "end": { "line": 287, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9603, "end": 9604, "loc": { "start": { "line": 287, "column": 14 }, "end": { "line": 287, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processAfterSync", "start": 9604, "end": 9620, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9621, "end": 9622, "loc": { "start": { "line": 287, "column": 32 }, "end": { "line": 287, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9623, "end": 9624, "loc": { "start": { "line": 287, "column": 34 }, "end": { "line": 287, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9624, "end": 9625, "loc": { "start": { "line": 287, "column": 35 }, "end": { "line": 287, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "messages", "start": 9632, "end": 9640, "loc": { "start": { "line": 288, "column": 6 }, "end": { "line": 288, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9640, "end": 9641, "loc": { "start": { "line": 288, "column": 14 }, "end": { "line": 288, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 9641, "end": 9648, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9648, "end": 9649, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 9649, "end": 9650, "loc": { "start": { "line": 288, "column": 23 }, "end": { "line": 288, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9651, "end": 9653, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9654, "end": 9655, "loc": { "start": { "line": 288, "column": 28 }, "end": { "line": 288, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9664, "end": 9668, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9668, "end": 9669, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeMessage", "start": 9669, "end": 9683, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9683, "end": 9684, "loc": { "start": { "line": 289, "column": 27 }, "end": { "line": 289, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 9684, "end": 9685, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9685, "end": 9686, "loc": { "start": { "line": 289, "column": 29 }, "end": { "line": 289, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9686, "end": 9687, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9687, "end": 9688, "loc": { "start": { "line": 289, "column": 31 }, "end": { "line": 289, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9688, "end": 9689, "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 9690, "end": 9691, "loc": { "start": { "line": 289, "column": 34 }, "end": { "line": 289, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9691, "end": 9692, "loc": { "start": { "line": 289, "column": 35 }, "end": { "line": 289, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 9692, "end": 9693, "loc": { "start": { "line": 289, "column": 36 }, "end": { "line": 289, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9693, "end": 9694, "loc": { "start": { "line": 289, "column": 37 }, "end": { "line": 289, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9694, "end": 9695, "loc": { "start": { "line": 289, "column": 38 }, "end": { "line": 289, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 9696, "end": 9697, "loc": { "start": { "line": 289, "column": 40 }, "end": { "line": 289, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9697, "end": 9698, "loc": { "start": { "line": 289, "column": 41 }, "end": { "line": 289, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 9698, "end": 9699, "loc": { "start": { "line": 289, "column": 42 }, "end": { "line": 289, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9699, "end": 9700, "loc": { "start": { "line": 289, "column": 43 }, "end": { "line": 289, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9700, "end": 9701, "loc": { "start": { "line": 289, "column": 44 }, "end": { "line": 289, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 9702, "end": 9703, "loc": { "start": { "line": 289, "column": 46 }, "end": { "line": 289, "column": 47 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9703, "end": 9704, "loc": { "start": { "line": 289, "column": 47 }, "end": { "line": 289, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 9704, "end": 9705, "loc": { "start": { "line": 289, "column": 48 }, "end": { "line": 289, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9705, "end": 9706, "loc": { "start": { "line": 289, "column": 49 }, "end": { "line": 289, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9706, "end": 9707, "loc": { "start": { "line": 289, "column": 50 }, "end": { "line": 289, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 9708, "end": 9709, "loc": { "start": { "line": 289, "column": 52 }, "end": { "line": 289, "column": 53 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9709, "end": 9710, "loc": { "start": { "line": 289, "column": 53 }, "end": { "line": 289, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 9710, "end": 9711, "loc": { "start": { "line": 289, "column": 54 }, "end": { "line": 289, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9711, "end": 9712, "loc": { "start": { "line": 289, "column": 55 }, "end": { "line": 289, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9712, "end": 9713, "loc": { "start": { "line": 289, "column": 56 }, "end": { "line": 289, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9720, "end": 9721, "loc": { "start": { "line": 290, "column": 6 }, "end": { "line": 290, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9721, "end": 9722, "loc": { "start": { "line": 290, "column": 7 }, "end": { "line": 290, "column": 8 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9727, "end": 9728, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 291, "column": 5 } } }, { "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": 9733, "end": 9738, "loc": { "start": { "line": 292, "column": 4 }, "end": { "line": 292, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "conns", "start": 9739, "end": 9744, "loc": { "start": { "line": 292, "column": 10 }, "end": { "line": 292, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9745, "end": 9746, "loc": { "start": { "line": 292, "column": 16 }, "end": { "line": 292, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 9747, "end": 9752, "loc": { "start": { "line": 292, "column": 18 }, "end": { "line": 292, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9752, "end": 9753, "loc": { "start": { "line": 292, "column": 23 }, "end": { "line": 292, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 9753, "end": 9757, "loc": { "start": { "line": 292, "column": 24 }, "end": { "line": 292, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9757, "end": 9758, "loc": { "start": { "line": 292, "column": 28 }, "end": { "line": 292, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9758, "end": 9762, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9762, "end": 9763, "loc": { "start": { "line": 292, "column": 33 }, "end": { "line": 292, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connections", "start": 9763, "end": 9774, "loc": { "start": { "line": 292, "column": 34 }, "end": { "line": 292, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9774, "end": 9775, "loc": { "start": { "line": 292, "column": 45 }, "end": { "line": 292, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "values", "start": 9775, "end": 9781, "loc": { "start": { "line": 292, "column": 46 }, "end": { "line": 292, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9781, "end": 9782, "loc": { "start": { "line": 292, "column": 52 }, "end": { "line": 292, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9782, "end": 9783, "loc": { "start": { "line": 292, "column": 53 }, "end": { "line": 292, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9783, "end": 9784, "loc": { "start": { "line": 292, "column": 54 }, "end": { "line": 292, "column": 55 } } }, { "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": 9789, "end": 9791, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9792, "end": 9793, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "conns", "start": 9793, "end": 9798, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9798, "end": 9799, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9799, "end": 9805, "loc": { "start": { "line": 293, "column": 14 }, "end": { "line": 293, "column": 20 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 9806, "end": 9807, "loc": { "start": { "line": 293, "column": 21 }, "end": { "line": 293, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9808, "end": 9809, "loc": { "start": { "line": 293, "column": 23 }, "end": { "line": 293, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9810, "end": 9812, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "conns", "start": 9813, "end": 9818, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9818, "end": 9819, "loc": { "start": { "line": 293, "column": 33 }, "end": { "line": 293, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "every", "start": 9819, "end": 9824, "loc": { "start": { "line": 293, "column": 34 }, "end": { "line": 293, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9824, "end": 9825, "loc": { "start": { "line": 293, "column": 39 }, "end": { "line": 293, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "u", "start": 9825, "end": 9826, "loc": { "start": { "line": 293, "column": 40 }, "end": { "line": 293, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9827, "end": 9829, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "u", "start": 9830, "end": 9831, "loc": { "start": { "line": 293, "column": 45 }, "end": { "line": 293, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9831, "end": 9832, "loc": { "start": { "line": 293, "column": 46 }, "end": { "line": 293, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSynced", "start": 9832, "end": 9840, "loc": { "start": { "line": 293, "column": 47 }, "end": { "line": 293, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9840, "end": 9841, "loc": { "start": { "line": 293, "column": 55 }, "end": { "line": 293, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9841, "end": 9842, "loc": { "start": { "line": 293, "column": 56 }, "end": { "line": 293, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9843, "end": 9844, "loc": { "start": { "line": 293, "column": 58 }, "end": { "line": 293, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9851, "end": 9855, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9855, "end": 9856, "loc": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_fireIsSyncedListeners", "start": 9856, "end": 9878, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9878, "end": 9879, "loc": { "start": { "line": 294, "column": 33 }, "end": { "line": 294, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9879, "end": 9880, "loc": { "start": { "line": 294, "column": 34 }, "end": { "line": 294, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9885, "end": 9886, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9889, "end": 9890, "loc": { "start": { "line": 296, "column": 2 }, "end": { "line": 296, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9891, "end": 9892, "loc": { "start": { "line": 297, "column": 0 }, "end": { "line": 297, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9893, "end": 9893, "loc": { "start": { "line": 298, "column": 0 }, "end": { "line": 298, "column": 0 } } } ] }