{ "type": "File", "start": 0, "end": 3158, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 88, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 3158, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 88, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 52, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 32, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 32 } }, "imported": { "type": "Identifier", "start": 9, "end": 32, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 32 }, "identifierName": "SavegameInterface_V1000" }, "name": "SavegameInterface_V1000" }, "local": { "type": "Identifier", "start": 9, "end": 32, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 32 }, "identifierName": "SavegameInterface_V1000" }, "name": "SavegameInterface_V1000" } } ], "source": { "type": "StringLiteral", "start": 40, "end": 51, "loc": { "start": { "line": 1, "column": 40 }, "end": { "line": 1, "column": 51 } }, "extra": { "rawValue": "./1000.js", "raw": "\"./1000.js\"" }, "value": "./1000.js" } }, { "type": "ImportDeclaration", "start": 54, "end": 107, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 63, "end": 75, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 63, "end": 75, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 63, "end": 75, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 83, "end": 106, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 52 } }, "extra": { "rawValue": "../../core/logging.js", "raw": "\"../../core/logging.js\"" }, "value": "../../core/logging.js" } }, { "type": "ImportDeclaration", "start": 109, "end": 151, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 118, "end": 119, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } }, "imported": { "type": "Identifier", "start": 118, "end": 119, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 }, "identifierName": "T" }, "name": "T" }, "local": { "type": "Identifier", "start": 118, "end": 119, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 }, "identifierName": "T" }, "name": "T" } } ], "source": { "type": "StringLiteral", "start": 127, "end": 150, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 41 } }, "extra": { "rawValue": "../../translations.js", "raw": "\"../../translations.js\"" }, "value": "../../translations.js" } }, { "type": "ImportDeclaration", "start": 153, "end": 251, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 98 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 162, "end": 172, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 } }, "imported": { "type": "Identifier", "start": 162, "end": 172, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 }, "identifierName": "TypeVector" }, "name": "TypeVector" }, "local": { "type": "Identifier", "start": 162, "end": 172, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 }, "identifierName": "TypeVector" }, "name": "TypeVector" } }, { "type": "ImportSpecifier", "start": 174, "end": 184, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 31 } }, "imported": { "type": "Identifier", "start": 174, "end": 184, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 31 }, "identifierName": "TypeNumber" }, "name": "TypeNumber" }, "local": { "type": "Identifier", "start": 174, "end": 184, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 31 }, "identifierName": "TypeNumber" }, "name": "TypeNumber" } }, { "type": "ImportSpecifier", "start": 186, "end": 196, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 43 } }, "imported": { "type": "Identifier", "start": 186, "end": 196, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 43 }, "identifierName": "TypeString" }, "name": "TypeString" }, "local": { "type": "Identifier", "start": 186, "end": 196, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 43 }, "identifierName": "TypeString" }, "name": "TypeString" } }, { "type": "ImportSpecifier", "start": 198, "end": 210, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 57 } }, "imported": { "type": "Identifier", "start": 198, "end": 210, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 57 }, "identifierName": "TypeNullable" }, "name": "TypeNullable" }, "local": { "type": "Identifier", "start": 198, "end": 210, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 57 }, "identifierName": "TypeNullable" }, "name": "TypeNullable" } } ], "source": { "type": "StringLiteral", "start": 218, "end": 250, "loc": { "start": { "line": 4, "column": 65 }, "end": { "line": 4, "column": 97 } }, "extra": { "rawValue": "../serialization_data_types.js", "raw": "\"../serialization_data_types.js\"" }, "value": "../serialization_data_types.js" } }, { "type": "VariableDeclaration", "start": 255, "end": 293, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 261, "end": 292, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 37 } }, "id": { "type": "Identifier", "start": 261, "end": 267, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 12 }, "identifierName": "schema" }, "name": "schema" }, "init": { "type": "CallExpression", "start": 270, "end": 292, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 37 } }, "callee": { "type": "Identifier", "start": 270, "end": 277, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 22 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 278, "end": 291, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 36 } }, "extra": { "rawValue": "./1001.json", "raw": "\"./1001.json\"" }, "value": "./1001.json" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 297, "end": 352, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 303, "end": 351, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 54 } }, "id": { "type": "Identifier", "start": 303, "end": 309, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 312, "end": 351, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 54 } }, "callee": { "type": "Identifier", "start": 312, "end": 324, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 325, "end": 350, "loc": { "start": { "line": 8, "column": 28 }, "end": { "line": 8, "column": 53 } }, "extra": { "rawValue": "savegame_interface/1001", "raw": "\"savegame_interface/1001\"" }, "value": "savegame_interface/1001" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 356, "end": 3156, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 87, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 363, "end": 3156, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 87, "column": 1 } }, "id": { "type": "Identifier", "start": 369, "end": 392, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 36 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" }, "superClass": { "type": "Identifier", "start": 401, "end": 424, "loc": { "start": { "line": 10, "column": 45 }, "end": { "line": 10, "column": 68 }, "identifierName": "SavegameInterface_V1000" }, "name": "SavegameInterface_V1000" }, "body": { "type": "ClassBody", "start": 425, "end": 3156, "loc": { "start": { "line": 10, "column": 69 }, "end": { "line": 87, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 432, "end": 475, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 432, "end": 442, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 14 }, "identifierName": "getVersion" }, "name": "getVersion" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 445, "end": 475, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 13, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 456, "end": 468, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 20 } }, "argument": { "type": "NumericLiteral", "start": 463, "end": 467, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 19 } }, "extra": { "rawValue": 1001, "raw": "1001" }, "value": 1001 } } ], "directives": [] } }, { "type": "ClassMethod", "start": 483, "end": 535, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 17, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 483, "end": 500, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 }, "identifierName": "getSchemaUncached" }, "name": "getSchemaUncached" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 503, "end": 535, "loc": { "start": { "line": 15, "column": 24 }, "end": { "line": 17, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 514, "end": 528, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 22 } }, "argument": { "type": "Identifier", "start": 521, "end": 527, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "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": 543, "end": 624, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 630, "end": 3153, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 86, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 637, "end": 654, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 28 }, "identifierName": "migrate1000to1001" }, "name": "migrate1000to1001" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 655, "end": 659, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 33 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 661, "end": 3153, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 86, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 672, "end": 709, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 45 } }, "expression": { "type": "CallExpression", "start": 672, "end": 708, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 672, "end": 682, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 18 } }, "object": { "type": "Identifier", "start": 672, "end": 678, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 679, "end": 682, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 683, "end": 707, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 43 } }, "extra": { "rawValue": "Migrating 1000 to 1001", "raw": "\"Migrating 1000 to 1001\"" }, "value": "Migrating 1000 to 1001" } ] } }, { "type": "VariableDeclaration", "start": 719, "end": 742, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 725, "end": 741, "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 30 } }, "id": { "type": "Identifier", "start": 725, "end": 729, "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 18 }, "identifierName": "dump" }, "name": "dump" }, "init": { "type": "MemberExpression", "start": 732, "end": 741, "loc": { "start": { "line": 24, "column": 21 }, "end": { "line": 24, "column": 30 } }, "object": { "type": "Identifier", "start": 732, "end": 736, "loc": { "start": { "line": 24, "column": 21 }, "end": { "line": 24, "column": 25 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 737, "end": 741, "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "column": 30 }, "identifierName": "dump" }, "name": "dump" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 752, "end": 801, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 27, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 756, "end": 761, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 757, "end": 761, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 17 }, "identifierName": "dump" }, "name": "dump" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 763, "end": 801, "loc": { "start": { "line": 25, "column": 19 }, "end": { "line": 27, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 778, "end": 790, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 785, "end": 789, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 813, "end": 871, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 31, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 813, "end": 870, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 31, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 813, "end": 830, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 25 } }, "object": { "type": "Identifier", "start": 813, "end": 817, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 12 }, "identifierName": "dump" }, "name": "dump" }, "property": { "type": "Identifier", "start": 818, "end": 830, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 25 }, "identifierName": "pinnedShapes" }, "name": "pinnedShapes" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 833, "end": 870, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 31, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 848, "end": 858, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 848, "end": 854, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 18 }, "identifierName": "shapes" }, "name": "shapes" }, "value": { "type": "ArrayExpression", "start": 856, "end": 858, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 22 } }, "elements": [] } } ] } } }, { "type": "ExpressionStatement", "start": 881, "end": 1163, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 41, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 881, "end": 1162, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 41, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 881, "end": 895, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 22 } }, "object": { "type": "Identifier", "start": 881, "end": 885, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 }, "identifierName": "dump" }, "name": "dump" }, "property": { "type": "Identifier", "start": 886, "end": 895, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 22 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 898, "end": 1162, "loc": { "start": { "line": 32, "column": 25 }, "end": { "line": 41, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 913, "end": 1150, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 40, "column": 13 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 913, "end": 922, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 21 }, "identifierName": "waypoints" }, "name": "waypoints" }, "value": { "type": "ArrayExpression", "start": 924, "end": 1150, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 40, "column": 13 } }, "elements": [ { "type": "ObjectExpression", "start": 943, "end": 1134, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 39, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 966, "end": 995, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 49 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 966, "end": 971, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 25 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "MemberExpression", "start": 973, "end": 995, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 49 } }, "object": { "type": "MemberExpression", "start": 973, "end": 991, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 45 } }, "object": { "type": "MemberExpression", "start": 973, "end": 981, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 35 } }, "object": { "type": "Identifier", "start": 973, "end": 974, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 28 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 975, "end": 981, "loc": { "start": { "line": 35, "column": 29 }, "end": { "line": 35, "column": 35 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 982, "end": 991, "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 35, "column": 45 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 992, "end": 995, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 49 }, "identifierName": "hub" }, "name": "hub" }, "computed": false } }, { "type": "ObjectProperty", "start": 1018, "end": 1040, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 42 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1018, "end": 1024, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 26 }, "identifierName": "center" }, "name": "center" }, "value": { "type": "ObjectExpression", "start": 1026, "end": 1040, "loc": { "start": { "line": 36, "column": 28 }, "end": { "line": 36, "column": 42 } }, "properties": [ { "type": "ObjectProperty", "start": 1028, "end": 1032, "loc": { "start": { "line": 36, "column": 30 }, "end": { "line": 36, "column": 34 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1028, "end": 1029, "loc": { "start": { "line": 36, "column": 30 }, "end": { "line": 36, "column": 31 }, "identifierName": "x" }, "name": "x" }, "value": { "type": "NumericLiteral", "start": 1031, "end": 1032, "loc": { "start": { "line": 36, "column": 33 }, "end": { "line": 36, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "ObjectProperty", "start": 1034, "end": 1038, "loc": { "start": { "line": 36, "column": 36 }, "end": { "line": 36, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1034, "end": 1035, "loc": { "start": { "line": 36, "column": 36 }, "end": { "line": 36, "column": 37 }, "identifierName": "y" }, "name": "y" }, "value": { "type": "NumericLiteral", "start": 1037, "end": 1038, "loc": { "start": { "line": 36, "column": 39 }, "end": { "line": 36, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ] } }, { "type": "ObjectProperty", "start": 1063, "end": 1075, "loc": { "start": { "line": 37, "column": 20 }, "end": { "line": 37, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1063, "end": 1072, "loc": { "start": { "line": 37, "column": 20 }, "end": { "line": 37, "column": 29 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "value": { "type": "NumericLiteral", "start": 1074, "end": 1075, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 32 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } }, { "type": "ObjectProperty", "start": 1098, "end": 1114, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 36 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1098, "end": 1107, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 29 }, "identifierName": "deletable" }, "name": "deletable" }, "value": { "type": "BooleanLiteral", "start": 1109, "end": 1114, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 36 } }, "value": false } } ] } ] } } ] } } }, { "type": "VariableDeclaration", "start": 1175, "end": 1206, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1181, "end": 1205, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 38 } }, "id": { "type": "Identifier", "start": 1181, "end": 1189, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 22 }, "identifierName": "entities" }, "name": "entities" }, "init": { "type": "MemberExpression", "start": 1192, "end": 1205, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 38 } }, "object": { "type": "Identifier", "start": 1192, "end": 1196, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 29 }, "identifierName": "dump" }, "name": "dump" }, "property": { "type": "Identifier", "start": 1197, "end": 1205, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 38 }, "identifierName": "entities" }, "name": "entities" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 1216, "end": 3146, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 85, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 1221, "end": 1230, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1225, "end": 1230, "loc": { "start": { "line": 44, "column": 17 }, "end": { "line": 44, "column": 22 } }, "id": { "type": "Identifier", "start": 1225, "end": 1226, "loc": { "start": { "line": 44, "column": 17 }, "end": { "line": 44, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 1229, "end": 1230, "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1232, "end": 1251, "loc": { "start": { "line": 44, "column": 24 }, "end": { "line": 44, "column": 43 } }, "left": { "type": "Identifier", "start": 1232, "end": 1233, "loc": { "start": { "line": 44, "column": 24 }, "end": { "line": 44, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 1236, "end": 1251, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 43 } }, "object": { "type": "Identifier", "start": 1236, "end": 1244, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 36 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 1245, "end": 1251, "loc": { "start": { "line": 44, "column": 37 }, "end": { "line": 44, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 1253, "end": 1256, "loc": { "start": { "line": 44, "column": 45 }, "end": { "line": 44, "column": 48 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1255, "end": 1256, "loc": { "start": { "line": 44, "column": 47 }, "end": { "line": 44, "column": 48 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1258, "end": 3146, "loc": { "start": { "line": 44, "column": 50 }, "end": { "line": 85, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 1273, "end": 1300, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1279, "end": 1299, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 38 } }, "id": { "type": "Identifier", "start": 1279, "end": 1285, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 1288, "end": 1299, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 38 } }, "object": { "type": "Identifier", "start": 1288, "end": 1296, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 35 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 1297, "end": 1298, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @typedef {{\r\n * origin: TypeVector,\r\n * tileSize: TypeVector,\r\n * rotation: TypeNumber,\r\n * originalRotation: TypeNumber,\r\n * spriteKey?: string,\r\n * blueprintSpriteKey: string,\r\n * silhouetteColor: string\r\n * }} OldStaticMapEntity\r\n ", "start": 1316, "end": 1694, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 57, "column": 15 } } }, { "type": "CommentLine", "value": " Here we mock the old type of the StaticMapEntity before the change to using", "start": 1710, "end": 1788, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 90 } } }, { "type": "CommentLine", "value": " a building ID based system (see building_codes.js) to stop the linter from", "start": 1802, "end": 1879, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 89 } } }, { "type": "CommentLine", "value": " complaining that the type doesn't have the properties.", "start": 1893, "end": 1950, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 69 } } }, { "type": "CommentLine", "value": " The ignored error is the error that the types do not overlap. In the case", "start": 1964, "end": 2041, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 89 } } }, { "type": "CommentLine", "value": " of a v1000 save though, the data will match the mocked type above.", "start": 2055, "end": 2124, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 81 } } }, { "type": "CommentBlock", "value": "* @type OldStaticMapEntity *", "start": 2138, "end": 2170, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 44 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2184, "end": 2197, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 25 } } } ] }, { "type": "VariableDeclaration", "start": 2211, "end": 2264, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2217, "end": 2263, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 64 } }, "id": { "type": "Identifier", "start": 2217, "end": 2227, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 28 }, "identifierName": "staticComp" }, "name": "staticComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 2230, "end": 2263, "loc": { "start": { "line": 66, "column": 31 }, "end": { "line": 66, "column": 64 } }, "object": { "type": "MemberExpression", "start": 2230, "end": 2247, "loc": { "start": { "line": 66, "column": 31 }, "end": { "line": 66, "column": 48 } }, "object": { "type": "Identifier", "start": 2230, "end": 2236, "loc": { "start": { "line": 66, "column": 31 }, "end": { "line": 66, "column": 37 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2237, "end": 2247, "loc": { "start": { "line": 66, "column": 38 }, "end": { "line": 66, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2248, "end": 2263, "loc": { "start": { "line": 66, "column": 49 }, "end": { "line": 66, "column": 64 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @typedef {{\r\n * origin: TypeVector,\r\n * tileSize: TypeVector,\r\n * rotation: TypeNumber,\r\n * originalRotation: TypeNumber,\r\n * spriteKey?: string,\r\n * blueprintSpriteKey: string,\r\n * silhouetteColor: string\r\n * }} OldStaticMapEntity\r\n ", "start": 1316, "end": 1694, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 57, "column": 15 } } }, { "type": "CommentLine", "value": " Here we mock the old type of the StaticMapEntity before the change to using", "start": 1710, "end": 1788, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 90 } } }, { "type": "CommentLine", "value": " a building ID based system (see building_codes.js) to stop the linter from", "start": 1802, "end": 1879, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 89 } } }, { "type": "CommentLine", "value": " complaining that the type doesn't have the properties.", "start": 1893, "end": 1950, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 69 } } }, { "type": "CommentLine", "value": " The ignored error is the error that the types do not overlap. In the case", "start": 1964, "end": 2041, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 89 } } }, { "type": "CommentLine", "value": " of a v1000 save though, the data will match the mocked type above.", "start": 2055, "end": 2124, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 81 } } }, { "type": "CommentBlock", "value": "* @type OldStaticMapEntity *", "start": 2138, "end": 2170, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 44 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2184, "end": 2197, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 25 } } } ] }, { "type": "VariableDeclaration", "start": 2278, "end": 2318, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2284, "end": 2317, "loc": { "start": { "line": 67, "column": 18 }, "end": { "line": 67, "column": 51 } }, "id": { "type": "Identifier", "start": 2284, "end": 2292, "loc": { "start": { "line": 67, "column": 18 }, "end": { "line": 67, "column": 26 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 2295, "end": 2317, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2295, "end": 2312, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 46 } }, "object": { "type": "Identifier", "start": 2295, "end": 2301, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 35 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2302, "end": 2312, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 67, "column": 46 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2313, "end": 2317, "loc": { "start": { "line": 67, "column": 47 }, "end": { "line": 67, "column": 51 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 2332, "end": 3135, "loc": { "start": { "line": 68, "column": 12 }, "end": { "line": 84, "column": 13 } }, "test": { "type": "Identifier", "start": 2336, "end": 2346, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 26 }, "identifierName": "staticComp" }, "name": "staticComp" }, "consequent": { "type": "BlockStatement", "start": 2348, "end": 3135, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 84, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 2367, "end": 3120, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 83, "column": 17 } }, "test": { "type": "MemberExpression", "start": 2371, "end": 2391, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 40 } }, "object": { "type": "Identifier", "start": 2371, "end": 2381, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 30 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2382, "end": 2391, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 40 }, "identifierName": "spriteKey" }, "name": "spriteKey" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2393, "end": 2612, "loc": { "start": { "line": 69, "column": 42 }, "end": { "line": 74, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 2416, "end": 2593, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 73, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 2416, "end": 2592, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 73, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2416, "end": 2445, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 49 } }, "object": { "type": "Identifier", "start": 2416, "end": 2426, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 30 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2427, "end": 2445, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 49 }, "identifierName": "blueprintSpriteKey" }, "name": "blueprintSpriteKey" }, "computed": false }, "right": { "type": "CallExpression", "start": 2448, "end": 2592, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 73, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 2448, "end": 2476, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 80 } }, "object": { "type": "MemberExpression", "start": 2448, "end": 2468, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 72 } }, "object": { "type": "Identifier", "start": 2448, "end": 2458, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 62 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2459, "end": 2468, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 72 }, "identifierName": "spriteKey" }, "name": "spriteKey" }, "computed": false }, "property": { "type": "Identifier", "start": 2469, "end": 2476, "loc": { "start": { "line": 70, "column": 73 }, "end": { "line": 70, "column": 80 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2503, "end": 2522, "loc": { "start": { "line": 71, "column": 24 }, "end": { "line": 71, "column": 43 } }, "extra": { "rawValue": "sprites/buildings", "raw": "\"sprites/buildings\"" }, "value": "sprites/buildings" }, { "type": "StringLiteral", "start": 2549, "end": 2569, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 44 } }, "extra": { "rawValue": "sprites/blueprints", "raw": "\"sprites/blueprints\"" }, "value": "sprites/blueprints" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2618, "end": 3120, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 83, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 2641, "end": 3101, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 82, "column": 21 } }, "test": { "type": "MemberExpression", "start": 2645, "end": 2666, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 45 } }, "object": { "type": "MemberExpression", "start": 2645, "end": 2662, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 41 } }, "object": { "type": "Identifier", "start": 2645, "end": 2651, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2652, "end": 2662, "loc": { "start": { "line": 75, "column": 31 }, "end": { "line": 75, "column": 41 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2663, "end": 2666, "loc": { "start": { "line": 75, "column": 42 }, "end": { "line": 75, "column": 45 }, "identifierName": "Hub" }, "name": "Hub" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2668, "end": 2753, "loc": { "start": { "line": 75, "column": 47 }, "end": { "line": 77, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 2695, "end": 2730, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 2695, "end": 2729, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2695, "end": 2724, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 53 } }, "object": { "type": "Identifier", "start": 2695, "end": 2705, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 34 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2706, "end": 2724, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 53 }, "identifierName": "blueprintSpriteKey" }, "name": "blueprintSpriteKey" }, "computed": false }, "right": { "type": "StringLiteral", "start": 2727, "end": 2729, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 58 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 2759, "end": 3101, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 82, "column": 21 } }, "test": { "type": "Identifier", "start": 2763, "end": 2771, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 39 }, "identifierName": "beltComp" }, "name": "beltComp" }, "consequent": { "type": "BlockStatement", "start": 2773, "end": 2966, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 80, "column": 21 } }, "body": [ { "type": "VariableDeclaration", "start": 2800, "end": 2837, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2806, "end": 2836, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 60 } }, "id": { "type": "Identifier", "start": 2806, "end": 2815, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 39 }, "identifierName": "direction" }, "name": "direction" }, "init": { "type": "MemberExpression", "start": 2818, "end": 2836, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "column": 60 } }, "object": { "type": "Identifier", "start": 2818, "end": 2826, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "column": 50 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 2827, "end": 2836, "loc": { "start": { "line": 78, "column": 51 }, "end": { "line": 78, "column": 60 }, "identifierName": "direction" }, "name": "direction" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2863, "end": 2943, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 2863, "end": 2942, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 103 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2863, "end": 2892, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 53 } }, "object": { "type": "Identifier", "start": 2863, "end": 2873, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 34 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2874, "end": 2892, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 53 }, "identifierName": "blueprintSpriteKey" }, "name": "blueprintSpriteKey" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 2895, "end": 2942, "loc": { "start": { "line": 79, "column": 56 }, "end": { "line": 79, "column": 103 } }, "left": { "type": "BinaryExpression", "start": 2895, "end": 2933, "loc": { "start": { "line": 79, "column": 56 }, "end": { "line": 79, "column": 94 } }, "left": { "type": "StringLiteral", "start": 2895, "end": 2921, "loc": { "start": { "line": 79, "column": 56 }, "end": { "line": 79, "column": 82 } }, "extra": { "rawValue": "sprites/blueprints/belt_", "raw": "\"sprites/blueprints/belt_\"" }, "value": "sprites/blueprints/belt_" }, "operator": "+", "right": { "type": "Identifier", "start": 2924, "end": 2933, "loc": { "start": { "line": 79, "column": 85 }, "end": { "line": 79, "column": 94 }, "identifierName": "direction" }, "name": "direction" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 2936, "end": 2942, "loc": { "start": { "line": 79, "column": 97 }, "end": { "line": 79, "column": 103 } }, "extra": { "rawValue": ".png", "raw": "\".png\"" }, "value": ".png" } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2972, "end": 3101, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 82, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 2999, "end": 3078, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 103 } }, "expression": { "type": "CallExpression", "start": 2999, "end": 3077, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 102 } }, "callee": { "type": "Identifier", "start": 2999, "end": 3011, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 36 }, "identifierName": "assertAlways" }, "name": "assertAlways" }, "arguments": [ { "type": "BooleanLiteral", "start": 3012, "end": 3017, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 42 } }, "value": false }, { "type": "StringLiteral", "start": 3019, "end": 3076, "loc": { "start": { "line": 81, "column": 44 }, "end": { "line": 81, "column": 101 } }, "extra": { "rawValue": "Could not deduct entity type for migrating 1000 -> 1001", "raw": "\"Could not deduct entity type for migrating 1000 -> 1001\"" }, "value": "Could not deduct entity type for migrating 1000 -> 1001" } ] } } ], "directives": [] } } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 543, "end": 624, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 543, "end": 624, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @typedef {{\r\n * origin: TypeVector,\r\n * tileSize: TypeVector,\r\n * rotation: TypeNumber,\r\n * originalRotation: TypeNumber,\r\n * spriteKey?: string,\r\n * blueprintSpriteKey: string,\r\n * silhouetteColor: string\r\n * }} OldStaticMapEntity\r\n ", "start": 1316, "end": 1694, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 57, "column": 15 } } }, { "type": "CommentLine", "value": " Here we mock the old type of the StaticMapEntity before the change to using", "start": 1710, "end": 1788, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 90 } } }, { "type": "CommentLine", "value": " a building ID based system (see building_codes.js) to stop the linter from", "start": 1802, "end": 1879, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 89 } } }, { "type": "CommentLine", "value": " complaining that the type doesn't have the properties.", "start": 1893, "end": 1950, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 69 } } }, { "type": "CommentLine", "value": " The ignored error is the error that the types do not overlap. In the case", "start": 1964, "end": 2041, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 89 } } }, { "type": "CommentLine", "value": " of a v1000 save though, the data will match the mocked type above.", "start": 2055, "end": 2124, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 81 } } }, { "type": "CommentBlock", "value": "* @type OldStaticMapEntity *", "start": 2138, "end": 2170, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 44 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2184, "end": 2197, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 25 } } } ], "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": "SavegameInterface_V1000", "start": 9, "end": 32, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33, "end": 34, "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 35, "end": 39, "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./1000.js", "start": 40, "end": 51, "loc": { "start": { "line": 1, "column": 40 }, "end": { "line": 1, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51, "end": 52, "loc": { "start": { "line": 1, "column": 51 }, "end": { "line": 1, "column": 52 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 54, "end": 60, "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": 61, "end": 62, "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": "createLogger", "start": 63, "end": 75, "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": 76, "end": 77, "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": 78, "end": 82, "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": "../../core/logging.js", "start": 83, "end": 106, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 52 } } }, { "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": 52 }, "end": { "line": 2, "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": 109, "end": 115, "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": 116, "end": 117, "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": "T", "start": 118, "end": 119, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 120, "end": 121, "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 122, "end": 126, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../translations.js", "start": 127, "end": 150, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 150, "end": 151, "loc": { "start": { "line": 3, "column": 41 }, "end": { "line": 3, "column": 42 } } }, { "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": 153, "end": 159, "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": 160, "end": 161, "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": "TypeVector", "start": 162, "end": 172, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 172, "end": 173, "loc": { "start": { "line": 4, "column": 19 }, "end": { "line": 4, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TypeNumber", "start": 174, "end": 184, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 184, "end": 185, "loc": { "start": { "line": 4, "column": 31 }, "end": { "line": 4, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TypeString", "start": 186, "end": 196, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 196, "end": 197, "loc": { "start": { "line": 4, "column": 43 }, "end": { "line": 4, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TypeNullable", "start": 198, "end": 210, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 211, "end": 212, "loc": { "start": { "line": 4, "column": 58 }, "end": { "line": 4, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 213, "end": 217, "loc": { "start": { "line": 4, "column": 60 }, "end": { "line": 4, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../serialization_data_types.js", "start": 218, "end": 250, "loc": { "start": { "line": 4, "column": 65 }, "end": { "line": 4, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 250, "end": 251, "loc": { "start": { "line": 4, "column": 97 }, "end": { "line": 4, "column": 98 } } }, { "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": 255, "end": 260, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "schema", "start": 261, "end": 267, "loc": { "start": { "line": 6, "column": 6 }, "end": { "line": 6, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 268, "end": 269, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "require", "start": 270, "end": 277, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 277, "end": 278, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./1001.json", "start": 278, "end": 291, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 291, "end": 292, "loc": { "start": { "line": 6, "column": 36 }, "end": { "line": 6, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 292, "end": 293, "loc": { "start": { "line": 6, "column": 37 }, "end": { "line": 6, "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": 297, "end": 302, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 303, "end": 309, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 310, "end": 311, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 312, "end": 324, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 324, "end": 325, "loc": { "start": { "line": 8, "column": 27 }, "end": { "line": 8, "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/1001", "start": 325, "end": 350, "loc": { "start": { "line": 8, "column": 28 }, "end": { "line": 8, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 350, "end": 351, "loc": { "start": { "line": 8, "column": 53 }, "end": { "line": 8, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 351, "end": 352, "loc": { "start": { "line": 8, "column": 54 }, "end": { "line": 8, "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": 356, "end": 362, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "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": 363, "end": 368, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1001", "start": 369, "end": 392, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "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": 393, "end": 400, "loc": { "start": { "line": 10, "column": 37 }, "end": { "line": 10, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1000", "start": 401, "end": 424, "loc": { "start": { "line": 10, "column": 45 }, "end": { "line": 10, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 425, "end": 426, "loc": { "start": { "line": 10, "column": 69 }, "end": { "line": 10, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getVersion", "start": 432, "end": 442, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 442, "end": 443, "loc": { "start": { "line": 11, "column": 14 }, "end": { "line": 11, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 443, "end": 444, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 445, "end": 446, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 11, "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": 456, "end": 462, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1001, "start": 463, "end": 467, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 467, "end": 468, "loc": { "start": { "line": 12, "column": 19 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 474, "end": 475, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSchemaUncached", "start": 483, "end": 500, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 500, "end": 501, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 15, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 501, "end": 502, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 503, "end": 504, "loc": { "start": { "line": 15, "column": 24 }, "end": { "line": 15, "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": 514, "end": 520, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "schema", "start": 521, "end": 527, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 527, "end": 528, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 534, "end": 535, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ", "start": 543, "end": 624, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 630, "end": 636, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1000to1001", "start": 637, "end": 654, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 654, "end": 655, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 655, "end": 659, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 659, "end": 660, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 661, "end": 662, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 672, "end": 678, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 678, "end": 679, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 679, "end": 682, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 682, "end": 683, "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "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 1000 to 1001", "start": 683, "end": 707, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 707, "end": 708, "loc": { "start": { "line": 23, "column": 43 }, "end": { "line": 23, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 708, "end": 709, "loc": { "start": { "line": 23, "column": 44 }, "end": { "line": 23, "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": 719, "end": 724, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 725, "end": 729, "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 730, "end": 731, "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 732, "end": 736, "loc": { "start": { "line": 24, "column": 21 }, "end": { "line": 24, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 736, "end": 737, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 737, "end": 741, "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 741, "end": 742, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "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": 752, "end": 754, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 755, "end": 756, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "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": 756, "end": 757, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 757, "end": 761, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 761, "end": 762, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 763, "end": 764, "loc": { "start": { "line": 25, "column": 19 }, "end": { "line": 25, "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": 778, "end": 784, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "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": 785, "end": 789, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 789, "end": 790, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 24 } } }, { "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": 8 }, "end": { "line": 27, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 813, "end": 817, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 817, "end": 818, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinnedShapes", "start": 818, "end": 830, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 831, "end": 832, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 833, "end": 834, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 29, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapes", "start": 848, "end": 854, "loc": { "start": { "line": 30, "column": 12 }, "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": 854, "end": 855, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 856, "end": 857, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 21 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 857, "end": 858, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 858, "end": 859, "loc": { "start": { "line": 30, "column": 22 }, "end": { "line": 30, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 869, "end": 870, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 870, "end": 871, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 881, "end": 885, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 885, "end": 886, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 886, "end": 895, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 896, "end": 897, "loc": { "start": { "line": 32, "column": 23 }, "end": { "line": 32, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 898, "end": 899, "loc": { "start": { "line": 32, "column": 25 }, "end": { "line": 32, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 913, "end": 922, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 922, "end": 923, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 22 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 924, "end": 925, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 943, "end": 944, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 966, "end": 971, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 25 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 971, "end": 972, "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 973, "end": 974, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 974, "end": 975, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 975, "end": 981, "loc": { "start": { "line": 35, "column": 29 }, "end": { "line": 35, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 981, "end": 982, "loc": { "start": { "line": 35, "column": 35 }, "end": { "line": 35, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 982, "end": 991, "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 35, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 991, "end": 992, "loc": { "start": { "line": 35, "column": 45 }, "end": { "line": 35, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hub", "start": 992, "end": 995, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 995, "end": 996, "loc": { "start": { "line": 35, "column": 49 }, "end": { "line": 35, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 1018, "end": 1024, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1024, "end": 1025, "loc": { "start": { "line": 36, "column": 26 }, "end": { "line": 36, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1026, "end": 1027, "loc": { "start": { "line": 36, "column": 28 }, "end": { "line": 36, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1028, "end": 1029, "loc": { "start": { "line": 36, "column": 30 }, "end": { "line": 36, "column": 31 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1029, "end": 1030, "loc": { "start": { "line": 36, "column": 31 }, "end": { "line": 36, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1031, "end": 1032, "loc": { "start": { "line": 36, "column": 33 }, "end": { "line": 36, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1032, "end": 1033, "loc": { "start": { "line": 36, "column": 34 }, "end": { "line": 36, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1034, "end": 1035, "loc": { "start": { "line": 36, "column": 36 }, "end": { "line": 36, "column": 37 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1035, "end": 1036, "loc": { "start": { "line": 36, "column": 37 }, "end": { "line": 36, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1037, "end": 1038, "loc": { "start": { "line": 36, "column": 39 }, "end": { "line": 36, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1039, "end": 1040, "loc": { "start": { "line": 36, "column": 41 }, "end": { "line": 36, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1040, "end": 1041, "loc": { "start": { "line": 36, "column": 42 }, "end": { "line": 36, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 1063, "end": 1072, "loc": { "start": { "line": 37, "column": 20 }, "end": { "line": 37, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1072, "end": 1073, "loc": { "start": { "line": 37, "column": 29 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 1074, "end": 1075, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1075, "end": 1076, "loc": { "start": { "line": 37, "column": 32 }, "end": { "line": 37, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deletable", "start": 1098, "end": 1107, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1107, "end": 1108, "loc": { "start": { "line": 38, "column": 29 }, "end": { "line": 38, "column": 30 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 1109, "end": 1114, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1114, "end": 1115, "loc": { "start": { "line": 38, "column": 36 }, "end": { "line": 38, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1133, "end": 1134, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1134, "end": 1135, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 18 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1149, "end": 1150, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1150, "end": 1151, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1161, "end": 1162, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1162, "end": 1163, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 10 } } }, { "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": 1175, "end": 1180, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 1181, "end": 1189, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1190, "end": 1191, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 43, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 1192, "end": 1196, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1196, "end": 1197, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 1197, "end": 1205, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1205, "end": 1206, "loc": { "start": { "line": 43, "column": 38 }, "end": { "line": 43, "column": 39 } } }, { "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": 1216, "end": 1219, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1220, "end": 1221, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "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": 1221, "end": 1224, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1225, "end": 1226, "loc": { "start": { "line": 44, "column": 17 }, "end": { "line": 44, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1227, "end": 1228, "loc": { "start": { "line": 44, "column": 19 }, "end": { "line": 44, "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": 1229, "end": 1230, "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1230, "end": 1231, "loc": { "start": { "line": 44, "column": 22 }, "end": { "line": 44, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1232, "end": 1233, "loc": { "start": { "line": 44, "column": 24 }, "end": { "line": 44, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1234, "end": 1235, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 1236, "end": 1244, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1244, "end": 1245, "loc": { "start": { "line": 44, "column": 36 }, "end": { "line": 44, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1245, "end": 1251, "loc": { "start": { "line": 44, "column": 37 }, "end": { "line": 44, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1251, "end": 1252, "loc": { "start": { "line": 44, "column": 43 }, "end": { "line": 44, "column": 44 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1253, "end": 1255, "loc": { "start": { "line": 44, "column": 45 }, "end": { "line": 44, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1255, "end": 1256, "loc": { "start": { "line": 44, "column": 47 }, "end": { "line": 44, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1256, "end": 1257, "loc": { "start": { "line": 44, "column": 48 }, "end": { "line": 44, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1258, "end": 1259, "loc": { "start": { "line": 44, "column": 50 }, "end": { "line": 44, "column": 51 } } }, { "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": 1273, "end": 1278, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1279, "end": 1285, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1286, "end": 1287, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 1288, "end": 1296, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1296, "end": 1297, "loc": { "start": { "line": 45, "column": 35 }, "end": { "line": 45, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1297, "end": 1298, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1298, "end": 1299, "loc": { "start": { "line": 45, "column": 37 }, "end": { "line": 45, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1299, "end": 1300, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 39 } } }, { "type": "CommentBlock", "value": "*\r\n * @typedef {{\r\n * origin: TypeVector,\r\n * tileSize: TypeVector,\r\n * rotation: TypeNumber,\r\n * originalRotation: TypeNumber,\r\n * spriteKey?: string,\r\n * blueprintSpriteKey: string,\r\n * silhouetteColor: string\r\n * }} OldStaticMapEntity\r\n ", "start": 1316, "end": 1694, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 57, "column": 15 } } }, { "type": "CommentLine", "value": " Here we mock the old type of the StaticMapEntity before the change to using", "start": 1710, "end": 1788, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 90 } } }, { "type": "CommentLine", "value": " a building ID based system (see building_codes.js) to stop the linter from", "start": 1802, "end": 1879, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 89 } } }, { "type": "CommentLine", "value": " complaining that the type doesn't have the properties.", "start": 1893, "end": 1950, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 69 } } }, { "type": "CommentLine", "value": " The ignored error is the error that the types do not overlap. In the case", "start": 1964, "end": 2041, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 89 } } }, { "type": "CommentLine", "value": " of a v1000 save though, the data will match the mocked type above.", "start": 2055, "end": 2124, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 81 } } }, { "type": "CommentBlock", "value": "* @type OldStaticMapEntity *", "start": 2138, "end": 2170, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 44 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2184, "end": 2197, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 25 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2211, "end": 2216, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2217, "end": 2227, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2228, "end": 2229, "loc": { "start": { "line": 66, "column": 29 }, "end": { "line": 66, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2230, "end": 2236, "loc": { "start": { "line": 66, "column": 31 }, "end": { "line": 66, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2236, "end": 2237, "loc": { "start": { "line": 66, "column": 37 }, "end": { "line": 66, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2237, "end": 2247, "loc": { "start": { "line": 66, "column": 38 }, "end": { "line": 66, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2247, "end": 2248, "loc": { "start": { "line": 66, "column": 48 }, "end": { "line": 66, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 2248, "end": 2263, "loc": { "start": { "line": 66, "column": 49 }, "end": { "line": 66, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2263, "end": 2264, "loc": { "start": { "line": 66, "column": 64 }, "end": { "line": 66, "column": 65 } } }, { "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": 2278, "end": 2283, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 2284, "end": 2292, "loc": { "start": { "line": 67, "column": 18 }, "end": { "line": 67, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2293, "end": 2294, "loc": { "start": { "line": 67, "column": 27 }, "end": { "line": 67, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2295, "end": 2301, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2301, "end": 2302, "loc": { "start": { "line": 67, "column": 35 }, "end": { "line": 67, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2302, "end": 2312, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 67, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2312, "end": 2313, "loc": { "start": { "line": 67, "column": 46 }, "end": { "line": 67, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 2313, "end": 2317, "loc": { "start": { "line": 67, "column": 47 }, "end": { "line": 67, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2317, "end": 2318, "loc": { "start": { "line": 67, "column": 51 }, "end": { "line": 67, "column": 52 } } }, { "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": 2332, "end": 2334, "loc": { "start": { "line": 68, "column": 12 }, "end": { "line": 68, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2335, "end": 2336, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2336, "end": 2346, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2346, "end": 2347, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2348, "end": 2349, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 68, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2367, "end": 2369, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2370, "end": 2371, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2371, "end": 2381, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2381, "end": 2382, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spriteKey", "start": 2382, "end": 2391, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2391, "end": 2392, "loc": { "start": { "line": 69, "column": 40 }, "end": { "line": 69, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2393, "end": 2394, "loc": { "start": { "line": 69, "column": 42 }, "end": { "line": 69, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2416, "end": 2426, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2426, "end": 2427, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blueprintSpriteKey", "start": 2427, "end": 2445, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2446, "end": 2447, "loc": { "start": { "line": 70, "column": 50 }, "end": { "line": 70, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2448, "end": 2458, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2458, "end": 2459, "loc": { "start": { "line": 70, "column": 62 }, "end": { "line": 70, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spriteKey", "start": 2459, "end": 2468, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2468, "end": 2469, "loc": { "start": { "line": 70, "column": 72 }, "end": { "line": 70, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 2469, "end": 2476, "loc": { "start": { "line": 70, "column": 73 }, "end": { "line": 70, "column": 80 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2476, "end": 2477, "loc": { "start": { "line": 70, "column": 80 }, "end": { "line": 70, "column": 81 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/buildings", "start": 2503, "end": 2522, "loc": { "start": { "line": 71, "column": 24 }, "end": { "line": 71, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2522, "end": 2523, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/blueprints", "start": 2549, "end": 2569, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2591, "end": 2592, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2592, "end": 2593, "loc": { "start": { "line": 73, "column": 21 }, "end": { "line": 73, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2611, "end": 2612, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 17 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 2613, "end": 2617, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2618, "end": 2619, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2641, "end": 2643, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2644, "end": 2645, "loc": { "start": { "line": 75, "column": 23 }, "end": { "line": 75, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2645, "end": 2651, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2651, "end": 2652, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2652, "end": 2662, "loc": { "start": { "line": 75, "column": 31 }, "end": { "line": 75, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2662, "end": 2663, "loc": { "start": { "line": 75, "column": 41 }, "end": { "line": 75, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Hub", "start": 2663, "end": 2666, "loc": { "start": { "line": 75, "column": 42 }, "end": { "line": 75, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2666, "end": 2667, "loc": { "start": { "line": 75, "column": 45 }, "end": { "line": 75, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2668, "end": 2669, "loc": { "start": { "line": 75, "column": 47 }, "end": { "line": 75, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2695, "end": 2705, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2705, "end": 2706, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blueprintSpriteKey", "start": 2706, "end": 2724, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 53 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2725, "end": 2726, "loc": { "start": { "line": 76, "column": 54 }, "end": { "line": 76, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2727, "end": 2729, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2729, "end": 2730, "loc": { "start": { "line": 76, "column": 58 }, "end": { "line": 76, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2752, "end": 2753, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 21 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 2754, "end": 2758, "loc": { "start": { "line": 77, "column": 22 }, "end": { "line": 77, "column": 26 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2759, "end": 2761, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2762, "end": 2763, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 2763, "end": 2771, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2771, "end": 2772, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2773, "end": 2774, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 42 } } }, { "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": 2800, "end": 2805, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 2806, "end": 2815, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2816, "end": 2817, "loc": { "start": { "line": 78, "column": 40 }, "end": { "line": 78, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 2818, "end": 2826, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2826, "end": 2827, "loc": { "start": { "line": 78, "column": 50 }, "end": { "line": 78, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 2827, "end": 2836, "loc": { "start": { "line": 78, "column": 51 }, "end": { "line": 78, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2836, "end": 2837, "loc": { "start": { "line": 78, "column": 60 }, "end": { "line": 78, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2863, "end": 2873, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2873, "end": 2874, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blueprintSpriteKey", "start": 2874, "end": 2892, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 53 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2893, "end": 2894, "loc": { "start": { "line": 79, "column": 54 }, "end": { "line": 79, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/blueprints/belt_", "start": 2895, "end": 2921, "loc": { "start": { "line": 79, "column": 56 }, "end": { "line": 79, "column": 82 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2922, "end": 2923, "loc": { "start": { "line": 79, "column": 83 }, "end": { "line": 79, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 2924, "end": 2933, "loc": { "start": { "line": 79, "column": 85 }, "end": { "line": 79, "column": 94 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2934, "end": 2935, "loc": { "start": { "line": 79, "column": 95 }, "end": { "line": 79, "column": 96 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".png", "start": 2936, "end": 2942, "loc": { "start": { "line": 79, "column": 97 }, "end": { "line": 79, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2942, "end": 2943, "loc": { "start": { "line": 79, "column": 103 }, "end": { "line": 79, "column": 104 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2965, "end": 2966, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 21 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 2967, "end": 2971, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2972, "end": 2973, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assertAlways", "start": 2999, "end": 3011, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3011, "end": 3012, "loc": { "start": { "line": 81, "column": 36 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 3012, "end": 3017, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3017, "end": 3018, "loc": { "start": { "line": 81, "column": 42 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Could not deduct entity type for migrating 1000 -> 1001", "start": 3019, "end": 3076, "loc": { "start": { "line": 81, "column": 44 }, "end": { "line": 81, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3076, "end": 3077, "loc": { "start": { "line": 81, "column": 101 }, "end": { "line": 81, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3077, "end": 3078, "loc": { "start": { "line": 81, "column": 102 }, "end": { "line": 81, "column": 103 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3100, "end": 3101, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3119, "end": 3120, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3134, "end": 3135, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3145, "end": 3146, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3152, "end": 3153, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3155, "end": 3156, "loc": { "start": { "line": 87, "column": 0 }, "end": { "line": 87, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3158, "end": 3158, "loc": { "start": { "line": 88, "column": 0 }, "end": { "line": 88, "column": 0 } } } ] }