{ "type": "File", "start": 0, "end": 926, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 33, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 926, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 33, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 1, "end": 46, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 45 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 10, "end": 22, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 10, "end": 22, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "writeStructs" }, "name": "writeStructs" }, "local": { "type": "Identifier", "start": 10, "end": 22, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "writeStructs" }, "name": "writeStructs" } } ], "source": { "type": "StringLiteral", "start": 30, "end": 46, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "./syncStep1.js", "raw": "'./syncStep1.js'" }, "value": "./syncStep1.js" } }, { "type": "ImportDeclaration", "start": 47, "end": 115, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 68 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 56, "end": 78, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 } }, "imported": { "type": "Identifier", "start": 56, "end": 78, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 }, "identifierName": "integrateRemoteStructs" }, "name": "integrateRemoteStructs" }, "local": { "type": "Identifier", "start": 56, "end": 78, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 }, "identifierName": "integrateRemoteStructs" }, "name": "integrateRemoteStructs" } } ], "source": { "type": "StringLiteral", "start": 86, "end": 115, "loc": { "start": { "line": 3, "column": 39 }, "end": { "line": 3, "column": 68 } }, "extra": { "rawValue": "./integrateRemoteStructs.js", "raw": "'./integrateRemoteStructs.js'" }, "value": "./integrateRemoteStructs.js" } }, { "type": "ImportDeclaration", "start": 116, "end": 178, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 125, "end": 138, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 } }, "imported": { "type": "Identifier", "start": 125, "end": 138, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 }, "identifierName": "readDeleteSet" }, "name": "readDeleteSet" }, "local": { "type": "Identifier", "start": 125, "end": 138, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 }, "identifierName": "readDeleteSet" }, "name": "readDeleteSet" } }, { "type": "ImportSpecifier", "start": 140, "end": 154, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 38 } }, "imported": { "type": "Identifier", "start": 140, "end": 154, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 38 }, "identifierName": "writeDeleteSet" }, "name": "writeDeleteSet" }, "local": { "type": "Identifier", "start": 140, "end": 154, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 38 }, "identifierName": "writeDeleteSet" }, "name": "writeDeleteSet" } } ], "source": { "type": "StringLiteral", "start": 162, "end": 178, "loc": { "start": { "line": 4, "column": 46 }, "end": { "line": 4, "column": 62 } }, "extra": { "rawValue": "./deleteSet.js", "raw": "'./deleteSet.js'" }, "value": "./deleteSet.js" } }, { "type": "ImportDeclaration", "start": 179, "end": 232, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 53 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 186, "end": 199, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 20 } }, "local": { "type": "Identifier", "start": 186, "end": 199, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 20 }, "identifierName": "BinaryEncoder" }, "name": "BinaryEncoder" } } ], "source": { "type": "StringLiteral", "start": 205, "end": 232, "loc": { "start": { "line": 5, "column": 26 }, "end": { "line": 5, "column": 53 } }, "extra": { "rawValue": "../Util/Binary/Encoder.js", "raw": "'../Util/Binary/Encoder.js'" }, "value": "../Util/Binary/Encoder.js", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Read the Decoder and fill the Yjs instance with data in the decoder.\n *\n * @param {Y} y The Yjs instance\n * @param {BinaryDecoder} decoder The BinaryDecoder to read from.\n ", "start": 234, "end": 415, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 12, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 416, "end": 560, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 18, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 423, "end": 560, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 18, "column": 1 } }, "id": { "type": "Identifier", "start": 432, "end": 442, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 26 }, "identifierName": "fromBinary" }, "name": "fromBinary", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 444, "end": 445, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 29 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 447, "end": 454, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 38 }, "identifierName": "decoder" }, "name": "decoder" } ], "body": { "type": "BlockStatement", "start": 456, "end": 560, "loc": { "start": { "line": 13, "column": 40 }, "end": { "line": 18, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 460, "end": 558, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 17, "column": 4 } }, "expression": { "type": "CallExpression", "start": 460, "end": 558, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 17, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 460, "end": 470, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 12 } }, "object": { "type": "Identifier", "start": 460, "end": 461, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 3 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 462, "end": 470, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 12 }, "identifierName": "transact" }, "name": "transact" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 471, "end": 557, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 17, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 483, "end": 557, "loc": { "start": { "line": 14, "column": 25 }, "end": { "line": 17, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 489, "end": 523, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 38 } }, "expression": { "type": "CallExpression", "start": 489, "end": 523, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 38 } }, "callee": { "type": "Identifier", "start": 489, "end": 511, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 26 }, "identifierName": "integrateRemoteStructs" }, "name": "integrateRemoteStructs" }, "arguments": [ { "type": "Identifier", "start": 512, "end": 513, "loc": { "start": { "line": 15, "column": 27 }, "end": { "line": 15, "column": 28 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 515, "end": 522, "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 37 }, "identifierName": "decoder" }, "name": "decoder" } ] } }, { "type": "ExpressionStatement", "start": 528, "end": 553, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 29 } }, "expression": { "type": "CallExpression", "start": 528, "end": 553, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 29 } }, "callee": { "type": "Identifier", "start": 528, "end": 541, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 17 }, "identifierName": "readDeleteSet" }, "name": "readDeleteSet" }, "arguments": [ { "type": "Identifier", "start": 542, "end": 543, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 19 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 545, "end": 552, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 28 }, "identifierName": "decoder" }, "name": "decoder" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Read the Decoder and fill the Yjs instance with data in the decoder.\n *\n * @param {Y} y The Yjs instance\n * @param {BinaryDecoder} decoder The BinaryDecoder to read from.\n ", "start": 234, "end": 415, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 12, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Encode the Yjs model to binary format.\n *\n * @param {Y} y The Yjs instance\n * @return {BinaryEncoder} The encoder instance that can be transformed\n * to ArrayBuffer or Buffer.\n ", "start": 562, "end": 772, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 26, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Read the Decoder and fill the Yjs instance with data in the decoder.\n *\n * @param {Y} y The Yjs instance\n * @param {BinaryDecoder} decoder The BinaryDecoder to read from.\n ", "start": 234, "end": 415, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 12, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Encode the Yjs model to binary format.\n *\n * @param {Y} y The Yjs instance\n * @return {BinaryEncoder} The encoder instance that can be transformed\n * to ArrayBuffer or Buffer.\n ", "start": 562, "end": 772, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 26, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 773, "end": 925, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 32, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 780, "end": 925, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 32, "column": 1 } }, "id": { "type": "Identifier", "start": 789, "end": 797, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 24 }, "identifierName": "toBinary" }, "name": "toBinary", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 799, "end": 800, "loc": { "start": { "line": 27, "column": 26 }, "end": { "line": 27, "column": 27 }, "identifierName": "y" }, "name": "y" } ], "body": { "type": "BlockStatement", "start": 802, "end": 925, "loc": { "start": { "line": 27, "column": 29 }, "end": { "line": 32, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 806, "end": 839, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 810, "end": 839, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 35 } }, "id": { "type": "Identifier", "start": 810, "end": 817, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 13 }, "identifierName": "encoder" }, "name": "encoder" }, "init": { "type": "NewExpression", "start": 820, "end": 839, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 35 } }, "callee": { "type": "Identifier", "start": 824, "end": 837, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 33 }, "identifierName": "BinaryEncoder" }, "name": "BinaryEncoder" }, "arguments": [] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 842, "end": 877, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 37 } }, "expression": { "type": "CallExpression", "start": 842, "end": 877, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 37 } }, "callee": { "type": "Identifier", "start": 842, "end": 854, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 14 }, "identifierName": "writeStructs" }, "name": "writeStructs" }, "arguments": [ { "type": "Identifier", "start": 855, "end": 856, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 858, "end": 865, "loc": { "start": { "line": 29, "column": 18 }, "end": { "line": 29, "column": 25 }, "identifierName": "encoder" }, "name": "encoder" }, { "type": "NewExpression", "start": 867, "end": 876, "loc": { "start": { "line": 29, "column": 27 }, "end": { "line": 29, "column": 36 } }, "callee": { "type": "Identifier", "start": 871, "end": 874, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 34 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] } ] } }, { "type": "ExpressionStatement", "start": 880, "end": 906, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 28 } }, "expression": { "type": "CallExpression", "start": 880, "end": 906, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 28 } }, "callee": { "type": "Identifier", "start": 880, "end": 894, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 16 }, "identifierName": "writeDeleteSet" }, "name": "writeDeleteSet" }, "arguments": [ { "type": "Identifier", "start": 895, "end": 896, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 18 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 898, "end": 905, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 27 }, "identifierName": "encoder" }, "name": "encoder" } ] } }, { "type": "ReturnStatement", "start": 909, "end": 923, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 16 } }, "argument": { "type": "Identifier", "start": 916, "end": 923, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 16 }, "identifierName": "encoder" }, "name": "encoder" } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Encode the Yjs model to binary format.\n *\n * @param {Y} y The Yjs instance\n * @return {BinaryEncoder} The encoder instance that can be transformed\n * to ArrayBuffer or Buffer.\n ", "start": 562, "end": 772, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 26, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Encode the Yjs model to binary format.\n *\n * @param {Y} y The Yjs instance\n * @return {BinaryEncoder} The encoder instance that can be transformed\n * to ArrayBuffer or Buffer.\n ", "start": 562, "end": 772, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 26, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Read the Decoder and fill the Yjs instance with data in the decoder.\n *\n * @param {Y} y The Yjs instance\n * @param {BinaryDecoder} decoder The BinaryDecoder to read from.\n ", "start": 234, "end": 415, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 12, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Encode the Yjs model to binary format.\n *\n * @param {Y} y The Yjs instance\n * @return {BinaryEncoder} The encoder instance that can be transformed\n * to ArrayBuffer or Buffer.\n ", "start": 562, "end": 772, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 26, "column": 3 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 1, "end": 7, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8, "end": 9, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeStructs", "start": 10, "end": 22, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23, "end": 24, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 25, "end": 29, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./syncStep1.js", "start": 30, "end": 46, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 45 } } }, { "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": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 54, "end": 55, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "integrateRemoteStructs", "start": 56, "end": 78, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 79, "end": 80, "loc": { "start": { "line": 3, "column": 32 }, "end": { "line": 3, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 81, "end": 85, "loc": { "start": { "line": 3, "column": 34 }, "end": { "line": 3, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./integrateRemoteStructs.js", "start": 86, "end": 115, "loc": { "start": { "line": 3, "column": 39 }, "end": { "line": 3, "column": 68 } } }, { "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": 116, "end": 122, "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": 123, "end": 124, "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": "readDeleteSet", "start": 125, "end": 138, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 138, "end": 139, "loc": { "start": { "line": 4, "column": 22 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeDeleteSet", "start": 140, "end": 154, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 155, "end": 156, "loc": { "start": { "line": 4, "column": 39 }, "end": { "line": 4, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 157, "end": 161, "loc": { "start": { "line": 4, "column": 41 }, "end": { "line": 4, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./deleteSet.js", "start": 162, "end": 178, "loc": { "start": { "line": 4, "column": 46 }, "end": { "line": 4, "column": 62 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 179, "end": 185, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryEncoder", "start": 186, "end": 199, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 200, "end": 204, "loc": { "start": { "line": 5, "column": 21 }, "end": { "line": 5, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Util/Binary/Encoder.js", "start": 205, "end": 232, "loc": { "start": { "line": 5, "column": 26 }, "end": { "line": 5, "column": 53 } } }, { "type": "CommentBlock", "value": "*\n * Read the Decoder and fill the Yjs instance with data in the decoder.\n *\n * @param {Y} y The Yjs instance\n * @param {BinaryDecoder} decoder The BinaryDecoder to read from.\n ", "start": 234, "end": 415, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 12, "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": 416, "end": 422, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 423, "end": 431, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromBinary", "start": 432, "end": 442, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 443, "end": 444, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 13, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 444, "end": 445, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 445, "end": 446, "loc": { "start": { "line": 13, "column": 29 }, "end": { "line": 13, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 447, "end": 454, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 454, "end": 455, "loc": { "start": { "line": 13, "column": 38 }, "end": { "line": 13, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 456, "end": 457, "loc": { "start": { "line": 13, "column": 40 }, "end": { "line": 13, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 460, "end": 461, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 14, "column": 3 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 461, "end": 462, "loc": { "start": { "line": 14, "column": 3 }, "end": { "line": 14, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transact", "start": 462, "end": 470, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 470, "end": 471, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 471, "end": 479, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 480, "end": 481, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 14, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 481, "end": 482, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 14, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 483, "end": 484, "loc": { "start": { "line": 14, "column": 25 }, "end": { "line": 14, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "integrateRemoteStructs", "start": 489, "end": 511, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 511, "end": 512, "loc": { "start": { "line": 15, "column": 26 }, "end": { "line": 15, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 512, "end": 513, "loc": { "start": { "line": 15, "column": 27 }, "end": { "line": 15, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 513, "end": 514, "loc": { "start": { "line": 15, "column": 28 }, "end": { "line": 15, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 515, "end": 522, "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 522, "end": 523, "loc": { "start": { "line": 15, "column": 37 }, "end": { "line": 15, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readDeleteSet", "start": 528, "end": 541, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 541, "end": 542, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 542, "end": 543, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 543, "end": 544, "loc": { "start": { "line": 16, "column": 19 }, "end": { "line": 16, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decoder", "start": 545, "end": 552, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 552, "end": 553, "loc": { "start": { "line": 16, "column": 28 }, "end": { "line": 16, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 556, "end": 557, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 17, "column": 3 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 557, "end": 558, "loc": { "start": { "line": 17, "column": 3 }, "end": { "line": 17, "column": 4 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 559, "end": 560, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Encode the Yjs model to binary format.\n *\n * @param {Y} y The Yjs instance\n * @return {BinaryEncoder} The encoder instance that can be transformed\n * to ArrayBuffer or Buffer.\n ", "start": 562, "end": 772, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 26, "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": 773, "end": 779, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 780, "end": 788, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 27, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toBinary", "start": 789, "end": 797, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 798, "end": 799, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 799, "end": 800, "loc": { "start": { "line": 27, "column": 26 }, "end": { "line": 27, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 800, "end": 801, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 802, "end": 803, "loc": { "start": { "line": 27, "column": 29 }, "end": { "line": 27, "column": 30 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 806, "end": 809, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 810, "end": 817, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 818, "end": 819, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 15 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 820, "end": 823, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BinaryEncoder", "start": 824, "end": 837, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 837, "end": 838, "loc": { "start": { "line": 28, "column": 33 }, "end": { "line": 28, "column": 34 } } }, { "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": 28, "column": 34 }, "end": { "line": 28, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeStructs", "start": 842, "end": 854, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 29, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 854, "end": 855, "loc": { "start": { "line": 29, "column": 14 }, "end": { "line": 29, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 855, "end": 856, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 856, "end": 857, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 858, "end": 865, "loc": { "start": { "line": 29, "column": 18 }, "end": { "line": 29, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 865, "end": 866, "loc": { "start": { "line": 29, "column": 25 }, "end": { "line": 29, "column": 26 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 867, "end": 870, "loc": { "start": { "line": 29, "column": 27 }, "end": { "line": 29, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 871, "end": 874, "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 29, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 874, "end": 875, "loc": { "start": { "line": 29, "column": 34 }, "end": { "line": 29, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 875, "end": 876, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 876, "end": 877, "loc": { "start": { "line": 29, "column": 36 }, "end": { "line": 29, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeDeleteSet", "start": 880, "end": 894, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 894, "end": 895, "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 895, "end": 896, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 896, "end": 897, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 898, "end": 905, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 905, "end": 906, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 28 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 909, "end": 915, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encoder", "start": 916, "end": 923, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 924, "end": 925, "loc": { "start": { "line": 32, "column": 0 }, "end": { "line": 32, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 926, "end": 926, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 0 } } } ] }