{ "type": "File", "start": 0, "end": 1517, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 60, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 1517, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 60, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 46, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 13, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 13 } }, "local": { "type": "Identifier", "start": 7, "end": 13, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 13 }, "identifierName": "YArray" }, "name": "YArray" } } ], "source": { "type": "StringLiteral", "start": 19, "end": 46, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 46 } }, "extra": { "rawValue": "../Types/YArray/YArray.js", "raw": "'../Types/YArray/YArray.js'" }, "value": "../Types/YArray/YArray.js" } }, { "type": "ImportDeclaration", "start": 47, "end": 87, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 40 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 54, "end": 58, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 11 } }, "local": { "type": "Identifier", "start": 54, "end": 58, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 11 }, "identifierName": "YMap" }, "name": "YMap" } } ], "source": { "type": "StringLiteral", "start": 64, "end": 87, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 40 } }, "extra": { "rawValue": "../Types/YMap/YMap.js", "raw": "'../Types/YMap/YMap.js'" }, "value": "../Types/YMap/YMap.js" } }, { "type": "ImportDeclaration", "start": 88, "end": 131, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 43 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 95, "end": 100, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 12 } }, "local": { "type": "Identifier", "start": 95, "end": 100, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 12 }, "identifierName": "YText" }, "name": "YText" } } ], "source": { "type": "StringLiteral", "start": 106, "end": 131, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 43 } }, "extra": { "rawValue": "../Types/YText/YText.js", "raw": "'../Types/YText/YText.js'" }, "value": "../Types/YText/YText.js" } }, { "type": "ImportDeclaration", "start": 132, "end": 217, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 85 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 141, "end": 153, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 } }, "imported": { "type": "Identifier", "start": 141, "end": 153, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 }, "identifierName": "YXmlFragment" }, "name": "YXmlFragment" }, "local": { "type": "Identifier", "start": 141, "end": 153, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 }, "identifierName": "YXmlFragment" }, "name": "YXmlFragment" } }, { "type": "ImportSpecifier", "start": 155, "end": 166, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 34 } }, "imported": { "type": "Identifier", "start": 155, "end": 166, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 34 }, "identifierName": "YXmlElement" }, "name": "YXmlElement" }, "local": { "type": "Identifier", "start": 155, "end": 166, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 34 }, "identifierName": "YXmlElement" }, "name": "YXmlElement" } }, { "type": "ImportSpecifier", "start": 168, "end": 176, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 44 } }, "imported": { "type": "Identifier", "start": 168, "end": 176, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 44 }, "identifierName": "YXmlText" }, "name": "YXmlText" }, "local": { "type": "Identifier", "start": 168, "end": 176, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 44 }, "identifierName": "YXmlText" }, "name": "YXmlText" } }, { "type": "ImportSpecifier", "start": 178, "end": 186, "loc": { "start": { "line": 4, "column": 46 }, "end": { "line": 4, "column": 54 } }, "imported": { "type": "Identifier", "start": 178, "end": 186, "loc": { "start": { "line": 4, "column": 46 }, "end": { "line": 4, "column": 54 }, "identifierName": "YXmlHook" }, "name": "YXmlHook" }, "local": { "type": "Identifier", "start": 178, "end": 186, "loc": { "start": { "line": 4, "column": 46 }, "end": { "line": 4, "column": 54 }, "identifierName": "YXmlHook" }, "name": "YXmlHook" } } ], "source": { "type": "StringLiteral", "start": 194, "end": 217, "loc": { "start": { "line": 4, "column": 62 }, "end": { "line": 4, "column": 85 } }, "extra": { "rawValue": "../Types/YXml/YXml.js", "raw": "'../Types/YXml/YXml.js'" }, "value": "../Types/YXml/YXml.js" } }, { "type": "ImportDeclaration", "start": 219, "end": 259, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 40 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 226, "end": 232, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 13 } }, "local": { "type": "Identifier", "start": 226, "end": 232, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 13 }, "identifierName": "Delete" }, "name": "Delete" } } ], "source": { "type": "StringLiteral", "start": 238, "end": 259, "loc": { "start": { "line": 6, "column": 19 }, "end": { "line": 6, "column": 40 } }, "extra": { "rawValue": "../Struct/Delete.js", "raw": "'../Struct/Delete.js'" }, "value": "../Struct/Delete.js" } }, { "type": "ImportDeclaration", "start": 260, "end": 304, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 44 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 267, "end": 275, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 15 } }, "local": { "type": "Identifier", "start": 267, "end": 275, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 15 }, "identifierName": "ItemJSON" }, "name": "ItemJSON" } } ], "source": { "type": "StringLiteral", "start": 281, "end": 304, "loc": { "start": { "line": 7, "column": 21 }, "end": { "line": 7, "column": 44 } }, "extra": { "rawValue": "../Struct/ItemJSON.js", "raw": "'../Struct/ItemJSON.js'" }, "value": "../Struct/ItemJSON.js" } }, { "type": "ImportDeclaration", "start": 305, "end": 353, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 48 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 312, "end": 322, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 17 } }, "local": { "type": "Identifier", "start": 312, "end": 322, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 17 }, "identifierName": "ItemString" }, "name": "ItemString" } } ], "source": { "type": "StringLiteral", "start": 328, "end": 353, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 48 } }, "extra": { "rawValue": "../Struct/ItemString.js", "raw": "'../Struct/ItemString.js'" }, "value": "../Struct/ItemString.js" } }, { "type": "ImportDeclaration", "start": 354, "end": 402, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 48 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 361, "end": 371, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 17 } }, "local": { "type": "Identifier", "start": 361, "end": 371, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 17 }, "identifierName": "ItemFormat" }, "name": "ItemFormat" } } ], "source": { "type": "StringLiteral", "start": 377, "end": 402, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 48 } }, "extra": { "rawValue": "../Struct/ItemFormat.js", "raw": "'../Struct/ItemFormat.js'" }, "value": "../Struct/ItemFormat.js" } }, { "type": "ImportDeclaration", "start": 403, "end": 449, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 46 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 410, "end": 419, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 16 } }, "local": { "type": "Identifier", "start": 410, "end": 419, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 16 }, "identifierName": "ItemEmbed" }, "name": "ItemEmbed" } } ], "source": { "type": "StringLiteral", "start": 425, "end": 449, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "column": 46 } }, "extra": { "rawValue": "../Struct/ItemEmbed.js", "raw": "'../Struct/ItemEmbed.js'" }, "value": "../Struct/ItemEmbed.js" } }, { "type": "ImportDeclaration", "start": 450, "end": 482, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 457, "end": 459, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 9 } }, "local": { "type": "Identifier", "start": 457, "end": 459, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 9 }, "identifierName": "GC" }, "name": "GC" } } ], "source": { "type": "StringLiteral", "start": 465, "end": 482, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 32 } }, "extra": { "rawValue": "../Struct/GC.js", "raw": "'../Struct/GC.js'" }, "value": "../Struct/GC.js" } }, { "type": "VariableDeclaration", "start": 484, "end": 509, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", "start": 490, "end": 509, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 25 } }, "id": { "type": "Identifier", "start": 490, "end": 497, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 13 }, "identifierName": "structs" }, "name": "structs" }, "init": { "type": "NewExpression", "start": 500, "end": 509, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 25 } }, "callee": { "type": "Identifier", "start": 504, "end": 507, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 23 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 510, "end": 538, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 516, "end": 538, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 28 } }, "id": { "type": "Identifier", "start": 516, "end": 526, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 16 }, "identifierName": "references" }, "name": "references" }, "init": { "type": "NewExpression", "start": 529, "end": 538, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 14, "column": 28 } }, "callee": { "type": "Identifier", "start": 533, "end": 536, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 14, "column": 26 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [], "trailingComments": null }, "trailingComments": null } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Register a new Yjs types. The same type must be defined with the same\n * reference on all clients!\n *\n * @param {Number} reference\n * @param {class} structConstructor\n *\n * @public\n ", "start": 540, "end": 731, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 732, "end": 888, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 28, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 739, "end": 888, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 28, "column": 1 } }, "id": { "type": "Identifier", "start": 748, "end": 762, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 30 }, "identifierName": "registerStruct" }, "name": "registerStruct", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 764, "end": 773, "loc": { "start": { "line": 25, "column": 32 }, "end": { "line": 25, "column": 41 }, "identifierName": "reference" }, "name": "reference" }, { "type": "Identifier", "start": 775, "end": 792, "loc": { "start": { "line": 25, "column": 43 }, "end": { "line": 25, "column": 60 }, "identifierName": "structConstructor" }, "name": "structConstructor" } ], "body": { "type": "BlockStatement", "start": 794, "end": 888, "loc": { "start": { "line": 25, "column": 62 }, "end": { "line": 28, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 798, "end": 839, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 43 } }, "expression": { "type": "CallExpression", "start": 798, "end": 839, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 798, "end": 809, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 13 } }, "object": { "type": "Identifier", "start": 798, "end": 805, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 9 }, "identifierName": "structs" }, "name": "structs" }, "property": { "type": "Identifier", "start": 806, "end": 809, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 13 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 810, "end": 819, "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 23 }, "identifierName": "reference" }, "name": "reference" }, { "type": "Identifier", "start": 821, "end": 838, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 42 }, "identifierName": "structConstructor" }, "name": "structConstructor" } ] } }, { "type": "ExpressionStatement", "start": 842, "end": 886, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 46 } }, "expression": { "type": "CallExpression", "start": 842, "end": 886, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 842, "end": 856, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 16 } }, "object": { "type": "Identifier", "start": 842, "end": 852, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 12 }, "identifierName": "references" }, "name": "references" }, "property": { "type": "Identifier", "start": 853, "end": 856, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 16 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 857, "end": 874, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 34 }, "identifierName": "structConstructor" }, "name": "structConstructor" }, { "type": "Identifier", "start": 876, "end": 885, "loc": { "start": { "line": 27, "column": 36 }, "end": { "line": 27, "column": 45 }, "identifierName": "reference" }, "name": "reference" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Register a new Yjs types. The same type must be defined with the same\n * reference on all clients!\n *\n * @param {Number} reference\n * @param {class} structConstructor\n *\n * @public\n ", "start": 540, "end": 731, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 890, "end": 909, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Register a new Yjs types. The same type must be defined with the same\n * reference on all clients!\n *\n * @param {Number} reference\n * @param {class} structConstructor\n *\n * @public\n ", "start": 540, "end": 731, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 890, "end": 909, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 910, "end": 983, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 35, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 917, "end": 983, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 35, "column": 1 } }, "id": { "type": "Identifier", "start": 926, "end": 935, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 25 }, "identifierName": "getStruct" }, "name": "getStruct", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 937, "end": 946, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 36 }, "identifierName": "reference" }, "name": "reference" } ], "body": { "type": "BlockStatement", "start": 948, "end": 983, "loc": { "start": { "line": 33, "column": 38 }, "end": { "line": 35, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 952, "end": 981, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 31 } }, "argument": { "type": "CallExpression", "start": 959, "end": 981, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 959, "end": 970, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 20 } }, "object": { "type": "Identifier", "start": 959, "end": 966, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 16 }, "identifierName": "structs" }, "name": "structs" }, "property": { "type": "Identifier", "start": 967, "end": 970, "loc": { "start": { "line": 34, "column": 17 }, "end": { "line": 34, "column": 20 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 971, "end": 980, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 30 }, "identifierName": "reference" }, "name": "reference" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 890, "end": 909, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 985, "end": 1004, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 39, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 890, "end": 909, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 985, "end": 1004, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 39, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1005, "end": 1102, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 42, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1012, "end": 1102, "loc": { "start": { "line": 40, "column": 7 }, "end": { "line": 42, "column": 1 } }, "id": { "type": "Identifier", "start": 1021, "end": 1039, "loc": { "start": { "line": 40, "column": 16 }, "end": { "line": 40, "column": 34 }, "identifierName": "getStructReference" }, "name": "getStructReference", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1041, "end": 1056, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 51 }, "identifierName": "typeConstructor" }, "name": "typeConstructor" } ], "body": { "type": "BlockStatement", "start": 1058, "end": 1102, "loc": { "start": { "line": 40, "column": 53 }, "end": { "line": 42, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 1062, "end": 1100, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 40 } }, "argument": { "type": "CallExpression", "start": 1069, "end": 1100, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 1069, "end": 1083, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 23 } }, "object": { "type": "Identifier", "start": 1069, "end": 1079, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 19 }, "identifierName": "references" }, "name": "references" }, "property": { "type": "Identifier", "start": 1080, "end": 1083, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 23 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1084, "end": 1099, "loc": { "start": { "line": 41, "column": 24 }, "end": { "line": 41, "column": 39 }, "identifierName": "typeConstructor" }, "name": "typeConstructor" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 985, "end": 1004, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 39, "column": 3 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " TODO: reorder (Item* should have low numbers)", "start": 1104, "end": 1152, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 48 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 985, "end": 1004, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 39, "column": 3 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " TODO: reorder (Item* should have low numbers)", "start": 1104, "end": 1152, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 1153, "end": 1180, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 27 } }, "expression": { "type": "CallExpression", "start": 1153, "end": 1180, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 27 } }, "callee": { "type": "Identifier", "start": 1153, "end": 1167, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct", "leadingComments": null }, "arguments": [ { "type": "NumericLiteral", "start": 1168, "end": 1169, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 16 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 1171, "end": 1179, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 26 }, "identifierName": "ItemJSON" }, "name": "ItemJSON" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " TODO: reorder (Item* should have low numbers)", "start": 1104, "end": 1152, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 1181, "end": 1210, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 29 } }, "expression": { "type": "CallExpression", "start": 1181, "end": 1210, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 29 } }, "callee": { "type": "Identifier", "start": 1181, "end": 1195, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1196, "end": 1197, "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 16 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "Identifier", "start": 1199, "end": 1209, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 28 }, "identifierName": "ItemString" }, "name": "ItemString" } ] } }, { "type": "ExpressionStatement", "start": 1211, "end": 1241, "loc": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 30 } }, "expression": { "type": "CallExpression", "start": 1211, "end": 1241, "loc": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 30 } }, "callee": { "type": "Identifier", "start": 1211, "end": 1225, "loc": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1226, "end": 1228, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 17 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, { "type": "Identifier", "start": 1230, "end": 1240, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 29 }, "identifierName": "ItemFormat" }, "name": "ItemFormat" } ] } }, { "type": "ExpressionStatement", "start": 1242, "end": 1271, "loc": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 29 } }, "expression": { "type": "CallExpression", "start": 1242, "end": 1271, "loc": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 29 } }, "callee": { "type": "Identifier", "start": 1242, "end": 1256, "loc": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1257, "end": 1259, "loc": { "start": { "line": 48, "column": 15 }, "end": { "line": 48, "column": 17 } }, "extra": { "rawValue": 11, "raw": "11" }, "value": 11 }, { "type": "Identifier", "start": 1261, "end": 1270, "loc": { "start": { "line": 48, "column": 19 }, "end": { "line": 48, "column": 28 }, "identifierName": "ItemEmbed" }, "name": "ItemEmbed" } ] } }, { "type": "ExpressionStatement", "start": 1272, "end": 1297, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1272, "end": 1297, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 25 } }, "callee": { "type": "Identifier", "start": 1272, "end": 1286, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1287, "end": 1288, "loc": { "start": { "line": 49, "column": 15 }, "end": { "line": 49, "column": 16 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "Identifier", "start": 1290, "end": 1296, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "column": 24 }, "identifierName": "Delete" }, "name": "Delete" } ] } }, { "type": "ExpressionStatement", "start": 1299, "end": 1324, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1299, "end": 1324, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 25 } }, "callee": { "type": "Identifier", "start": 1299, "end": 1313, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1314, "end": 1315, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 16 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, { "type": "Identifier", "start": 1317, "end": 1323, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 51, "column": 24 }, "identifierName": "YArray" }, "name": "YArray" } ] } }, { "type": "ExpressionStatement", "start": 1325, "end": 1348, "loc": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 23 } }, "expression": { "type": "CallExpression", "start": 1325, "end": 1348, "loc": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 23 } }, "callee": { "type": "Identifier", "start": 1325, "end": 1339, "loc": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1340, "end": 1341, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 16 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, { "type": "Identifier", "start": 1343, "end": 1347, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 22 }, "identifierName": "YMap" }, "name": "YMap" } ] } }, { "type": "ExpressionStatement", "start": 1349, "end": 1373, "loc": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 24 } }, "expression": { "type": "CallExpression", "start": 1349, "end": 1373, "loc": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 24 } }, "callee": { "type": "Identifier", "start": 1349, "end": 1363, "loc": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1364, "end": 1365, "loc": { "start": { "line": 53, "column": 15 }, "end": { "line": 53, "column": 16 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 }, { "type": "Identifier", "start": 1367, "end": 1372, "loc": { "start": { "line": 53, "column": 18 }, "end": { "line": 53, "column": 23 }, "identifierName": "YText" }, "name": "YText" } ] } }, { "type": "ExpressionStatement", "start": 1374, "end": 1405, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 31 } }, "expression": { "type": "CallExpression", "start": 1374, "end": 1405, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 31 } }, "callee": { "type": "Identifier", "start": 1374, "end": 1388, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1389, "end": 1390, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 16 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 }, { "type": "Identifier", "start": 1392, "end": 1404, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 30 }, "identifierName": "YXmlFragment" }, "name": "YXmlFragment" } ] } }, { "type": "ExpressionStatement", "start": 1406, "end": 1436, "loc": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 30 } }, "expression": { "type": "CallExpression", "start": 1406, "end": 1436, "loc": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 30 } }, "callee": { "type": "Identifier", "start": 1406, "end": 1420, "loc": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1421, "end": 1422, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 16 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 }, { "type": "Identifier", "start": 1424, "end": 1435, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 29 }, "identifierName": "YXmlElement" }, "name": "YXmlElement" } ] } }, { "type": "ExpressionStatement", "start": 1437, "end": 1464, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 27 } }, "expression": { "type": "CallExpression", "start": 1437, "end": 1464, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 27 } }, "callee": { "type": "Identifier", "start": 1437, "end": 1451, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1452, "end": 1453, "loc": { "start": { "line": 56, "column": 15 }, "end": { "line": 56, "column": 16 } }, "extra": { "rawValue": 8, "raw": "8" }, "value": 8 }, { "type": "Identifier", "start": 1455, "end": 1463, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 26 }, "identifierName": "YXmlText" }, "name": "YXmlText" } ] } }, { "type": "ExpressionStatement", "start": 1465, "end": 1492, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 27 } }, "expression": { "type": "CallExpression", "start": 1465, "end": 1492, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 27 } }, "callee": { "type": "Identifier", "start": 1465, "end": 1479, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1480, "end": 1481, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 16 } }, "extra": { "rawValue": 9, "raw": "9" }, "value": 9 }, { "type": "Identifier", "start": 1483, "end": 1491, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 26 }, "identifierName": "YXmlHook" }, "name": "YXmlHook" } ] } }, { "type": "ExpressionStatement", "start": 1494, "end": 1516, "loc": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 22 } }, "expression": { "type": "CallExpression", "start": 1494, "end": 1516, "loc": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 22 } }, "callee": { "type": "Identifier", "start": 1494, "end": 1508, "loc": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 14 }, "identifierName": "registerStruct" }, "name": "registerStruct" }, "arguments": [ { "type": "NumericLiteral", "start": 1509, "end": 1511, "loc": { "start": { "line": 59, "column": 15 }, "end": { "line": 59, "column": 17 } }, "extra": { "rawValue": 12, "raw": "12" }, "value": 12 }, { "type": "Identifier", "start": 1513, "end": 1515, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 21 }, "identifierName": "GC" }, "name": "GC" } ] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Register a new Yjs types. The same type must be defined with the same\n * reference on all clients!\n *\n * @param {Number} reference\n * @param {class} structConstructor\n *\n * @public\n ", "start": 540, "end": 731, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 890, "end": 909, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 985, "end": 1004, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 39, "column": 3 } } }, { "type": "CommentLine", "value": " TODO: reorder (Item* should have low numbers)", "start": 1104, "end": 1152, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 48 } } } ], "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": "YArray", "start": 7, "end": 13, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 14, "end": 18, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Types/YArray/YArray.js", "start": 19, "end": 46, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "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": 47, "end": 53, "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": "YMap", "start": 54, "end": 58, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 59, "end": 63, "loc": { "start": { "line": 2, "column": 12 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Types/YMap/YMap.js", "start": 64, "end": 87, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "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": 88, "end": 94, "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": "YText", "start": 95, "end": 100, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 101, "end": 105, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Types/YText/YText.js", "start": 106, "end": 131, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 43 } } }, { "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": 132, "end": 138, "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": 139, "end": 140, "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": "YXmlFragment", "start": 141, "end": 153, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 153, "end": 154, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlElement", "start": 155, "end": 166, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 166, "end": 167, "loc": { "start": { "line": 4, "column": 34 }, "end": { "line": 4, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlText", "start": 168, "end": 176, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 176, "end": 177, "loc": { "start": { "line": 4, "column": 44 }, "end": { "line": 4, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlHook", "start": 178, "end": 186, "loc": { "start": { "line": 4, "column": 46 }, "end": { "line": 4, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 187, "end": 188, "loc": { "start": { "line": 4, "column": 55 }, "end": { "line": 4, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 189, "end": 193, "loc": { "start": { "line": 4, "column": 57 }, "end": { "line": 4, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Types/YXml/YXml.js", "start": 194, "end": 217, "loc": { "start": { "line": 4, "column": 62 }, "end": { "line": 4, "column": 85 } } }, { "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": 219, "end": 225, "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": "Delete", "start": 226, "end": 232, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 233, "end": 237, "loc": { "start": { "line": 6, "column": 14 }, "end": { "line": 6, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/Delete.js", "start": 238, "end": 259, "loc": { "start": { "line": 6, "column": 19 }, "end": { "line": 6, "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": 260, "end": 266, "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": "ItemJSON", "start": 267, "end": 275, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 276, "end": 280, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/ItemJSON.js", "start": 281, "end": 304, "loc": { "start": { "line": 7, "column": 21 }, "end": { "line": 7, "column": 44 } } }, { "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": 305, "end": 311, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemString", "start": 312, "end": 322, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 323, "end": 327, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/ItemString.js", "start": 328, "end": 353, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "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": 354, "end": 360, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemFormat", "start": 361, "end": 371, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 372, "end": 376, "loc": { "start": { "line": 9, "column": 18 }, "end": { "line": 9, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/ItemFormat.js", "start": 377, "end": 402, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "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": 403, "end": 409, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemEmbed", "start": 410, "end": 419, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 420, "end": 424, "loc": { "start": { "line": 10, "column": 17 }, "end": { "line": 10, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/ItemEmbed.js", "start": 425, "end": 449, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "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": 450, "end": 456, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GC", "start": 457, "end": 459, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 460, "end": 464, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/GC.js", "start": 465, "end": 482, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 32 } } }, { "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": 484, "end": 489, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "structs", "start": 490, "end": 497, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 498, "end": 499, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 500, "end": 503, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 504, "end": 507, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 507, "end": 508, "loc": { "start": { "line": 13, "column": 23 }, "end": { "line": 13, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 508, "end": 509, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 25 } } }, { "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": 510, "end": 515, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "references", "start": 516, "end": 526, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 527, "end": 528, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 14, "column": 18 } } }, { "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": 529, "end": 532, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 14, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 533, "end": 536, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 14, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 536, "end": 537, "loc": { "start": { "line": 14, "column": 26 }, "end": { "line": 14, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 537, "end": 538, "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 28 } } }, { "type": "CommentBlock", "value": "*\n * Register a new Yjs types. The same type must be defined with the same\n * reference on all clients!\n *\n * @param {Number} reference\n * @param {class} structConstructor\n *\n * @public\n ", "start": 540, "end": 731, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "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": 732, "end": 738, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 739, "end": 747, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 748, "end": 762, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 763, "end": 764, "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reference", "start": 764, "end": 773, "loc": { "start": { "line": 25, "column": 32 }, "end": { "line": 25, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 773, "end": 774, "loc": { "start": { "line": 25, "column": 41 }, "end": { "line": 25, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "structConstructor", "start": 775, "end": 792, "loc": { "start": { "line": 25, "column": 43 }, "end": { "line": 25, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 792, "end": 793, "loc": { "start": { "line": 25, "column": 60 }, "end": { "line": 25, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 794, "end": 795, "loc": { "start": { "line": 25, "column": 62 }, "end": { "line": 25, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "structs", "start": 798, "end": 805, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 805, "end": 806, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 806, "end": 809, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 809, "end": 810, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reference", "start": 810, "end": 819, "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 819, "end": 820, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "structConstructor", "start": 821, "end": 838, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 838, "end": 839, "loc": { "start": { "line": 26, "column": 42 }, "end": { "line": 26, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "references", "start": 842, "end": 852, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 852, "end": 853, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 853, "end": 856, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 856, "end": 857, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "structConstructor", "start": 857, "end": 874, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 874, "end": 875, "loc": { "start": { "line": 27, "column": 34 }, "end": { "line": 27, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reference", "start": 876, "end": 885, "loc": { "start": { "line": 27, "column": 36 }, "end": { "line": 27, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 885, "end": 886, "loc": { "start": { "line": 27, "column": 45 }, "end": { "line": 27, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 887, "end": 888, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 890, "end": 909, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "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": 910, "end": 916, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 917, "end": 925, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getStruct", "start": 926, "end": 935, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 936, "end": 937, "loc": { "start": { "line": 33, "column": 26 }, "end": { "line": 33, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reference", "start": 937, "end": 946, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 946, "end": 947, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 948, "end": 949, "loc": { "start": { "line": 33, "column": 38 }, "end": { "line": 33, "column": 39 } } }, { "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": 952, "end": 958, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "structs", "start": 959, "end": 966, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 966, "end": 967, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 967, "end": 970, "loc": { "start": { "line": 34, "column": 17 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 970, "end": 971, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reference", "start": 971, "end": 980, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 980, "end": 981, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 34, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 982, "end": 983, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 985, "end": 1004, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 39, "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": 1005, "end": 1011, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1012, "end": 1020, "loc": { "start": { "line": 40, "column": 7 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getStructReference", "start": 1021, "end": 1039, "loc": { "start": { "line": 40, "column": 16 }, "end": { "line": 40, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1040, "end": 1041, "loc": { "start": { "line": 40, "column": 35 }, "end": { "line": 40, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeConstructor", "start": 1041, "end": 1056, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1056, "end": 1057, "loc": { "start": { "line": 40, "column": 51 }, "end": { "line": 40, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1058, "end": 1059, "loc": { "start": { "line": 40, "column": 53 }, "end": { "line": 40, "column": 54 } } }, { "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": 1062, "end": 1068, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "references", "start": 1069, "end": 1079, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1079, "end": 1080, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 1080, "end": 1083, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1083, "end": 1084, "loc": { "start": { "line": 41, "column": 23 }, "end": { "line": 41, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeConstructor", "start": 1084, "end": 1099, "loc": { "start": { "line": 41, "column": 24 }, "end": { "line": 41, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1099, "end": 1100, "loc": { "start": { "line": 41, "column": 39 }, "end": { "line": 41, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1101, "end": 1102, "loc": { "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 1 } } }, { "type": "CommentLine", "value": " TODO: reorder (Item* should have low numbers)", "start": 1104, "end": 1152, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1153, "end": 1167, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1167, "end": 1168, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1168, "end": 1169, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1169, "end": 1170, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemJSON", "start": 1171, "end": 1179, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1179, "end": 1180, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1181, "end": 1195, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1195, "end": 1196, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1196, "end": 1197, "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1197, "end": 1198, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemString", "start": 1199, "end": 1209, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1209, "end": 1210, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1211, "end": 1225, "loc": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1225, "end": 1226, "loc": { "start": { "line": 47, "column": 14 }, "end": { "line": 47, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 1226, "end": 1228, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1228, "end": 1229, "loc": { "start": { "line": 47, "column": 17 }, "end": { "line": 47, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemFormat", "start": 1230, "end": 1240, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1240, "end": 1241, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 47, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1242, "end": 1256, "loc": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1256, "end": 1257, "loc": { "start": { "line": 48, "column": 14 }, "end": { "line": 48, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 11, "start": 1257, "end": 1259, "loc": { "start": { "line": 48, "column": 15 }, "end": { "line": 48, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1259, "end": 1260, "loc": { "start": { "line": 48, "column": 17 }, "end": { "line": 48, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemEmbed", "start": 1261, "end": 1270, "loc": { "start": { "line": 48, "column": 19 }, "end": { "line": 48, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1270, "end": 1271, "loc": { "start": { "line": 48, "column": 28 }, "end": { "line": 48, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1272, "end": 1286, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1286, "end": 1287, "loc": { "start": { "line": 49, "column": 14 }, "end": { "line": 49, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 1287, "end": 1288, "loc": { "start": { "line": 49, "column": 15 }, "end": { "line": 49, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1288, "end": 1289, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Delete", "start": 1290, "end": 1296, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1296, "end": 1297, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1299, "end": 1313, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1313, "end": 1314, "loc": { "start": { "line": 51, "column": 14 }, "end": { "line": 51, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 1314, "end": 1315, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1315, "end": 1316, "loc": { "start": { "line": 51, "column": 16 }, "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": "YArray", "start": 1317, "end": 1323, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 51, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1323, "end": 1324, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1325, "end": 1339, "loc": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1339, "end": 1340, "loc": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 1340, "end": 1341, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1341, "end": 1342, "loc": { "start": { "line": 52, "column": 16 }, "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": "YMap", "start": 1343, "end": 1347, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1347, "end": 1348, "loc": { "start": { "line": 52, "column": 22 }, "end": { "line": 52, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1349, "end": 1363, "loc": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1363, "end": 1364, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 1364, "end": 1365, "loc": { "start": { "line": 53, "column": 15 }, "end": { "line": 53, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1365, "end": 1366, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YText", "start": 1367, "end": 1372, "loc": { "start": { "line": 53, "column": 18 }, "end": { "line": 53, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1372, "end": 1373, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1374, "end": 1388, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1388, "end": 1389, "loc": { "start": { "line": 54, "column": 14 }, "end": { "line": 54, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 1389, "end": 1390, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1390, "end": 1391, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlFragment", "start": 1392, "end": 1404, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1404, "end": 1405, "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1406, "end": 1420, "loc": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1420, "end": 1421, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 1421, "end": 1422, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlElement", "start": 1424, "end": 1435, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1435, "end": 1436, "loc": { "start": { "line": 55, "column": 29 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1437, "end": 1451, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1451, "end": 1452, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 8, "start": 1452, "end": 1453, "loc": { "start": { "line": 56, "column": 15 }, "end": { "line": 56, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1453, "end": 1454, "loc": { "start": { "line": 56, "column": 16 }, "end": { "line": 56, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlText", "start": 1455, "end": 1463, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1463, "end": 1464, "loc": { "start": { "line": 56, "column": 26 }, "end": { "line": 56, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1465, "end": 1479, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1479, "end": 1480, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 9, "start": 1480, "end": 1481, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1481, "end": 1482, "loc": { "start": { "line": 57, "column": 16 }, "end": { "line": 57, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlHook", "start": 1483, "end": 1491, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1491, "end": 1492, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStruct", "start": 1494, "end": 1508, "loc": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1508, "end": 1509, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 59, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 12, "start": 1509, "end": 1511, "loc": { "start": { "line": 59, "column": 15 }, "end": { "line": 59, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1511, "end": 1512, "loc": { "start": { "line": 59, "column": 17 }, "end": { "line": 59, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GC", "start": 1513, "end": 1515, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1515, "end": 1516, "loc": { "start": { "line": 59, "column": 21 }, "end": { "line": 59, "column": 22 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1517, "end": 1517, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 0 } } } ] }