{ "type": "File", "start": 0, "end": 918, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 35, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 918, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 35, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 53, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } }, "imported": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 29, "end": 52, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 52 } }, "extra": { "rawValue": "../../core/logging.js", "raw": "\"../../core/logging.js\"" }, "value": "../../core/logging.js" } }, { "type": "ImportDeclaration", "start": 55, "end": 107, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 64, "end": 87, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 } }, "imported": { "type": "Identifier", "start": 64, "end": 87, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" }, "local": { "type": "Identifier", "start": 64, "end": 87, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" } } ], "source": { "type": "StringLiteral", "start": 95, "end": 106, "loc": { "start": { "line": 2, "column": 40 }, "end": { "line": 2, "column": 51 } }, "extra": { "rawValue": "./1006.js", "raw": "\"./1006.js\"" }, "value": "./1006.js" } }, { "type": "VariableDeclaration", "start": 111, "end": 149, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 117, "end": 148, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 37 } }, "id": { "type": "Identifier", "start": 117, "end": 123, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 12 }, "identifierName": "schema" }, "name": "schema" }, "init": { "type": "CallExpression", "start": 126, "end": 148, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 37 } }, "callee": { "type": "Identifier", "start": 126, "end": 133, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 22 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 134, "end": 147, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 36 } }, "extra": { "rawValue": "./1007.json", "raw": "\"./1007.json\"" }, "value": "./1007.json" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 151, "end": 206, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 157, "end": 205, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 54 } }, "id": { "type": "Identifier", "start": 157, "end": 163, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 166, "end": 205, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 54 } }, "callee": { "type": "Identifier", "start": 166, "end": 178, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 179, "end": 204, "loc": { "start": { "line": 5, "column": 28 }, "end": { "line": 5, "column": 53 } }, "extra": { "rawValue": "savegame_interface/1007", "raw": "\"savegame_interface/1007\"" }, "value": "savegame_interface/1007" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 210, "end": 916, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 34, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 217, "end": 916, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 34, "column": 1 } }, "id": { "type": "Identifier", "start": 223, "end": 246, "loc": { "start": { "line": 7, "column": 13 }, "end": { "line": 7, "column": 36 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" }, "superClass": { "type": "Identifier", "start": 255, "end": 278, "loc": { "start": { "line": 7, "column": 45 }, "end": { "line": 7, "column": 68 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" }, "body": { "type": "ClassBody", "start": 279, "end": 916, "loc": { "start": { "line": 7, "column": 69 }, "end": { "line": 34, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 286, "end": 329, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 10, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 286, "end": 296, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 14 }, "identifierName": "getVersion" }, "name": "getVersion" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 299, "end": 329, "loc": { "start": { "line": 8, "column": 17 }, "end": { "line": 10, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 310, "end": 322, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 20 } }, "argument": { "type": "NumericLiteral", "start": 317, "end": 321, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 19 } }, "extra": { "rawValue": 1007, "raw": "1007" }, "value": 1007 } } ], "directives": [] } }, { "type": "ClassMethod", "start": 337, "end": 389, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 14, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 337, "end": 354, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 21 }, "identifierName": "getSchemaUncached" }, "name": "getSchemaUncached" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 357, "end": 389, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 14, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 368, "end": 382, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 22 } }, "argument": { "type": "Identifier", "start": 375, "end": 381, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 21 }, "identifierName": "schema" }, "name": "schema" } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 397, "end": 478, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 484, "end": 913, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 33, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 491, "end": 508, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 28 }, "identifierName": "migrate1006to1007" }, "name": "migrate1006to1007" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 509, "end": 513, "loc": { "start": { "line": 19, "column": 29 }, "end": { "line": 19, "column": 33 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 515, "end": 913, "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 33, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 526, "end": 563, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 45 } }, "expression": { "type": "CallExpression", "start": 526, "end": 562, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 526, "end": 536, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 18 } }, "object": { "type": "Identifier", "start": 526, "end": 532, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 533, "end": 536, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 537, "end": 561, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 43 } }, "extra": { "rawValue": "Migrating 1006 to 1007", "raw": "\"Migrating 1006 to 1007\"" }, "value": "Migrating 1006 to 1007" } ] } }, { "type": "VariableDeclaration", "start": 573, "end": 596, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 579, "end": 595, "loc": { "start": { "line": 21, "column": 14 }, "end": { "line": 21, "column": 30 } }, "id": { "type": "Identifier", "start": 579, "end": 583, "loc": { "start": { "line": 21, "column": 14 }, "end": { "line": 21, "column": 18 }, "identifierName": "dump" }, "name": "dump" }, "init": { "type": "MemberExpression", "start": 586, "end": 595, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 30 } }, "object": { "type": "Identifier", "start": 586, "end": 590, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 25 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 591, "end": 595, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 30 }, "identifierName": "dump" }, "name": "dump" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 606, "end": 655, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 24, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 610, "end": 615, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 611, "end": 615, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 17 }, "identifierName": "dump" }, "name": "dump" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 617, "end": 655, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 24, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 632, "end": 644, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 639, "end": 643, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 667, "end": 710, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 673, "end": 709, "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 50 } }, "id": { "type": "Identifier", "start": 673, "end": 682, "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 23 }, "identifierName": "waypoints" }, "name": "waypoints" }, "init": { "type": "MemberExpression", "start": 685, "end": 709, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 50 } }, "object": { "type": "MemberExpression", "start": 685, "end": 699, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 40 } }, "object": { "type": "Identifier", "start": 685, "end": 689, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 30 }, "identifierName": "dump" }, "name": "dump" }, "property": { "type": "Identifier", "start": 690, "end": 699, "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 40 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 700, "end": 709, "loc": { "start": { "line": 26, "column": 41 }, "end": { "line": 26, "column": 50 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " set waypoint layer to \"regular\"", "start": 722, "end": 756, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 42 } } } ] }, { "type": "ForStatement", "start": 766, "end": 906, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 32, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 771, "end": 780, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 775, "end": 780, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 22 } }, "id": { "type": "Identifier", "start": 775, "end": 776, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 779, "end": 780, "loc": { "start": { "line": 29, "column": 21 }, "end": { "line": 29, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 782, "end": 802, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 44 } }, "left": { "type": "Identifier", "start": 782, "end": 783, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 786, "end": 802, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 29, "column": 44 } }, "object": { "type": "Identifier", "start": 786, "end": 795, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 29, "column": 37 }, "identifierName": "waypoints" }, "name": "waypoints" }, "property": { "type": "Identifier", "start": 796, "end": 802, "loc": { "start": { "line": 29, "column": 38 }, "end": { "line": 29, "column": 44 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 804, "end": 807, "loc": { "start": { "line": 29, "column": 46 }, "end": { "line": 29, "column": 49 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 806, "end": 807, "loc": { "start": { "line": 29, "column": 48 }, "end": { "line": 29, "column": 49 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 809, "end": 906, "loc": { "start": { "line": 29, "column": 51 }, "end": { "line": 32, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 824, "end": 854, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 830, "end": 853, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 41 } }, "id": { "type": "Identifier", "start": 830, "end": 838, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 26 }, "identifierName": "waypoint" }, "name": "waypoint" }, "init": { "type": "MemberExpression", "start": 841, "end": 853, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 41 } }, "object": { "type": "Identifier", "start": 841, "end": 850, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 38 }, "identifierName": "waypoints" }, "name": "waypoints" }, "property": { "type": "Identifier", "start": 851, "end": 852, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 40 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 868, "end": 895, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 868, "end": 894, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 868, "end": 882, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 26 } }, "object": { "type": "Identifier", "start": 868, "end": 876, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 20 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 877, "end": 882, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 26 }, "identifierName": "layer" }, "name": "layer" }, "computed": false }, "right": { "type": "StringLiteral", "start": 885, "end": 894, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 38 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " set waypoint layer to \"regular\"", "start": 722, "end": 756, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 42 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 397, "end": 478, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 397, "end": 478, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 7 } } }, { "type": "CommentLine", "value": " set waypoint layer to \"regular\"", "start": 722, "end": 756, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 42 } } } ], "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": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22, "end": 23, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 24, "end": 28, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/logging.js", "start": 29, "end": 52, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52, "end": 53, "loc": { "start": { "line": 1, "column": 52 }, "end": { "line": 1, "column": 53 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 55, "end": 61, "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": 62, "end": 63, "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": "SavegameInterface_V1006", "start": 64, "end": 87, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 88, "end": 89, "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 90, "end": 94, "loc": { "start": { "line": 2, "column": 35 }, "end": { "line": 2, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./1006.js", "start": 95, "end": 106, "loc": { "start": { "line": 2, "column": 40 }, "end": { "line": 2, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 106, "end": 107, "loc": { "start": { "line": 2, "column": 51 }, "end": { "line": 2, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 111, "end": 116, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "schema", "start": 117, "end": 123, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 124, "end": 125, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "require", "start": 126, "end": 133, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 133, "end": 134, "loc": { "start": { "line": 4, "column": 22 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./1007.json", "start": 134, "end": 147, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 147, "end": 148, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 148, "end": 149, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 38 } } }, { "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": 151, "end": 156, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 157, "end": 163, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 164, "end": 165, "loc": { "start": { "line": 5, "column": 13 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 166, "end": 178, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 178, "end": 179, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "savegame_interface/1007", "start": 179, "end": 204, "loc": { "start": { "line": 5, "column": 28 }, "end": { "line": 5, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 204, "end": 205, "loc": { "start": { "line": 5, "column": 53 }, "end": { "line": 5, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 205, "end": 206, "loc": { "start": { "line": 5, "column": 54 }, "end": { "line": 5, "column": 55 } } }, { "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": 210, "end": 216, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 217, "end": 222, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1007", "start": 223, "end": 246, "loc": { "start": { "line": 7, "column": 13 }, "end": { "line": 7, "column": 36 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 247, "end": 254, "loc": { "start": { "line": 7, "column": 37 }, "end": { "line": 7, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1006", "start": 255, "end": 278, "loc": { "start": { "line": 7, "column": 45 }, "end": { "line": 7, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 279, "end": 280, "loc": { "start": { "line": 7, "column": 69 }, "end": { "line": 7, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getVersion", "start": 286, "end": 296, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 296, "end": 297, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 297, "end": 298, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 299, "end": 300, "loc": { "start": { "line": 8, "column": 17 }, "end": { "line": 8, "column": 18 } } }, { "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": 310, "end": 316, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1007, "start": 317, "end": 321, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 321, "end": 322, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 328, "end": 329, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSchemaUncached", "start": 337, "end": 354, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 354, "end": 355, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 355, "end": 356, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 357, "end": 358, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 25 } } }, { "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": 368, "end": 374, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "schema", "start": 375, "end": 381, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 381, "end": 382, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 388, "end": 389, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 397, "end": 478, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 484, "end": 490, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1006to1007", "start": 491, "end": 508, "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 508, "end": 509, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 509, "end": 513, "loc": { "start": { "line": 19, "column": 29 }, "end": { "line": 19, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 513, "end": 514, "loc": { "start": { "line": 19, "column": 33 }, "end": { "line": 19, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 515, "end": 516, "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 19, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 526, "end": 532, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 532, "end": 533, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 533, "end": 536, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 18 } } }, { "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": 20, "column": 18 }, "end": { "line": 20, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Migrating 1006 to 1007", "start": 537, "end": 561, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 561, "end": 562, "loc": { "start": { "line": 20, "column": 43 }, "end": { "line": 20, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 562, "end": 563, "loc": { "start": { "line": 20, "column": 44 }, "end": { "line": 20, "column": 45 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 573, "end": 578, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 579, "end": 583, "loc": { "start": { "line": 21, "column": 14 }, "end": { "line": 21, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 584, "end": 585, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 586, "end": 590, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 590, "end": 591, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 591, "end": 595, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 595, "end": 596, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 31 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 606, "end": 608, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 609, "end": 610, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 610, "end": 611, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 611, "end": 615, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 615, "end": 616, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 617, "end": 618, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 632, "end": 638, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 639, "end": 643, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 643, "end": 644, "loc": { "start": { "line": 23, "column": 23 }, "end": { "line": 23, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 654, "end": 655, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 9 } } }, { "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": 667, "end": 672, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 673, "end": 682, "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 683, "end": 684, "loc": { "start": { "line": 26, "column": 24 }, "end": { "line": 26, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 685, "end": 689, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 689, "end": 690, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 690, "end": 699, "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 699, "end": 700, "loc": { "start": { "line": 26, "column": 40 }, "end": { "line": 26, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 700, "end": 709, "loc": { "start": { "line": 26, "column": 41 }, "end": { "line": 26, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 709, "end": 710, "loc": { "start": { "line": 26, "column": 50 }, "end": { "line": 26, "column": 51 } } }, { "type": "CommentLine", "value": " set waypoint layer to \"regular\"", "start": 722, "end": 756, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 42 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 766, "end": 769, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 770, "end": 771, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 13 } } }, { "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": 771, "end": 774, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 775, "end": 776, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 777, "end": 778, "loc": { "start": { "line": 29, "column": 19 }, "end": { "line": 29, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 779, "end": 780, "loc": { "start": { "line": 29, "column": 21 }, "end": { "line": 29, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 780, "end": 781, "loc": { "start": { "line": 29, "column": 22 }, "end": { "line": 29, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 782, "end": 783, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 784, "end": 785, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 786, "end": 795, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 29, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 795, "end": 796, "loc": { "start": { "line": 29, "column": 37 }, "end": { "line": 29, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 796, "end": 802, "loc": { "start": { "line": 29, "column": 38 }, "end": { "line": 29, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 802, "end": 803, "loc": { "start": { "line": 29, "column": 44 }, "end": { "line": 29, "column": 45 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 804, "end": 806, "loc": { "start": { "line": 29, "column": 46 }, "end": { "line": 29, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 806, "end": 807, "loc": { "start": { "line": 29, "column": 48 }, "end": { "line": 29, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 807, "end": 808, "loc": { "start": { "line": 29, "column": 49 }, "end": { "line": 29, "column": 50 } } }, { "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": 29, "column": 51 }, "end": { "line": 29, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 824, "end": 829, "loc": { "start": { "line": 30, "column": 12 }, "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": "waypoint", "start": 830, "end": 838, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 839, "end": 840, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 841, "end": 850, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 850, "end": 851, "loc": { "start": { "line": 30, "column": 38 }, "end": { "line": 30, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 851, "end": 852, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 40 } } }, { "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": 30, "column": 40 }, "end": { "line": 30, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 853, "end": 854, "loc": { "start": { "line": 30, "column": 41 }, "end": { "line": 30, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 868, "end": 876, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 876, "end": 877, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 877, "end": 882, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 883, "end": 884, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 885, "end": 894, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 894, "end": 895, "loc": { "start": { "line": 31, "column": 38 }, "end": { "line": 31, "column": 39 } } }, { "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": 32, "column": 8 }, "end": { "line": 32, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 912, "end": 913, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 915, "end": 916, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 34, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 918, "end": 918, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 0 } } } ] }