{ "type": "File", "start": 0, "end": 8088, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 282, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 8088, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 282, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 48, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 48 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 18, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 18 } }, "local": { "type": "Identifier", "start": 7, "end": 18, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 18 }, "identifierName": "DeleteStore" }, "name": "DeleteStore" } } ], "source": { "type": "StringLiteral", "start": 24, "end": 48, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 48 } }, "extra": { "rawValue": "./Store/DeleteStore.js", "raw": "'./Store/DeleteStore.js'" }, "value": "./Store/DeleteStore.js" } }, { "type": "ImportDeclaration", "start": 49, "end": 103, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 54 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 56, "end": 70, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 21 } }, "local": { "type": "Identifier", "start": 56, "end": 70, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 21 }, "identifierName": "OperationStore" }, "name": "OperationStore" } } ], "source": { "type": "StringLiteral", "start": 76, "end": 103, "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 54 } }, "extra": { "rawValue": "./Store/OperationStore.js", "raw": "'./Store/OperationStore.js'" }, "value": "./Store/OperationStore.js" } }, { "type": "ImportDeclaration", "start": 104, "end": 150, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 46 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 111, "end": 121, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 } }, "local": { "type": "Identifier", "start": 111, "end": 121, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 }, "identifierName": "StateStore" }, "name": "StateStore" } } ], "source": { "type": "StringLiteral", "start": 127, "end": 150, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 46 } }, "extra": { "rawValue": "./Store/StateStore.js", "raw": "'./Store/StateStore.js'" }, "value": "./Store/StateStore.js" } }, { "type": "ImportDeclaration", "start": 151, "end": 220, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 69 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 160, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 } }, "imported": { "type": "Identifier", "start": 160, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 }, "identifierName": "generateRandomUint32" }, "name": "generateRandomUint32" }, "local": { "type": "Identifier", "start": 160, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 }, "identifierName": "generateRandomUint32" }, "name": "generateRandomUint32" } } ], "source": { "type": "StringLiteral", "start": 188, "end": 220, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 69 } }, "extra": { "rawValue": "./Util/generateRandomUint32.js", "raw": "'./Util/generateRandomUint32.js'" }, "value": "./Util/generateRandomUint32.js" } }, { "type": "ImportDeclaration", "start": 221, "end": 261, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 40 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 228, "end": 234, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 13 } }, "local": { "type": "Identifier", "start": 228, "end": 234, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 13 }, "identifierName": "RootID" }, "name": "RootID" } } ], "source": { "type": "StringLiteral", "start": 240, "end": 261, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 40 } }, "extra": { "rawValue": "./Util/ID/RootID.js", "raw": "'./Util/ID/RootID.js'" }, "value": "./Util/ID/RootID.js" } }, { "type": "ImportDeclaration", "start": 262, "end": 321, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 59 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 269, "end": 286, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 24 } }, "local": { "type": "Identifier", "start": 269, "end": 286, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 24 }, "identifierName": "NamedEventHandler" }, "name": "NamedEventHandler" } } ], "source": { "type": "StringLiteral", "start": 292, "end": 321, "loc": { "start": { "line": 6, "column": 30 }, "end": { "line": 6, "column": 59 } }, "extra": { "rawValue": "./Util/NamedEventHandler.js", "raw": "'./Util/NamedEventHandler.js'" }, "value": "./Util/NamedEventHandler.js" } }, { "type": "ImportDeclaration", "start": 322, "end": 364, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 42 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 329, "end": 340, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 18 } }, "local": { "type": "Identifier", "start": 329, "end": 340, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 18 }, "identifierName": "Transaction" }, "name": "Transaction" } } ], "source": { "type": "StringLiteral", "start": 346, "end": 364, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 42 } }, "extra": { "rawValue": "./Transaction.js", "raw": "'./Transaction.js'" }, "value": "./Transaction.js" } }, { "type": "ExportNamedDeclaration", "start": 366, "end": 441, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 75 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 375, "end": 396, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 30 } }, "local": { "type": "Identifier", "start": 375, "end": 382, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 16 }, "identifierName": "default" }, "name": "default" }, "exported": { "type": "Identifier", "start": 386, "end": 396, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 30 }, "identifierName": "DomBinding" }, "name": "DomBinding" } } ], "source": { "type": "StringLiteral", "start": 404, "end": 441, "loc": { "start": { "line": 9, "column": 38 }, "end": { "line": 9, "column": 75 } }, "extra": { "rawValue": "./Bindings/DomBinding/DomBinding.js", "raw": "'./Bindings/DomBinding/DomBinding.js'" }, "value": "./Bindings/DomBinding/DomBinding.js", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Anything that can be encoded with `JSON.stringify` and can be decoded with\n * `JSON.parse`.\n *\n * The following property should hold:\n * `JSON.parse(JSON.stringify(key))===key`\n *\n * At the moment the only safe values are number and string.\n *\n * @typedef {(number|string)} encodable\n ", "start": 443, "end": 737, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * A Yjs instance handles the state of shared data.\n *\n * @param {string} room Users in the same room share the same content\n * @param {Object} opts Connector definition\n * @param {AbstractPersistence} persistence Persistence adapter instance\n ", "start": 739, "end": 989, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 29, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 990, "end": 7862, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 270, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 1005, "end": 7862, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 270, "column": 1 } }, "id": { "type": "Identifier", "start": 1011, "end": 1012, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 22 }, "identifierName": "Y" }, "name": "Y", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 1021, "end": 1038, "loc": { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 48 }, "identifierName": "NamedEventHandler" }, "name": "NamedEventHandler" }, "body": { "type": "ClassBody", "start": 1039, "end": 7862, "loc": { "start": { "line": 30, "column": 49 }, "end": { "line": 270, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1043, "end": 2561, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 83, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1043, "end": 1054, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 13 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1056, "end": 1060, "loc": { "start": { "line": 31, "column": 15 }, "end": { "line": 31, "column": 19 }, "identifierName": "room" }, "name": "room" }, { "type": "Identifier", "start": 1062, "end": 1066, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 25 }, "identifierName": "opts" }, "name": "opts" }, { "type": "Identifier", "start": 1068, "end": 1079, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 38 }, "identifierName": "persistence" }, "name": "persistence" } ], "body": { "type": "BlockStatement", "start": 1081, "end": 2561, "loc": { "start": { "line": 31, "column": 40 }, "end": { "line": 83, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1087, "end": 1094, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 11 } }, "expression": { "type": "CallExpression", "start": 1087, "end": 1094, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 11 } }, "callee": { "type": "Super", "start": 1087, "end": 1092, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 9 } } }, "arguments": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * The room name that this Yjs instance connects to.\n * @type {String}\n ", "start": 1099, "end": 1189, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 36, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1194, "end": 1210, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 1194, "end": 1210, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1194, "end": 1203, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 13 } }, "object": { "type": "ThisExpression", "start": 1194, "end": 1198, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1199, "end": 1203, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 13 }, "identifierName": "room" }, "name": "room" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 1206, "end": 1210, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 20 }, "identifierName": "room" }, "name": "room" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * The room name that this Yjs instance connects to.\n * @type {String}\n ", "start": 1099, "end": 1189, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 36, "column": 7 } } } ] }, { "type": "IfStatement", "start": 1215, "end": 1273, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 40, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1219, "end": 1231, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 20 } }, "left": { "type": "Identifier", "start": 1219, "end": 1223, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 }, "identifierName": "opts" }, "name": "opts" }, "operator": "!=", "right": { "type": "NullLiteral", "start": 1227, "end": 1231, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 20 } } } }, "consequent": { "type": "BlockStatement", "start": 1233, "end": 1273, "loc": { "start": { "line": 38, "column": 22 }, "end": { "line": 40, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1241, "end": 1267, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 1241, "end": 1267, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1241, "end": 1260, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 25 } }, "object": { "type": "MemberExpression", "start": 1241, "end": 1255, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 20 } }, "object": { "type": "Identifier", "start": 1241, "end": 1245, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 10 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1246, "end": 1255, "loc": { "start": { "line": 39, "column": 11 }, "end": { "line": 39, "column": 20 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 1256, "end": 1260, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 25 }, "identifierName": "room" }, "name": "room" }, "computed": false }, "right": { "type": "Identifier", "start": 1263, "end": 1267, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 32 }, "identifierName": "room" }, "name": "room" } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1278, "end": 1304, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 1278, "end": 1304, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1278, "end": 1296, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 22 } }, "object": { "type": "ThisExpression", "start": 1278, "end": 1282, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 8 } } }, "property": { "type": "Identifier", "start": 1283, "end": 1296, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 22 }, "identifierName": "_contentReady" }, "name": "_contentReady" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1299, "end": 1304, "loc": { "start": { "line": 41, "column": 25 }, "end": { "line": 41, "column": 30 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 1309, "end": 1326, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 1309, "end": 1326, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1309, "end": 1319, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1309, "end": 1313, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 8 } } }, "property": { "type": "Identifier", "start": 1314, "end": 1319, "loc": { "start": { "line": 42, "column": 9 }, "end": { "line": 42, "column": 14 }, "identifierName": "_opts" }, "name": "_opts" }, "computed": false }, "right": { "type": "Identifier", "start": 1322, "end": 1326, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 21 }, "identifierName": "opts" }, "name": "opts" } } }, { "type": "IfStatement", "start": 1331, "end": 1463, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 47, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1335, "end": 1366, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 39 } }, "left": { "type": "UnaryExpression", "start": 1335, "end": 1353, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 26 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 1342, "end": 1353, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 26 } }, "object": { "type": "Identifier", "start": 1342, "end": 1346, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 19 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1347, "end": 1353, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 26 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 1358, "end": 1366, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 39 } }, "extra": { "rawValue": "number", "raw": "'number'" }, "value": "number" } }, "consequent": { "type": "BlockStatement", "start": 1368, "end": 1418, "loc": { "start": { "line": 43, "column": 41 }, "end": { "line": 45, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1376, "end": 1412, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 1376, "end": 1412, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1376, "end": 1387, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1376, "end": 1380, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 10 } } }, "property": { "type": "Identifier", "start": 1381, "end": 1387, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 17 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, "right": { "type": "CallExpression", "start": 1390, "end": 1412, "loc": { "start": { "line": 44, "column": 20 }, "end": { "line": 44, "column": 42 } }, "callee": { "type": "Identifier", "start": 1390, "end": 1410, "loc": { "start": { "line": 44, "column": 20 }, "end": { "line": 44, "column": 40 }, "identifierName": "generateRandomUint32" }, "name": "generateRandomUint32" }, "arguments": [] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1424, "end": 1463, "loc": { "start": { "line": 45, "column": 11 }, "end": { "line": 47, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1432, "end": 1457, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 1432, "end": 1457, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1432, "end": 1443, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1432, "end": 1436, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 10 } } }, "property": { "type": "Identifier", "start": 1437, "end": 1443, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 17 }, "identifierName": "userID" }, "name": "userID" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1446, "end": 1457, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 31 } }, "object": { "type": "Identifier", "start": 1446, "end": 1450, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 24 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 1451, "end": 1457, "loc": { "start": { "line": 46, "column": 25 }, "end": { "line": 46, "column": 31 }, "identifierName": "userID" }, "name": "userID" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " TODO: This should be a Map so we can use encodables as keys", "start": 1468, "end": 1530, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 66 } } } ] }, { "type": "ExpressionStatement", "start": 1535, "end": 1550, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 1535, "end": 1550, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1535, "end": 1545, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 14 } }, "object": { "type": "ThisExpression", "start": 1535, "end": 1539, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1540, "end": 1545, "loc": { "start": { "line": 49, "column": 9 }, "end": { "line": 49, "column": 14 }, "identifierName": "share" }, "name": "share" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 1548, "end": 1550, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 19 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " TODO: This should be a Map so we can use encodables as keys", "start": 1468, "end": 1530, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 66 } } } ] }, { "type": "ExpressionStatement", "start": 1555, "end": 1586, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 1555, "end": 1586, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1555, "end": 1562, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 11 } }, "object": { "type": "ThisExpression", "start": 1555, "end": 1559, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 8 } } }, "property": { "type": "Identifier", "start": 1560, "end": 1562, "loc": { "start": { "line": 50, "column": 9 }, "end": { "line": 50, "column": 11 }, "identifierName": "ds" }, "name": "ds" }, "computed": false }, "right": { "type": "NewExpression", "start": 1565, "end": 1586, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 35 } }, "callee": { "type": "Identifier", "start": 1569, "end": 1580, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 29 }, "identifierName": "DeleteStore" }, "name": "DeleteStore" }, "arguments": [ { "type": "ThisExpression", "start": 1581, "end": 1585, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 34 } } } ] } } }, { "type": "ExpressionStatement", "start": 1591, "end": 1625, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 1591, "end": 1625, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1591, "end": 1598, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 11 } }, "object": { "type": "ThisExpression", "start": 1591, "end": 1595, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 8 } } }, "property": { "type": "Identifier", "start": 1596, "end": 1598, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 11 }, "identifierName": "os" }, "name": "os" }, "computed": false }, "right": { "type": "NewExpression", "start": 1601, "end": 1625, "loc": { "start": { "line": 51, "column": 14 }, "end": { "line": 51, "column": 38 } }, "callee": { "type": "Identifier", "start": 1605, "end": 1619, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 51, "column": 32 }, "identifierName": "OperationStore" }, "name": "OperationStore" }, "arguments": [ { "type": "ThisExpression", "start": 1620, "end": 1624, "loc": { "start": { "line": 51, "column": 33 }, "end": { "line": 51, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 1630, "end": 1660, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 1630, "end": 1660, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1630, "end": 1637, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 11 } }, "object": { "type": "ThisExpression", "start": 1630, "end": 1634, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, "property": { "type": "Identifier", "start": 1635, "end": 1637, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 11 }, "identifierName": "ss" }, "name": "ss" }, "computed": false }, "right": { "type": "NewExpression", "start": 1640, "end": 1660, "loc": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 34 } }, "callee": { "type": "Identifier", "start": 1644, "end": 1654, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 28 }, "identifierName": "StateStore" }, "name": "StateStore" }, "arguments": [ { "type": "ThisExpression", "start": 1655, "end": 1659, "loc": { "start": { "line": 52, "column": 29 }, "end": { "line": 52, "column": 33 } } } ] } } }, { "type": "ExpressionStatement", "start": 1665, "end": 1697, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 1665, "end": 1697, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1665, "end": 1685, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1665, "end": 1669, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 8 } } }, "property": { "type": "Identifier", "start": 1670, "end": 1685, "loc": { "start": { "line": 53, "column": 9 }, "end": { "line": 53, "column": 24 }, "identifierName": "_missingStructs" }, "name": "_missingStructs" }, "computed": false }, "right": { "type": "NewExpression", "start": 1688, "end": 1697, "loc": { "start": { "line": 53, "column": 27 }, "end": { "line": 53, "column": 36 } }, "callee": { "type": "Identifier", "start": 1692, "end": 1695, "loc": { "start": { "line": 53, "column": 31 }, "end": { "line": 53, "column": 34 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 1702, "end": 1729, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 1702, "end": 1729, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1702, "end": 1724, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1702, "end": 1706, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 8 } } }, "property": { "type": "Identifier", "start": 1707, "end": 1724, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 26 }, "identifierName": "_readyToIntegrate" }, "name": "_readyToIntegrate" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 1727, "end": 1729, "loc": { "start": { "line": 54, "column": 29 }, "end": { "line": 54, "column": 31 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 1734, "end": 1758, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 1734, "end": 1758, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1734, "end": 1751, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1734, "end": 1738, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 8 } } }, "property": { "type": "Identifier", "start": 1739, "end": 1751, "loc": { "start": { "line": 55, "column": 9 }, "end": { "line": 55, "column": 21 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1754, "end": 1758, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 55, "column": 28 } }, "leadingComments": null, "trailingComments": null }, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * The {@link AbstractConnector}.that is used by this Yjs instance.\n * @type {AbstractConnector}\n ", "start": 1763, "end": 1879, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 59, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1884, "end": 1905, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 1884, "end": 1905, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1884, "end": 1898, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1884, "end": 1888, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1889, "end": 1898, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 18 }, "identifierName": "connector" }, "name": "connector" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 1901, "end": 1905, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 25 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * The {@link AbstractConnector}.that is used by this Yjs instance.\n * @type {AbstractConnector}\n ", "start": 1763, "end": 1879, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 59, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1910, "end": 1932, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 1910, "end": 1932, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1910, "end": 1924, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 18 } }, "object": { "type": "ThisExpression", "start": 1910, "end": 1914, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } } }, "property": { "type": "Identifier", "start": 1915, "end": 1924, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 18 }, "identifierName": "connected" }, "name": "connected" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1927, "end": 1932, "loc": { "start": { "line": 61, "column": 21 }, "end": { "line": 61, "column": 26 } }, "value": false } } }, { "type": "VariableDeclaration", "start": 1937, "end": 2145, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 68, "column": 5 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1941, "end": 2145, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 68, "column": 5 } }, "id": { "type": "Identifier", "start": 1941, "end": 1955, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 22 }, "identifierName": "initConnection" }, "name": "initConnection" }, "init": { "type": "ArrowFunctionExpression", "start": 1958, "end": 2145, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 68, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1964, "end": 2145, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 68, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1972, "end": 2139, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 67, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1976, "end": 1988, "loc": { "start": { "line": 63, "column": 10 }, "end": { "line": 63, "column": 22 } }, "left": { "type": "Identifier", "start": 1976, "end": 1980, "loc": { "start": { "line": 63, "column": 10 }, "end": { "line": 63, "column": 14 }, "identifierName": "opts" }, "name": "opts" }, "operator": "!=", "right": { "type": "NullLiteral", "start": 1984, "end": 1988, "loc": { "start": { "line": 63, "column": 18 }, "end": { "line": 63, "column": 22 } } } }, "consequent": { "type": "BlockStatement", "start": 1990, "end": 2139, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 67, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2000, "end": 2065, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 73 } }, "expression": { "type": "AssignmentExpression", "start": 2000, "end": 2065, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2000, "end": 2014, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2000, "end": 2004, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 12 } } }, "property": { "type": "Identifier", "start": 2005, "end": 2014, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 22 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "right": { "type": "NewExpression", "start": 2017, "end": 2065, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 2021, "end": 2043, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 51 } }, "object": { "type": "Identifier", "start": 2021, "end": 2022, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 30 }, "identifierName": "Y" }, "name": "Y" }, "property": { "type": "MemberExpression", "start": 2023, "end": 2042, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 50 } }, "object": { "type": "MemberExpression", "start": 2023, "end": 2037, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 45 } }, "object": { "type": "Identifier", "start": 2023, "end": 2027, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 35 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 2028, "end": 2037, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 64, "column": 45 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 2038, "end": 2042, "loc": { "start": { "line": 64, "column": 46 }, "end": { "line": 64, "column": 50 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "computed": true }, "arguments": [ { "type": "ThisExpression", "start": 2044, "end": 2048, "loc": { "start": { "line": 64, "column": 52 }, "end": { "line": 64, "column": 56 } } }, { "type": "MemberExpression", "start": 2050, "end": 2064, "loc": { "start": { "line": 64, "column": 58 }, "end": { "line": 64, "column": 72 } }, "object": { "type": "Identifier", "start": 2050, "end": 2054, "loc": { "start": { "line": 64, "column": 58 }, "end": { "line": 64, "column": 62 }, "identifierName": "opts" }, "name": "opts" }, "property": { "type": "Identifier", "start": 2055, "end": 2064, "loc": { "start": { "line": 64, "column": 63 }, "end": { "line": 64, "column": 72 }, "identifierName": "connector" }, "name": "connector" }, "computed": false } ] } } }, { "type": "ExpressionStatement", "start": 2074, "end": 2095, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 2074, "end": 2095, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2074, "end": 2088, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2074, "end": 2078, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } } }, "property": { "type": "Identifier", "start": 2079, "end": 2088, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 22 }, "identifierName": "connected" }, "name": "connected" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 2091, "end": 2095, "loc": { "start": { "line": 65, "column": 25 }, "end": { "line": 65, "column": 29 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 2104, "end": 2131, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 35 } }, "expression": { "type": "CallExpression", "start": 2104, "end": 2131, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 2104, "end": 2113, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 17 } }, "object": { "type": "ThisExpression", "start": 2104, "end": 2108, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, "property": { "type": "Identifier", "start": 2109, "end": 2113, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 17 }, "identifierName": "emit" }, "name": "emit" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2114, "end": 2130, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 34 } }, "extra": { "rawValue": "connectorReady", "raw": "'connectorReady'" }, "value": "connectorReady" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "trailingComments": null } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\n * The {@link AbstractPersistence} that is used by this Yjs instance.\n * @type {AbstractPersistence}\n ", "start": 2150, "end": 2270, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 72, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 2275, "end": 2298, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 2275, "end": 2298, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2275, "end": 2291, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 20 } }, "object": { "type": "ThisExpression", "start": 2275, "end": 2279, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2280, "end": 2291, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 20 }, "identifierName": "persistence" }, "name": "persistence" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 2294, "end": 2298, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 27 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * The {@link AbstractPersistence} that is used by this Yjs instance.\n * @type {AbstractPersistence}\n ", "start": 2150, "end": 2270, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 72, "column": 7 } } } ] }, { "type": "IfStatement", "start": 2303, "end": 2459, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 79, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2307, "end": 2326, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 27 } }, "left": { "type": "Identifier", "start": 2307, "end": 2318, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 19 }, "identifierName": "persistence" }, "name": "persistence" }, "operator": "!=", "right": { "type": "NullLiteral", "start": 2322, "end": 2326, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 27 } } } }, "consequent": { "type": "BlockStatement", "start": 2328, "end": 2423, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 77, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2336, "end": 2366, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 2336, "end": 2366, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2336, "end": 2352, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2336, "end": 2340, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 10 } } }, "property": { "type": "Identifier", "start": 2341, "end": 2352, "loc": { "start": { "line": 75, "column": 11 }, "end": { "line": 75, "column": 22 }, "identifierName": "persistence" }, "name": "persistence" }, "computed": false }, "right": { "type": "Identifier", "start": 2355, "end": 2366, "loc": { "start": { "line": 75, "column": 25 }, "end": { "line": 75, "column": 36 }, "identifierName": "persistence" }, "name": "persistence" } } }, { "type": "ExpressionStatement", "start": 2373, "end": 2417, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 50 } }, "expression": { "type": "CallExpression", "start": 2373, "end": 2417, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 2373, "end": 2401, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 34 } }, "object": { "type": "CallExpression", "start": 2373, "end": 2396, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 2373, "end": 2390, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 23 } }, "object": { "type": "Identifier", "start": 2373, "end": 2384, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 17 }, "identifierName": "persistence" }, "name": "persistence" }, "property": { "type": "Identifier", "start": 2385, "end": 2390, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 23 }, "identifierName": "_init" }, "name": "_init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 2391, "end": 2395, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 28 } } } ] }, "property": { "type": "Identifier", "start": 2397, "end": 2401, "loc": { "start": { "line": 76, "column": 30 }, "end": { "line": 76, "column": 34 }, "identifierName": "then" }, "name": "then" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2402, "end": 2416, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 49 }, "identifierName": "initConnection" }, "name": "initConnection" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2429, "end": 2459, "loc": { "start": { "line": 77, "column": 11 }, "end": { "line": 79, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2437, "end": 2453, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 22 } }, "expression": { "type": "CallExpression", "start": 2437, "end": 2453, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 22 } }, "callee": { "type": "Identifier", "start": 2437, "end": 2451, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 20 }, "identifierName": "initConnection" }, "name": "initConnection" }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " for compatibility with isParentOf", "start": 2464, "end": 2500, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 2505, "end": 2524, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 2505, "end": 2524, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 23 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2505, "end": 2517, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 16 } }, "object": { "type": "ThisExpression", "start": 2505, "end": 2509, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2510, "end": 2517, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 16 }, "identifierName": "_parent" }, "name": "_parent" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 2520, "end": 2524, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "column": 23 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " for compatibility with isParentOf", "start": 2464, "end": 2500, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 2529, "end": 2557, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 2529, "end": 2557, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2529, "end": 2549, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2529, "end": 2533, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 2534, "end": 2549, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 24 }, "identifierName": "_hasUndoManager" }, "name": "_hasUndoManager" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 2552, "end": 2557, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 32 } }, "value": false } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 2564, "end": 2685, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 89, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2564, "end": 2580, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 18 }, "identifierName": "_setContentReady" }, "name": "_setContentReady" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2584, "end": 2685, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 89, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2590, "end": 2681, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 88, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 2594, "end": 2613, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 27 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2595, "end": 2613, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2595, "end": 2599, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 13 } } }, "property": { "type": "Identifier", "start": 2600, "end": 2613, "loc": { "start": { "line": 85, "column": 14 }, "end": { "line": 85, "column": 27 }, "identifierName": "_contentReady" }, "name": "_contentReady" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2615, "end": 2681, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 88, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2623, "end": 2648, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 2623, "end": 2648, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2623, "end": 2641, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2623, "end": 2627, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 10 } } }, "property": { "type": "Identifier", "start": 2628, "end": 2641, "loc": { "start": { "line": 86, "column": 11 }, "end": { "line": 86, "column": 24 }, "identifierName": "_contentReady" }, "name": "_contentReady" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 2644, "end": 2648, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 31 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 2655, "end": 2675, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 26 } }, "expression": { "type": "CallExpression", "start": 2655, "end": 2675, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 2655, "end": 2664, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 15 } }, "object": { "type": "ThisExpression", "start": 2655, "end": 2659, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 10 } } }, "property": { "type": "Identifier", "start": 2660, "end": 2664, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 15 }, "identifierName": "emit" }, "name": "emit" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2665, "end": 2674, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 25 } }, "extra": { "rawValue": "content", "raw": "'content'" }, "value": "content" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ClassMethod", "start": 2688, "end": 2878, "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 98, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2688, "end": 2704, "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 90, "column": 18 }, "identifierName": "whenContentReady" }, "name": "whenContentReady" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2708, "end": 2878, "loc": { "start": { "line": 90, "column": 22 }, "end": { "line": 98, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2714, "end": 2874, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 97, "column": 5 } }, "test": { "type": "MemberExpression", "start": 2718, "end": 2736, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 26 } }, "object": { "type": "ThisExpression", "start": 2718, "end": 2722, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 12 } } }, "property": { "type": "Identifier", "start": 2723, "end": 2736, "loc": { "start": { "line": 91, "column": 13 }, "end": { "line": 91, "column": 26 }, "identifierName": "_contentReady" }, "name": "_contentReady" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2738, "end": 2776, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 93, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2746, "end": 2770, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 30 } }, "argument": { "type": "CallExpression", "start": 2753, "end": 2770, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 2753, "end": 2768, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 28 } }, "object": { "type": "Identifier", "start": 2753, "end": 2760, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 20 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 2761, "end": 2768, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 28 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2782, "end": 2874, "loc": { "start": { "line": 93, "column": 11 }, "end": { "line": 97, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2790, "end": 2868, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 96, "column": 8 } }, "argument": { "type": "NewExpression", "start": 2797, "end": 2868, "loc": { "start": { "line": 94, "column": 13 }, "end": { "line": 96, "column": 8 } }, "callee": { "type": "Identifier", "start": 2801, "end": 2808, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 24 }, "identifierName": "Promise" }, "name": "Promise" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2809, "end": 2867, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 96, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2809, "end": 2816, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 94, "column": 32 }, "identifierName": "resolve" }, "name": "resolve" } ], "body": { "type": "BlockStatement", "start": 2820, "end": 2867, "loc": { "start": { "line": 94, "column": 36 }, "end": { "line": 96, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2830, "end": 2859, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 37 } }, "expression": { "type": "CallExpression", "start": 2830, "end": 2859, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 2830, "end": 2839, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 17 } }, "object": { "type": "ThisExpression", "start": 2830, "end": 2834, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, "property": { "type": "Identifier", "start": 2835, "end": 2839, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 17 }, "identifierName": "once" }, "name": "once" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2840, "end": 2849, "loc": { "start": { "line": 95, "column": 18 }, "end": { "line": 95, "column": 27 } }, "extra": { "rawValue": "content", "raw": "'content'" }, "value": "content" }, { "type": "Identifier", "start": 2851, "end": 2858, "loc": { "start": { "line": 95, "column": 29 }, "end": { "line": 95, "column": 36 }, "identifierName": "resolve" }, "name": "resolve" } ] } } ], "directives": [] } } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 2881, "end": 2900, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 99, "column": 21 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2881, "end": 2894, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 99, "column": 15 }, "identifierName": "_beforeChange" }, "name": "_beforeChange" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2898, "end": 2900, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 21 } }, "body": [], "directives": [], "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Changes that happen inside of a transaction are bundled. This means that\n * the observer fires _after_ the transaction is finished and that all changes\n * that happened inside of the transaction are sent as one message to the\n * other peers.\n *\n * @param {Function} f The function that should be executed as a transaction\n * @param {?Boolean} remote Optional. Whether this transaction is initiated by\n * a remote peer. This should not be set manually!\n * Defaults to false.\n ", "start": 2903, "end": 3457, "loc": { "start": { "line": 100, "column": 2 }, "end": { "line": 110, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 3460, "end": 4804, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 150, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3460, "end": 3468, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 111, "column": 10 }, "identifierName": "transact" }, "name": "transact", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3470, "end": 3471, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 13 }, "identifierName": "f" }, "name": "f" }, { "type": "AssignmentPattern", "start": 3473, "end": 3487, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 29 } }, "left": { "type": "Identifier", "start": 3473, "end": 3479, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 21 }, "identifierName": "remote" }, "name": "remote" }, "right": { "type": "BooleanLiteral", "start": 3482, "end": 3487, "loc": { "start": { "line": 111, "column": 24 }, "end": { "line": 111, "column": 29 } }, "value": false } } ], "body": { "type": "BlockStatement", "start": 3489, "end": 4804, "loc": { "start": { "line": 111, "column": 31 }, "end": { "line": 150, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 3495, "end": 3539, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3499, "end": 3539, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 48 } }, "id": { "type": "Identifier", "start": 3499, "end": 3510, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 19 }, "identifierName": "initialCall" }, "name": "initialCall" }, "init": { "type": "BinaryExpression", "start": 3513, "end": 3539, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 48 } }, "left": { "type": "MemberExpression", "start": 3513, "end": 3530, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 39 } }, "object": { "type": "ThisExpression", "start": 3513, "end": 3517, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 26 } } }, "property": { "type": "Identifier", "start": 3518, "end": 3530, "loc": { "start": { "line": 112, "column": 27 }, "end": { "line": 112, "column": 39 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false }, "operator": "===", "right": { "type": "NullLiteral", "start": 3535, "end": 3539, "loc": { "start": { "line": 112, "column": 44 }, "end": { "line": 112, "column": 48 } } } } } ], "kind": "let" }, { "type": "IfStatement", "start": 3544, "end": 3686, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 116, "column": 5 } }, "test": { "type": "Identifier", "start": 3548, "end": 3559, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 19 }, "identifierName": "initialCall" }, "name": "initialCall" }, "consequent": { "type": "BlockStatement", "start": 3561, "end": 3686, "loc": { "start": { "line": 113, "column": 21 }, "end": { "line": 116, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3569, "end": 3610, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 3569, "end": 3610, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3569, "end": 3586, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 23 } }, "object": { "type": "ThisExpression", "start": 3569, "end": 3573, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 10 } } }, "property": { "type": "Identifier", "start": 3574, "end": 3586, "loc": { "start": { "line": 114, "column": 11 }, "end": { "line": 114, "column": 23 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false }, "right": { "type": "NewExpression", "start": 3589, "end": 3610, "loc": { "start": { "line": 114, "column": 26 }, "end": { "line": 114, "column": 47 } }, "callee": { "type": "Identifier", "start": 3593, "end": 3604, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 41 }, "identifierName": "Transaction" }, "name": "Transaction" }, "arguments": [ { "type": "ThisExpression", "start": 3605, "end": 3609, "loc": { "start": { "line": 114, "column": 42 }, "end": { "line": 114, "column": 46 } } } ] } } }, { "type": "ExpressionStatement", "start": 3617, "end": 3680, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 69 } }, "expression": { "type": "CallExpression", "start": 3617, "end": 3680, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 3617, "end": 3626, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 15 } }, "object": { "type": "ThisExpression", "start": 3617, "end": 3621, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 10 } } }, "property": { "type": "Identifier", "start": 3622, "end": 3626, "loc": { "start": { "line": 115, "column": 11 }, "end": { "line": 115, "column": 15 }, "identifierName": "emit" }, "name": "emit" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3627, "end": 3646, "loc": { "start": { "line": 115, "column": 16 }, "end": { "line": 115, "column": 35 } }, "extra": { "rawValue": "beforeTransaction", "raw": "'beforeTransaction'" }, "value": "beforeTransaction" }, { "type": "ThisExpression", "start": 3648, "end": 3652, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 41 } } }, { "type": "MemberExpression", "start": 3654, "end": 3671, "loc": { "start": { "line": 115, "column": 43 }, "end": { "line": 115, "column": 60 } }, "object": { "type": "ThisExpression", "start": 3654, "end": 3658, "loc": { "start": { "line": 115, "column": 43 }, "end": { "line": 115, "column": 47 } } }, "property": { "type": "Identifier", "start": 3659, "end": 3671, "loc": { "start": { "line": 115, "column": 48 }, "end": { "line": 115, "column": 60 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false }, { "type": "Identifier", "start": 3673, "end": 3679, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 68 }, "identifierName": "remote" }, "name": "remote" } ] } } ], "directives": [] }, "alternate": null }, { "type": "TryStatement", "start": 3691, "end": 3757, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 121, "column": 5 } }, "block": { "type": "BlockStatement", "start": 3695, "end": 3716, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 119, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3703, "end": 3710, "loc": { "start": { "line": 118, "column": 6 }, "end": { "line": 118, "column": 13 } }, "expression": { "type": "CallExpression", "start": 3703, "end": 3710, "loc": { "start": { "line": 118, "column": 6 }, "end": { "line": 118, "column": 13 } }, "callee": { "type": "Identifier", "start": 3703, "end": 3704, "loc": { "start": { "line": 118, "column": 6 }, "end": { "line": 118, "column": 7 }, "identifierName": "f" }, "name": "f" }, "arguments": [ { "type": "ThisExpression", "start": 3705, "end": 3709, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 12 } } } ] } } ], "directives": [] }, "handler": { "type": "CatchClause", "start": 3717, "end": 3757, "loc": { "start": { "line": 119, "column": 6 }, "end": { "line": 121, "column": 5 } }, "param": { "type": "Identifier", "start": 3724, "end": 3725, "loc": { "start": { "line": 119, "column": 13 }, "end": { "line": 119, "column": 14 }, "identifierName": "e" }, "name": "e" }, "body": { "type": "BlockStatement", "start": 3727, "end": 3757, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 121, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3735, "end": 3751, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 22 } }, "expression": { "type": "CallExpression", "start": 3735, "end": 3751, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 3735, "end": 3748, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 19 } }, "object": { "type": "Identifier", "start": 3735, "end": 3742, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 3743, "end": 3748, "loc": { "start": { "line": 120, "column": 14 }, "end": { "line": 120, "column": 19 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3749, "end": 3750, "loc": { "start": { "line": 120, "column": 20 }, "end": { "line": 120, "column": 21 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } }, "guardedHandlers": [], "finalizer": null }, { "type": "IfStatement", "start": 3762, "end": 4800, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 149, "column": 5 } }, "test": { "type": "Identifier", "start": 3766, "end": 3777, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 19 }, "identifierName": "initialCall" }, "name": "initialCall" }, "consequent": { "type": "BlockStatement", "start": 3779, "end": 4800, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 149, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3787, "end": 3852, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 71 } }, "expression": { "type": "CallExpression", "start": 3787, "end": 3852, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 3787, "end": 3796, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 15 } }, "object": { "type": "ThisExpression", "start": 3787, "end": 3791, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 10 } } }, "property": { "type": "Identifier", "start": 3792, "end": 3796, "loc": { "start": { "line": 123, "column": 11 }, "end": { "line": 123, "column": 15 }, "identifierName": "emit" }, "name": "emit" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3797, "end": 3818, "loc": { "start": { "line": 123, "column": 16 }, "end": { "line": 123, "column": 37 } }, "extra": { "rawValue": "beforeObserverCalls", "raw": "'beforeObserverCalls'" }, "value": "beforeObserverCalls" }, { "type": "ThisExpression", "start": 3820, "end": 3824, "loc": { "start": { "line": 123, "column": 39 }, "end": { "line": 123, "column": 43 } } }, { "type": "MemberExpression", "start": 3826, "end": 3843, "loc": { "start": { "line": 123, "column": 45 }, "end": { "line": 123, "column": 62 } }, "object": { "type": "ThisExpression", "start": 3826, "end": 3830, "loc": { "start": { "line": 123, "column": 45 }, "end": { "line": 123, "column": 49 } } }, "property": { "type": "Identifier", "start": 3831, "end": 3843, "loc": { "start": { "line": 123, "column": 50 }, "end": { "line": 123, "column": 62 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false }, { "type": "Identifier", "start": 3845, "end": 3851, "loc": { "start": { "line": 123, "column": 64 }, "end": { "line": 123, "column": 70 }, "identifierName": "remote" }, "name": "remote" } ] } }, { "type": "VariableDeclaration", "start": 3859, "end": 3896, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3865, "end": 3896, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 43 } }, "id": { "type": "Identifier", "start": 3865, "end": 3876, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 23 }, "identifierName": "transaction" }, "name": "transaction" }, "init": { "type": "MemberExpression", "start": 3879, "end": 3896, "loc": { "start": { "line": 124, "column": 26 }, "end": { "line": 124, "column": 43 } }, "object": { "type": "ThisExpression", "start": 3879, "end": 3883, "loc": { "start": { "line": 124, "column": 26 }, "end": { "line": 124, "column": 30 } } }, "property": { "type": "Identifier", "start": 3884, "end": 3896, "loc": { "start": { "line": 124, "column": 31 }, "end": { "line": 124, "column": 43 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3903, "end": 3927, "loc": { "start": { "line": 125, "column": 6 }, "end": { "line": 125, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 3903, "end": 3927, "loc": { "start": { "line": 125, "column": 6 }, "end": { "line": 125, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3903, "end": 3920, "loc": { "start": { "line": 125, "column": 6 }, "end": { "line": 125, "column": 23 } }, "object": { "type": "ThisExpression", "start": 3903, "end": 3907, "loc": { "start": { "line": 125, "column": 6 }, "end": { "line": 125, "column": 10 } } }, "property": { "type": "Identifier", "start": 3908, "end": 3920, "loc": { "start": { "line": 125, "column": 11 }, "end": { "line": 125, "column": 23 }, "identifierName": "_transaction" }, "name": "_transaction" }, "computed": false }, "right": { "type": "NullLiteral", "start": 3923, "end": 3927, "loc": { "start": { "line": 125, "column": 26 }, "end": { "line": 125, "column": 30 } }, "leadingComments": null, "trailingComments": null }, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " emit change events on changed types", "start": 3934, "end": 3972, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "column": 44 } } } ] }, { "type": "ExpressionStatement", "start": 3979, "end": 4140, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 131, "column": 8 } }, "expression": { "type": "CallExpression", "start": 3979, "end": 4140, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 131, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 3979, "end": 4011, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 38 } }, "object": { "type": "MemberExpression", "start": 3979, "end": 4003, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 30 } }, "object": { "type": "Identifier", "start": 3979, "end": 3990, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 17 }, "identifierName": "transaction" }, "name": "transaction", "leadingComments": null }, "property": { "type": "Identifier", "start": 3991, "end": 4003, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 30 }, "identifierName": "changedTypes" }, "name": "changedTypes" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 4004, "end": 4011, "loc": { "start": { "line": 127, "column": 31 }, "end": { "line": 127, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "FunctionExpression", "start": 4012, "end": 4139, "loc": { "start": { "line": 127, "column": 39 }, "end": { "line": 131, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4022, "end": 4026, "loc": { "start": { "line": 127, "column": 49 }, "end": { "line": 127, "column": 53 }, "identifierName": "subs" }, "name": "subs" }, { "type": "Identifier", "start": 4028, "end": 4032, "loc": { "start": { "line": 127, "column": 55 }, "end": { "line": 127, "column": 59 }, "identifierName": "type" }, "name": "type" } ], "body": { "type": "BlockStatement", "start": 4034, "end": 4139, "loc": { "start": { "line": 127, "column": 61 }, "end": { "line": 131, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 4044, "end": 4131, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 130, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 4048, "end": 4062, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4049, "end": 4062, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 26 } }, "object": { "type": "Identifier", "start": 4049, "end": 4053, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 17 }, "identifierName": "type" }, "name": "type" }, "property": { "type": "Identifier", "start": 4054, "end": 4062, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 26 }, "identifierName": "_deleted" }, "name": "_deleted" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4064, "end": 4131, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 130, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4076, "end": 4121, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 55 } }, "expression": { "type": "CallExpression", "start": 4076, "end": 4121, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 4076, "end": 4094, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 28 } }, "object": { "type": "Identifier", "start": 4076, "end": 4080, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 14 }, "identifierName": "type" }, "name": "type" }, "property": { "type": "Identifier", "start": 4081, "end": 4094, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 28 }, "identifierName": "_callObserver" }, "name": "_callObserver" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4095, "end": 4106, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 40 }, "identifierName": "transaction" }, "name": "transaction" }, { "type": "Identifier", "start": 4108, "end": 4112, "loc": { "start": { "line": 129, "column": 42 }, "end": { "line": 129, "column": 46 }, "identifierName": "subs" }, "name": "subs" }, { "type": "Identifier", "start": 4114, "end": 4120, "loc": { "start": { "line": 129, "column": 48 }, "end": { "line": 129, "column": 54 }, "identifierName": "remote" }, "name": "remote" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " emit change events on changed types", "start": 3934, "end": 3972, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "column": 44 } } } ] }, { "type": "ExpressionStatement", "start": 4147, "end": 4653, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 146, "column": 8 } }, "expression": { "type": "CallExpression", "start": 4147, "end": 4653, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 146, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 4147, "end": 4185, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4147, "end": 4177, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 36 } }, "object": { "type": "Identifier", "start": 4147, "end": 4158, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 17 }, "identifierName": "transaction" }, "name": "transaction" }, "property": { "type": "Identifier", "start": 4159, "end": 4177, "loc": { "start": { "line": 132, "column": 18 }, "end": { "line": 132, "column": 36 }, "identifierName": "changedParentTypes" }, "name": "changedParentTypes" }, "computed": false }, "property": { "type": "Identifier", "start": 4178, "end": 4185, "loc": { "start": { "line": 132, "column": 37 }, "end": { "line": 132, "column": 44 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 4186, "end": 4652, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 146, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4196, "end": 4202, "loc": { "start": { "line": 132, "column": 55 }, "end": { "line": 132, "column": 61 }, "identifierName": "events" }, "name": "events" }, { "type": "Identifier", "start": 4204, "end": 4208, "loc": { "start": { "line": 132, "column": 63 }, "end": { "line": 132, "column": 67 }, "identifierName": "type" }, "name": "type" } ], "body": { "type": "BlockStatement", "start": 4210, "end": 4652, "loc": { "start": { "line": 132, "column": 69 }, "end": { "line": 146, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 4220, "end": 4644, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 145, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 4224, "end": 4238, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4225, "end": 4238, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 26 } }, "object": { "type": "Identifier", "start": 4225, "end": 4229, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 17 }, "identifierName": "type" }, "name": "type" }, "property": { "type": "Identifier", "start": 4230, "end": 4238, "loc": { "start": { "line": 133, "column": 18 }, "end": { "line": 133, "column": 26 }, "identifierName": "_deleted" }, "name": "_deleted" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4240, "end": 4644, "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 145, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4252, "end": 4347, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 137, "column": 13 } }, "expression": { "type": "AssignmentExpression", "start": 4252, "end": 4347, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 137, "column": 13 } }, "operator": "=", "left": { "type": "Identifier", "start": 4252, "end": 4258, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 16 }, "identifierName": "events" }, "name": "events" }, "right": { "type": "CallExpression", "start": 4261, "end": 4347, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 137, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 4261, "end": 4287, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 135, "column": 19 } }, "object": { "type": "Identifier", "start": 4261, "end": 4267, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 25 }, "identifierName": "events" }, "name": "events" }, "property": { "type": "Identifier", "start": 4281, "end": 4287, "loc": { "start": { "line": 135, "column": 13 }, "end": { "line": 135, "column": 19 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 4288, "end": 4333, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 136, "column": 36 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 4288, "end": 4293, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "UnaryExpression", "start": 4311, "end": 4333, "loc": { "start": { "line": 136, "column": 14 }, "end": { "line": 136, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4312, "end": 4333, "loc": { "start": { "line": 136, "column": 15 }, "end": { "line": 136, "column": 36 } }, "object": { "type": "MemberExpression", "start": 4312, "end": 4324, "loc": { "start": { "line": 136, "column": 15 }, "end": { "line": 136, "column": 27 } }, "object": { "type": "Identifier", "start": 4312, "end": 4317, "loc": { "start": { "line": 136, "column": 15 }, "end": { "line": 136, "column": 20 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 4318, "end": 4324, "loc": { "start": { "line": 136, "column": 21 }, "end": { "line": 136, "column": 27 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 4325, "end": 4333, "loc": { "start": { "line": 136, "column": 28 }, "end": { "line": 136, "column": 36 }, "identifierName": "_deleted" }, "name": "_deleted" }, "computed": false }, "extra": { "parenthesizedArgument": false } } } ] } } }, { "type": "ExpressionStatement", "start": 4358, "end": 4452, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 141, "column": 14 } }, "expression": { "type": "CallExpression", "start": 4358, "end": 4452, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 141, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 4358, "end": 4385, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 139, "column": 20 } }, "object": { "type": "Identifier", "start": 4358, "end": 4364, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 138, "column": 16 }, "identifierName": "events" }, "name": "events" }, "property": { "type": "Identifier", "start": 4378, "end": 4385, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 20 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 4386, "end": 4451, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 141, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4386, "end": 4391, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "column": 26 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 4395, "end": 4451, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 141, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4411, "end": 4437, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 4411, "end": 4437, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4411, "end": 4430, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 33 } }, "object": { "type": "Identifier", "start": 4411, "end": 4416, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 19 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 4417, "end": 4430, "loc": { "start": { "line": 140, "column": 20 }, "end": { "line": 140, "column": 33 }, "identifierName": "currentTarget" }, "name": "currentTarget" }, "computed": false }, "right": { "type": "Identifier", "start": 4433, "end": 4437, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 40 }, "identifierName": "type" }, "name": "type" } } } ], "directives": [] } } ], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " we don't have to check for events.length", "start": 4463, "end": 4506, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 53 } } }, { "type": "CommentLine", "value": " because there is no way events is empty..", "start": 4517, "end": 4561, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 54 } } } ] }, { "type": "ExpressionStatement", "start": 4572, "end": 4634, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 72 } }, "expression": { "type": "CallExpression", "start": 4572, "end": 4634, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 4572, "end": 4613, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4572, "end": 4594, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 32 } }, "object": { "type": "Identifier", "start": 4572, "end": 4576, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 14 }, "identifierName": "type" }, "name": "type", "leadingComments": null }, "property": { "type": "Identifier", "start": 4577, "end": 4594, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 32 }, "identifierName": "_deepEventHandler" }, "name": "_deepEventHandler" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 4595, "end": 4613, "loc": { "start": { "line": 144, "column": 33 }, "end": { "line": 144, "column": 51 }, "identifierName": "callEventListeners" }, "name": "callEventListeners" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 4614, "end": 4625, "loc": { "start": { "line": 144, "column": 52 }, "end": { "line": 144, "column": 63 }, "identifierName": "transaction" }, "name": "transaction" }, { "type": "Identifier", "start": 4627, "end": 4633, "loc": { "start": { "line": 144, "column": 65 }, "end": { "line": 144, "column": 71 }, "identifierName": "events" }, "name": "events" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " we don't have to check for events.length", "start": 4463, "end": 4506, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 53 } } }, { "type": "CommentLine", "value": " because there is no way events is empty..", "start": 4517, "end": 4561, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 54 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " when all changes & events are processed, emit afterTransaction event", "start": 4660, "end": 4731, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 77 } } } ] }, { "type": "ExpressionStatement", "start": 4738, "end": 4794, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "column": 62 } }, "expression": { "type": "CallExpression", "start": 4738, "end": 4794, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4738, "end": 4747, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "column": 15 } }, "object": { "type": "ThisExpression", "start": 4738, "end": 4742, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4743, "end": 4747, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 15 }, "identifierName": "emit" }, "name": "emit" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 4748, "end": 4766, "loc": { "start": { "line": 148, "column": 16 }, "end": { "line": 148, "column": 34 } }, "extra": { "rawValue": "afterTransaction", "raw": "'afterTransaction'" }, "value": "afterTransaction" }, { "type": "ThisExpression", "start": 4768, "end": 4772, "loc": { "start": { "line": 148, "column": 36 }, "end": { "line": 148, "column": 40 } } }, { "type": "Identifier", "start": 4774, "end": 4785, "loc": { "start": { "line": 148, "column": 42 }, "end": { "line": 148, "column": 53 }, "identifierName": "transaction" }, "name": "transaction" }, { "type": "Identifier", "start": 4787, "end": 4793, "loc": { "start": { "line": 148, "column": 55 }, "end": { "line": 148, "column": 61 }, "identifierName": "remote" }, "name": "remote" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " when all changes & events are processed, emit afterTransaction event", "start": 4660, "end": 4731, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 77 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Changes that happen inside of a transaction are bundled. This means that\n * the observer fires _after_ the transaction is finished and that all changes\n * that happened inside of the transaction are sent as one message to the\n * other peers.\n *\n * @param {Function} f The function that should be executed as a transaction\n * @param {?Boolean} remote Optional. Whether this transaction is initiated by\n * a remote peer. This should not be set manually!\n * Defaults to false.\n ", "start": 2903, "end": 3457, "loc": { "start": { "line": 100, "column": 2 }, "end": { "line": 110, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4808, "end": 4890, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 155, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 4893, "end": 4928, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 158, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4897, "end": 4903, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 12 }, "identifierName": "_start" }, "name": "_start" }, "kind": "get", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4907, "end": 4928, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 158, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 4913, "end": 4924, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 15 } }, "argument": { "type": "NullLiteral", "start": 4920, "end": 4924, "loc": { "start": { "line": 157, "column": 11 }, "end": { "line": 157, "column": 15 } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4808, "end": 4890, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 155, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4932, "end": 5014, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 163, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 5017, "end": 5057, "loc": { "start": { "line": 164, "column": 2 }, "end": { "line": 166, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5021, "end": 5027, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "column": 12 }, "identifierName": "_start" }, "name": "_start" }, "kind": "set", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5029, "end": 5034, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 19 }, "identifierName": "start" }, "name": "start" } ], "body": { "type": "BlockStatement", "start": 5036, "end": 5057, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 166, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 5042, "end": 5053, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 15 } }, "argument": { "type": "NullLiteral", "start": 5049, "end": 5053, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 15 } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4932, "end": 5014, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 163, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Define a shared data type.\n *\n * Multiple calls of `y.define(name, TypeConstructor)` yield the same result\n * and do not overwrite each other. I.e.\n * `y.define(name, type) === y.define(name, type)`\n *\n * After this method is called, the type is also available on `y.share[name]`.\n *\n * *Best Practices:*\n * Either define all types right after the Yjs instance is created or always\n * use `y.define(..)` when accessing a type.\n *\n * @example\n * // Option 1\n * const y = new Y(..)\n * y.define('myArray', YArray)\n * y.define('myMap', YMap)\n * // .. when accessing the type use y.share[name]\n * y.share.myArray.insert(..)\n * y.share.myMap.set(..)\n *\n * // Option2\n * const y = new Y(..)\n * // .. when accessing the type use `y.define(..)`\n * y.define('myArray', YArray).insert(..)\n * y.define('myMap', YMap).set(..)\n *\n * @param {String} name\n * @param {YType Constructor} TypeConstructor The constructor of the type definition\n * @returns {YType} The created type\n ", "start": 5061, "end": 6119, "loc": { "start": { "line": 168, "column": 2 }, "end": { "line": 199, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6122, "end": 6452, "loc": { "start": { "line": 200, "column": 2 }, "end": { "line": 209, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6122, "end": 6128, "loc": { "start": { "line": 200, "column": 2 }, "end": { "line": 200, "column": 8 }, "identifierName": "define" }, "name": "define", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6130, "end": 6134, "loc": { "start": { "line": 200, "column": 10 }, "end": { "line": 200, "column": 14 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 6136, "end": 6151, "loc": { "start": { "line": 200, "column": 16 }, "end": { "line": 200, "column": 31 }, "identifierName": "TypeConstructor" }, "name": "TypeConstructor" } ], "body": { "type": "BlockStatement", "start": 6153, "end": 6452, "loc": { "start": { "line": 200, "column": 33 }, "end": { "line": 209, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 6159, "end": 6201, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6163, "end": 6201, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 46 } }, "id": { "type": "Identifier", "start": 6163, "end": 6165, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 10 }, "identifierName": "id" }, "name": "id" }, "init": { "type": "NewExpression", "start": 6168, "end": 6201, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 201, "column": 46 } }, "callee": { "type": "Identifier", "start": 6172, "end": 6178, "loc": { "start": { "line": 201, "column": 17 }, "end": { "line": 201, "column": 23 }, "identifierName": "RootID" }, "name": "RootID" }, "arguments": [ { "type": "Identifier", "start": 6179, "end": 6183, "loc": { "start": { "line": 201, "column": 24 }, "end": { "line": 201, "column": 28 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 6185, "end": 6200, "loc": { "start": { "line": 201, "column": 30 }, "end": { "line": 201, "column": 45 }, "identifierName": "TypeConstructor" }, "name": "TypeConstructor" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6206, "end": 6232, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6210, "end": 6232, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 30 } }, "id": { "type": "Identifier", "start": 6210, "end": 6214, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 }, "identifierName": "type" }, "name": "type" }, "init": { "type": "CallExpression", "start": 6217, "end": 6232, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 6217, "end": 6228, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 26 } }, "object": { "type": "MemberExpression", "start": 6217, "end": 6224, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 22 } }, "object": { "type": "ThisExpression", "start": 6217, "end": 6221, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 19 } } }, "property": { "type": "Identifier", "start": 6222, "end": 6224, "loc": { "start": { "line": 202, "column": 20 }, "end": { "line": 202, "column": 22 }, "identifierName": "os" }, "name": "os" }, "computed": false }, "property": { "type": "Identifier", "start": 6225, "end": 6228, "loc": { "start": { "line": 202, "column": 23 }, "end": { "line": 202, "column": 26 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6229, "end": 6231, "loc": { "start": { "line": 202, "column": 27 }, "end": { "line": 202, "column": 29 }, "identifierName": "id" }, "name": "id" } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 6237, "end": 6432, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 207, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6241, "end": 6271, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 38 } }, "left": { "type": "MemberExpression", "start": 6241, "end": 6257, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 24 } }, "object": { "type": "MemberExpression", "start": 6241, "end": 6251, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6241, "end": 6245, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 12 } } }, "property": { "type": "Identifier", "start": 6246, "end": 6251, "loc": { "start": { "line": 203, "column": 13 }, "end": { "line": 203, "column": 18 }, "identifierName": "share" }, "name": "share" }, "computed": false }, "property": { "type": "Identifier", "start": 6252, "end": 6256, "loc": { "start": { "line": 203, "column": 19 }, "end": { "line": 203, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "operator": "===", "right": { "type": "Identifier", "start": 6262, "end": 6271, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 38 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 6273, "end": 6310, "loc": { "start": { "line": 203, "column": 40 }, "end": { "line": 205, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6281, "end": 6304, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6281, "end": 6304, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6281, "end": 6297, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 22 } }, "object": { "type": "MemberExpression", "start": 6281, "end": 6291, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6281, "end": 6285, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 10 } } }, "property": { "type": "Identifier", "start": 6286, "end": 6291, "loc": { "start": { "line": 204, "column": 11 }, "end": { "line": 204, "column": 16 }, "identifierName": "share" }, "name": "share" }, "computed": false }, "property": { "type": "Identifier", "start": 6292, "end": 6296, "loc": { "start": { "line": 204, "column": 17 }, "end": { "line": 204, "column": 21 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "Identifier", "start": 6300, "end": 6304, "loc": { "start": { "line": 204, "column": 25 }, "end": { "line": 204, "column": 29 }, "identifierName": "type" }, "name": "type" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 6316, "end": 6432, "loc": { "start": { "line": 205, "column": 11 }, "end": { "line": 207, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6320, "end": 6345, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 40 } }, "left": { "type": "MemberExpression", "start": 6320, "end": 6336, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 31 } }, "object": { "type": "MemberExpression", "start": 6320, "end": 6330, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6320, "end": 6324, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 19 } } }, "property": { "type": "Identifier", "start": 6325, "end": 6330, "loc": { "start": { "line": 205, "column": 20 }, "end": { "line": 205, "column": 25 }, "identifierName": "share" }, "name": "share" }, "computed": false }, "property": { "type": "Identifier", "start": 6331, "end": 6335, "loc": { "start": { "line": 205, "column": 26 }, "end": { "line": 205, "column": 30 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 6341, "end": 6345, "loc": { "start": { "line": 205, "column": 36 }, "end": { "line": 205, "column": 40 }, "identifierName": "type" }, "name": "type" } }, "consequent": { "type": "BlockStatement", "start": 6347, "end": 6432, "loc": { "start": { "line": 205, "column": 42 }, "end": { "line": 207, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 6355, "end": 6426, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 77 } }, "argument": { "type": "NewExpression", "start": 6361, "end": 6426, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 77 } }, "callee": { "type": "Identifier", "start": 6365, "end": 6370, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6371, "end": 6425, "loc": { "start": { "line": 206, "column": 22 }, "end": { "line": 206, "column": 76 } }, "extra": { "rawValue": "Type is already defined with a different constructor", "raw": "'Type is already defined with a different constructor'" }, "value": "Type is already defined with a different constructor" } ] } } ], "directives": [] }, "alternate": null } }, { "type": "ReturnStatement", "start": 6437, "end": 6448, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 15 } }, "argument": { "type": "Identifier", "start": 6444, "end": 6448, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 15 }, "identifierName": "type" }, "name": "type" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Define a shared data type.\n *\n * Multiple calls of `y.define(name, TypeConstructor)` yield the same result\n * and do not overwrite each other. I.e.\n * `y.define(name, type) === y.define(name, type)`\n *\n * After this method is called, the type is also available on `y.share[name]`.\n *\n * *Best Practices:*\n * Either define all types right after the Yjs instance is created or always\n * use `y.define(..)` when accessing a type.\n *\n * @example\n * // Option 1\n * const y = new Y(..)\n * y.define('myArray', YArray)\n * y.define('myMap', YMap)\n * // .. when accessing the type use y.share[name]\n * y.share.myArray.insert(..)\n * y.share.myMap.set(..)\n *\n * // Option2\n * const y = new Y(..)\n * // .. when accessing the type use `y.define(..)`\n * y.define('myArray', YArray).insert(..)\n * y.define('myMap', YMap).set(..)\n *\n * @param {String} name\n * @param {YType Constructor} TypeConstructor The constructor of the type definition\n * @returns {YType} The created type\n ", "start": 5061, "end": 6119, "loc": { "start": { "line": 168, "column": 2 }, "end": { "line": 199, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Get a defined type. The type must be defined locally. First define the\n * type with {@link define}.\n *\n * This returns the same value as `y.share[name]`\n *\n * @param {String} name The typename\n ", "start": 6456, "end": 6673, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 218, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6676, "end": 6720, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 221, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6676, "end": 6679, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 5 }, "identifierName": "get" }, "name": "get", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6681, "end": 6685, "loc": { "start": { "line": 219, "column": 7 }, "end": { "line": 219, "column": 11 }, "identifierName": "name" }, "name": "name" } ], "body": { "type": "BlockStatement", "start": 6687, "end": 6720, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 221, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 6693, "end": 6716, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 27 } }, "argument": { "type": "MemberExpression", "start": 6700, "end": 6716, "loc": { "start": { "line": 220, "column": 11 }, "end": { "line": 220, "column": 27 } }, "object": { "type": "MemberExpression", "start": 6700, "end": 6710, "loc": { "start": { "line": 220, "column": 11 }, "end": { "line": 220, "column": 21 } }, "object": { "type": "ThisExpression", "start": 6700, "end": 6704, "loc": { "start": { "line": 220, "column": 11 }, "end": { "line": 220, "column": 15 } } }, "property": { "type": "Identifier", "start": 6705, "end": 6710, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 21 }, "identifierName": "share" }, "name": "share" }, "computed": false }, "property": { "type": "Identifier", "start": 6711, "end": 6715, "loc": { "start": { "line": 220, "column": 22 }, "end": { "line": 220, "column": 26 }, "identifierName": "name" }, "name": "name" }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Get a defined type. The type must be defined locally. First define the\n * type with {@link define}.\n *\n * This returns the same value as `y.share[name]`\n *\n * @param {String} name The typename\n ", "start": 6456, "end": 6673, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 218, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Disconnect this Yjs Instance from the network. The connector will\n * unsubscribe from the room and document updates are not shared anymore.\n ", "start": 6724, "end": 6880, "loc": { "start": { "line": 223, "column": 2 }, "end": { "line": 226, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6883, "end": 7048, "loc": { "start": { "line": 227, "column": 2 }, "end": { "line": 234, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6883, "end": 6893, "loc": { "start": { "line": 227, "column": 2 }, "end": { "line": 227, "column": 12 }, "identifierName": "disconnect" }, "name": "disconnect", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6897, "end": 7048, "loc": { "start": { "line": 227, "column": 16 }, "end": { "line": 234, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 6903, "end": 7044, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 233, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6907, "end": 6921, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 22 } }, "object": { "type": "ThisExpression", "start": 6907, "end": 6911, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 12 } } }, "property": { "type": "Identifier", "start": 6912, "end": 6921, "loc": { "start": { "line": 228, "column": 13 }, "end": { "line": 228, "column": 22 }, "identifierName": "connected" }, "name": "connected" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 6923, "end": 7000, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 231, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6931, "end": 6953, "loc": { "start": { "line": 229, "column": 6 }, "end": { "line": 229, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 6931, "end": 6953, "loc": { "start": { "line": 229, "column": 6 }, "end": { "line": 229, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6931, "end": 6945, "loc": { "start": { "line": 229, "column": 6 }, "end": { "line": 229, "column": 20 } }, "object": { "type": "ThisExpression", "start": 6931, "end": 6935, "loc": { "start": { "line": 229, "column": 6 }, "end": { "line": 229, "column": 10 } } }, "property": { "type": "Identifier", "start": 6936, "end": 6945, "loc": { "start": { "line": 229, "column": 11 }, "end": { "line": 229, "column": 20 }, "identifierName": "connected" }, "name": "connected" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 6948, "end": 6953, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 229, "column": 28 } }, "value": false } } }, { "type": "ReturnStatement", "start": 6960, "end": 6994, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 40 } }, "argument": { "type": "CallExpression", "start": 6967, "end": 6994, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6967, "end": 6992, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6967, "end": 6981, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6967, "end": 6971, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 17 } } }, "property": { "type": "Identifier", "start": 6972, "end": 6981, "loc": { "start": { "line": 230, "column": 18 }, "end": { "line": 230, "column": 27 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 6982, "end": 6992, "loc": { "start": { "line": 230, "column": 28 }, "end": { "line": 230, "column": 38 }, "identifierName": "disconnect" }, "name": "disconnect" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7006, "end": 7044, "loc": { "start": { "line": 231, "column": 11 }, "end": { "line": 233, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7014, "end": 7038, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 30 } }, "argument": { "type": "CallExpression", "start": 7021, "end": 7038, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 7021, "end": 7036, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 28 } }, "object": { "type": "Identifier", "start": 7021, "end": 7028, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 20 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 7029, "end": 7036, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 28 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Disconnect this Yjs Instance from the network. The connector will\n * unsubscribe from the room and document updates are not shared anymore.\n ", "start": 6724, "end": 6880, "loc": { "start": { "line": 223, "column": 2 }, "end": { "line": 226, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * If disconnected, tell the connector to reconnect to the room.\n ", "start": 7052, "end": 7128, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7131, "end": 7294, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 246, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7131, "end": 7140, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 239, "column": 11 }, "identifierName": "reconnect" }, "name": "reconnect", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7144, "end": 7294, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 246, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 7150, "end": 7290, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 245, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 7154, "end": 7169, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 23 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7155, "end": 7169, "loc": { "start": { "line": 240, "column": 9 }, "end": { "line": 240, "column": 23 } }, "object": { "type": "ThisExpression", "start": 7155, "end": 7159, "loc": { "start": { "line": 240, "column": 9 }, "end": { "line": 240, "column": 13 } } }, "property": { "type": "Identifier", "start": 7160, "end": 7169, "loc": { "start": { "line": 240, "column": 14 }, "end": { "line": 240, "column": 23 }, "identifierName": "connected" }, "name": "connected" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 7171, "end": 7246, "loc": { "start": { "line": 240, "column": 25 }, "end": { "line": 243, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7179, "end": 7200, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 7179, "end": 7200, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7179, "end": 7193, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7179, "end": 7183, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 10 } } }, "property": { "type": "Identifier", "start": 7184, "end": 7193, "loc": { "start": { "line": 241, "column": 11 }, "end": { "line": 241, "column": 20 }, "identifierName": "connected" }, "name": "connected" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 7196, "end": 7200, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "column": 27 } }, "value": true } } }, { "type": "ReturnStatement", "start": 7207, "end": 7240, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 39 } }, "argument": { "type": "CallExpression", "start": 7214, "end": 7240, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 7214, "end": 7238, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7214, "end": 7228, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7214, "end": 7218, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 17 } } }, "property": { "type": "Identifier", "start": 7219, "end": 7228, "loc": { "start": { "line": 242, "column": 18 }, "end": { "line": 242, "column": 27 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 7229, "end": 7238, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 37 }, "identifierName": "reconnect" }, "name": "reconnect" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7252, "end": 7290, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 245, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7260, "end": 7284, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 30 } }, "argument": { "type": "CallExpression", "start": 7267, "end": 7284, "loc": { "start": { "line": 244, "column": 13 }, "end": { "line": 244, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 7267, "end": 7282, "loc": { "start": { "line": 244, "column": 13 }, "end": { "line": 244, "column": 28 } }, "object": { "type": "Identifier", "start": 7267, "end": 7274, "loc": { "start": { "line": 244, "column": 13 }, "end": { "line": 244, "column": 20 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 7275, "end": 7282, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 28 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * If disconnected, tell the connector to reconnect to the room.\n ", "start": 7052, "end": 7128, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Disconnect from the room, and destroy all traces of this Yjs instance.\n * Persisted data will remain until removed by the persistence adapter.\n ", "start": 7298, "end": 7457, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 251, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7460, "end": 7860, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 269, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7460, "end": 7467, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 252, "column": 9 }, "identifierName": "destroy" }, "name": "destroy", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7471, "end": 7860, "loc": { "start": { "line": 252, "column": 13 }, "end": { "line": 269, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7477, "end": 7492, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 19 } }, "expression": { "type": "CallExpression", "start": 7477, "end": 7492, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 7477, "end": 7490, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 17 } }, "object": { "type": "Super", "start": 7477, "end": 7482, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 9 } } }, "property": { "type": "Identifier", "start": 7483, "end": 7490, "loc": { "start": { "line": 253, "column": 10 }, "end": { "line": 253, "column": 17 }, "identifierName": "destroy" }, "name": "destroy" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 7497, "end": 7514, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 21 } }, "expression": { "type": "AssignmentExpression", "start": 7497, "end": 7514, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7497, "end": 7507, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 14 } }, "object": { "type": "ThisExpression", "start": 7497, "end": 7501, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, "property": { "type": "Identifier", "start": 7502, "end": 7507, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 14 }, "identifierName": "share" }, "name": "share" }, "computed": false }, "right": { "type": "NullLiteral", "start": 7510, "end": 7514, "loc": { "start": { "line": 254, "column": 17 }, "end": { "line": 254, "column": 21 } } } } }, { "type": "IfStatement", "start": 7519, "end": 7690, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 261, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7523, "end": 7545, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 30 } }, "left": { "type": "MemberExpression", "start": 7523, "end": 7537, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 22 } }, "object": { "type": "ThisExpression", "start": 7523, "end": 7527, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 12 } } }, "property": { "type": "Identifier", "start": 7528, "end": 7537, "loc": { "start": { "line": 255, "column": 13 }, "end": { "line": 255, "column": 22 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "operator": "!=", "right": { "type": "NullLiteral", "start": 7541, "end": 7545, "loc": { "start": { "line": 255, "column": 26 }, "end": { "line": 255, "column": 30 } } } }, "consequent": { "type": "BlockStatement", "start": 7547, "end": 7690, "loc": { "start": { "line": 255, "column": 32 }, "end": { "line": 261, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 7555, "end": 7684, "loc": { "start": { "line": 256, "column": 6 }, "end": { "line": 260, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 7559, "end": 7589, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "column": 40 } }, "left": { "type": "MemberExpression", "start": 7559, "end": 7581, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "column": 32 } }, "object": { "type": "MemberExpression", "start": 7559, "end": 7573, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7559, "end": 7563, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "column": 14 } } }, "property": { "type": "Identifier", "start": 7564, "end": 7573, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 24 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 7574, "end": 7581, "loc": { "start": { "line": 256, "column": 25 }, "end": { "line": 256, "column": 32 }, "identifierName": "destroy" }, "name": "destroy" }, "computed": false }, "operator": "!=", "right": { "type": "NullLiteral", "start": 7585, "end": 7589, "loc": { "start": { "line": 256, "column": 36 }, "end": { "line": 256, "column": 40 } } } }, "consequent": { "type": "BlockStatement", "start": 7591, "end": 7633, "loc": { "start": { "line": 256, "column": 42 }, "end": { "line": 258, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7601, "end": 7625, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 32 } }, "expression": { "type": "CallExpression", "start": 7601, "end": 7625, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 7601, "end": 7623, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 30 } }, "object": { "type": "MemberExpression", "start": 7601, "end": 7615, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 22 } }, "object": { "type": "ThisExpression", "start": 7601, "end": 7605, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 12 } } }, "property": { "type": "Identifier", "start": 7606, "end": 7615, "loc": { "start": { "line": 257, "column": 13 }, "end": { "line": 257, "column": 22 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 7616, "end": 7623, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 257, "column": 30 }, "identifierName": "destroy" }, "name": "destroy" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7639, "end": 7684, "loc": { "start": { "line": 258, "column": 13 }, "end": { "line": 260, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7649, "end": 7676, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 35 } }, "expression": { "type": "CallExpression", "start": 7649, "end": 7676, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 7649, "end": 7674, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 33 } }, "object": { "type": "MemberExpression", "start": 7649, "end": 7663, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 22 } }, "object": { "type": "ThisExpression", "start": 7649, "end": 7653, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 12 } } }, "property": { "type": "Identifier", "start": 7654, "end": 7663, "loc": { "start": { "line": 259, "column": 13 }, "end": { "line": 259, "column": 22 }, "identifierName": "connector" }, "name": "connector" }, "computed": false }, "property": { "type": "Identifier", "start": 7664, "end": 7674, "loc": { "start": { "line": 259, "column": 23 }, "end": { "line": 259, "column": 33 }, "identifierName": "disconnect" }, "name": "disconnect" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7695, "end": 7799, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7699, "end": 7724, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 33 } }, "left": { "type": "MemberExpression", "start": 7699, "end": 7715, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7699, "end": 7703, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 12 } } }, "property": { "type": "Identifier", "start": 7704, "end": 7715, "loc": { "start": { "line": 262, "column": 13 }, "end": { "line": 262, "column": 24 }, "identifierName": "persistence" }, "name": "persistence" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 7720, "end": 7724, "loc": { "start": { "line": 262, "column": 29 }, "end": { "line": 262, "column": 33 } } } }, "consequent": { "type": "BlockStatement", "start": 7726, "end": 7799, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7734, "end": 7763, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 35 } }, "expression": { "type": "CallExpression", "start": 7734, "end": 7763, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 7734, "end": 7757, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7734, "end": 7750, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 22 } }, "object": { "type": "ThisExpression", "start": 7734, "end": 7738, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 10 } } }, "property": { "type": "Identifier", "start": 7739, "end": 7750, "loc": { "start": { "line": 263, "column": 11 }, "end": { "line": 263, "column": 22 }, "identifierName": "persistence" }, "name": "persistence" }, "computed": false }, "property": { "type": "Identifier", "start": 7751, "end": 7757, "loc": { "start": { "line": 263, "column": 23 }, "end": { "line": 263, "column": 29 }, "identifierName": "deinit" }, "name": "deinit" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 7758, "end": 7762, "loc": { "start": { "line": 263, "column": 30 }, "end": { "line": 263, "column": 34 } } } ] } }, { "type": "ExpressionStatement", "start": 7770, "end": 7793, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 7770, "end": 7793, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7770, "end": 7786, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 22 } }, "object": { "type": "ThisExpression", "start": 7770, "end": 7774, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 10 } } }, "property": { "type": "Identifier", "start": 7775, "end": 7786, "loc": { "start": { "line": 264, "column": 11 }, "end": { "line": 264, "column": 22 }, "identifierName": "persistence" }, "name": "persistence" }, "computed": false }, "right": { "type": "NullLiteral", "start": 7789, "end": 7793, "loc": { "start": { "line": 264, "column": 25 }, "end": { "line": 264, "column": 29 } } } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 7804, "end": 7818, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 18 } }, "expression": { "type": "AssignmentExpression", "start": 7804, "end": 7818, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7804, "end": 7811, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 11 } }, "object": { "type": "ThisExpression", "start": 7804, "end": 7808, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 8 } } }, "property": { "type": "Identifier", "start": 7809, "end": 7811, "loc": { "start": { "line": 266, "column": 9 }, "end": { "line": 266, "column": 11 }, "identifierName": "os" }, "name": "os" }, "computed": false }, "right": { "type": "NullLiteral", "start": 7814, "end": 7818, "loc": { "start": { "line": 266, "column": 14 }, "end": { "line": 266, "column": 18 } } } } }, { "type": "ExpressionStatement", "start": 7823, "end": 7837, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 18 } }, "expression": { "type": "AssignmentExpression", "start": 7823, "end": 7837, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7823, "end": 7830, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 11 } }, "object": { "type": "ThisExpression", "start": 7823, "end": 7827, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 8 } } }, "property": { "type": "Identifier", "start": 7828, "end": 7830, "loc": { "start": { "line": 267, "column": 9 }, "end": { "line": 267, "column": 11 }, "identifierName": "ds" }, "name": "ds" }, "computed": false }, "right": { "type": "NullLiteral", "start": 7833, "end": 7837, "loc": { "start": { "line": 267, "column": 14 }, "end": { "line": 267, "column": 18 } } } } }, { "type": "ExpressionStatement", "start": 7842, "end": 7856, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 18 } }, "expression": { "type": "AssignmentExpression", "start": 7842, "end": 7856, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7842, "end": 7849, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 11 } }, "object": { "type": "ThisExpression", "start": 7842, "end": 7846, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 8 } } }, "property": { "type": "Identifier", "start": 7847, "end": 7849, "loc": { "start": { "line": 268, "column": 9 }, "end": { "line": 268, "column": 11 }, "identifierName": "ss" }, "name": "ss" }, "computed": false }, "right": { "type": "NullLiteral", "start": 7852, "end": 7856, "loc": { "start": { "line": 268, "column": 14 }, "end": { "line": 268, "column": 18 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Disconnect from the room, and destroy all traces of this Yjs instance.\n * Persisted data will remain until removed by the persistence adapter.\n ", "start": 7298, "end": 7457, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 251, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Anything that can be encoded with `JSON.stringify` and can be decoded with\n * `JSON.parse`.\n *\n * The following property should hold:\n * `JSON.parse(JSON.stringify(key))===key`\n *\n * At the moment the only safe values are number and string.\n *\n * @typedef {(number|string)} encodable\n ", "start": 443, "end": 737, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * A Yjs instance handles the state of shared data.\n *\n * @param {string} room Users in the same room share the same content\n * @param {Object} opts Connector definition\n * @param {AbstractPersistence} persistence Persistence adapter instance\n ", "start": 739, "end": 989, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 29, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Anything that can be encoded with `JSON.stringify` and can be decoded with\n * `JSON.parse`.\n *\n * The following property should hold:\n * `JSON.parse(JSON.stringify(key))===key`\n *\n * At the moment the only safe values are number and string.\n *\n * @typedef {(number|string)} encodable\n ", "start": 443, "end": 737, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * A Yjs instance handles the state of shared data.\n *\n * @param {string} room Users in the same room share the same content\n * @param {Object} opts Connector definition\n * @param {AbstractPersistence} persistence Persistence adapter instance\n ", "start": 739, "end": 989, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 29, "column": 3 } } } ] }, { "type": "ExpressionStatement", "start": 7864, "end": 8087, "loc": { "start": { "line": 272, "column": 0 }, "end": { "line": 281, "column": 1 } }, "expression": { "type": "AssignmentExpression", "start": 7864, "end": 8087, "loc": { "start": { "line": 272, "column": 0 }, "end": { "line": 281, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7864, "end": 7872, "loc": { "start": { "line": 272, "column": 0 }, "end": { "line": 272, "column": 8 } }, "object": { "type": "Identifier", "start": 7864, "end": 7865, "loc": { "start": { "line": 272, "column": 0 }, "end": { "line": 272, "column": 1 }, "identifierName": "Y" }, "name": "Y" }, "property": { "type": "Identifier", "start": 7866, "end": 7872, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 8 }, "identifierName": "extend" }, "name": "extend" }, "computed": false }, "right": { "type": "FunctionExpression", "start": 7875, "end": 8087, "loc": { "start": { "line": 272, "column": 11 }, "end": { "line": 281, "column": 1 } }, "id": { "type": "Identifier", "start": 7866, "end": 7872, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 8 }, "identifierName": "extend" }, "name": "extend" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7897, "end": 8087, "loc": { "start": { "line": 272, "column": 33 }, "end": { "line": 281, "column": 1 } }, "body": [ { "type": "ForStatement", "start": 7901, "end": 8085, "loc": { "start": { "line": 273, "column": 2 }, "end": { "line": 280, "column": 3 } }, "init": { "type": "VariableDeclaration", "start": 7906, "end": 7915, "loc": { "start": { "line": 273, "column": 7 }, "end": { "line": 273, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7910, "end": 7915, "loc": { "start": { "line": 273, "column": 11 }, "end": { "line": 273, "column": 16 } }, "id": { "type": "Identifier", "start": 7910, "end": 7911, "loc": { "start": { "line": 273, "column": 11 }, "end": { "line": 273, "column": 12 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 7914, "end": 7915, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 16 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "var" }, "test": { "type": "BinaryExpression", "start": 7917, "end": 7937, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 38 } }, "left": { "type": "Identifier", "start": 7917, "end": 7918, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 19 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 7921, "end": 7937, "loc": { "start": { "line": 273, "column": 22 }, "end": { "line": 273, "column": 38 } }, "object": { "type": "Identifier", "start": 7921, "end": 7930, "loc": { "start": { "line": 273, "column": 22 }, "end": { "line": 273, "column": 31 }, "identifierName": "arguments" }, "name": "arguments" }, "property": { "type": "Identifier", "start": 7931, "end": 7937, "loc": { "start": { "line": 273, "column": 32 }, "end": { "line": 273, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 7939, "end": 7942, "loc": { "start": { "line": 273, "column": 40 }, "end": { "line": 273, "column": 43 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 7939, "end": 7940, "loc": { "start": { "line": 273, "column": 40 }, "end": { "line": 273, "column": 41 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 7944, "end": 8085, "loc": { "start": { "line": 273, "column": 45 }, "end": { "line": 280, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7950, "end": 7970, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7954, "end": 7970, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 24 } }, "id": { "type": "Identifier", "start": 7954, "end": 7955, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 9 }, "identifierName": "f" }, "name": "f" }, "init": { "type": "MemberExpression", "start": 7958, "end": 7970, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 24 } }, "object": { "type": "Identifier", "start": 7958, "end": 7967, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 21 }, "identifierName": "arguments" }, "name": "arguments" }, "property": { "type": "Identifier", "start": 7968, "end": 7969, "loc": { "start": { "line": 274, "column": 22 }, "end": { "line": 274, "column": 23 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "var" }, { "type": "IfStatement", "start": 7975, "end": 8081, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 279, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7979, "end": 8002, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 31 } }, "left": { "type": "UnaryExpression", "start": 7979, "end": 7987, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 16 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 7986, "end": 7987, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 275, "column": 16 }, "identifierName": "f" }, "name": "f" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 7992, "end": 8002, "loc": { "start": { "line": 275, "column": 21 }, "end": { "line": 275, "column": 31 } }, "extra": { "rawValue": "function", "raw": "'function'" }, "value": "function" } }, "consequent": { "type": "BlockStatement", "start": 8004, "end": 8022, "loc": { "start": { "line": 275, "column": 33 }, "end": { "line": 277, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8012, "end": 8016, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 10 } }, "expression": { "type": "CallExpression", "start": 8012, "end": 8016, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 10 } }, "callee": { "type": "Identifier", "start": 8012, "end": 8013, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 7 }, "identifierName": "f" }, "name": "f" }, "arguments": [ { "type": "Identifier", "start": 8014, "end": 8015, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 9 }, "identifierName": "Y" }, "name": "Y" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 8028, "end": 8081, "loc": { "start": { "line": 277, "column": 11 }, "end": { "line": 279, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 8036, "end": 8075, "loc": { "start": { "line": 278, "column": 6 }, "end": { "line": 278, "column": 45 } }, "argument": { "type": "NewExpression", "start": 8042, "end": 8075, "loc": { "start": { "line": 278, "column": 12 }, "end": { "line": 278, "column": 45 } }, "callee": { "type": "Identifier", "start": 8046, "end": 8051, "loc": { "start": { "line": 278, "column": 16 }, "end": { "line": 278, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 8052, "end": 8074, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 44 } }, "extra": { "rawValue": "Expected a function!", "raw": "'Expected a function!'" }, "value": "Expected a function!" } ] } } ], "directives": [] } } ], "directives": [] } } ], "directives": [] } } } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Anything that can be encoded with `JSON.stringify` and can be decoded with\n * `JSON.parse`.\n *\n * The following property should hold:\n * `JSON.parse(JSON.stringify(key))===key`\n *\n * At the moment the only safe values are number and string.\n *\n * @typedef {(number|string)} encodable\n ", "start": 443, "end": 737, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * A Yjs instance handles the state of shared data.\n *\n * @param {string} room Users in the same room share the same content\n * @param {Object} opts Connector definition\n * @param {AbstractPersistence} persistence Persistence adapter instance\n ", "start": 739, "end": 989, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * The room name that this Yjs instance connects to.\n * @type {String}\n ", "start": 1099, "end": 1189, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 36, "column": 7 } } }, { "type": "CommentLine", "value": " TODO: This should be a Map so we can use encodables as keys", "start": 1468, "end": 1530, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 66 } } }, { "type": "CommentBlock", "value": "*\n * The {@link AbstractConnector}.that is used by this Yjs instance.\n * @type {AbstractConnector}\n ", "start": 1763, "end": 1879, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * The {@link AbstractPersistence} that is used by this Yjs instance.\n * @type {AbstractPersistence}\n ", "start": 2150, "end": 2270, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 72, "column": 7 } } }, { "type": "CommentLine", "value": " for compatibility with isParentOf", "start": 2464, "end": 2500, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 40 } } }, { "type": "CommentBlock", "value": "*\n * Changes that happen inside of a transaction are bundled. This means that\n * the observer fires _after_ the transaction is finished and that all changes\n * that happened inside of the transaction are sent as one message to the\n * other peers.\n *\n * @param {Function} f The function that should be executed as a transaction\n * @param {?Boolean} remote Optional. Whether this transaction is initiated by\n * a remote peer. This should not be set manually!\n * Defaults to false.\n ", "start": 2903, "end": 3457, "loc": { "start": { "line": 100, "column": 2 }, "end": { "line": 110, "column": 5 } } }, { "type": "CommentLine", "value": " emit change events on changed types", "start": 3934, "end": 3972, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "column": 44 } } }, { "type": "CommentLine", "value": " we don't have to check for events.length", "start": 4463, "end": 4506, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 53 } } }, { "type": "CommentLine", "value": " because there is no way events is empty..", "start": 4517, "end": 4561, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 54 } } }, { "type": "CommentLine", "value": " when all changes & events are processed, emit afterTransaction event", "start": 4660, "end": 4731, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 77 } } }, { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4808, "end": 4890, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 155, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4932, "end": 5014, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 163, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Define a shared data type.\n *\n * Multiple calls of `y.define(name, TypeConstructor)` yield the same result\n * and do not overwrite each other. I.e.\n * `y.define(name, type) === y.define(name, type)`\n *\n * After this method is called, the type is also available on `y.share[name]`.\n *\n * *Best Practices:*\n * Either define all types right after the Yjs instance is created or always\n * use `y.define(..)` when accessing a type.\n *\n * @example\n * // Option 1\n * const y = new Y(..)\n * y.define('myArray', YArray)\n * y.define('myMap', YMap)\n * // .. when accessing the type use y.share[name]\n * y.share.myArray.insert(..)\n * y.share.myMap.set(..)\n *\n * // Option2\n * const y = new Y(..)\n * // .. when accessing the type use `y.define(..)`\n * y.define('myArray', YArray).insert(..)\n * y.define('myMap', YMap).set(..)\n *\n * @param {String} name\n * @param {YType Constructor} TypeConstructor The constructor of the type definition\n * @returns {YType} The created type\n ", "start": 5061, "end": 6119, "loc": { "start": { "line": 168, "column": 2 }, "end": { "line": 199, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Get a defined type. The type must be defined locally. First define the\n * type with {@link define}.\n *\n * This returns the same value as `y.share[name]`\n *\n * @param {String} name The typename\n ", "start": 6456, "end": 6673, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Disconnect this Yjs Instance from the network. The connector will\n * unsubscribe from the room and document updates are not shared anymore.\n ", "start": 6724, "end": 6880, "loc": { "start": { "line": 223, "column": 2 }, "end": { "line": 226, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * If disconnected, tell the connector to reconnect to the room.\n ", "start": 7052, "end": 7128, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Disconnect from the room, and destroy all traces of this Yjs instance.\n * Persisted data will remain until removed by the persistence adapter.\n ", "start": 7298, "end": 7457, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 251, "column": 5 } } } ], "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": "DeleteStore", "start": 7, "end": 18, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 19, "end": 23, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Store/DeleteStore.js", "start": 24, "end": 48, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 48 } } }, { "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": 49, "end": 55, "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": "OperationStore", "start": 56, "end": 70, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 71, "end": 75, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Store/OperationStore.js", "start": 76, "end": 103, "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 54 } } }, { "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": 104, "end": 110, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StateStore", "start": 111, "end": 121, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 122, "end": 126, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Store/StateStore.js", "start": 127, "end": 150, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 46 } } }, { "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": 151, "end": 157, "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": 158, "end": 159, "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": "generateRandomUint32", "start": 160, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 181, "end": 182, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 183, "end": 187, "loc": { "start": { "line": 4, "column": 32 }, "end": { "line": 4, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Util/generateRandomUint32.js", "start": 188, "end": 220, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 69 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 221, "end": 227, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RootID", "start": 228, "end": 234, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 235, "end": 239, "loc": { "start": { "line": 5, "column": 14 }, "end": { "line": 5, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Util/ID/RootID.js", "start": 240, "end": 261, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 40 } } }, { "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": 262, "end": 268, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "NamedEventHandler", "start": 269, "end": 286, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 287, "end": 291, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Util/NamedEventHandler.js", "start": 292, "end": 321, "loc": { "start": { "line": 6, "column": 30 }, "end": { "line": 6, "column": 59 } } }, { "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": 322, "end": 328, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Transaction", "start": 329, "end": 340, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 341, "end": 345, "loc": { "start": { "line": 7, "column": 19 }, "end": { "line": 7, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Transaction.js", "start": 346, "end": 364, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 42 } } }, { "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": 366, "end": 372, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 373, "end": 374, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 8 } } }, { "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": 375, "end": 382, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "as", "start": 383, "end": 385, "loc": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DomBinding", "start": 386, "end": 396, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 397, "end": 398, "loc": { "start": { "line": 9, "column": 31 }, "end": { "line": 9, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 399, "end": 403, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Bindings/DomBinding/DomBinding.js", "start": 404, "end": 441, "loc": { "start": { "line": 9, "column": 38 }, "end": { "line": 9, "column": 75 } } }, { "type": "CommentBlock", "value": "*\n * Anything that can be encoded with `JSON.stringify` and can be decoded with\n * `JSON.parse`.\n *\n * The following property should hold:\n * `JSON.parse(JSON.stringify(key))===key`\n *\n * At the moment the only safe values are number and string.\n *\n * @typedef {(number|string)} encodable\n ", "start": 443, "end": 737, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * A Yjs instance handles the state of shared data.\n *\n * @param {string} room Users in the same room share the same content\n * @param {Object} opts Connector definition\n * @param {AbstractPersistence} persistence Persistence adapter instance\n ", "start": 739, "end": 989, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 990, "end": 996, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "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": 997, "end": 1004, "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "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": 1005, "end": 1010, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Y", "start": 1011, "end": 1012, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 22 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 1013, "end": 1020, "loc": { "start": { "line": 30, "column": 23 }, "end": { "line": 30, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "NamedEventHandler", "start": 1021, "end": 1038, "loc": { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1039, "end": 1040, "loc": { "start": { "line": 30, "column": 49 }, "end": { "line": 30, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1043, "end": 1054, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1055, "end": 1056, "loc": { "start": { "line": 31, "column": 14 }, "end": { "line": 31, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "room", "start": 1056, "end": 1060, "loc": { "start": { "line": 31, "column": 15 }, "end": { "line": 31, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1060, "end": 1061, "loc": { "start": { "line": 31, "column": 19 }, "end": { "line": 31, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1062, "end": 1066, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1066, "end": 1067, "loc": { "start": { "line": 31, "column": 25 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 1068, "end": 1079, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1079, "end": 1080, "loc": { "start": { "line": 31, "column": 38 }, "end": { "line": 31, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1081, "end": 1082, "loc": { "start": { "line": 31, "column": 40 }, "end": { "line": 31, "column": 41 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1087, "end": 1092, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1092, "end": 1093, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1093, "end": 1094, "loc": { "start": { "line": 32, "column": 10 }, "end": { "line": 32, "column": 11 } } }, { "type": "CommentBlock", "value": "*\n * The room name that this Yjs instance connects to.\n * @type {String}\n ", "start": 1099, "end": 1189, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 36, "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": 1194, "end": 1198, "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": 1198, "end": 1199, "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": "room", "start": 1199, "end": 1203, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1204, "end": 1205, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "room", "start": 1206, "end": 1210, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "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": 1215, "end": 1217, "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": 1218, "end": 1219, "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": 1219, "end": 1223, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 1224, "end": 1226, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "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": 1227, "end": 1231, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1231, "end": 1232, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1233, "end": 1234, "loc": { "start": { "line": 38, "column": 22 }, "end": { "line": 38, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1241, "end": 1245, "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": 1245, "end": 1246, "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": "connector", "start": 1246, "end": 1255, "loc": { "start": { "line": 39, "column": 11 }, "end": { "line": 39, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1255, "end": 1256, "loc": { "start": { "line": 39, "column": 20 }, "end": { "line": 39, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "room", "start": 1256, "end": 1260, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1261, "end": 1262, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "room", "start": 1263, "end": 1267, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1272, "end": 1273, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "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": 1278, "end": 1282, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1282, "end": 1283, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_contentReady", "start": 1283, "end": 1296, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1297, "end": 1298, "loc": { "start": { "line": 41, "column": 23 }, "end": { "line": 41, "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": 1299, "end": 1304, "loc": { "start": { "line": 41, "column": 25 }, "end": { "line": 41, "column": 30 } } }, { "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": 1309, "end": 1313, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1313, "end": 1314, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_opts", "start": 1314, "end": 1319, "loc": { "start": { "line": 42, "column": 9 }, "end": { "line": 42, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1320, "end": 1321, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1322, "end": 1326, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 21 } } }, { "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": 1331, "end": 1333, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1334, "end": 1335, "loc": { "start": { "line": 43, "column": 7 }, "end": { "line": 43, "column": 8 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 1335, "end": 1341, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1342, "end": 1346, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1346, "end": 1347, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 1347, "end": 1353, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 26 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1354, "end": 1357, "loc": { "start": { "line": 43, "column": 27 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "number", "start": 1358, "end": 1366, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1366, "end": 1367, "loc": { "start": { "line": 43, "column": 39 }, "end": { "line": 43, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1368, "end": 1369, "loc": { "start": { "line": 43, "column": 41 }, "end": { "line": 43, "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": 1376, "end": 1380, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1380, "end": 1381, "loc": { "start": { "line": 44, "column": 10 }, "end": { "line": 44, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 1381, "end": 1387, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1388, "end": 1389, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateRandomUint32", "start": 1390, "end": 1410, "loc": { "start": { "line": 44, "column": 20 }, "end": { "line": 44, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1410, "end": 1411, "loc": { "start": { "line": 44, "column": 40 }, "end": { "line": 44, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1411, "end": 1412, "loc": { "start": { "line": 44, "column": 41 }, "end": { "line": 44, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1417, "end": 1418, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "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": 1419, "end": 1423, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1424, "end": 1425, "loc": { "start": { "line": 45, "column": 11 }, "end": { "line": 45, "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": 1432, "end": 1436, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1436, "end": 1437, "loc": { "start": { "line": 46, "column": 10 }, "end": { "line": 46, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 1437, "end": 1443, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1444, "end": 1445, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1446, "end": 1450, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1450, "end": 1451, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userID", "start": 1451, "end": 1457, "loc": { "start": { "line": 46, "column": 25 }, "end": { "line": 46, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1462, "end": 1463, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 5 } } }, { "type": "CommentLine", "value": " TODO: This should be a Map so we can use encodables as keys", "start": 1468, "end": 1530, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 66 } } }, { "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": 1535, "end": 1539, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1539, "end": 1540, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "share", "start": 1540, "end": 1545, "loc": { "start": { "line": 49, "column": 9 }, "end": { "line": 49, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1546, "end": 1547, "loc": { "start": { "line": 49, "column": 15 }, "end": { "line": 49, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1548, "end": 1549, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1549, "end": 1550, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "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": 1555, "end": 1559, "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": 1559, "end": 1560, "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": "ds", "start": 1560, "end": 1562, "loc": { "start": { "line": 50, "column": 9 }, "end": { "line": 50, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1563, "end": 1564, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 13 } } }, { "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": 1565, "end": 1568, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DeleteStore", "start": 1569, "end": 1580, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1580, "end": 1581, "loc": { "start": { "line": 50, "column": 29 }, "end": { "line": 50, "column": 30 } } }, { "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": 1581, "end": 1585, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1585, "end": 1586, "loc": { "start": { "line": 50, "column": 34 }, "end": { "line": 50, "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": 1591, "end": 1595, "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": 1595, "end": 1596, "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": "os", "start": 1596, "end": 1598, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1599, "end": 1600, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 13 } } }, { "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": 1601, "end": 1604, "loc": { "start": { "line": 51, "column": 14 }, "end": { "line": 51, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "OperationStore", "start": 1605, "end": 1619, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 51, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1619, "end": 1620, "loc": { "start": { "line": 51, "column": 32 }, "end": { "line": 51, "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": 1620, "end": 1624, "loc": { "start": { "line": 51, "column": 33 }, "end": { "line": 51, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1624, "end": 1625, "loc": { "start": { "line": 51, "column": 37 }, "end": { "line": 51, "column": 38 } } }, { "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": 1630, "end": 1634, "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": 1634, "end": 1635, "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": "ss", "start": 1635, "end": 1637, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1638, "end": 1639, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 13 } } }, { "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": 1640, "end": 1643, "loc": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StateStore", "start": 1644, "end": 1654, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1654, "end": 1655, "loc": { "start": { "line": 52, "column": 28 }, "end": { "line": 52, "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": 1655, "end": 1659, "loc": { "start": { "line": 52, "column": 29 }, "end": { "line": 52, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1659, "end": 1660, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "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": 1665, "end": 1669, "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": 1669, "end": 1670, "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": "_missingStructs", "start": 1670, "end": 1685, "loc": { "start": { "line": 53, "column": 9 }, "end": { "line": 53, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1686, "end": 1687, "loc": { "start": { "line": 53, "column": 25 }, "end": { "line": 53, "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": 1688, "end": 1691, "loc": { "start": { "line": 53, "column": 27 }, "end": { "line": 53, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 1692, "end": 1695, "loc": { "start": { "line": 53, "column": 31 }, "end": { "line": 53, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1695, "end": 1696, "loc": { "start": { "line": 53, "column": 34 }, "end": { "line": 53, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1696, "end": 1697, "loc": { "start": { "line": 53, "column": 35 }, "end": { "line": 53, "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": 1702, "end": 1706, "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": 1706, "end": 1707, "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": "_readyToIntegrate", "start": 1707, "end": 1724, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1725, "end": 1726, "loc": { "start": { "line": 54, "column": 27 }, "end": { "line": 54, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1727, "end": 1728, "loc": { "start": { "line": 54, "column": 29 }, "end": { "line": 54, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1728, "end": 1729, "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "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": 1734, "end": 1738, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1738, "end": 1739, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 1739, "end": 1751, "loc": { "start": { "line": 55, "column": 9 }, "end": { "line": 55, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1752, "end": 1753, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 23 } } }, { "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": 1754, "end": 1758, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 55, "column": 28 } } }, { "type": "CommentBlock", "value": "*\n * The {@link AbstractConnector}.that is used by this Yjs instance.\n * @type {AbstractConnector}\n ", "start": 1763, "end": 1879, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 59, "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": 1884, "end": 1888, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1888, "end": 1889, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 1889, "end": 1898, "loc": { "start": { "line": 60, "column": 9 }, "end": { "line": 60, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1899, "end": 1900, "loc": { "start": { "line": 60, "column": 19 }, "end": { "line": 60, "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": 1901, "end": 1905, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "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": 1910, "end": 1914, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1914, "end": 1915, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connected", "start": 1915, "end": 1924, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1925, "end": 1926, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 20 } } }, { "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": 1927, "end": 1932, "loc": { "start": { "line": 61, "column": 21 }, "end": { "line": 61, "column": 26 } } }, { "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": 1937, "end": 1940, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initConnection", "start": 1941, "end": 1955, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1956, "end": 1957, "loc": { "start": { "line": 62, "column": 23 }, "end": { "line": 62, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1958, "end": 1959, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1959, "end": 1960, "loc": { "start": { "line": 62, "column": 26 }, "end": { "line": 62, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1961, "end": 1963, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1964, "end": 1965, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 62, "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": 1972, "end": 1974, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1975, "end": 1976, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 1976, "end": 1980, "loc": { "start": { "line": 63, "column": 10 }, "end": { "line": 63, "column": 14 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 1981, "end": 1983, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 17 } } }, { "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": 1984, "end": 1988, "loc": { "start": { "line": 63, "column": 18 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1988, "end": 1989, "loc": { "start": { "line": 63, "column": 22 }, "end": { "line": 63, "column": 23 } } }, { "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": 63, "column": 24 }, "end": { "line": 63, "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": 2000, "end": 2004, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2004, "end": 2005, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 2005, "end": 2014, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2015, "end": 2016, "loc": { "start": { "line": 64, "column": 23 }, "end": { "line": 64, "column": 24 } } }, { "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": 2017, "end": 2020, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Y", "start": 2021, "end": 2022, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2022, "end": 2023, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 2023, "end": 2027, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2027, "end": 2028, "loc": { "start": { "line": 64, "column": 35 }, "end": { "line": 64, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 2028, "end": 2037, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 64, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2037, "end": 2038, "loc": { "start": { "line": 64, "column": 45 }, "end": { "line": 64, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 2038, "end": 2042, "loc": { "start": { "line": 64, "column": 46 }, "end": { "line": 64, "column": 50 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2042, "end": 2043, "loc": { "start": { "line": 64, "column": 50 }, "end": { "line": 64, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2043, "end": 2044, "loc": { "start": { "line": 64, "column": 51 }, "end": { "line": 64, "column": 52 } } }, { "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": 2044, "end": 2048, "loc": { "start": { "line": 64, "column": 52 }, "end": { "line": 64, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2048, "end": 2049, "loc": { "start": { "line": 64, "column": 56 }, "end": { "line": 64, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 2050, "end": 2054, "loc": { "start": { "line": 64, "column": 58 }, "end": { "line": 64, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2054, "end": 2055, "loc": { "start": { "line": 64, "column": 62 }, "end": { "line": 64, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 2055, "end": 2064, "loc": { "start": { "line": 64, "column": 63 }, "end": { "line": 64, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2064, "end": 2065, "loc": { "start": { "line": 64, "column": 72 }, "end": { "line": 64, "column": 73 } } }, { "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": 2074, "end": 2078, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } } }, { "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": 65, "column": 12 }, "end": { "line": 65, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connected", "start": 2079, "end": 2088, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2089, "end": 2090, "loc": { "start": { "line": 65, "column": 23 }, "end": { "line": 65, "column": 24 } } }, { "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": 2091, "end": 2095, "loc": { "start": { "line": 65, "column": 25 }, "end": { "line": 65, "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": 2104, "end": 2108, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2108, "end": 2109, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 2109, "end": 2113, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2113, "end": 2114, "loc": { "start": { "line": 66, "column": 17 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "connectorReady", "start": 2114, "end": 2130, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2130, "end": 2131, "loc": { "start": { "line": 66, "column": 34 }, "end": { "line": 66, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2138, "end": 2139, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2144, "end": 2145, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * The {@link AbstractPersistence} that is used by this Yjs instance.\n * @type {AbstractPersistence}\n ", "start": 2150, "end": 2270, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 72, "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": 2275, "end": 2279, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2279, "end": 2280, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 2280, "end": 2291, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2292, "end": 2293, "loc": { "start": { "line": 73, "column": 21 }, "end": { "line": 73, "column": 22 } } }, { "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": 2294, "end": 2298, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 27 } } }, { "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": 2303, "end": 2305, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2306, "end": 2307, "loc": { "start": { "line": 74, "column": 7 }, "end": { "line": 74, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 2307, "end": 2318, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 2319, "end": 2321, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 22 } } }, { "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": 2322, "end": 2326, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2326, "end": 2327, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2328, "end": 2329, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 30 } } }, { "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": 2336, "end": 2340, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2340, "end": 2341, "loc": { "start": { "line": 75, "column": 10 }, "end": { "line": 75, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 2341, "end": 2352, "loc": { "start": { "line": 75, "column": 11 }, "end": { "line": 75, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2353, "end": 2354, "loc": { "start": { "line": 75, "column": 23 }, "end": { "line": 75, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 2355, "end": 2366, "loc": { "start": { "line": 75, "column": 25 }, "end": { "line": 75, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 2373, "end": 2384, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2384, "end": 2385, "loc": { "start": { "line": 76, "column": 17 }, "end": { "line": 76, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_init", "start": 2385, "end": 2390, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2390, "end": 2391, "loc": { "start": { "line": 76, "column": 23 }, "end": { "line": 76, "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": 2391, "end": 2395, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2395, "end": 2396, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2396, "end": 2397, "loc": { "start": { "line": 76, "column": 29 }, "end": { "line": 76, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 2397, "end": 2401, "loc": { "start": { "line": 76, "column": 30 }, "end": { "line": 76, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2401, "end": 2402, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initConnection", "start": 2402, "end": 2416, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2416, "end": 2417, "loc": { "start": { "line": 76, "column": 49 }, "end": { "line": 76, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2422, "end": 2423, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "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": 2424, "end": 2428, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 10 } } }, { "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": 77, "column": 11 }, "end": { "line": 77, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initConnection", "start": 2437, "end": 2451, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2451, "end": 2452, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2452, "end": 2453, "loc": { "start": { "line": 78, "column": 21 }, "end": { "line": 78, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2458, "end": 2459, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 5 } } }, { "type": "CommentLine", "value": " for compatibility with isParentOf", "start": 2464, "end": 2500, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 40 } } }, { "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": 2505, "end": 2509, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, { "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": 81, "column": 8 }, "end": { "line": 81, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_parent", "start": 2510, "end": 2517, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2518, "end": 2519, "loc": { "start": { "line": 81, "column": 17 }, "end": { "line": 81, "column": 18 } } }, { "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": 2520, "end": 2524, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "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": 2529, "end": 2533, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2533, "end": 2534, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_hasUndoManager", "start": 2534, "end": 2549, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2550, "end": 2551, "loc": { "start": { "line": 82, "column": 25 }, "end": { "line": 82, "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": 2552, "end": 2557, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 83, "column": 2 }, "end": { "line": 83, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_setContentReady", "start": 2564, "end": 2580, "loc": { "start": { "line": 84, "column": 2 }, "end": { "line": 84, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2581, "end": 2582, "loc": { "start": { "line": 84, "column": 19 }, "end": { "line": 84, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2582, "end": 2583, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2584, "end": 2585, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 84, "column": 23 } } }, { "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": 2590, "end": 2592, "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": 2593, "end": 2594, "loc": { "start": { "line": 85, "column": 7 }, "end": { "line": 85, "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": 2594, "end": 2595, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "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": 2595, "end": 2599, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2599, "end": 2600, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_contentReady", "start": 2600, "end": 2613, "loc": { "start": { "line": 85, "column": 14 }, "end": { "line": 85, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2613, "end": 2614, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2615, "end": 2616, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 30 } } }, { "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": 2623, "end": 2627, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2627, "end": 2628, "loc": { "start": { "line": 86, "column": 10 }, "end": { "line": 86, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_contentReady", "start": 2628, "end": 2641, "loc": { "start": { "line": 86, "column": 11 }, "end": { "line": 86, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2642, "end": 2643, "loc": { "start": { "line": 86, "column": 25 }, "end": { "line": 86, "column": 26 } } }, { "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": 2644, "end": 2648, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "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": 2655, "end": 2659, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2659, "end": 2660, "loc": { "start": { "line": 87, "column": 10 }, "end": { "line": 87, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 2660, "end": 2664, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2664, "end": 2665, "loc": { "start": { "line": 87, "column": 15 }, "end": { "line": 87, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "content", "start": 2665, "end": 2674, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2674, "end": 2675, "loc": { "start": { "line": 87, "column": 25 }, "end": { "line": 87, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2680, "end": 2681, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2684, "end": 2685, "loc": { "start": { "line": 89, "column": 2 }, "end": { "line": 89, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "whenContentReady", "start": 2688, "end": 2704, "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 90, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2705, "end": 2706, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2706, "end": 2707, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2708, "end": 2709, "loc": { "start": { "line": 90, "column": 22 }, "end": { "line": 90, "column": 23 } } }, { "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": 2714, "end": 2716, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2717, "end": 2718, "loc": { "start": { "line": 91, "column": 7 }, "end": { "line": 91, "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": 2718, "end": 2722, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2722, "end": 2723, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_contentReady", "start": 2723, "end": 2736, "loc": { "start": { "line": 91, "column": 13 }, "end": { "line": 91, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2736, "end": 2737, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2738, "end": 2739, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 29 } } }, { "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": 2746, "end": 2752, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 2753, "end": 2760, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2760, "end": 2761, "loc": { "start": { "line": 92, "column": 20 }, "end": { "line": 92, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2761, "end": 2768, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2768, "end": 2769, "loc": { "start": { "line": 92, "column": 28 }, "end": { "line": 92, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2769, "end": 2770, "loc": { "start": { "line": 92, "column": 29 }, "end": { "line": 92, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2775, "end": 2776, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "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": 2777, "end": 2781, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2782, "end": 2783, "loc": { "start": { "line": 93, "column": 11 }, "end": { "line": 93, "column": 12 } } }, { "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": 2790, "end": 2796, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 12 } } }, { "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": 2797, "end": 2800, "loc": { "start": { "line": 94, "column": 13 }, "end": { "line": 94, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 2801, "end": 2808, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2808, "end": 2809, "loc": { "start": { "line": 94, "column": 24 }, "end": { "line": 94, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2809, "end": 2816, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 94, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2817, "end": 2819, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2820, "end": 2821, "loc": { "start": { "line": 94, "column": 36 }, "end": { "line": 94, "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": 2830, "end": 2834, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2834, "end": 2835, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "once", "start": 2835, "end": 2839, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2839, "end": 2840, "loc": { "start": { "line": 95, "column": 17 }, "end": { "line": 95, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "content", "start": 2840, "end": 2849, "loc": { "start": { "line": 95, "column": 18 }, "end": { "line": 95, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2849, "end": 2850, "loc": { "start": { "line": 95, "column": 27 }, "end": { "line": 95, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2851, "end": 2858, "loc": { "start": { "line": 95, "column": 29 }, "end": { "line": 95, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2858, "end": 2859, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2866, "end": 2867, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2867, "end": 2868, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 8 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2873, "end": 2874, "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": 2877, "end": 2878, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 98, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_beforeChange", "start": 2881, "end": 2894, "loc": { "start": { "line": 99, "column": 2 }, "end": { "line": 99, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2895, "end": 2896, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2896, "end": 2897, "loc": { "start": { "line": 99, "column": 17 }, "end": { "line": 99, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2898, "end": 2899, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2899, "end": 2900, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * Changes that happen inside of a transaction are bundled. This means that\n * the observer fires _after_ the transaction is finished and that all changes\n * that happened inside of the transaction are sent as one message to the\n * other peers.\n *\n * @param {Function} f The function that should be executed as a transaction\n * @param {?Boolean} remote Optional. Whether this transaction is initiated by\n * a remote peer. This should not be set manually!\n * Defaults to false.\n ", "start": 2903, "end": 3457, "loc": { "start": { "line": 100, "column": 2 }, "end": { "line": 110, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transact", "start": 3460, "end": 3468, "loc": { "start": { "line": 111, "column": 2 }, "end": { "line": 111, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3469, "end": 3470, "loc": { "start": { "line": 111, "column": 11 }, "end": { "line": 111, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3470, "end": 3471, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3471, "end": 3472, "loc": { "start": { "line": 111, "column": 13 }, "end": { "line": 111, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 3473, "end": 3479, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3480, "end": 3481, "loc": { "start": { "line": 111, "column": 22 }, "end": { "line": 111, "column": 23 } } }, { "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": 3482, "end": 3487, "loc": { "start": { "line": 111, "column": 24 }, "end": { "line": 111, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3487, "end": 3488, "loc": { "start": { "line": 111, "column": 29 }, "end": { "line": 111, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3489, "end": 3490, "loc": { "start": { "line": 111, "column": 31 }, "end": { "line": 111, "column": 32 } } }, { "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": 3495, "end": 3498, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialCall", "start": 3499, "end": 3510, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3511, "end": 3512, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "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": 3513, "end": 3517, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3517, "end": 3518, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 3518, "end": 3530, "loc": { "start": { "line": 112, "column": 27 }, "end": { "line": 112, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3531, "end": 3534, "loc": { "start": { "line": 112, "column": 40 }, "end": { "line": 112, "column": 43 } } }, { "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": 3535, "end": 3539, "loc": { "start": { "line": 112, "column": 44 }, "end": { "line": 112, "column": 48 } } }, { "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": 3544, "end": 3546, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3547, "end": 3548, "loc": { "start": { "line": 113, "column": 7 }, "end": { "line": 113, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialCall", "start": 3548, "end": 3559, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3559, "end": 3560, "loc": { "start": { "line": 113, "column": 19 }, "end": { "line": 113, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3561, "end": 3562, "loc": { "start": { "line": 113, "column": 21 }, "end": { "line": 113, "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": 3569, "end": 3573, "loc": { "start": { "line": 114, "column": 6 }, "end": { "line": 114, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3573, "end": 3574, "loc": { "start": { "line": 114, "column": 10 }, "end": { "line": 114, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 3574, "end": 3586, "loc": { "start": { "line": 114, "column": 11 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3587, "end": 3588, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 25 } } }, { "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": 3589, "end": 3592, "loc": { "start": { "line": 114, "column": 26 }, "end": { "line": 114, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Transaction", "start": 3593, "end": 3604, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3604, "end": 3605, "loc": { "start": { "line": 114, "column": 41 }, "end": { "line": 114, "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": 3605, "end": 3609, "loc": { "start": { "line": 114, "column": 42 }, "end": { "line": 114, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3609, "end": 3610, "loc": { "start": { "line": 114, "column": 46 }, "end": { "line": 114, "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": 3617, "end": 3621, "loc": { "start": { "line": 115, "column": 6 }, "end": { "line": 115, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3621, "end": 3622, "loc": { "start": { "line": 115, "column": 10 }, "end": { "line": 115, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 3622, "end": 3626, "loc": { "start": { "line": 115, "column": 11 }, "end": { "line": 115, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3626, "end": 3627, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "beforeTransaction", "start": 3627, "end": 3646, "loc": { "start": { "line": 115, "column": 16 }, "end": { "line": 115, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3646, "end": 3647, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "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": 3648, "end": 3652, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3652, "end": 3653, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "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": 3654, "end": 3658, "loc": { "start": { "line": 115, "column": 43 }, "end": { "line": 115, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3658, "end": 3659, "loc": { "start": { "line": 115, "column": 47 }, "end": { "line": 115, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 3659, "end": 3671, "loc": { "start": { "line": 115, "column": 48 }, "end": { "line": 115, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3671, "end": 3672, "loc": { "start": { "line": 115, "column": 60 }, "end": { "line": 115, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 3673, "end": 3679, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3679, "end": 3680, "loc": { "start": { "line": 115, "column": 68 }, "end": { "line": 115, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3685, "end": 3686, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 5 } } }, { "type": { "label": "try", "keyword": "try", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "try", "start": 3691, "end": 3694, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 117, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3695, "end": 3696, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 3703, "end": 3704, "loc": { "start": { "line": 118, "column": 6 }, "end": { "line": 118, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3704, "end": 3705, "loc": { "start": { "line": 118, "column": 7 }, "end": { "line": 118, "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": 3705, "end": 3709, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3709, "end": 3710, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3715, "end": 3716, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 5 } } }, { "type": { "label": "catch", "keyword": "catch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "catch", "start": 3717, "end": 3722, "loc": { "start": { "line": 119, "column": 6 }, "end": { "line": 119, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3723, "end": 3724, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 3724, "end": 3725, "loc": { "start": { "line": 119, "column": 13 }, "end": { "line": 119, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3725, "end": 3726, "loc": { "start": { "line": 119, "column": 14 }, "end": { "line": 119, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3727, "end": 3728, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 3735, "end": 3742, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3742, "end": 3743, "loc": { "start": { "line": 120, "column": 13 }, "end": { "line": 120, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 3743, "end": 3748, "loc": { "start": { "line": 120, "column": 14 }, "end": { "line": 120, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3748, "end": 3749, "loc": { "start": { "line": 120, "column": 19 }, "end": { "line": 120, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 3749, "end": 3750, "loc": { "start": { "line": 120, "column": 20 }, "end": { "line": 120, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3750, "end": 3751, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3756, "end": 3757, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "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": 3762, "end": 3764, "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": 3765, "end": 3766, "loc": { "start": { "line": 122, "column": 7 }, "end": { "line": 122, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialCall", "start": 3766, "end": 3777, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3777, "end": 3778, "loc": { "start": { "line": 122, "column": 19 }, "end": { "line": 122, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3779, "end": 3780, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "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": 3787, "end": 3791, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3791, "end": 3792, "loc": { "start": { "line": 123, "column": 10 }, "end": { "line": 123, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 3792, "end": 3796, "loc": { "start": { "line": 123, "column": 11 }, "end": { "line": 123, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3796, "end": 3797, "loc": { "start": { "line": 123, "column": 15 }, "end": { "line": 123, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "beforeObserverCalls", "start": 3797, "end": 3818, "loc": { "start": { "line": 123, "column": 16 }, "end": { "line": 123, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3818, "end": 3819, "loc": { "start": { "line": 123, "column": 37 }, "end": { "line": 123, "column": 38 } } }, { "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": 3820, "end": 3824, "loc": { "start": { "line": 123, "column": 39 }, "end": { "line": 123, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3824, "end": 3825, "loc": { "start": { "line": 123, "column": 43 }, "end": { "line": 123, "column": 44 } } }, { "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": 3826, "end": 3830, "loc": { "start": { "line": 123, "column": 45 }, "end": { "line": 123, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3830, "end": 3831, "loc": { "start": { "line": 123, "column": 49 }, "end": { "line": 123, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 3831, "end": 3843, "loc": { "start": { "line": 123, "column": 50 }, "end": { "line": 123, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3843, "end": 3844, "loc": { "start": { "line": 123, "column": 62 }, "end": { "line": 123, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 3845, "end": 3851, "loc": { "start": { "line": 123, "column": 64 }, "end": { "line": 123, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3851, "end": 3852, "loc": { "start": { "line": 123, "column": 70 }, "end": { "line": 123, "column": 71 } } }, { "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": 3859, "end": 3864, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 3865, "end": 3876, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3877, "end": 3878, "loc": { "start": { "line": 124, "column": 24 }, "end": { "line": 124, "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": 3879, "end": 3883, "loc": { "start": { "line": 124, "column": 26 }, "end": { "line": 124, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3883, "end": 3884, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 3884, "end": 3896, "loc": { "start": { "line": 124, "column": 31 }, "end": { "line": 124, "column": 43 } } }, { "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": 3903, "end": 3907, "loc": { "start": { "line": 125, "column": 6 }, "end": { "line": 125, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3907, "end": 3908, "loc": { "start": { "line": 125, "column": 10 }, "end": { "line": 125, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_transaction", "start": 3908, "end": 3920, "loc": { "start": { "line": 125, "column": 11 }, "end": { "line": 125, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3921, "end": 3922, "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 25 } } }, { "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": 3923, "end": 3927, "loc": { "start": { "line": 125, "column": 26 }, "end": { "line": 125, "column": 30 } } }, { "type": "CommentLine", "value": " emit change events on changed types", "start": 3934, "end": 3972, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 3979, "end": 3990, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3990, "end": 3991, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "changedTypes", "start": 3991, "end": 4003, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4003, "end": 4004, "loc": { "start": { "line": 127, "column": 30 }, "end": { "line": 127, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 4004, "end": 4011, "loc": { "start": { "line": 127, "column": 31 }, "end": { "line": 127, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4011, "end": 4012, "loc": { "start": { "line": 127, "column": 38 }, "end": { "line": 127, "column": 39 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 4012, "end": 4020, "loc": { "start": { "line": 127, "column": 39 }, "end": { "line": 127, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4021, "end": 4022, "loc": { "start": { "line": 127, "column": 48 }, "end": { "line": 127, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 4022, "end": 4026, "loc": { "start": { "line": 127, "column": 49 }, "end": { "line": 127, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4026, "end": 4027, "loc": { "start": { "line": 127, "column": 53 }, "end": { "line": 127, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4028, "end": 4032, "loc": { "start": { "line": 127, "column": 55 }, "end": { "line": 127, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4032, "end": 4033, "loc": { "start": { "line": 127, "column": 59 }, "end": { "line": 127, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4034, "end": 4035, "loc": { "start": { "line": 127, "column": 61 }, "end": { "line": 127, "column": 62 } } }, { "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": 4044, "end": 4046, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4047, "end": 4048, "loc": { "start": { "line": 128, "column": 11 }, "end": { "line": 128, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4048, "end": 4049, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4049, "end": 4053, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4053, "end": 4054, "loc": { "start": { "line": 128, "column": 17 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deleted", "start": 4054, "end": 4062, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4062, "end": 4063, "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": 4064, "end": 4065, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 128, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4076, "end": 4080, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4080, "end": 4081, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_callObserver", "start": 4081, "end": 4094, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4094, "end": 4095, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 4095, "end": 4106, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4106, "end": 4107, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subs", "start": 4108, "end": 4112, "loc": { "start": { "line": 129, "column": 42 }, "end": { "line": 129, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4112, "end": 4113, "loc": { "start": { "line": 129, "column": 46 }, "end": { "line": 129, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 4114, "end": 4120, "loc": { "start": { "line": 129, "column": 48 }, "end": { "line": 129, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4120, "end": 4121, "loc": { "start": { "line": 129, "column": 54 }, "end": { "line": 129, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4130, "end": 4131, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4138, "end": 4139, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4139, "end": 4140, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 4147, "end": 4158, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 17 } } }, { "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": 132, "column": 17 }, "end": { "line": 132, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "changedParentTypes", "start": 4159, "end": 4177, "loc": { "start": { "line": 132, "column": 18 }, "end": { "line": 132, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4177, "end": 4178, "loc": { "start": { "line": 132, "column": 36 }, "end": { "line": 132, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 4178, "end": 4185, "loc": { "start": { "line": 132, "column": 37 }, "end": { "line": 132, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4185, "end": 4186, "loc": { "start": { "line": 132, "column": 44 }, "end": { "line": 132, "column": 45 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 4186, "end": 4194, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 132, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4195, "end": 4196, "loc": { "start": { "line": 132, "column": 54 }, "end": { "line": 132, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "events", "start": 4196, "end": 4202, "loc": { "start": { "line": 132, "column": 55 }, "end": { "line": 132, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4202, "end": 4203, "loc": { "start": { "line": 132, "column": 61 }, "end": { "line": 132, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4204, "end": 4208, "loc": { "start": { "line": 132, "column": 63 }, "end": { "line": 132, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4208, "end": 4209, "loc": { "start": { "line": 132, "column": 67 }, "end": { "line": 132, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4210, "end": 4211, "loc": { "start": { "line": 132, "column": 69 }, "end": { "line": 132, "column": 70 } } }, { "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": 4220, "end": 4222, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4223, "end": 4224, "loc": { "start": { "line": 133, "column": 11 }, "end": { "line": 133, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4224, "end": 4225, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4225, "end": 4229, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4229, "end": 4230, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deleted", "start": 4230, "end": 4238, "loc": { "start": { "line": 133, "column": 18 }, "end": { "line": 133, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4238, "end": 4239, "loc": { "start": { "line": 133, "column": 26 }, "end": { "line": 133, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4240, "end": 4241, "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 133, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "events", "start": 4252, "end": 4258, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4259, "end": 4260, "loc": { "start": { "line": 134, "column": 17 }, "end": { "line": 134, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "events", "start": 4261, "end": 4267, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4280, "end": 4281, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 4281, "end": 4287, "loc": { "start": { "line": 135, "column": 13 }, "end": { "line": 135, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4287, "end": 4288, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4288, "end": 4293, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4294, "end": 4296, "loc": { "start": { "line": 135, "column": 26 }, "end": { "line": 135, "column": 28 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4311, "end": 4312, "loc": { "start": { "line": 136, "column": 14 }, "end": { "line": 136, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4312, "end": 4317, "loc": { "start": { "line": 136, "column": 15 }, "end": { "line": 136, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4317, "end": 4318, "loc": { "start": { "line": 136, "column": 20 }, "end": { "line": 136, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 4318, "end": 4324, "loc": { "start": { "line": 136, "column": 21 }, "end": { "line": 136, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4324, "end": 4325, "loc": { "start": { "line": 136, "column": 27 }, "end": { "line": 136, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deleted", "start": 4325, "end": 4333, "loc": { "start": { "line": 136, "column": 28 }, "end": { "line": 136, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4346, "end": 4347, "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": "events", "start": 4358, "end": 4364, "loc": { "start": { "line": 138, "column": 10 }, "end": { "line": 138, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4377, "end": 4378, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 4378, "end": 4385, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4385, "end": 4386, "loc": { "start": { "line": 139, "column": 20 }, "end": { "line": 139, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4386, "end": 4391, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4392, "end": 4394, "loc": { "start": { "line": 139, "column": 27 }, "end": { "line": 139, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4395, "end": 4396, "loc": { "start": { "line": 139, "column": 30 }, "end": { "line": 139, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 4411, "end": 4416, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4416, "end": 4417, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentTarget", "start": 4417, "end": 4430, "loc": { "start": { "line": 140, "column": 20 }, "end": { "line": 140, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4431, "end": 4432, "loc": { "start": { "line": 140, "column": 34 }, "end": { "line": 140, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4433, "end": 4437, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4450, "end": 4451, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4451, "end": 4452, "loc": { "start": { "line": 141, "column": 13 }, "end": { "line": 141, "column": 14 } } }, { "type": "CommentLine", "value": " we don't have to check for events.length", "start": 4463, "end": 4506, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "column": 53 } } }, { "type": "CommentLine", "value": " because there is no way events is empty..", "start": 4517, "end": 4561, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 4572, "end": 4576, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4576, "end": 4577, "loc": { "start": { "line": 144, "column": 14 }, "end": { "line": 144, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deepEventHandler", "start": 4577, "end": 4594, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4594, "end": 4595, "loc": { "start": { "line": 144, "column": 32 }, "end": { "line": 144, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callEventListeners", "start": 4595, "end": 4613, "loc": { "start": { "line": 144, "column": 33 }, "end": { "line": 144, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4613, "end": 4614, "loc": { "start": { "line": 144, "column": 51 }, "end": { "line": 144, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 4614, "end": 4625, "loc": { "start": { "line": 144, "column": 52 }, "end": { "line": 144, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4625, "end": 4626, "loc": { "start": { "line": 144, "column": 63 }, "end": { "line": 144, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "events", "start": 4627, "end": 4633, "loc": { "start": { "line": 144, "column": 65 }, "end": { "line": 144, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4633, "end": 4634, "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": 4643, "end": 4644, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4651, "end": 4652, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 146, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4652, "end": 4653, "loc": { "start": { "line": 146, "column": 7 }, "end": { "line": 146, "column": 8 } } }, { "type": "CommentLine", "value": " when all changes & events are processed, emit afterTransaction event", "start": 4660, "end": 4731, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "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": 4738, "end": 4742, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4742, "end": 4743, "loc": { "start": { "line": 148, "column": 10 }, "end": { "line": 148, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emit", "start": 4743, "end": 4747, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4747, "end": 4748, "loc": { "start": { "line": 148, "column": 15 }, "end": { "line": 148, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "afterTransaction", "start": 4748, "end": 4766, "loc": { "start": { "line": 148, "column": 16 }, "end": { "line": 148, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4766, "end": 4767, "loc": { "start": { "line": 148, "column": 34 }, "end": { "line": 148, "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": 4768, "end": 4772, "loc": { "start": { "line": 148, "column": 36 }, "end": { "line": 148, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4772, "end": 4773, "loc": { "start": { "line": 148, "column": 40 }, "end": { "line": 148, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 4774, "end": 4785, "loc": { "start": { "line": 148, "column": 42 }, "end": { "line": 148, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4785, "end": 4786, "loc": { "start": { "line": 148, "column": 53 }, "end": { "line": 148, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 4787, "end": 4793, "loc": { "start": { "line": 148, "column": 55 }, "end": { "line": 148, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4793, "end": 4794, "loc": { "start": { "line": 148, "column": 61 }, "end": { "line": 148, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4799, "end": 4800, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4803, "end": 4804, "loc": { "start": { "line": 150, "column": 2 }, "end": { "line": 150, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4808, "end": 4890, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 155, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 4893, "end": 4896, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 156, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_start", "start": 4897, "end": 4903, "loc": { "start": { "line": 156, "column": 6 }, "end": { "line": 156, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4904, "end": 4905, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4905, "end": 4906, "loc": { "start": { "line": 156, "column": 14 }, "end": { "line": 156, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4907, "end": 4908, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 17 } } }, { "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": 4913, "end": 4919, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 10 } } }, { "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": 4920, "end": 4924, "loc": { "start": { "line": 157, "column": 11 }, "end": { "line": 157, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4927, "end": 4928, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @private\n * Fake _start for root properties (y.set('name', type))\n ", "start": 4932, "end": 5014, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 163, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 5017, "end": 5020, "loc": { "start": { "line": 164, "column": 2 }, "end": { "line": 164, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_start", "start": 5021, "end": 5027, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5028, "end": 5029, "loc": { "start": { "line": 164, "column": 13 }, "end": { "line": 164, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 5029, "end": 5034, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5034, "end": 5035, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5036, "end": 5037, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 22 } } }, { "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": 5042, "end": 5048, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 10 } } }, { "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": 5049, "end": 5053, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5056, "end": 5057, "loc": { "start": { "line": 166, "column": 2 }, "end": { "line": 166, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Define a shared data type.\n *\n * Multiple calls of `y.define(name, TypeConstructor)` yield the same result\n * and do not overwrite each other. I.e.\n * `y.define(name, type) === y.define(name, type)`\n *\n * After this method is called, the type is also available on `y.share[name]`.\n *\n * *Best Practices:*\n * Either define all types right after the Yjs instance is created or always\n * use `y.define(..)` when accessing a type.\n *\n * @example\n * // Option 1\n * const y = new Y(..)\n * y.define('myArray', YArray)\n * y.define('myMap', YMap)\n * // .. when accessing the type use y.share[name]\n * y.share.myArray.insert(..)\n * y.share.myMap.set(..)\n *\n * // Option2\n * const y = new Y(..)\n * // .. when accessing the type use `y.define(..)`\n * y.define('myArray', YArray).insert(..)\n * y.define('myMap', YMap).set(..)\n *\n * @param {String} name\n * @param {YType Constructor} TypeConstructor The constructor of the type definition\n * @returns {YType} The created type\n ", "start": 5061, "end": 6119, "loc": { "start": { "line": 168, "column": 2 }, "end": { "line": 199, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "define", "start": 6122, "end": 6128, "loc": { "start": { "line": 200, "column": 2 }, "end": { "line": 200, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6129, "end": 6130, "loc": { "start": { "line": 200, "column": 9 }, "end": { "line": 200, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6130, "end": 6134, "loc": { "start": { "line": 200, "column": 10 }, "end": { "line": 200, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6134, "end": 6135, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TypeConstructor", "start": 6136, "end": 6151, "loc": { "start": { "line": 200, "column": 16 }, "end": { "line": 200, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6151, "end": 6152, "loc": { "start": { "line": 200, "column": 31 }, "end": { "line": 200, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6153, "end": 6154, "loc": { "start": { "line": 200, "column": 33 }, "end": { "line": 200, "column": 34 } } }, { "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": 6159, "end": 6162, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 6163, "end": 6165, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6166, "end": 6167, "loc": { "start": { "line": 201, "column": 11 }, "end": { "line": 201, "column": 12 } } }, { "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": 6168, "end": 6171, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 201, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RootID", "start": 6172, "end": 6178, "loc": { "start": { "line": 201, "column": 17 }, "end": { "line": 201, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6178, "end": 6179, "loc": { "start": { "line": 201, "column": 23 }, "end": { "line": 201, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6179, "end": 6183, "loc": { "start": { "line": 201, "column": 24 }, "end": { "line": 201, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6183, "end": 6184, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 201, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TypeConstructor", "start": 6185, "end": 6200, "loc": { "start": { "line": 201, "column": 30 }, "end": { "line": 201, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6200, "end": 6201, "loc": { "start": { "line": 201, "column": 45 }, "end": { "line": 201, "column": 46 } } }, { "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": 6206, "end": 6209, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 6210, "end": 6214, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6215, "end": 6216, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "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": 6217, "end": 6221, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6221, "end": 6222, "loc": { "start": { "line": 202, "column": 19 }, "end": { "line": 202, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 6222, "end": 6224, "loc": { "start": { "line": 202, "column": 20 }, "end": { "line": 202, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6224, "end": 6225, "loc": { "start": { "line": 202, "column": 22 }, "end": { "line": 202, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 6225, "end": 6228, "loc": { "start": { "line": 202, "column": 23 }, "end": { "line": 202, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6228, "end": 6229, "loc": { "start": { "line": 202, "column": 26 }, "end": { "line": 202, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 6229, "end": 6231, "loc": { "start": { "line": 202, "column": 27 }, "end": { "line": 202, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6231, "end": 6232, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "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": 6237, "end": 6239, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6240, "end": 6241, "loc": { "start": { "line": 203, "column": 7 }, "end": { "line": 203, "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": 6241, "end": 6245, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6245, "end": 6246, "loc": { "start": { "line": 203, "column": 12 }, "end": { "line": 203, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "share", "start": 6246, "end": 6251, "loc": { "start": { "line": 203, "column": 13 }, "end": { "line": 203, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6251, "end": 6252, "loc": { "start": { "line": 203, "column": 18 }, "end": { "line": 203, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6252, "end": 6256, "loc": { "start": { "line": 203, "column": 19 }, "end": { "line": 203, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6256, "end": 6257, "loc": { "start": { "line": 203, "column": 23 }, "end": { "line": 203, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6258, "end": 6261, "loc": { "start": { "line": 203, "column": 25 }, "end": { "line": 203, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 6262, "end": 6271, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6271, "end": 6272, "loc": { "start": { "line": 203, "column": 38 }, "end": { "line": 203, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6273, "end": 6274, "loc": { "start": { "line": 203, "column": 40 }, "end": { "line": 203, "column": 41 } } }, { "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": 6281, "end": 6285, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6285, "end": 6286, "loc": { "start": { "line": 204, "column": 10 }, "end": { "line": 204, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "share", "start": 6286, "end": 6291, "loc": { "start": { "line": 204, "column": 11 }, "end": { "line": 204, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6291, "end": 6292, "loc": { "start": { "line": 204, "column": 16 }, "end": { "line": 204, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6292, "end": 6296, "loc": { "start": { "line": 204, "column": 17 }, "end": { "line": 204, "column": 21 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6296, "end": 6297, "loc": { "start": { "line": 204, "column": 21 }, "end": { "line": 204, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6298, "end": 6299, "loc": { "start": { "line": 204, "column": 23 }, "end": { "line": 204, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 6300, "end": 6304, "loc": { "start": { "line": 204, "column": 25 }, "end": { "line": 204, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6309, "end": 6310, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "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": 6311, "end": 6315, "loc": { "start": { "line": 205, "column": 6 }, "end": { "line": 205, "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": 6316, "end": 6318, "loc": { "start": { "line": 205, "column": 11 }, "end": { "line": 205, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6319, "end": 6320, "loc": { "start": { "line": 205, "column": 14 }, "end": { "line": 205, "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": 6320, "end": 6324, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6324, "end": 6325, "loc": { "start": { "line": 205, "column": 19 }, "end": { "line": 205, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "share", "start": 6325, "end": 6330, "loc": { "start": { "line": 205, "column": 20 }, "end": { "line": 205, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6330, "end": 6331, "loc": { "start": { "line": 205, "column": 25 }, "end": { "line": 205, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6331, "end": 6335, "loc": { "start": { "line": 205, "column": 26 }, "end": { "line": 205, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6335, "end": 6336, "loc": { "start": { "line": 205, "column": 30 }, "end": { "line": 205, "column": 31 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 6337, "end": 6340, "loc": { "start": { "line": 205, "column": 32 }, "end": { "line": 205, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 6341, "end": 6345, "loc": { "start": { "line": 205, "column": 36 }, "end": { "line": 205, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6345, "end": 6346, "loc": { "start": { "line": 205, "column": 40 }, "end": { "line": 205, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6347, "end": 6348, "loc": { "start": { "line": 205, "column": 42 }, "end": { "line": 205, "column": 43 } } }, { "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": 6355, "end": 6360, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "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": 6361, "end": 6364, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 6365, "end": 6370, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6370, "end": 6371, "loc": { "start": { "line": 206, "column": 21 }, "end": { "line": 206, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Type is already defined with a different constructor", "start": 6371, "end": 6425, "loc": { "start": { "line": 206, "column": 22 }, "end": { "line": 206, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6425, "end": 6426, "loc": { "start": { "line": 206, "column": 76 }, "end": { "line": 206, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6431, "end": 6432, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 5 } } }, { "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": 6437, "end": 6443, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 6444, "end": 6448, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6451, "end": 6452, "loc": { "start": { "line": 209, "column": 2 }, "end": { "line": 209, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Get a defined type. The type must be defined locally. First define the\n * type with {@link define}.\n *\n * This returns the same value as `y.share[name]`\n *\n * @param {String} name The typename\n ", "start": 6456, "end": 6673, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 6676, "end": 6679, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6680, "end": 6681, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6681, "end": 6685, "loc": { "start": { "line": 219, "column": 7 }, "end": { "line": 219, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6685, "end": 6686, "loc": { "start": { "line": 219, "column": 11 }, "end": { "line": 219, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6687, "end": 6688, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 14 } } }, { "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": 6693, "end": 6699, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 10 } } }, { "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": 6700, "end": 6704, "loc": { "start": { "line": 220, "column": 11 }, "end": { "line": 220, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6704, "end": 6705, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "share", "start": 6705, "end": 6710, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6710, "end": 6711, "loc": { "start": { "line": 220, "column": 21 }, "end": { "line": 220, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 6711, "end": 6715, "loc": { "start": { "line": 220, "column": 22 }, "end": { "line": 220, "column": 26 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6715, "end": 6716, "loc": { "start": { "line": 220, "column": 26 }, "end": { "line": 220, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6719, "end": 6720, "loc": { "start": { "line": 221, "column": 2 }, "end": { "line": 221, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Disconnect this Yjs Instance from the network. The connector will\n * unsubscribe from the room and document updates are not shared anymore.\n ", "start": 6724, "end": 6880, "loc": { "start": { "line": 223, "column": 2 }, "end": { "line": 226, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disconnect", "start": 6883, "end": 6893, "loc": { "start": { "line": 227, "column": 2 }, "end": { "line": 227, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6894, "end": 6895, "loc": { "start": { "line": 227, "column": 13 }, "end": { "line": 227, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6895, "end": 6896, "loc": { "start": { "line": 227, "column": 14 }, "end": { "line": 227, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6897, "end": 6898, "loc": { "start": { "line": 227, "column": 16 }, "end": { "line": 227, "column": 17 } } }, { "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": 6903, "end": 6905, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6906, "end": 6907, "loc": { "start": { "line": 228, "column": 7 }, "end": { "line": 228, "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": 6907, "end": 6911, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6911, "end": 6912, "loc": { "start": { "line": 228, "column": 12 }, "end": { "line": 228, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connected", "start": 6912, "end": 6921, "loc": { "start": { "line": 228, "column": 13 }, "end": { "line": 228, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6921, "end": 6922, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6923, "end": 6924, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "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": 6931, "end": 6935, "loc": { "start": { "line": 229, "column": 6 }, "end": { "line": 229, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6935, "end": 6936, "loc": { "start": { "line": 229, "column": 10 }, "end": { "line": 229, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connected", "start": 6936, "end": 6945, "loc": { "start": { "line": 229, "column": 11 }, "end": { "line": 229, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6946, "end": 6947, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 22 } } }, { "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": 6948, "end": 6953, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 229, "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": 6960, "end": 6966, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "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": 6967, "end": 6971, "loc": { "start": { "line": 230, "column": 13 }, "end": { "line": 230, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6971, "end": 6972, "loc": { "start": { "line": 230, "column": 17 }, "end": { "line": 230, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 6972, "end": 6981, "loc": { "start": { "line": 230, "column": 18 }, "end": { "line": 230, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6981, "end": 6982, "loc": { "start": { "line": 230, "column": 27 }, "end": { "line": 230, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disconnect", "start": 6982, "end": 6992, "loc": { "start": { "line": 230, "column": 28 }, "end": { "line": 230, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6992, "end": 6993, "loc": { "start": { "line": 230, "column": 38 }, "end": { "line": 230, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6993, "end": 6994, "loc": { "start": { "line": 230, "column": 39 }, "end": { "line": 230, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6999, "end": 7000, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "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": 7001, "end": 7005, "loc": { "start": { "line": 231, "column": 6 }, "end": { "line": 231, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7006, "end": 7007, "loc": { "start": { "line": 231, "column": 11 }, "end": { "line": 231, "column": 12 } } }, { "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": 7014, "end": 7020, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 7021, "end": 7028, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7028, "end": 7029, "loc": { "start": { "line": 232, "column": 20 }, "end": { "line": 232, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 7029, "end": 7036, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7036, "end": 7037, "loc": { "start": { "line": 232, "column": 28 }, "end": { "line": 232, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7037, "end": 7038, "loc": { "start": { "line": 232, "column": 29 }, "end": { "line": 232, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7043, "end": 7044, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7047, "end": 7048, "loc": { "start": { "line": 234, "column": 2 }, "end": { "line": 234, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * If disconnected, tell the connector to reconnect to the room.\n ", "start": 7052, "end": 7128, "loc": { "start": { "line": 236, "column": 2 }, "end": { "line": 238, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reconnect", "start": 7131, "end": 7140, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 239, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7141, "end": 7142, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7142, "end": 7143, "loc": { "start": { "line": 239, "column": 13 }, "end": { "line": 239, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7144, "end": 7145, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 239, "column": 16 } } }, { "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": 7150, "end": 7152, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7153, "end": 7154, "loc": { "start": { "line": 240, "column": 7 }, "end": { "line": 240, "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": 7154, "end": 7155, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "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": 7155, "end": 7159, "loc": { "start": { "line": 240, "column": 9 }, "end": { "line": 240, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7159, "end": 7160, "loc": { "start": { "line": 240, "column": 13 }, "end": { "line": 240, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connected", "start": 7160, "end": 7169, "loc": { "start": { "line": 240, "column": 14 }, "end": { "line": 240, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7169, "end": 7170, "loc": { "start": { "line": 240, "column": 23 }, "end": { "line": 240, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7171, "end": 7172, "loc": { "start": { "line": 240, "column": 25 }, "end": { "line": 240, "column": 26 } } }, { "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": 7179, "end": 7183, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7183, "end": 7184, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connected", "start": 7184, "end": 7193, "loc": { "start": { "line": 241, "column": 11 }, "end": { "line": 241, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7194, "end": 7195, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 22 } } }, { "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": 7196, "end": 7200, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "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": 7207, "end": 7213, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "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": 7214, "end": 7218, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7218, "end": 7219, "loc": { "start": { "line": 242, "column": 17 }, "end": { "line": 242, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 7219, "end": 7228, "loc": { "start": { "line": 242, "column": 18 }, "end": { "line": 242, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7228, "end": 7229, "loc": { "start": { "line": 242, "column": 27 }, "end": { "line": 242, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reconnect", "start": 7229, "end": 7238, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7238, "end": 7239, "loc": { "start": { "line": 242, "column": 37 }, "end": { "line": 242, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7239, "end": 7240, "loc": { "start": { "line": 242, "column": 38 }, "end": { "line": 242, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7245, "end": 7246, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "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": 7247, "end": 7251, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7252, "end": 7253, "loc": { "start": { "line": 243, "column": 11 }, "end": { "line": 243, "column": 12 } } }, { "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": 7260, "end": 7266, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 7267, "end": 7274, "loc": { "start": { "line": 244, "column": 13 }, "end": { "line": 244, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7274, "end": 7275, "loc": { "start": { "line": 244, "column": 20 }, "end": { "line": 244, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 7275, "end": 7282, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7282, "end": 7283, "loc": { "start": { "line": 244, "column": 28 }, "end": { "line": 244, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7283, "end": 7284, "loc": { "start": { "line": 244, "column": 29 }, "end": { "line": 244, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7289, "end": 7290, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 245, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7293, "end": 7294, "loc": { "start": { "line": 246, "column": 2 }, "end": { "line": 246, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Disconnect from the room, and destroy all traces of this Yjs instance.\n * Persisted data will remain until removed by the persistence adapter.\n ", "start": 7298, "end": 7457, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 251, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 7460, "end": 7467, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 252, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7468, "end": 7469, "loc": { "start": { "line": 252, "column": 10 }, "end": { "line": 252, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7469, "end": 7470, "loc": { "start": { "line": 252, "column": 11 }, "end": { "line": 252, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7471, "end": 7472, "loc": { "start": { "line": 252, "column": 13 }, "end": { "line": 252, "column": 14 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 7477, "end": 7482, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7482, "end": 7483, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 7483, "end": 7490, "loc": { "start": { "line": 253, "column": 10 }, "end": { "line": 253, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7490, "end": 7491, "loc": { "start": { "line": 253, "column": 17 }, "end": { "line": 253, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7491, "end": 7492, "loc": { "start": { "line": 253, "column": 18 }, "end": { "line": 253, "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": 7497, "end": 7501, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7501, "end": 7502, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "share", "start": 7502, "end": 7507, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7508, "end": 7509, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 16 } } }, { "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": 7510, "end": 7514, "loc": { "start": { "line": 254, "column": 17 }, "end": { "line": 254, "column": 21 } } }, { "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": 7519, "end": 7521, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7522, "end": 7523, "loc": { "start": { "line": 255, "column": 7 }, "end": { "line": 255, "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": 7523, "end": 7527, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7527, "end": 7528, "loc": { "start": { "line": 255, "column": 12 }, "end": { "line": 255, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 7528, "end": 7537, "loc": { "start": { "line": 255, "column": 13 }, "end": { "line": 255, "column": 22 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 7538, "end": 7540, "loc": { "start": { "line": 255, "column": 23 }, "end": { "line": 255, "column": 25 } } }, { "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": 7541, "end": 7545, "loc": { "start": { "line": 255, "column": 26 }, "end": { "line": 255, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7545, "end": 7546, "loc": { "start": { "line": 255, "column": 30 }, "end": { "line": 255, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7547, "end": 7548, "loc": { "start": { "line": 255, "column": 32 }, "end": { "line": 255, "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": 7555, "end": 7557, "loc": { "start": { "line": 256, "column": 6 }, "end": { "line": 256, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7558, "end": 7559, "loc": { "start": { "line": 256, "column": 9 }, "end": { "line": 256, "column": 10 } } }, { "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": 7559, "end": 7563, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7563, "end": 7564, "loc": { "start": { "line": 256, "column": 14 }, "end": { "line": 256, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 7564, "end": 7573, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7573, "end": 7574, "loc": { "start": { "line": 256, "column": 24 }, "end": { "line": 256, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 7574, "end": 7581, "loc": { "start": { "line": 256, "column": 25 }, "end": { "line": 256, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!=", "start": 7582, "end": 7584, "loc": { "start": { "line": 256, "column": 33 }, "end": { "line": 256, "column": 35 } } }, { "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": 7585, "end": 7589, "loc": { "start": { "line": 256, "column": 36 }, "end": { "line": 256, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7589, "end": 7590, "loc": { "start": { "line": 256, "column": 40 }, "end": { "line": 256, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7591, "end": 7592, "loc": { "start": { "line": 256, "column": 42 }, "end": { "line": 256, "column": 43 } } }, { "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": 7601, "end": 7605, "loc": { "start": { "line": 257, "column": 8 }, "end": { "line": 257, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7605, "end": 7606, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 7606, "end": 7615, "loc": { "start": { "line": 257, "column": 13 }, "end": { "line": 257, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7615, "end": 7616, "loc": { "start": { "line": 257, "column": 22 }, "end": { "line": 257, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 7616, "end": 7623, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 257, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7623, "end": 7624, "loc": { "start": { "line": 257, "column": 30 }, "end": { "line": 257, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7624, "end": 7625, "loc": { "start": { "line": 257, "column": 31 }, "end": { "line": 257, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7632, "end": 7633, "loc": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 7 } } }, { "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": 7634, "end": 7638, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7639, "end": 7640, "loc": { "start": { "line": 258, "column": 13 }, "end": { "line": 258, "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": 7649, "end": 7653, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7653, "end": 7654, "loc": { "start": { "line": 259, "column": 12 }, "end": { "line": 259, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "connector", "start": 7654, "end": 7663, "loc": { "start": { "line": 259, "column": 13 }, "end": { "line": 259, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7663, "end": 7664, "loc": { "start": { "line": 259, "column": 22 }, "end": { "line": 259, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disconnect", "start": 7664, "end": 7674, "loc": { "start": { "line": 259, "column": 23 }, "end": { "line": 259, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7674, "end": 7675, "loc": { "start": { "line": 259, "column": 33 }, "end": { "line": 259, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7675, "end": 7676, "loc": { "start": { "line": 259, "column": 34 }, "end": { "line": 259, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7683, "end": 7684, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7689, "end": 7690, "loc": { "start": { "line": 261, "column": 4 }, "end": { "line": 261, "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": 7695, "end": 7697, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7698, "end": 7699, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "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": 7699, "end": 7703, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7703, "end": 7704, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 7704, "end": 7715, "loc": { "start": { "line": 262, "column": 13 }, "end": { "line": 262, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7716, "end": 7719, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "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": 7720, "end": 7724, "loc": { "start": { "line": 262, "column": 29 }, "end": { "line": 262, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7724, "end": 7725, "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7726, "end": 7727, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "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": 7734, "end": 7738, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7738, "end": 7739, "loc": { "start": { "line": 263, "column": 10 }, "end": { "line": 263, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 7739, "end": 7750, "loc": { "start": { "line": 263, "column": 11 }, "end": { "line": 263, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7750, "end": 7751, "loc": { "start": { "line": 263, "column": 22 }, "end": { "line": 263, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deinit", "start": 7751, "end": 7757, "loc": { "start": { "line": 263, "column": 23 }, "end": { "line": 263, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7757, "end": 7758, "loc": { "start": { "line": 263, "column": 29 }, "end": { "line": 263, "column": 30 } } }, { "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": 7758, "end": 7762, "loc": { "start": { "line": 263, "column": 30 }, "end": { "line": 263, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7762, "end": 7763, "loc": { "start": { "line": 263, "column": 34 }, "end": { "line": 263, "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": 7770, "end": 7774, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7774, "end": 7775, "loc": { "start": { "line": 264, "column": 10 }, "end": { "line": 264, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "persistence", "start": 7775, "end": 7786, "loc": { "start": { "line": 264, "column": 11 }, "end": { "line": 264, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7787, "end": 7788, "loc": { "start": { "line": 264, "column": 23 }, "end": { "line": 264, "column": 24 } } }, { "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": 7789, "end": 7793, "loc": { "start": { "line": 264, "column": 25 }, "end": { "line": 264, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7798, "end": 7799, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "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": 7804, "end": 7808, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7808, "end": 7809, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 7809, "end": 7811, "loc": { "start": { "line": 266, "column": 9 }, "end": { "line": 266, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7812, "end": 7813, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 13 } } }, { "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": 7814, "end": 7818, "loc": { "start": { "line": 266, "column": 14 }, "end": { "line": 266, "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": 7823, "end": 7827, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7827, "end": 7828, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ds", "start": 7828, "end": 7830, "loc": { "start": { "line": 267, "column": 9 }, "end": { "line": 267, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7831, "end": 7832, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "column": 13 } } }, { "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": 7833, "end": 7837, "loc": { "start": { "line": 267, "column": 14 }, "end": { "line": 267, "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": 7842, "end": 7846, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7846, "end": 7847, "loc": { "start": { "line": 268, "column": 8 }, "end": { "line": 268, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ss", "start": 7847, "end": 7849, "loc": { "start": { "line": 268, "column": 9 }, "end": { "line": 268, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7850, "end": 7851, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 13 } } }, { "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": 7852, "end": 7856, "loc": { "start": { "line": 268, "column": 14 }, "end": { "line": 268, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7859, "end": 7860, "loc": { "start": { "line": 269, "column": 2 }, "end": { "line": 269, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7861, "end": 7862, "loc": { "start": { "line": 270, "column": 0 }, "end": { "line": 270, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Y", "start": 7864, "end": 7865, "loc": { "start": { "line": 272, "column": 0 }, "end": { "line": 272, "column": 1 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7865, "end": 7866, "loc": { "start": { "line": 272, "column": 1 }, "end": { "line": 272, "column": 2 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "extend", "start": 7866, "end": 7872, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7873, "end": 7874, "loc": { "start": { "line": 272, "column": 9 }, "end": { "line": 272, "column": 10 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 7875, "end": 7883, "loc": { "start": { "line": 272, "column": 11 }, "end": { "line": 272, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "extendYjs", "start": 7884, "end": 7893, "loc": { "start": { "line": 272, "column": 20 }, "end": { "line": 272, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7894, "end": 7895, "loc": { "start": { "line": 272, "column": 30 }, "end": { "line": 272, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7895, "end": 7896, "loc": { "start": { "line": 272, "column": 31 }, "end": { "line": 272, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7897, "end": 7898, "loc": { "start": { "line": 272, "column": 33 }, "end": { "line": 272, "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": 7901, "end": 7904, "loc": { "start": { "line": 273, "column": 2 }, "end": { "line": 273, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7905, "end": 7906, "loc": { "start": { "line": 273, "column": 6 }, "end": { "line": 273, "column": 7 } } }, { "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": 7906, "end": 7909, "loc": { "start": { "line": 273, "column": 7 }, "end": { "line": 273, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7910, "end": 7911, "loc": { "start": { "line": 273, "column": 11 }, "end": { "line": 273, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7912, "end": 7913, "loc": { "start": { "line": 273, "column": 13 }, "end": { "line": 273, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7914, "end": 7915, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7915, "end": 7916, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7917, "end": 7918, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7919, "end": 7920, "loc": { "start": { "line": 273, "column": 20 }, "end": { "line": 273, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arguments", "start": 7921, "end": 7930, "loc": { "start": { "line": 273, "column": 22 }, "end": { "line": 273, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7930, "end": 7931, "loc": { "start": { "line": 273, "column": 31 }, "end": { "line": 273, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 7931, "end": 7937, "loc": { "start": { "line": 273, "column": 32 }, "end": { "line": 273, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7937, "end": 7938, "loc": { "start": { "line": 273, "column": 38 }, "end": { "line": 273, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7939, "end": 7940, "loc": { "start": { "line": 273, "column": 40 }, "end": { "line": 273, "column": 41 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 7940, "end": 7942, "loc": { "start": { "line": 273, "column": 41 }, "end": { "line": 273, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7942, "end": 7943, "loc": { "start": { "line": 273, "column": 43 }, "end": { "line": 273, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7944, "end": 7945, "loc": { "start": { "line": 273, "column": 45 }, "end": { "line": 273, "column": 46 } } }, { "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": 7950, "end": 7953, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 7954, "end": 7955, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 9 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7956, "end": 7957, "loc": { "start": { "line": 274, "column": 10 }, "end": { "line": 274, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arguments", "start": 7958, "end": 7967, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7967, "end": 7968, "loc": { "start": { "line": 274, "column": 21 }, "end": { "line": 274, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7968, "end": 7969, "loc": { "start": { "line": 274, "column": 22 }, "end": { "line": 274, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7969, "end": 7970, "loc": { "start": { "line": 274, "column": 23 }, "end": { "line": 274, "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": 7975, "end": 7977, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7978, "end": 7979, "loc": { "start": { "line": 275, "column": 7 }, "end": { "line": 275, "column": 8 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 7979, "end": 7985, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 7986, "end": 7987, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 275, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7988, "end": 7991, "loc": { "start": { "line": 275, "column": 17 }, "end": { "line": 275, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 7992, "end": 8002, "loc": { "start": { "line": 275, "column": 21 }, "end": { "line": 275, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8002, "end": 8003, "loc": { "start": { "line": 275, "column": 31 }, "end": { "line": 275, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8004, "end": 8005, "loc": { "start": { "line": 275, "column": 33 }, "end": { "line": 275, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "f", "start": 8012, "end": 8013, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8013, "end": 8014, "loc": { "start": { "line": 276, "column": 7 }, "end": { "line": 276, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Y", "start": 8014, "end": 8015, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8015, "end": 8016, "loc": { "start": { "line": 276, "column": 9 }, "end": { "line": 276, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8021, "end": 8022, "loc": { "start": { "line": 277, "column": 4 }, "end": { "line": 277, "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": 8023, "end": 8027, "loc": { "start": { "line": 277, "column": 6 }, "end": { "line": 277, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8028, "end": 8029, "loc": { "start": { "line": 277, "column": 11 }, "end": { "line": 277, "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": 8036, "end": 8041, "loc": { "start": { "line": 278, "column": 6 }, "end": { "line": 278, "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": 8042, "end": 8045, "loc": { "start": { "line": 278, "column": 12 }, "end": { "line": 278, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 8046, "end": 8051, "loc": { "start": { "line": 278, "column": 16 }, "end": { "line": 278, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8051, "end": 8052, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "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 a function!", "start": 8052, "end": 8074, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8074, "end": 8075, "loc": { "start": { "line": 278, "column": 44 }, "end": { "line": 278, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8080, "end": 8081, "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": 8084, "end": 8085, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 280, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8086, "end": 8087, "loc": { "start": { "line": 281, "column": 0 }, "end": { "line": 281, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8088, "end": 8088, "loc": { "start": { "line": 282, "column": 0 }, "end": { "line": 282, "column": 0 } } } ] }