{ "type": "File", "start": 0, "end": 8295, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 282, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 8295, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 282, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 58, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } }, "imported": { "type": "Identifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 }, "identifierName": "ReadWriteProxy" }, "name": "ReadWriteProxy" }, "local": { "type": "Identifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 }, "identifierName": "ReadWriteProxy" }, "name": "ReadWriteProxy" } } ], "source": { "type": "StringLiteral", "start": 31, "end": 57, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 57 } }, "extra": { "rawValue": "../core/read_write_proxy", "raw": "\"../core/read_write_proxy\"" }, "value": "../core/read_write_proxy" } }, { "type": "ImportDeclaration", "start": 60, "end": 119, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 59 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 69, "end": 84, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 24 } }, "imported": { "type": "Identifier", "start": 69, "end": 84, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 24 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult" }, "local": { "type": "Identifier", "start": 69, "end": 84, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 24 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult" } } ], "source": { "type": "StringLiteral", "start": 92, "end": 118, "loc": { "start": { "line": 2, "column": 32 }, "end": { "line": 2, "column": 58 } }, "extra": { "rawValue": "../core/explained_result", "raw": "\"../core/explained_result\"" }, "value": "../core/explained_result" } }, { "type": "ImportDeclaration", "start": 121, "end": 180, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 59 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 130, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 } }, "imported": { "type": "Identifier", "start": 130, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 }, "identifierName": "SavegameSerializer" }, "name": "SavegameSerializer" }, "local": { "type": "Identifier", "start": 130, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 }, "identifierName": "SavegameSerializer" }, "name": "SavegameSerializer" } } ], "source": { "type": "StringLiteral", "start": 156, "end": 179, "loc": { "start": { "line": 3, "column": 35 }, "end": { "line": 3, "column": 58 } }, "extra": { "rawValue": "./savegame_serializer", "raw": "\"./savegame_serializer\"" }, "value": "./savegame_serializer" } }, { "type": "ImportDeclaration", "start": 182, "end": 243, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 191, "end": 212, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 } }, "imported": { "type": "Identifier", "start": 191, "end": 212, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 }, "identifierName": "BaseSavegameInterface" }, "name": "BaseSavegameInterface" }, "local": { "type": "Identifier", "start": 191, "end": 212, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 }, "identifierName": "BaseSavegameInterface" }, "name": "BaseSavegameInterface" } } ], "source": { "type": "StringLiteral", "start": 220, "end": 242, "loc": { "start": { "line": 4, "column": 38 }, "end": { "line": 4, "column": 60 } }, "extra": { "rawValue": "./savegame_interface", "raw": "\"./savegame_interface\"" }, "value": "./savegame_interface" } }, { "type": "ImportDeclaration", "start": 245, "end": 292, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 254, "end": 266, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 } }, "imported": { "type": "Identifier", "start": 254, "end": 266, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 254, "end": 266, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 274, "end": 291, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 46 } }, "extra": { "rawValue": "../core/logging", "raw": "\"../core/logging\"" }, "value": "../core/logging" } }, { "type": "ImportDeclaration", "start": 294, "end": 340, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 303, "end": 315, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } }, "imported": { "type": "Identifier", "start": 303, "end": 315, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 303, "end": 315, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 323, "end": 339, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 45 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" } }, { "type": "ImportDeclaration", "start": 342, "end": 431, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 89 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 351, "end": 371, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 29 } }, "imported": { "type": "Identifier", "start": 351, "end": 371, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 29 }, "identifierName": "getSavegameInterface" }, "name": "getSavegameInterface" }, "local": { "type": "Identifier", "start": 351, "end": 371, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 29 }, "identifierName": "getSavegameInterface" }, "name": "getSavegameInterface" } }, { "type": "ImportSpecifier", "start": 373, "end": 391, "loc": { "start": { "line": 7, "column": 31 }, "end": { "line": 7, "column": 49 } }, "imported": { "type": "Identifier", "start": 373, "end": 391, "loc": { "start": { "line": 7, "column": 31 }, "end": { "line": 7, "column": 49 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces" }, "local": { "type": "Identifier", "start": 373, "end": 391, "loc": { "start": { "line": 7, "column": 31 }, "end": { "line": 7, "column": 49 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces" } } ], "source": { "type": "StringLiteral", "start": 399, "end": 430, "loc": { "start": { "line": 7, "column": 57 }, "end": { "line": 7, "column": 88 } }, "extra": { "rawValue": "./savegame_interface_registry", "raw": "\"./savegame_interface_registry\"" }, "value": "./savegame_interface_registry" } }, { "type": "ImportDeclaration", "start": 433, "end": 490, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 442, "end": 465, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 } }, "imported": { "type": "Identifier", "start": 442, "end": 465, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" }, "local": { "type": "Identifier", "start": 442, "end": 465, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" } } ], "source": { "type": "StringLiteral", "start": 473, "end": 489, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 56 } }, "extra": { "rawValue": "./schemas/1001", "raw": "\"./schemas/1001\"" }, "value": "./schemas/1001" } }, { "type": "ImportDeclaration", "start": 492, "end": 549, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 501, "end": 524, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 } }, "imported": { "type": "Identifier", "start": 501, "end": 524, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 }, "identifierName": "SavegameInterface_V1002" }, "name": "SavegameInterface_V1002" }, "local": { "type": "Identifier", "start": 501, "end": 524, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 }, "identifierName": "SavegameInterface_V1002" }, "name": "SavegameInterface_V1002" } } ], "source": { "type": "StringLiteral", "start": 532, "end": 548, "loc": { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 56 } }, "extra": { "rawValue": "./schemas/1002", "raw": "\"./schemas/1002\"" }, "value": "./schemas/1002" } }, { "type": "ImportDeclaration", "start": 551, "end": 608, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 560, "end": 583, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 } }, "imported": { "type": "Identifier", "start": 560, "end": 583, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 }, "identifierName": "SavegameInterface_V1003" }, "name": "SavegameInterface_V1003" }, "local": { "type": "Identifier", "start": 560, "end": 583, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 }, "identifierName": "SavegameInterface_V1003" }, "name": "SavegameInterface_V1003" } } ], "source": { "type": "StringLiteral", "start": 591, "end": 607, "loc": { "start": { "line": 10, "column": 40 }, "end": { "line": 10, "column": 56 } }, "extra": { "rawValue": "./schemas/1003", "raw": "\"./schemas/1003\"" }, "value": "./schemas/1003" } }, { "type": "ImportDeclaration", "start": 610, "end": 667, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 619, "end": 642, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 32 } }, "imported": { "type": "Identifier", "start": 619, "end": 642, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 32 }, "identifierName": "SavegameInterface_V1004" }, "name": "SavegameInterface_V1004" }, "local": { "type": "Identifier", "start": 619, "end": 642, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 32 }, "identifierName": "SavegameInterface_V1004" }, "name": "SavegameInterface_V1004" } } ], "source": { "type": "StringLiteral", "start": 650, "end": 666, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 56 } }, "extra": { "rawValue": "./schemas/1004", "raw": "\"./schemas/1004\"" }, "value": "./schemas/1004" } }, { "type": "ImportDeclaration", "start": 669, "end": 726, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 678, "end": 701, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 32 } }, "imported": { "type": "Identifier", "start": 678, "end": 701, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 32 }, "identifierName": "SavegameInterface_V1005" }, "name": "SavegameInterface_V1005" }, "local": { "type": "Identifier", "start": 678, "end": 701, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 32 }, "identifierName": "SavegameInterface_V1005" }, "name": "SavegameInterface_V1005" } } ], "source": { "type": "StringLiteral", "start": 709, "end": 725, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 56 } }, "extra": { "rawValue": "./schemas/1005", "raw": "\"./schemas/1005\"" }, "value": "./schemas/1005" } }, { "type": "ImportDeclaration", "start": 728, "end": 785, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 737, "end": 760, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 32 } }, "imported": { "type": "Identifier", "start": 737, "end": 760, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 32 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" }, "local": { "type": "Identifier", "start": 737, "end": 760, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 32 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" } } ], "source": { "type": "StringLiteral", "start": 768, "end": 784, "loc": { "start": { "line": 13, "column": 40 }, "end": { "line": 13, "column": 56 } }, "extra": { "rawValue": "./schemas/1006", "raw": "\"./schemas/1006\"" }, "value": "./schemas/1006" } }, { "type": "ImportDeclaration", "start": 787, "end": 844, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 796, "end": 819, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 } }, "imported": { "type": "Identifier", "start": 796, "end": 819, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" }, "local": { "type": "Identifier", "start": 796, "end": 819, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" } } ], "source": { "type": "StringLiteral", "start": 827, "end": 843, "loc": { "start": { "line": 14, "column": 40 }, "end": { "line": 14, "column": 56 } }, "extra": { "rawValue": "./schemas/1007", "raw": "\"./schemas/1007\"" }, "value": "./schemas/1007" } }, { "type": "ImportDeclaration", "start": 846, "end": 902, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 855, "end": 877, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 31 } }, "imported": { "type": "Identifier", "start": 855, "end": 877, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 31 }, "identifierName": "SavegameInterface_ML01" }, "name": "SavegameInterface_ML01" }, "local": { "type": "Identifier", "start": 855, "end": 877, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 31 }, "identifierName": "SavegameInterface_ML01" }, "name": "SavegameInterface_ML01" } } ], "source": { "type": "StringLiteral", "start": 885, "end": 901, "loc": { "start": { "line": 15, "column": 39 }, "end": { "line": 15, "column": 55 } }, "extra": { "rawValue": "./schemas/ML01", "raw": "\"./schemas/ML01\"" }, "value": "./schemas/ML01" } }, { "type": "VariableDeclaration", "start": 906, "end": 946, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 912, "end": 945, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 39 } }, "id": { "type": "Identifier", "start": 912, "end": 918, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 921, "end": 945, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 39 } }, "callee": { "type": "Identifier", "start": 921, "end": 933, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 934, "end": 944, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 38 } }, "extra": { "rawValue": "savegame", "raw": "\"savegame\"" }, "value": "savegame" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 950, "end": 8295, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 282, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 957, "end": 8295, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 282, "column": 1 } }, "id": { "type": "Identifier", "start": 963, "end": 971, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 21 }, "identifierName": "Savegame" }, "name": "Savegame" }, "superClass": { "type": "Identifier", "start": 980, "end": 994, "loc": { "start": { "line": 19, "column": 30 }, "end": { "line": 19, "column": 44 }, "identifierName": "ReadWriteProxy" }, "name": "ReadWriteProxy" }, "body": { "type": "ClassBody", "start": 995, "end": 8295, "loc": { "start": { "line": 19, "column": 45 }, "end": { "line": 282, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1266, "end": 1749, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 39, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1266, "end": 1277, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1278, "end": 1281, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 19 }, "identifierName": "app" }, "name": "app" }, { "type": "ObjectPattern", "start": 1283, "end": 1310, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 48 } }, "properties": [ { "type": "ObjectProperty", "start": 1285, "end": 1295, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 33 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 1285, "end": 1295, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 33 }, "identifierName": "internalId" }, "name": "internalId" }, "value": { "type": "Identifier", "start": 1285, "end": 1295, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 33 }, "identifierName": "internalId" }, "name": "internalId" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 1297, "end": 1308, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 46 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 1297, "end": 1308, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 46 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "value": { "type": "Identifier", "start": 1297, "end": 1308, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 46 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "extra": { "shorthand": true } } ] } ], "body": { "type": "BlockStatement", "start": 1312, "end": 1749, "loc": { "start": { "line": 27, "column": 50 }, "end": { "line": 39, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1323, "end": 1369, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 54 } }, "expression": { "type": "CallExpression", "start": 1323, "end": 1368, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 53 } }, "callee": { "type": "Super", "start": 1323, "end": 1328, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 1329, "end": 1332, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 17 }, "identifierName": "app" }, "name": "app" }, { "type": "BinaryExpression", "start": 1334, "end": 1367, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 52 } }, "left": { "type": "BinaryExpression", "start": 1334, "end": 1358, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 43 } }, "left": { "type": "StringLiteral", "start": 1334, "end": 1345, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 30 } }, "extra": { "rawValue": "savegame-", "raw": "\"savegame-\"" }, "value": "savegame-" }, "operator": "+", "right": { "type": "Identifier", "start": 1348, "end": 1358, "loc": { "start": { "line": 28, "column": 33 }, "end": { "line": 28, "column": 43 }, "identifierName": "internalId" }, "name": "internalId" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 1361, "end": 1367, "loc": { "start": { "line": 28, "column": 46 }, "end": { "line": 28, "column": 52 } }, "extra": { "rawValue": ".bin", "raw": "\".bin\"" }, "value": ".bin" } } ] } }, { "type": "ExpressionStatement", "start": 1379, "end": 1408, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 1379, "end": 1407, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1379, "end": 1394, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1379, "end": 1383, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 12 } } }, "property": { "type": "Identifier", "start": 1384, "end": 1394, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 23 }, "identifierName": "internalId" }, "name": "internalId" }, "computed": false }, "right": { "type": "Identifier", "start": 1397, "end": 1407, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 36 }, "identifierName": "internalId" }, "name": "internalId" } } }, { "type": "ExpressionStatement", "start": 1418, "end": 1449, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 1418, "end": 1448, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1418, "end": 1434, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1418, "end": 1422, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 12 } } }, "property": { "type": "Identifier", "start": 1423, "end": 1434, "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 24 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "computed": false }, "right": { "type": "Identifier", "start": 1437, "end": 1448, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 38 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" } }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {import(\"./savegame_typedefs\").SavegameData} ", "start": 1461, "end": 1518, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 1528, "end": 1569, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 1528, "end": 1568, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1528, "end": 1544, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 24 } }, "object": { "type": "ThisExpression", "start": 1528, "end": 1532, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1533, "end": 1544, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 24 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1547, "end": 1568, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 1547, "end": 1566, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 46 } }, "object": { "type": "ThisExpression", "start": 1547, "end": 1551, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 31 } } }, "property": { "type": "Identifier", "start": 1552, "end": 1566, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 46 }, "identifierName": "getDefaultData" }, "name": "getDefaultData" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {import(\"./savegame_typedefs\").SavegameData} ", "start": 1461, "end": 1518, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 1581, "end": 1742, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 38, "column": 10 } }, "expression": { "type": "CallExpression", "start": 1581, "end": 1741, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 38, "column": 9 } }, "callee": { "type": "Identifier", "start": 1581, "end": 1587, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "MemberExpression", "start": 1602, "end": 1650, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 60 } }, "object": { "type": "Identifier", "start": 1602, "end": 1620, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 30 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces" }, "property": { "type": "CallExpression", "start": 1621, "end": 1649, "loc": { "start": { "line": 36, "column": 31 }, "end": { "line": 36, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 1621, "end": 1647, "loc": { "start": { "line": 36, "column": 31 }, "end": { "line": 36, "column": 57 } }, "object": { "type": "Identifier", "start": 1621, "end": 1629, "loc": { "start": { "line": 36, "column": 31 }, "end": { "line": 36, "column": 39 }, "identifierName": "Savegame" }, "name": "Savegame" }, "property": { "type": "Identifier", "start": 1630, "end": 1647, "loc": { "start": { "line": 36, "column": 40 }, "end": { "line": 36, "column": 57 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false }, "arguments": [] }, "computed": true }, { "type": "BinaryExpression", "start": 1665, "end": 1730, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 77 } }, "left": { "type": "StringLiteral", "start": 1665, "end": 1699, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 46 } }, "extra": { "rawValue": "Savegame interface not defined: ", "raw": "\"Savegame interface not defined: \"" }, "value": "Savegame interface not defined: " }, "operator": "+", "right": { "type": "CallExpression", "start": 1702, "end": 1730, "loc": { "start": { "line": 37, "column": 49 }, "end": { "line": 37, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 1702, "end": 1728, "loc": { "start": { "line": 37, "column": 49 }, "end": { "line": 37, "column": 75 } }, "object": { "type": "Identifier", "start": 1702, "end": 1710, "loc": { "start": { "line": 37, "column": 49 }, "end": { "line": 37, "column": 57 }, "identifierName": "Savegame" }, "name": "Savegame" }, "property": { "type": "Identifier", "start": 1711, "end": 1728, "loc": { "start": { "line": 37, "column": 58 }, "end": { "line": 37, "column": 75 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false }, "arguments": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../application\").Application} app\r\n * @param {object} param0\r\n * @param {string} param0.internalId\r\n * @param {import(\"./savegame_typedefs\").SavegameMetadata} param0.metaDataRef Handle to the meta data\r\n ", "start": 1002, "end": 1260, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 26, "column": 7 } } } ], "trailingComments": [ { "type": "CommentLine", "value": "////// RW Proxy Impl //////////", "start": 1757, "end": 1790, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {any}\r\n ", "start": 1798, "end": 1833, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 45, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1839, "end": 1898, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 48, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 1846, "end": 1863, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 28 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1866, "end": 1898, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 48, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1877, "end": 1891, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 22 } }, "argument": { "type": "StringLiteral", "start": 1884, "end": 1890, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 21 } }, "extra": { "rawValue": "ML01", "raw": "\"ML01\"" }, "value": "ML01" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": "////// RW Proxy Impl //////////", "start": 1757, "end": 1790, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {any}\r\n ", "start": 1798, "end": 1833, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 45, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @returns {typeof BaseSavegameInterface}\r\n ", "start": 1906, "end": 1966, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 52, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1972, "end": 2070, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 55, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 1979, "end": 1993, "loc": { "start": { "line": 53, "column": 11 }, "end": { "line": 53, "column": 25 }, "identifierName": "getReaderClass" }, "name": "getReaderClass" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1996, "end": 2070, "loc": { "start": { "line": 53, "column": 28 }, "end": { "line": 55, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2007, "end": 2063, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 64 } }, "argument": { "type": "MemberExpression", "start": 2014, "end": 2062, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 63 } }, "object": { "type": "Identifier", "start": 2014, "end": 2032, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 33 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces" }, "property": { "type": "CallExpression", "start": 2033, "end": 2061, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 2033, "end": 2059, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 60 } }, "object": { "type": "Identifier", "start": 2033, "end": 2041, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 42 }, "identifierName": "Savegame" }, "name": "Savegame" }, "property": { "type": "Identifier", "start": 2042, "end": 2059, "loc": { "start": { "line": 54, "column": 43 }, "end": { "line": 54, "column": 60 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false }, "arguments": [] }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @returns {typeof BaseSavegameInterface}\r\n ", "start": 1906, "end": 1966, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 52, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @returns {number}\r\n ", "start": 2078, "end": 2116, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2122, "end": 2237, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 62, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2122, "end": 2139, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 21 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2142, "end": 2237, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 62, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2153, "end": 2230, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 85 } }, "argument": { "type": "CallExpression", "start": 2191, "end": 2229, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 2191, "end": 2227, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 82 } }, "object": { "type": "MemberExpression", "start": 2192, "end": 2208, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 63 } }, "object": { "type": "ThisExpression", "start": 2192, "end": 2196, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 51 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2197, "end": 2208, "loc": { "start": { "line": 61, "column": 52 }, "end": { "line": 61, "column": 63 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 2191 } }, "property": { "type": "Identifier", "start": 2210, "end": 2227, "loc": { "start": { "line": 61, "column": 65 }, "end": { "line": 61, "column": 82 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {typeof Savegame} ", "start": 2160, "end": 2190, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 45 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @returns {number}\r\n ", "start": 2078, "end": 2116, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the savegames default data\r\n * @returns {import(\"./savegame_typedefs\").SavegameData}\r\n ", "start": 2245, "end": 2362, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 67, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2368, "end": 2557, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 75, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2368, "end": 2382, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 18 }, "identifierName": "getDefaultData" }, "name": "getDefaultData", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2385, "end": 2557, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 75, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2396, "end": 2550, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 74, "column": 10 } }, "argument": { "type": "ObjectExpression", "start": 2403, "end": 2549, "loc": { "start": { "line": 69, "column": 15 }, "end": { "line": 74, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2418, "end": 2451, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 45 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2418, "end": 2425, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 19 }, "identifierName": "version" }, "name": "version" }, "value": { "type": "CallExpression", "start": 2427, "end": 2451, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 2427, "end": 2449, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 43 } }, "object": { "type": "ThisExpression", "start": 2427, "end": 2431, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 25 } } }, "property": { "type": "Identifier", "start": 2432, "end": 2449, "loc": { "start": { "line": 70, "column": 26 }, "end": { "line": 70, "column": 43 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false }, "arguments": [] } }, { "type": "ObjectProperty", "start": 2466, "end": 2476, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2466, "end": 2470, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 16 }, "identifierName": "dump" }, "name": "dump" }, "value": { "type": "NullLiteral", "start": 2472, "end": 2476, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 22 } } } }, { "type": "ObjectProperty", "start": 2491, "end": 2500, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2491, "end": 2496, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 17 }, "identifierName": "stats" }, "name": "stats" }, "value": { "type": "ObjectExpression", "start": 2498, "end": 2500, "loc": { "start": { "line": 72, "column": 19 }, "end": { "line": 72, "column": 21 } }, "properties": [] } }, { "type": "ObjectProperty", "start": 2515, "end": 2537, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 34 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2515, "end": 2525, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 22 }, "identifierName": "lastUpdate" }, "name": "lastUpdate" }, "value": { "type": "CallExpression", "start": 2527, "end": 2537, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 2527, "end": 2535, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 32 } }, "object": { "type": "Identifier", "start": 2527, "end": 2531, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 28 }, "identifierName": "Date" }, "name": "Date" }, "property": { "type": "Identifier", "start": 2532, "end": 2535, "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 32 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the savegames default data\r\n * @returns {import(\"./savegame_typedefs\").SavegameData}\r\n ", "start": 2245, "end": 2362, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 67, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Migrates the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 2565, "end": 2678, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2684, "end": 4050, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 127, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2684, "end": 2691, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 11 }, "identifierName": "migrate" }, "name": "migrate", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2692, "end": 2696, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 16 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 2698, "end": 4050, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 127, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 2709, "end": 2824, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 84, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 2713, "end": 2732, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 31 } }, "left": { "type": "MemberExpression", "start": 2713, "end": 2725, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 24 } }, "object": { "type": "Identifier", "start": 2713, "end": 2717, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 2718, "end": 2725, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 2728, "end": 2732, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 31 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 2734, "end": 2824, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 84, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 2749, "end": 2813, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 76 } }, "argument": { "type": "CallExpression", "start": 2756, "end": 2812, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 2756, "end": 2775, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 38 } }, "object": { "type": "Identifier", "start": 2756, "end": 2771, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 34 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult" }, "property": { "type": "Identifier", "start": 2772, "end": 2775, "loc": { "start": { "line": 83, "column": 35 }, "end": { "line": 83, "column": 38 }, "identifierName": "bad" }, "name": "bad" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2776, "end": 2811, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 74 } }, "extra": { "rawValue": "Can not migrate savegame, too old", "raw": "\"Can not migrate savegame, too old\"" }, "value": "Can not migrate savegame, too old" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2836, "end": 2971, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 89, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 2840, "end": 2861, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 33 } }, "left": { "type": "MemberExpression", "start": 2840, "end": 2852, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 24 } }, "object": { "type": "Identifier", "start": 2840, "end": 2844, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 2845, "end": 2852, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 2857, "end": 2861, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 2863, "end": 2971, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 89, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2878, "end": 2926, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 60 } }, "expression": { "type": "CallExpression", "start": 2878, "end": 2925, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 2878, "end": 2919, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 53 } }, "object": { "type": "Identifier", "start": 2878, "end": 2901, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 35 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" }, "property": { "type": "Identifier", "start": 2902, "end": 2919, "loc": { "start": { "line": 87, "column": 36 }, "end": { "line": 87, "column": 53 }, "identifierName": "migrate1000to1001" }, "name": "migrate1000to1001" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2920, "end": 2924, "loc": { "start": { "line": 87, "column": 54 }, "end": { "line": 87, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 2940, "end": 2960, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 2940, "end": 2959, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2940, "end": 2952, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 24 } }, "object": { "type": "Identifier", "start": 2940, "end": 2944, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 2945, "end": 2952, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2955, "end": 2959, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 31 } }, "extra": { "rawValue": 1001, "raw": "1001" }, "value": 1001 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2983, "end": 3118, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 94, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 2987, "end": 3008, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 33 } }, "left": { "type": "MemberExpression", "start": 2987, "end": 2999, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 24 } }, "object": { "type": "Identifier", "start": 2987, "end": 2991, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 2992, "end": 2999, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3004, "end": 3008, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 33 } }, "extra": { "rawValue": 1001, "raw": "1001" }, "value": 1001 } }, "consequent": { "type": "BlockStatement", "start": 3010, "end": 3118, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 94, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3025, "end": 3073, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 60 } }, "expression": { "type": "CallExpression", "start": 3025, "end": 3072, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 3025, "end": 3066, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 53 } }, "object": { "type": "Identifier", "start": 3025, "end": 3048, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 35 }, "identifierName": "SavegameInterface_V1002" }, "name": "SavegameInterface_V1002" }, "property": { "type": "Identifier", "start": 3049, "end": 3066, "loc": { "start": { "line": 92, "column": 36 }, "end": { "line": 92, "column": 53 }, "identifierName": "migrate1001to1002" }, "name": "migrate1001to1002" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3067, "end": 3071, "loc": { "start": { "line": 92, "column": 54 }, "end": { "line": 92, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3087, "end": 3107, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3087, "end": 3106, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3087, "end": 3099, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 24 } }, "object": { "type": "Identifier", "start": 3087, "end": 3091, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3092, "end": 3099, "loc": { "start": { "line": 93, "column": 17 }, "end": { "line": 93, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3102, "end": 3106, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 31 } }, "extra": { "rawValue": 1002, "raw": "1002" }, "value": 1002 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3130, "end": 3265, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 99, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3134, "end": 3155, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 33 } }, "left": { "type": "MemberExpression", "start": 3134, "end": 3146, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 24 } }, "object": { "type": "Identifier", "start": 3134, "end": 3138, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3139, "end": 3146, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3151, "end": 3155, "loc": { "start": { "line": 96, "column": 29 }, "end": { "line": 96, "column": 33 } }, "extra": { "rawValue": 1002, "raw": "1002" }, "value": 1002 } }, "consequent": { "type": "BlockStatement", "start": 3157, "end": 3265, "loc": { "start": { "line": 96, "column": 35 }, "end": { "line": 99, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3172, "end": 3220, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 60 } }, "expression": { "type": "CallExpression", "start": 3172, "end": 3219, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 3172, "end": 3213, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 53 } }, "object": { "type": "Identifier", "start": 3172, "end": 3195, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 35 }, "identifierName": "SavegameInterface_V1003" }, "name": "SavegameInterface_V1003" }, "property": { "type": "Identifier", "start": 3196, "end": 3213, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 97, "column": 53 }, "identifierName": "migrate1002to1003" }, "name": "migrate1002to1003" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3214, "end": 3218, "loc": { "start": { "line": 97, "column": 54 }, "end": { "line": 97, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3234, "end": 3254, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3234, "end": 3253, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3234, "end": 3246, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 24 } }, "object": { "type": "Identifier", "start": 3234, "end": 3238, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3239, "end": 3246, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3249, "end": 3253, "loc": { "start": { "line": 98, "column": 27 }, "end": { "line": 98, "column": 31 } }, "extra": { "rawValue": 1003, "raw": "1003" }, "value": 1003 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3277, "end": 3412, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 104, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3281, "end": 3302, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 33 } }, "left": { "type": "MemberExpression", "start": 3281, "end": 3293, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 24 } }, "object": { "type": "Identifier", "start": 3281, "end": 3285, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3286, "end": 3293, "loc": { "start": { "line": 101, "column": 17 }, "end": { "line": 101, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3298, "end": 3302, "loc": { "start": { "line": 101, "column": 29 }, "end": { "line": 101, "column": 33 } }, "extra": { "rawValue": 1003, "raw": "1003" }, "value": 1003 } }, "consequent": { "type": "BlockStatement", "start": 3304, "end": 3412, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 104, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3319, "end": 3367, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 60 } }, "expression": { "type": "CallExpression", "start": 3319, "end": 3366, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 3319, "end": 3360, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 53 } }, "object": { "type": "Identifier", "start": 3319, "end": 3342, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 35 }, "identifierName": "SavegameInterface_V1004" }, "name": "SavegameInterface_V1004" }, "property": { "type": "Identifier", "start": 3343, "end": 3360, "loc": { "start": { "line": 102, "column": 36 }, "end": { "line": 102, "column": 53 }, "identifierName": "migrate1003to1004" }, "name": "migrate1003to1004" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3361, "end": 3365, "loc": { "start": { "line": 102, "column": 54 }, "end": { "line": 102, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3381, "end": 3401, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3381, "end": 3400, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3381, "end": 3393, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 24 } }, "object": { "type": "Identifier", "start": 3381, "end": 3385, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3386, "end": 3393, "loc": { "start": { "line": 103, "column": 17 }, "end": { "line": 103, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3396, "end": 3400, "loc": { "start": { "line": 103, "column": 27 }, "end": { "line": 103, "column": 31 } }, "extra": { "rawValue": 1004, "raw": "1004" }, "value": 1004 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3424, "end": 3559, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 109, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3428, "end": 3449, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 33 } }, "left": { "type": "MemberExpression", "start": 3428, "end": 3440, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 24 } }, "object": { "type": "Identifier", "start": 3428, "end": 3432, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3433, "end": 3440, "loc": { "start": { "line": 106, "column": 17 }, "end": { "line": 106, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3445, "end": 3449, "loc": { "start": { "line": 106, "column": 29 }, "end": { "line": 106, "column": 33 } }, "extra": { "rawValue": 1004, "raw": "1004" }, "value": 1004 } }, "consequent": { "type": "BlockStatement", "start": 3451, "end": 3559, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 109, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3466, "end": 3514, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 60 } }, "expression": { "type": "CallExpression", "start": 3466, "end": 3513, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 3466, "end": 3507, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 53 } }, "object": { "type": "Identifier", "start": 3466, "end": 3489, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 35 }, "identifierName": "SavegameInterface_V1005" }, "name": "SavegameInterface_V1005" }, "property": { "type": "Identifier", "start": 3490, "end": 3507, "loc": { "start": { "line": 107, "column": 36 }, "end": { "line": 107, "column": 53 }, "identifierName": "migrate1004to1005" }, "name": "migrate1004to1005" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3508, "end": 3512, "loc": { "start": { "line": 107, "column": 54 }, "end": { "line": 107, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3528, "end": 3548, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3528, "end": 3547, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3528, "end": 3540, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 24 } }, "object": { "type": "Identifier", "start": 3528, "end": 3532, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3533, "end": 3540, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3543, "end": 3547, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 31 } }, "extra": { "rawValue": 1005, "raw": "1005" }, "value": 1005 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3571, "end": 3706, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 114, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3575, "end": 3596, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 33 } }, "left": { "type": "MemberExpression", "start": 3575, "end": 3587, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 24 } }, "object": { "type": "Identifier", "start": 3575, "end": 3579, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3580, "end": 3587, "loc": { "start": { "line": 111, "column": 17 }, "end": { "line": 111, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3592, "end": 3596, "loc": { "start": { "line": 111, "column": 29 }, "end": { "line": 111, "column": 33 } }, "extra": { "rawValue": 1005, "raw": "1005" }, "value": 1005 } }, "consequent": { "type": "BlockStatement", "start": 3598, "end": 3706, "loc": { "start": { "line": 111, "column": 35 }, "end": { "line": 114, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3613, "end": 3661, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 60 } }, "expression": { "type": "CallExpression", "start": 3613, "end": 3660, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 3613, "end": 3654, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 53 } }, "object": { "type": "Identifier", "start": 3613, "end": 3636, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 35 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" }, "property": { "type": "Identifier", "start": 3637, "end": 3654, "loc": { "start": { "line": 112, "column": 36 }, "end": { "line": 112, "column": 53 }, "identifierName": "migrate1005to1006" }, "name": "migrate1005to1006" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3655, "end": 3659, "loc": { "start": { "line": 112, "column": 54 }, "end": { "line": 112, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3675, "end": 3695, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3675, "end": 3694, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3675, "end": 3687, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 24 } }, "object": { "type": "Identifier", "start": 3675, "end": 3679, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3680, "end": 3687, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3690, "end": 3694, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 31 } }, "extra": { "rawValue": 1006, "raw": "1006" }, "value": 1006 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3718, "end": 3853, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 119, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3722, "end": 3743, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 33 } }, "left": { "type": "MemberExpression", "start": 3722, "end": 3734, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 24 } }, "object": { "type": "Identifier", "start": 3722, "end": 3726, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3727, "end": 3734, "loc": { "start": { "line": 116, "column": 17 }, "end": { "line": 116, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3739, "end": 3743, "loc": { "start": { "line": 116, "column": 29 }, "end": { "line": 116, "column": 33 } }, "extra": { "rawValue": 1006, "raw": "1006" }, "value": 1006 } }, "consequent": { "type": "BlockStatement", "start": 3745, "end": 3853, "loc": { "start": { "line": 116, "column": 35 }, "end": { "line": 119, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3760, "end": 3808, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 60 } }, "expression": { "type": "CallExpression", "start": 3760, "end": 3807, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 3760, "end": 3801, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 53 } }, "object": { "type": "Identifier", "start": 3760, "end": 3783, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 35 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" }, "property": { "type": "Identifier", "start": 3784, "end": 3801, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 53 }, "identifierName": "migrate1006to1007" }, "name": "migrate1006to1007" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3802, "end": 3806, "loc": { "start": { "line": 117, "column": 54 }, "end": { "line": 117, "column": 58 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3822, "end": 3842, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 3822, "end": 3841, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3822, "end": 3834, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 24 } }, "object": { "type": "Identifier", "start": 3822, "end": 3826, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3827, "end": 3834, "loc": { "start": { "line": 118, "column": 17 }, "end": { "line": 118, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3837, "end": 3841, "loc": { "start": { "line": 118, "column": 27 }, "end": { "line": 118, "column": 31 } }, "extra": { "rawValue": 1007, "raw": "1007" }, "value": 1007 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3865, "end": 4001, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 124, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3869, "end": 3890, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 33 } }, "left": { "type": "MemberExpression", "start": 3869, "end": 3881, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 24 } }, "object": { "type": "Identifier", "start": 3869, "end": 3873, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3874, "end": 3881, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 3886, "end": 3890, "loc": { "start": { "line": 121, "column": 29 }, "end": { "line": 121, "column": 33 } }, "extra": { "rawValue": 1007, "raw": "1007" }, "value": 1007 } }, "consequent": { "type": "BlockStatement", "start": 3892, "end": 4001, "loc": { "start": { "line": 121, "column": 35 }, "end": { "line": 124, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3907, "end": 3954, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 59 } }, "expression": { "type": "CallExpression", "start": 3907, "end": 3953, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 3907, "end": 3947, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 52 } }, "object": { "type": "Identifier", "start": 3907, "end": 3929, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 34 }, "identifierName": "SavegameInterface_ML01" }, "name": "SavegameInterface_ML01" }, "property": { "type": "Identifier", "start": 3930, "end": 3947, "loc": { "start": { "line": 122, "column": 35 }, "end": { "line": 122, "column": 52 }, "identifierName": "migrate1007toML01" }, "name": "migrate1007toML01" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3948, "end": 3952, "loc": { "start": { "line": 122, "column": 53 }, "end": { "line": 122, "column": 57 }, "identifierName": "data" }, "name": "data" } ] } }, { "type": "ExpressionStatement", "start": 3968, "end": 3990, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 3968, "end": 3989, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3968, "end": 3980, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 24 } }, "object": { "type": "Identifier", "start": 3968, "end": 3972, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 16 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3973, "end": 3980, "loc": { "start": { "line": 123, "column": 17 }, "end": { "line": 123, "column": 24 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "StringLiteral", "start": 3983, "end": 3989, "loc": { "start": { "line": 123, "column": 27 }, "end": { "line": 123, "column": 33 } }, "extra": { "rawValue": "ML01", "raw": "\"ML01\"" }, "value": "ML01" } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 4013, "end": 4043, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 38 } }, "argument": { "type": "CallExpression", "start": 4020, "end": 4042, "loc": { "start": { "line": 126, "column": 15 }, "end": { "line": 126, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 4020, "end": 4040, "loc": { "start": { "line": 126, "column": 15 }, "end": { "line": 126, "column": 35 } }, "object": { "type": "Identifier", "start": 4020, "end": 4035, "loc": { "start": { "line": 126, "column": 15 }, "end": { "line": 126, "column": 30 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult" }, "property": { "type": "Identifier", "start": 4036, "end": 4040, "loc": { "start": { "line": 126, "column": 31 }, "end": { "line": 126, "column": 35 }, "identifierName": "good" }, "name": "good" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Migrates the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 2565, "end": 2678, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Verifies the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 4058, "end": 4171, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4177, "end": 4514, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 143, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4177, "end": 4183, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 133, "column": 10 }, "identifierName": "verify" }, "name": "verify", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4184, "end": 4188, "loc": { "start": { "line": 133, "column": 11 }, "end": { "line": 133, "column": 15 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 4190, "end": 4514, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 143, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 4201, "end": 4312, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 137, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 4205, "end": 4215, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4206, "end": 4215, "loc": { "start": { "line": 134, "column": 13 }, "end": { "line": 134, "column": 22 } }, "object": { "type": "Identifier", "start": 4206, "end": 4210, "loc": { "start": { "line": 134, "column": 13 }, "end": { "line": 134, "column": 17 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 4211, "end": 4215, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 22 }, "identifierName": "dump" }, "name": "dump" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4217, "end": 4312, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 137, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 4271, "end": 4301, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 42 } }, "argument": { "type": "CallExpression", "start": 4278, "end": 4300, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 4278, "end": 4298, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 39 } }, "object": { "type": "Identifier", "start": 4278, "end": 4293, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 34 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult", "leadingComments": null }, "property": { "type": "Identifier", "start": 4294, "end": 4298, "loc": { "start": { "line": 136, "column": 35 }, "end": { "line": 136, "column": 39 }, "identifierName": "good" }, "name": "good" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Well, guess that works", "start": 4232, "end": 4257, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 37 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 4324, "end": 4467, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 141, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 4328, "end": 4379, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 63 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4329, "end": 4379, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 4329, "end": 4377, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 61 } }, "object": { "type": "CallExpression", "start": 4329, "end": 4368, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4329, "end": 4362, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 46 } }, "object": { "type": "ThisExpression", "start": 4329, "end": 4333, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 17 } } }, "property": { "type": "Identifier", "start": 4334, "end": 4362, "loc": { "start": { "line": 139, "column": 18 }, "end": { "line": 139, "column": 46 }, "identifierName": "getDumpReaderForExternalData" }, "name": "getDumpReaderForExternalData" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4363, "end": 4367, "loc": { "start": { "line": 139, "column": 47 }, "end": { "line": 139, "column": 51 }, "identifierName": "data" }, "name": "data" } ] }, "property": { "type": "Identifier", "start": 4369, "end": 4377, "loc": { "start": { "line": 139, "column": 53 }, "end": { "line": 139, "column": 61 }, "identifierName": "validate" }, "name": "validate" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4381, "end": 4467, "loc": { "start": { "line": 139, "column": 65 }, "end": { "line": 141, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 4396, "end": 4456, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 72 } }, "argument": { "type": "CallExpression", "start": 4403, "end": 4455, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 4403, "end": 4422, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 38 } }, "object": { "type": "Identifier", "start": 4403, "end": 4418, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 34 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult" }, "property": { "type": "Identifier", "start": 4419, "end": 4422, "loc": { "start": { "line": 140, "column": 35 }, "end": { "line": 140, "column": 38 }, "identifierName": "bad" }, "name": "bad" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4423, "end": 4454, "loc": { "start": { "line": 140, "column": 39 }, "end": { "line": 140, "column": 70 } }, "extra": { "rawValue": "dump-reader-failed-validation", "raw": "\"dump-reader-failed-validation\"" }, "value": "dump-reader-failed-validation" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 4477, "end": 4507, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 38 } }, "argument": { "type": "CallExpression", "start": 4484, "end": 4506, "loc": { "start": { "line": 142, "column": 15 }, "end": { "line": 142, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 4484, "end": 4504, "loc": { "start": { "line": 142, "column": 15 }, "end": { "line": 142, "column": 35 } }, "object": { "type": "Identifier", "start": 4484, "end": 4499, "loc": { "start": { "line": 142, "column": 15 }, "end": { "line": 142, "column": 30 }, "identifierName": "ExplainedResult" }, "name": "ExplainedResult" }, "property": { "type": "Identifier", "start": 4500, "end": 4504, "loc": { "start": { "line": 142, "column": 31 }, "end": { "line": 142, "column": 35 }, "identifierName": "good" }, "name": "good" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Verifies the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 4058, "end": 4171, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 132, "column": 7 } } } ], "trailingComments": [ { "type": "CommentLine", "value": "////// Subclasses interface ////////", "start": 4522, "end": 4561, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this game can be saved on disc\r\n * @returns {boolean}\r\n ", "start": 4569, "end": 4658, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 150, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4664, "end": 4715, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 153, "column": 9 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4664, "end": 4674, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 14 }, "identifierName": "isSaveable" }, "name": "isSaveable", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4677, "end": 4715, "loc": { "start": { "line": 151, "column": 17 }, "end": { "line": 153, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 4692, "end": 4704, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 152, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 4699, "end": 4703, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 23 } }, "value": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": "////// Subclasses interface ////////", "start": 4522, "end": 4561, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this game can be saved on disc\r\n * @returns {boolean}\r\n ", "start": 4569, "end": 4658, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 150, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the statistics of the savegame\r\n * @returns {import(\"./savegame_typedefs\").SavegameStats}\r\n ", "start": 4725, "end": 4859, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 157, "column": 11 } } } ] }, { "type": "ClassMethod", "start": 4865, "end": 4929, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 160, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4865, "end": 4878, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 17 }, "identifierName": "getStatistics" }, "name": "getStatistics", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4881, "end": 4929, "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 160, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4892, "end": 4922, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 38 } }, "argument": { "type": "MemberExpression", "start": 4899, "end": 4921, "loc": { "start": { "line": 159, "column": 15 }, "end": { "line": 159, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4899, "end": 4915, "loc": { "start": { "line": 159, "column": 15 }, "end": { "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4899, "end": 4903, "loc": { "start": { "line": 159, "column": 15 }, "end": { "line": 159, "column": 19 } } }, "property": { "type": "Identifier", "start": 4904, "end": 4915, "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 31 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 4916, "end": 4921, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 37 }, "identifierName": "stats" }, "name": "stats" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the statistics of the savegame\r\n * @returns {import(\"./savegame_typedefs\").SavegameStats}\r\n ", "start": 4725, "end": 4859, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 157, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the *real* last update of the savegame, not the one of the metadata\r\n * which could also be the servers one\r\n ", "start": 4937, "end": 5077, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 165, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5083, "end": 5156, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 168, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5083, "end": 5100, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 21 }, "identifierName": "getRealLastUpdate" }, "name": "getRealLastUpdate", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5103, "end": 5156, "loc": { "start": { "line": 166, "column": 24 }, "end": { "line": 168, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 5114, "end": 5149, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 43 } }, "argument": { "type": "MemberExpression", "start": 5121, "end": 5148, "loc": { "start": { "line": 167, "column": 15 }, "end": { "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", "start": 5121, "end": 5137, "loc": { "start": { "line": 167, "column": 15 }, "end": { "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", "start": 5121, "end": 5125, "loc": { "start": { "line": 167, "column": 15 }, "end": { "line": 167, "column": 19 } } }, "property": { "type": "Identifier", "start": 5126, "end": 5137, "loc": { "start": { "line": 167, "column": 20 }, "end": { "line": 167, "column": 31 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 5138, "end": 5148, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 42 }, "identifierName": "lastUpdate" }, "name": "lastUpdate" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the *real* last update of the savegame, not the one of the metadata\r\n * which could also be the servers one\r\n ", "start": 4937, "end": 5077, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 165, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this game has a serialized game dump\r\n ", "start": 5164, "end": 5232, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 172, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5238, "end": 5346, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5238, "end": 5249, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 15 }, "identifierName": "hasGameDump" }, "name": "hasGameDump", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5252, "end": 5346, "loc": { "start": { "line": 173, "column": 18 }, "end": { "line": 175, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 5263, "end": 5339, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 84 } }, "argument": { "type": "LogicalExpression", "start": 5270, "end": 5338, "loc": { "start": { "line": 174, "column": 15 }, "end": { "line": 174, "column": 83 } }, "left": { "type": "UnaryExpression", "start": 5270, "end": 5293, "loc": { "start": { "line": 174, "column": 15 }, "end": { "line": 174, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 5271, "end": 5293, "loc": { "start": { "line": 174, "column": 16 }, "end": { "line": 174, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5272, "end": 5293, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5272, "end": 5288, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5272, "end": 5276, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, "property": { "type": "Identifier", "start": 5277, "end": 5288, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 33 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 5289, "end": 5293, "loc": { "start": { "line": 174, "column": 34 }, "end": { "line": 174, "column": 38 }, "identifierName": "dump" }, "name": "dump" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 5297, "end": 5338, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 83 } }, "left": { "type": "MemberExpression", "start": 5297, "end": 5334, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 79 } }, "object": { "type": "MemberExpression", "start": 5297, "end": 5327, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 72 } }, "object": { "type": "MemberExpression", "start": 5297, "end": 5318, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 63 } }, "object": { "type": "MemberExpression", "start": 5297, "end": 5313, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 58 } }, "object": { "type": "ThisExpression", "start": 5297, "end": 5301, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 46 } } }, "property": { "type": "Identifier", "start": 5302, "end": 5313, "loc": { "start": { "line": 174, "column": 47 }, "end": { "line": 174, "column": 58 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 5314, "end": 5318, "loc": { "start": { "line": 174, "column": 59 }, "end": { "line": 174, "column": 63 }, "identifierName": "dump" }, "name": "dump" }, "computed": false }, "property": { "type": "Identifier", "start": 5319, "end": 5327, "loc": { "start": { "line": 174, "column": 64 }, "end": { "line": 174, "column": 72 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 5328, "end": 5334, "loc": { "start": { "line": 174, "column": 73 }, "end": { "line": 174, "column": 79 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5337, "end": 5338, "loc": { "start": { "line": 174, "column": 82 }, "end": { "line": 174, "column": 83 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this game has a serialized game dump\r\n ", "start": 5164, "end": 5232, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 172, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the current game dump\r\n * @returns {import(\"./savegame_typedefs\").SerializedGame}\r\n ", "start": 5354, "end": 5468, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 180, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5474, "end": 5538, "loc": { "start": { "line": 181, "column": 4 }, "end": { "line": 183, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5474, "end": 5488, "loc": { "start": { "line": 181, "column": 4 }, "end": { "line": 181, "column": 18 }, "identifierName": "getCurrentDump" }, "name": "getCurrentDump", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5491, "end": 5538, "loc": { "start": { "line": 181, "column": 21 }, "end": { "line": 183, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 5502, "end": 5531, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 37 } }, "argument": { "type": "MemberExpression", "start": 5509, "end": 5530, "loc": { "start": { "line": 182, "column": 15 }, "end": { "line": 182, "column": 36 } }, "object": { "type": "MemberExpression", "start": 5509, "end": 5525, "loc": { "start": { "line": 182, "column": 15 }, "end": { "line": 182, "column": 31 } }, "object": { "type": "ThisExpression", "start": 5509, "end": 5513, "loc": { "start": { "line": 182, "column": 15 }, "end": { "line": 182, "column": 19 } } }, "property": { "type": "Identifier", "start": 5514, "end": 5525, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 182, "column": 31 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 5526, "end": 5530, "loc": { "start": { "line": 182, "column": 32 }, "end": { "line": 182, "column": 36 }, "identifierName": "dump" }, "name": "dump" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the current game dump\r\n * @returns {import(\"./savegame_typedefs\").SerializedGame}\r\n ", "start": 5354, "end": 5468, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 180, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access the data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5546, "end": 5643, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5649, "end": 5923, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 196, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5649, "end": 5662, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 17 }, "identifierName": "getDumpReader" }, "name": "getDumpReader", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5665, "end": 5923, "loc": { "start": { "line": 189, "column": 20 }, "end": { "line": 196, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 5676, "end": 5782, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 192, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 5680, "end": 5702, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 34 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5681, "end": 5702, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5681, "end": 5697, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5681, "end": 5685, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 17 } } }, "property": { "type": "Identifier", "start": 5686, "end": 5697, "loc": { "start": { "line": 190, "column": 18 }, "end": { "line": 190, "column": 29 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 5698, "end": 5702, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 34 }, "identifierName": "dump" }, "name": "dump" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 5704, "end": 5782, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 192, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5719, "end": 5771, "loc": { "start": { "line": 191, "column": 12 }, "end": { "line": 191, "column": 64 } }, "expression": { "type": "CallExpression", "start": 5719, "end": 5770, "loc": { "start": { "line": 191, "column": 12 }, "end": { "line": 191, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 5719, "end": 5730, "loc": { "start": { "line": 191, "column": 12 }, "end": { "line": 191, "column": 23 } }, "object": { "type": "Identifier", "start": 5719, "end": 5725, "loc": { "start": { "line": 191, "column": 12 }, "end": { "line": 191, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 5726, "end": 5730, "loc": { "start": { "line": 191, "column": 19 }, "end": { "line": 191, "column": 23 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5731, "end": 5769, "loc": { "start": { "line": 191, "column": 24 }, "end": { "line": 191, "column": 62 } }, "extra": { "rawValue": "Getting reader on null-savegame dump", "raw": "\"Getting reader on null-savegame dump\"" }, "value": "Getting reader on null-savegame dump" } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 5794, "end": 5873, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5800, "end": 5872, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 86 } }, "id": { "type": "Identifier", "start": 5800, "end": 5803, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 17 }, "identifierName": "cls" }, "name": "cls" }, "init": { "type": "CallExpression", "start": 5837, "end": 5872, "loc": { "start": { "line": 194, "column": 51 }, "end": { "line": 194, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 5837, "end": 5870, "loc": { "start": { "line": 194, "column": 51 }, "end": { "line": 194, "column": 84 } }, "object": { "type": "MemberExpression", "start": 5838, "end": 5854, "loc": { "start": { "line": 194, "column": 52 }, "end": { "line": 194, "column": 68 } }, "object": { "type": "ThisExpression", "start": 5838, "end": 5842, "loc": { "start": { "line": 194, "column": 52 }, "end": { "line": 194, "column": 56 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5843, "end": 5854, "loc": { "start": { "line": 194, "column": 57 }, "end": { "line": 194, "column": 68 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 5837 } }, "property": { "type": "Identifier", "start": 5856, "end": 5870, "loc": { "start": { "line": 194, "column": 70 }, "end": { "line": 194, "column": 84 }, "identifierName": "getReaderClass" }, "name": "getReaderClass" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {typeof Savegame} ", "start": 5806, "end": 5836, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 50 } } } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 5883, "end": 5916, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 41 } }, "argument": { "type": "NewExpression", "start": 5890, "end": 5915, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 40 } }, "callee": { "type": "Identifier", "start": 5894, "end": 5897, "loc": { "start": { "line": 195, "column": 19 }, "end": { "line": 195, "column": 22 }, "identifierName": "cls" }, "name": "cls" }, "arguments": [ { "type": "MemberExpression", "start": 5898, "end": 5914, "loc": { "start": { "line": 195, "column": 23 }, "end": { "line": 195, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5898, "end": 5902, "loc": { "start": { "line": 195, "column": 23 }, "end": { "line": 195, "column": 27 } } }, "property": { "type": "Identifier", "start": 5903, "end": 5914, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 39 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access the data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5546, "end": 5643, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access external data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5931, "end": 6033, "loc": { "start": { "line": 198, "column": 4 }, "end": { "line": 201, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6039, "end": 6194, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 205, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6039, "end": 6067, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 32 }, "identifierName": "getDumpReaderForExternalData" }, "name": "getDumpReaderForExternalData", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6068, "end": 6072, "loc": { "start": { "line": 202, "column": 33 }, "end": { "line": 202, "column": 37 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 6074, "end": 6194, "loc": { "start": { "line": 202, "column": 39 }, "end": { "line": 205, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6085, "end": 6143, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 66 } }, "expression": { "type": "CallExpression", "start": 6085, "end": 6142, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 65 } }, "callee": { "type": "Identifier", "start": 6085, "end": 6091, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "MemberExpression", "start": 6092, "end": 6104, "loc": { "start": { "line": 203, "column": 15 }, "end": { "line": 203, "column": 27 } }, "object": { "type": "Identifier", "start": 6092, "end": 6096, "loc": { "start": { "line": 203, "column": 15 }, "end": { "line": 203, "column": 19 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 6097, "end": 6104, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 27 }, "identifierName": "version" }, "name": "version" }, "computed": false }, { "type": "StringLiteral", "start": 6106, "end": 6141, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 64 } }, "extra": { "rawValue": "External data contains no version", "raw": "\"External data contains no version\"" }, "value": "External data contains no version" } ] } }, { "type": "ReturnStatement", "start": 6153, "end": 6187, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 42 } }, "argument": { "type": "CallExpression", "start": 6160, "end": 6186, "loc": { "start": { "line": 204, "column": 15 }, "end": { "line": 204, "column": 41 } }, "callee": { "type": "Identifier", "start": 6160, "end": 6180, "loc": { "start": { "line": 204, "column": 15 }, "end": { "line": 204, "column": 35 }, "identifierName": "getSavegameInterface" }, "name": "getSavegameInterface" }, "arguments": [ { "type": "Identifier", "start": 6181, "end": 6185, "loc": { "start": { "line": 204, "column": 36 }, "end": { "line": 204, "column": 40 }, "identifierName": "data" }, "name": "data" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access external data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5931, "end": 6033, "loc": { "start": { "line": 198, "column": 4 }, "end": { "line": 201, "column": 7 } } } ], "trailingComments": [ { "type": "CommentLine", "value": "/////// Public Interface ///////////", "start": 6202, "end": 6240, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 42 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the last update field so we can send the savegame to the server,\r\n * WITHOUT Saving!\r\n ", "start": 6248, "end": 6365, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 212, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6371, "end": 6444, "loc": { "start": { "line": 213, "column": 4 }, "end": { "line": 215, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6371, "end": 6384, "loc": { "start": { "line": 213, "column": 4 }, "end": { "line": 213, "column": 17 }, "identifierName": "setLastUpdate" }, "name": "setLastUpdate", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6385, "end": 6389, "loc": { "start": { "line": 213, "column": 18 }, "end": { "line": 213, "column": 22 }, "identifierName": "time" }, "name": "time" } ], "body": { "type": "BlockStatement", "start": 6391, "end": 6444, "loc": { "start": { "line": 213, "column": 24 }, "end": { "line": 215, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6402, "end": 6437, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 6402, "end": 6436, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6402, "end": 6429, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 35 } }, "object": { "type": "MemberExpression", "start": 6402, "end": 6418, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 24 } }, "object": { "type": "ThisExpression", "start": 6402, "end": 6406, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 12 } } }, "property": { "type": "Identifier", "start": 6407, "end": 6418, "loc": { "start": { "line": 214, "column": 13 }, "end": { "line": 214, "column": 24 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 6419, "end": 6429, "loc": { "start": { "line": 214, "column": 25 }, "end": { "line": 214, "column": 35 }, "identifierName": "lastUpdate" }, "name": "lastUpdate" }, "computed": false }, "right": { "type": "Identifier", "start": 6432, "end": 6436, "loc": { "start": { "line": 214, "column": 38 }, "end": { "line": 214, "column": 42 }, "identifierName": "time" }, "name": "time" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": "/////// Public Interface ///////////", "start": 6202, "end": 6240, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 42 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the last update field so we can send the savegame to the server,\r\n * WITHOUT Saving!\r\n ", "start": 6248, "end": 6365, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 212, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../game/root\").GameRoot} root\r\n ", "start": 6452, "end": 6526, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 220, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6532, "end": 7394, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 248, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6532, "end": 6542, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 14 }, "identifierName": "updateData" }, "name": "updateData", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6543, "end": 6547, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 19 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 6549, "end": 7394, "loc": { "start": { "line": 221, "column": 21 }, "end": { "line": 248, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 6599, "end": 6643, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6605, "end": 6642, "loc": { "start": { "line": 223, "column": 14 }, "end": { "line": 223, "column": 51 } }, "id": { "type": "Identifier", "start": 6605, "end": 6615, "loc": { "start": { "line": 223, "column": 14 }, "end": { "line": 223, "column": 24 }, "identifierName": "serializer" }, "name": "serializer", "leadingComments": null }, "init": { "type": "NewExpression", "start": 6618, "end": 6642, "loc": { "start": { "line": 223, "column": 27 }, "end": { "line": 223, "column": 51 } }, "callee": { "type": "Identifier", "start": 6622, "end": 6640, "loc": { "start": { "line": 223, "column": 31 }, "end": { "line": 223, "column": 49 }, "identifierName": "SavegameSerializer" }, "name": "SavegameSerializer" }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Construct a new serializer", "start": 6560, "end": 6589, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 37 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " let timer = performance.now();", "start": 6655, "end": 6688, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 41 } } } ] }, { "type": "VariableDeclaration", "start": 6698, "end": 6753, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6704, "end": 6752, "loc": { "start": { "line": 226, "column": 14 }, "end": { "line": 226, "column": 62 } }, "id": { "type": "Identifier", "start": 6704, "end": 6708, "loc": { "start": { "line": 226, "column": 14 }, "end": { "line": 226, "column": 18 }, "identifierName": "dump" }, "name": "dump", "leadingComments": null }, "init": { "type": "CallExpression", "start": 6711, "end": 6752, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 6711, "end": 6746, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 56 } }, "object": { "type": "Identifier", "start": 6711, "end": 6721, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 31 }, "identifierName": "serializer" }, "name": "serializer" }, "property": { "type": "Identifier", "start": 6722, "end": 6746, "loc": { "start": { "line": 226, "column": 32 }, "end": { "line": 226, "column": 56 }, "identifierName": "generateDumpFromGameRoot" }, "name": "generateDumpFromGameRoot" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6747, "end": 6751, "loc": { "start": { "line": 226, "column": 57 }, "end": { "line": 226, "column": 61 }, "identifierName": "root" }, "name": "root" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " let timer = performance.now();", "start": 6655, "end": 6688, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 41 } } } ] }, { "type": "IfStatement", "start": 6763, "end": 6813, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 229, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 6767, "end": 6772, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6768, "end": 6772, "loc": { "start": { "line": 227, "column": 13 }, "end": { "line": 227, "column": 17 }, "identifierName": "dump" }, "name": "dump" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 6774, "end": 6813, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 229, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 6789, "end": 6802, "loc": { "start": { "line": 228, "column": 12 }, "end": { "line": 228, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 6796, "end": 6801, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 24 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 6825, "end": 6880, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6831, "end": 6879, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 62 } }, "id": { "type": "Identifier", "start": 6831, "end": 6841, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 24 }, "identifierName": "shadowData" }, "name": "shadowData" }, "init": { "type": "CallExpression", "start": 6844, "end": 6879, "loc": { "start": { "line": 231, "column": 27 }, "end": { "line": 231, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 6844, "end": 6857, "loc": { "start": { "line": 231, "column": 27 }, "end": { "line": 231, "column": 40 } }, "object": { "type": "Identifier", "start": 6844, "end": 6850, "loc": { "start": { "line": 231, "column": 27 }, "end": { "line": 231, "column": 33 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 6851, "end": 6857, "loc": { "start": { "line": 231, "column": 34 }, "end": { "line": 231, "column": 40 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 6858, "end": 6860, "loc": { "start": { "line": 231, "column": 41 }, "end": { "line": 231, "column": 43 } }, "properties": [] }, { "type": "MemberExpression", "start": 6862, "end": 6878, "loc": { "start": { "line": 231, "column": 45 }, "end": { "line": 231, "column": 61 } }, "object": { "type": "ThisExpression", "start": 6862, "end": 6866, "loc": { "start": { "line": 231, "column": 45 }, "end": { "line": 231, "column": 49 } } }, "property": { "type": "Identifier", "start": 6867, "end": 6878, "loc": { "start": { "line": 231, "column": 50 }, "end": { "line": 231, "column": 61 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6890, "end": 6913, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 6890, "end": 6912, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6890, "end": 6905, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 23 } }, "object": { "type": "Identifier", "start": 6890, "end": 6900, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 18 }, "identifierName": "shadowData" }, "name": "shadowData" }, "property": { "type": "Identifier", "start": 6901, "end": 6905, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 23 }, "identifierName": "dump" }, "name": "dump" }, "computed": false }, "right": { "type": "Identifier", "start": 6908, "end": 6912, "loc": { "start": { "line": 232, "column": 26 }, "end": { "line": 232, "column": 30 }, "identifierName": "dump" }, "name": "dump" } } }, { "type": "ExpressionStatement", "start": 6923, "end": 6968, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 6923, "end": 6967, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6923, "end": 6944, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 29 } }, "object": { "type": "Identifier", "start": 6923, "end": 6933, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 18 }, "identifierName": "shadowData" }, "name": "shadowData" }, "property": { "type": "Identifier", "start": 6934, "end": 6944, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 29 }, "identifierName": "lastUpdate" }, "name": "lastUpdate" }, "computed": false }, "right": { "type": "CallExpression", "start": 6947, "end": 6967, "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 6947, "end": 6965, "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 50 } }, "object": { "type": "NewExpression", "start": 6947, "end": 6957, "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 42 } }, "callee": { "type": "Identifier", "start": 6951, "end": 6955, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 40 }, "identifierName": "Date" }, "name": "Date" }, "arguments": [] }, "property": { "type": "Identifier", "start": 6958, "end": 6965, "loc": { "start": { "line": 233, "column": 43 }, "end": { "line": 233, "column": 50 }, "identifierName": "getTime" }, "name": "getTime" }, "computed": false }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 6978, "end": 7024, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 6978, "end": 7023, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6978, "end": 6996, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 26 } }, "object": { "type": "Identifier", "start": 6978, "end": 6988, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 18 }, "identifierName": "shadowData" }, "name": "shadowData" }, "property": { "type": "Identifier", "start": 6989, "end": 6996, "loc": { "start": { "line": 234, "column": 19 }, "end": { "line": 234, "column": 26 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "CallExpression", "start": 6999, "end": 7023, "loc": { "start": { "line": 234, "column": 29 }, "end": { "line": 234, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 6999, "end": 7021, "loc": { "start": { "line": 234, "column": 29 }, "end": { "line": 234, "column": 51 } }, "object": { "type": "ThisExpression", "start": 6999, "end": 7003, "loc": { "start": { "line": 234, "column": 29 }, "end": { "line": 234, "column": 33 } } }, "property": { "type": "Identifier", "start": 7004, "end": 7021, "loc": { "start": { "line": 234, "column": 34 }, "end": { "line": 234, "column": 51 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false }, "arguments": [] } } }, { "type": "VariableDeclaration", "start": 7036, "end": 7097, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7042, "end": 7096, "loc": { "start": { "line": 236, "column": 14 }, "end": { "line": 236, "column": 68 } }, "id": { "type": "Identifier", "start": 7042, "end": 7048, "loc": { "start": { "line": 236, "column": 14 }, "end": { "line": 236, "column": 20 }, "identifierName": "reader" }, "name": "reader" }, "init": { "type": "CallExpression", "start": 7051, "end": 7096, "loc": { "start": { "line": 236, "column": 23 }, "end": { "line": 236, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 7051, "end": 7084, "loc": { "start": { "line": 236, "column": 23 }, "end": { "line": 236, "column": 56 } }, "object": { "type": "ThisExpression", "start": 7051, "end": 7055, "loc": { "start": { "line": 236, "column": 23 }, "end": { "line": 236, "column": 27 } } }, "property": { "type": "Identifier", "start": 7056, "end": 7084, "loc": { "start": { "line": 236, "column": 28 }, "end": { "line": 236, "column": 56 }, "identifierName": "getDumpReaderForExternalData" }, "name": "getDumpReaderForExternalData" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7085, "end": 7095, "loc": { "start": { "line": 236, "column": 57 }, "end": { "line": 236, "column": 67 }, "identifierName": "shadowData" }, "name": "shadowData" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Validate (not in prod though)", "start": 7109, "end": 7141, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 40 } } } ] }, { "type": "IfStatement", "start": 7151, "end": 7323, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 244, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 7155, "end": 7168, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7156, "end": 7168, "loc": { "start": { "line": 239, "column": 13 }, "end": { "line": 239, "column": 25 }, "identifierName": "G_IS_RELEASE" }, "name": "G_IS_RELEASE", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7170, "end": 7323, "loc": { "start": { "line": 239, "column": 27 }, "end": { "line": 244, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 7185, "end": 7228, "loc": { "start": { "line": 240, "column": 12 }, "end": { "line": 240, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7191, "end": 7227, "loc": { "start": { "line": 240, "column": 18 }, "end": { "line": 240, "column": 54 } }, "id": { "type": "Identifier", "start": 7191, "end": 7207, "loc": { "start": { "line": 240, "column": 18 }, "end": { "line": 240, "column": 34 }, "identifierName": "validationResult" }, "name": "validationResult" }, "init": { "type": "CallExpression", "start": 7210, "end": 7227, "loc": { "start": { "line": 240, "column": 37 }, "end": { "line": 240, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 7210, "end": 7225, "loc": { "start": { "line": 240, "column": 37 }, "end": { "line": 240, "column": 52 } }, "object": { "type": "Identifier", "start": 7210, "end": 7216, "loc": { "start": { "line": 240, "column": 37 }, "end": { "line": 240, "column": 43 }, "identifierName": "reader" }, "name": "reader" }, "property": { "type": "Identifier", "start": 7217, "end": 7225, "loc": { "start": { "line": 240, "column": 44 }, "end": { "line": 240, "column": 52 }, "identifierName": "validate" }, "name": "validate" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 7242, "end": 7312, "loc": { "start": { "line": 241, "column": 12 }, "end": { "line": 243, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 7246, "end": 7263, "loc": { "start": { "line": 241, "column": 16 }, "end": { "line": 241, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7247, "end": 7263, "loc": { "start": { "line": 241, "column": 17 }, "end": { "line": 241, "column": 33 }, "identifierName": "validationResult" }, "name": "validationResult" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 7265, "end": 7312, "loc": { "start": { "line": 241, "column": 35 }, "end": { "line": 243, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 7284, "end": 7297, "loc": { "start": { "line": 242, "column": 16 }, "end": { "line": 242, "column": 29 } }, "argument": { "type": "BooleanLiteral", "start": 7291, "end": 7296, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 28 } }, "value": false } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Validate (not in prod though)", "start": 7109, "end": 7141, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Save data", "start": 7335, "end": 7347, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 20 } } } ] }, { "type": "ExpressionStatement", "start": 7357, "end": 7387, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 7357, "end": 7386, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7357, "end": 7373, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7357, "end": 7361, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7362, "end": 7373, "loc": { "start": { "line": 247, "column": 13 }, "end": { "line": 247, "column": 24 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 7376, "end": 7386, "loc": { "start": { "line": 247, "column": 27 }, "end": { "line": 247, "column": 37 }, "identifierName": "shadowData" }, "name": "shadowData" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Save data", "start": 7335, "end": 7347, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 20 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../game/root\").GameRoot} root\r\n ", "start": 6452, "end": 6526, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 220, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Writes the savegame as well as its metadata\r\n ", "start": 7402, "end": 7466, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7472, "end": 7574, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 255, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7472, "end": 7496, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 28 }, "identifierName": "writeSavegameAndMetadata" }, "name": "writeSavegameAndMetadata", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7499, "end": 7574, "loc": { "start": { "line": 253, "column": 31 }, "end": { "line": 255, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7510, "end": 7567, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 65 } }, "argument": { "type": "CallExpression", "start": 7517, "end": 7566, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 7517, "end": 7539, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 37 } }, "object": { "type": "CallExpression", "start": 7517, "end": 7534, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 7517, "end": 7532, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 30 } }, "object": { "type": "ThisExpression", "start": 7517, "end": 7521, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 19 } } }, "property": { "type": "Identifier", "start": 7522, "end": 7532, "loc": { "start": { "line": 254, "column": 20 }, "end": { "line": 254, "column": 30 }, "identifierName": "writeAsync" }, "name": "writeAsync" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 7535, "end": 7539, "loc": { "start": { "line": 254, "column": 33 }, "end": { "line": 254, "column": 37 }, "identifierName": "then" }, "name": "then" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7540, "end": 7565, "loc": { "start": { "line": 254, "column": 38 }, "end": { "line": 254, "column": 63 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 7546, "end": 7565, "loc": { "start": { "line": 254, "column": 44 }, "end": { "line": 254, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 7546, "end": 7563, "loc": { "start": { "line": 254, "column": 44 }, "end": { "line": 254, "column": 61 } }, "object": { "type": "ThisExpression", "start": 7546, "end": 7550, "loc": { "start": { "line": 254, "column": 44 }, "end": { "line": 254, "column": 48 } } }, "property": { "type": "Identifier", "start": 7551, "end": 7563, "loc": { "start": { "line": 254, "column": 49 }, "end": { "line": 254, "column": 61 }, "identifierName": "saveMetadata" }, "name": "saveMetadata" }, "computed": false }, "arguments": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Writes the savegame as well as its metadata\r\n ", "start": 7402, "end": 7466, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the savegames metadata\r\n ", "start": 7582, "end": 7633, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7639, "end": 8020, "loc": { "start": { "line": 260, "column": 4 }, "end": { "line": 270, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7639, "end": 7651, "loc": { "start": { "line": 260, "column": 4 }, "end": { "line": 260, "column": 16 }, "identifierName": "saveMetadata" }, "name": "saveMetadata", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7654, "end": 8020, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 270, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7665, "end": 7716, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 7665, "end": 7715, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7665, "end": 7692, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 35 } }, "object": { "type": "MemberExpression", "start": 7665, "end": 7681, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7665, "end": 7669, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 12 } } }, "property": { "type": "Identifier", "start": 7670, "end": 7681, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 261, "column": 24 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "computed": false }, "property": { "type": "Identifier", "start": 7682, "end": 7692, "loc": { "start": { "line": 261, "column": 25 }, "end": { "line": 261, "column": 35 }, "identifierName": "lastUpdate" }, "name": "lastUpdate" }, "computed": false }, "right": { "type": "CallExpression", "start": 7695, "end": 7715, "loc": { "start": { "line": 261, "column": 38 }, "end": { "line": 261, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 7695, "end": 7713, "loc": { "start": { "line": 261, "column": 38 }, "end": { "line": 261, "column": 56 } }, "object": { "type": "NewExpression", "start": 7695, "end": 7705, "loc": { "start": { "line": 261, "column": 38 }, "end": { "line": 261, "column": 48 } }, "callee": { "type": "Identifier", "start": 7699, "end": 7703, "loc": { "start": { "line": 261, "column": 42 }, "end": { "line": 261, "column": 46 }, "identifierName": "Date" }, "name": "Date" }, "arguments": [] }, "property": { "type": "Identifier", "start": 7706, "end": 7713, "loc": { "start": { "line": 261, "column": 49 }, "end": { "line": 261, "column": 56 }, "identifierName": "getTime" }, "name": "getTime" }, "computed": false }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 7726, "end": 7778, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 7726, "end": 7777, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7726, "end": 7750, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 32 } }, "object": { "type": "MemberExpression", "start": 7726, "end": 7742, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7726, "end": 7730, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 12 } } }, "property": { "type": "Identifier", "start": 7731, "end": 7742, "loc": { "start": { "line": 262, "column": 13 }, "end": { "line": 262, "column": 24 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "computed": false }, "property": { "type": "Identifier", "start": 7743, "end": 7750, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "column": 32 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "right": { "type": "CallExpression", "start": 7753, "end": 7777, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 7753, "end": 7775, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "column": 57 } }, "object": { "type": "ThisExpression", "start": 7753, "end": 7757, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "column": 39 } } }, "property": { "type": "Identifier", "start": 7758, "end": 7775, "loc": { "start": { "line": 262, "column": 40 }, "end": { "line": 262, "column": 57 }, "identifierName": "getCurrentVersion" }, "name": "getCurrentVersion" }, "computed": false }, "arguments": [] } } }, { "type": "IfStatement", "start": 7788, "end": 7960, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 267, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 7792, "end": 7811, "loc": { "start": { "line": 263, "column": 12 }, "end": { "line": 263, "column": 31 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 7793, "end": 7811, "loc": { "start": { "line": 263, "column": 13 }, "end": { "line": 263, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 7793, "end": 7809, "loc": { "start": { "line": 263, "column": 13 }, "end": { "line": 263, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7793, "end": 7797, "loc": { "start": { "line": 263, "column": 13 }, "end": { "line": 263, "column": 17 } } }, "property": { "type": "Identifier", "start": 7798, "end": 7809, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 263, "column": 29 }, "identifierName": "hasGameDump" }, "name": "hasGameDump" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 7813, "end": 7866, "loc": { "start": { "line": 263, "column": 33 }, "end": { "line": 265, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 7828, "end": 7855, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 7828, "end": 7854, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7828, "end": 7850, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7828, "end": 7844, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7828, "end": 7832, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 16 } } }, "property": { "type": "Identifier", "start": 7833, "end": 7844, "loc": { "start": { "line": 264, "column": 17 }, "end": { "line": 264, "column": 28 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "computed": false }, "property": { "type": "Identifier", "start": 7845, "end": 7850, "loc": { "start": { "line": 264, "column": 29 }, "end": { "line": 264, "column": 34 }, "identifierName": "level" }, "name": "level" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 7853, "end": 7854, "loc": { "start": { "line": 264, "column": 37 }, "end": { "line": 264, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7872, "end": 7960, "loc": { "start": { "line": 265, "column": 15 }, "end": { "line": 267, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 7887, "end": 7949, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 7887, "end": 7948, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7887, "end": 7909, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7887, "end": 7903, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7887, "end": 7891, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 16 } } }, "property": { "type": "Identifier", "start": 7892, "end": 7903, "loc": { "start": { "line": 266, "column": 17 }, "end": { "line": 266, "column": 28 }, "identifierName": "metaDataRef" }, "name": "metaDataRef" }, "computed": false }, "property": { "type": "Identifier", "start": 7904, "end": 7909, "loc": { "start": { "line": 266, "column": 29 }, "end": { "line": 266, "column": 34 }, "identifierName": "level" }, "name": "level" }, "computed": false }, "right": { "type": "MemberExpression", "start": 7912, "end": 7948, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 73 } }, "object": { "type": "MemberExpression", "start": 7912, "end": 7942, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 67 } }, "object": { "type": "MemberExpression", "start": 7912, "end": 7933, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 58 } }, "object": { "type": "MemberExpression", "start": 7912, "end": 7928, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 53 } }, "object": { "type": "ThisExpression", "start": 7912, "end": 7916, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 41 } } }, "property": { "type": "Identifier", "start": 7917, "end": 7928, "loc": { "start": { "line": 266, "column": 42 }, "end": { "line": 266, "column": 53 }, "identifierName": "currentData" }, "name": "currentData" }, "computed": false }, "property": { "type": "Identifier", "start": 7929, "end": 7933, "loc": { "start": { "line": 266, "column": 54 }, "end": { "line": 266, "column": 58 }, "identifierName": "dump" }, "name": "dump" }, "computed": false }, "property": { "type": "Identifier", "start": 7934, "end": 7942, "loc": { "start": { "line": 266, "column": 59 }, "end": { "line": 266, "column": 67 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 7943, "end": 7948, "loc": { "start": { "line": 266, "column": 68 }, "end": { "line": 266, "column": 73 }, "identifierName": "level" }, "name": "level" }, "computed": false } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 7972, "end": 8013, "loc": { "start": { "line": 269, "column": 8 }, "end": { "line": 269, "column": 49 } }, "argument": { "type": "CallExpression", "start": 7979, "end": 8012, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 7979, "end": 8010, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 46 } }, "object": { "type": "MemberExpression", "start": 7979, "end": 7999, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 35 } }, "object": { "type": "MemberExpression", "start": 7979, "end": 7987, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 23 } }, "object": { "type": "ThisExpression", "start": 7979, "end": 7983, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 19 } } }, "property": { "type": "Identifier", "start": 7984, "end": 7987, "loc": { "start": { "line": 269, "column": 20 }, "end": { "line": 269, "column": 23 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 7988, "end": 7999, "loc": { "start": { "line": 269, "column": 24 }, "end": { "line": 269, "column": 35 }, "identifierName": "savegameMgr" }, "name": "savegameMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 8000, "end": 8010, "loc": { "start": { "line": 269, "column": 36 }, "end": { "line": 269, "column": 46 }, "identifierName": "writeAsync" }, "name": "writeAsync" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the savegames metadata\r\n ", "start": 7582, "end": 7633, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @see ReadWriteProxy.writeAsync\r\n * @returns {Promise}\r\n ", "start": 8028, "end": 8111, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 275, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8117, "end": 8292, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 281, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8117, "end": 8127, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 276, "column": 14 }, "identifierName": "writeAsync" }, "name": "writeAsync", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8130, "end": 8292, "loc": { "start": { "line": 276, "column": 17 }, "end": { "line": 281, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8141, "end": 8249, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 279, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 8145, "end": 8196, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 63 } }, "left": { "type": "Identifier", "start": 8145, "end": 8153, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 8157, "end": 8196, "loc": { "start": { "line": 277, "column": 24 }, "end": { "line": 277, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8157, "end": 8175, "loc": { "start": { "line": 277, "column": 24 }, "end": { "line": 277, "column": 42 } }, "object": { "type": "Identifier", "start": 8157, "end": 8169, "loc": { "start": { "line": 277, "column": 24 }, "end": { "line": 277, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 8170, "end": 8175, "loc": { "start": { "line": 277, "column": 37 }, "end": { "line": 277, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 8176, "end": 8196, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 277, "column": 63 }, "identifierName": "disableSavegameWrite" }, "name": "disableSavegameWrite" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 8198, "end": 8249, "loc": { "start": { "line": 277, "column": 65 }, "end": { "line": 279, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 8213, "end": 8238, "loc": { "start": { "line": 278, "column": 12 }, "end": { "line": 278, "column": 37 } }, "argument": { "type": "CallExpression", "start": 8220, "end": 8237, "loc": { "start": { "line": 278, "column": 19 }, "end": { "line": 278, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 8220, "end": 8235, "loc": { "start": { "line": 278, "column": 19 }, "end": { "line": 278, "column": 34 } }, "object": { "type": "Identifier", "start": 8220, "end": 8227, "loc": { "start": { "line": 278, "column": 19 }, "end": { "line": 278, "column": 26 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 8228, "end": 8235, "loc": { "start": { "line": 278, "column": 27 }, "end": { "line": 278, "column": 34 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 8259, "end": 8285, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 34 } }, "argument": { "type": "CallExpression", "start": 8266, "end": 8284, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 8266, "end": 8282, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 31 } }, "object": { "type": "Super", "start": 8266, "end": 8271, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 20 } } }, "property": { "type": "Identifier", "start": 8272, "end": 8282, "loc": { "start": { "line": 280, "column": 21 }, "end": { "line": 280, "column": 31 }, "identifierName": "writeAsync" }, "name": "writeAsync" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @see ReadWriteProxy.writeAsync\r\n * @returns {Promise}\r\n ", "start": 8028, "end": 8111, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 275, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../application\").Application} app\r\n * @param {object} param0\r\n * @param {string} param0.internalId\r\n * @param {import(\"./savegame_typedefs\").SavegameMetadata} param0.metaDataRef Handle to the meta data\r\n ", "start": 1002, "end": 1260, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 26, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./savegame_typedefs\").SavegameData} ", "start": 1461, "end": 1518, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 65 } } }, { "type": "CommentLine", "value": "////// RW Proxy Impl //////////", "start": 1757, "end": 1790, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {any}\r\n ", "start": 1798, "end": 1833, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 45, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {typeof BaseSavegameInterface}\r\n ", "start": 1906, "end": 1966, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 52, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {number}\r\n ", "start": 2078, "end": 2116, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {typeof Savegame} ", "start": 2160, "end": 2190, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the savegames default data\r\n * @returns {import(\"./savegame_typedefs\").SavegameData}\r\n ", "start": 2245, "end": 2362, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 67, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Migrates the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 2565, "end": 2678, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Verifies the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 4058, "end": 4171, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 132, "column": 7 } } }, { "type": "CommentLine", "value": " Well, guess that works", "start": 4232, "end": 4257, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 37 } } }, { "type": "CommentLine", "value": "////// Subclasses interface ////////", "start": 4522, "end": 4561, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this game can be saved on disc\r\n * @returns {boolean}\r\n ", "start": 4569, "end": 4658, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 150, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the statistics of the savegame\r\n * @returns {import(\"./savegame_typedefs\").SavegameStats}\r\n ", "start": 4725, "end": 4859, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 157, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the *real* last update of the savegame, not the one of the metadata\r\n * which could also be the servers one\r\n ", "start": 4937, "end": 5077, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 165, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this game has a serialized game dump\r\n ", "start": 5164, "end": 5232, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 172, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the current game dump\r\n * @returns {import(\"./savegame_typedefs\").SerializedGame}\r\n ", "start": 5354, "end": 5468, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 180, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access the data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5546, "end": 5643, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {typeof Savegame} ", "start": 5806, "end": 5836, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access external data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5931, "end": 6033, "loc": { "start": { "line": 198, "column": 4 }, "end": { "line": 201, "column": 7 } } }, { "type": "CommentLine", "value": "/////// Public Interface ///////////", "start": 6202, "end": 6240, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 42 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the last update field so we can send the savegame to the server,\r\n * WITHOUT Saving!\r\n ", "start": 6248, "end": 6365, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 212, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../game/root\").GameRoot} root\r\n ", "start": 6452, "end": 6526, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 220, "column": 7 } } }, { "type": "CommentLine", "value": " Construct a new serializer", "start": 6560, "end": 6589, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 37 } } }, { "type": "CommentLine", "value": " let timer = performance.now();", "start": 6655, "end": 6688, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 41 } } }, { "type": "CommentLine", "value": " Validate (not in prod though)", "start": 7109, "end": 7141, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 40 } } }, { "type": "CommentLine", "value": " Save data", "start": 7335, "end": 7347, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 20 } } }, { "type": "CommentBlock", "value": "*\r\n * Writes the savegame as well as its metadata\r\n ", "start": 7402, "end": 7466, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the savegames metadata\r\n ", "start": 7582, "end": 7633, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @see ReadWriteProxy.writeAsync\r\n * @returns {Promise}\r\n ", "start": 8028, "end": 8111, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 275, "column": 7 } } } ], "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": "ReadWriteProxy", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24, "end": 25, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 26, "end": 30, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/read_write_proxy", "start": 31, "end": 57, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 57, "end": 58, "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 58 } } }, { "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": 60, "end": 66, "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": 67, "end": 68, "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": "ExplainedResult", "start": 69, "end": 84, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 85, "end": 86, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 87, "end": 91, "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/explained_result", "start": 92, "end": 118, "loc": { "start": { "line": 2, "column": 32 }, "end": { "line": 2, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 118, "end": 119, "loc": { "start": { "line": 2, "column": 58 }, "end": { "line": 2, "column": 59 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 121, "end": 127, "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": 128, "end": 129, "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": "SavegameSerializer", "start": 130, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 149, "end": 150, "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 3, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 151, "end": 155, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./savegame_serializer", "start": 156, "end": 179, "loc": { "start": { "line": 3, "column": 35 }, "end": { "line": 3, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 179, "end": 180, "loc": { "start": { "line": 3, "column": 58 }, "end": { "line": 3, "column": 59 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 182, "end": 188, "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": 189, "end": 190, "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": "BaseSavegameInterface", "start": 191, "end": 212, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 213, "end": 214, "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": "from", "start": 215, "end": 219, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./savegame_interface", "start": 220, "end": 242, "loc": { "start": { "line": 4, "column": 38 }, "end": { "line": 4, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 242, "end": 243, "loc": { "start": { "line": 4, "column": 60 }, "end": { "line": 4, "column": 61 } } }, { "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": 245, "end": 251, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 252, "end": 253, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 254, "end": 266, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 267, "end": 268, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 269, "end": 273, "loc": { "start": { "line": 5, "column": 24 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/logging", "start": 274, "end": 291, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 291, "end": 292, "loc": { "start": { "line": 5, "column": 46 }, "end": { "line": 5, "column": 47 } } }, { "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": 294, "end": 300, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 301, "end": 302, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 303, "end": 315, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 316, "end": 317, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 318, "end": 322, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "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/config", "start": 323, "end": 339, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 339, "end": 340, "loc": { "start": { "line": 6, "column": 45 }, "end": { "line": 6, "column": 46 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 342, "end": 348, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 349, "end": 350, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSavegameInterface", "start": 351, "end": 371, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 371, "end": 372, "loc": { "start": { "line": 7, "column": 29 }, "end": { "line": 7, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameInterfaces", "start": 373, "end": 391, "loc": { "start": { "line": 7, "column": 31 }, "end": { "line": 7, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 392, "end": 393, "loc": { "start": { "line": 7, "column": 50 }, "end": { "line": 7, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 394, "end": 398, "loc": { "start": { "line": 7, "column": 52 }, "end": { "line": 7, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./savegame_interface_registry", "start": 399, "end": 430, "loc": { "start": { "line": 7, "column": 57 }, "end": { "line": 7, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 430, "end": 431, "loc": { "start": { "line": 7, "column": 88 }, "end": { "line": 7, "column": 89 } } }, { "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": 433, "end": 439, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 440, "end": 441, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1001", "start": 442, "end": 465, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 466, "end": 467, "loc": { "start": { "line": 8, "column": 33 }, "end": { "line": 8, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 468, "end": 472, "loc": { "start": { "line": 8, "column": 35 }, "end": { "line": 8, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1001", "start": 473, "end": 489, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 489, "end": 490, "loc": { "start": { "line": 8, "column": 56 }, "end": { "line": 8, "column": 57 } } }, { "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": 492, "end": 498, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 499, "end": 500, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1002", "start": 501, "end": 524, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 525, "end": 526, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 527, "end": 531, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 9, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1002", "start": 532, "end": 548, "loc": { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 548, "end": 549, "loc": { "start": { "line": 9, "column": 56 }, "end": { "line": 9, "column": 57 } } }, { "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": 551, "end": 557, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 558, "end": 559, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1003", "start": 560, "end": 583, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 584, "end": 585, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 10, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 586, "end": 590, "loc": { "start": { "line": 10, "column": 35 }, "end": { "line": 10, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1003", "start": 591, "end": 607, "loc": { "start": { "line": 10, "column": 40 }, "end": { "line": 10, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 607, "end": 608, "loc": { "start": { "line": 10, "column": 56 }, "end": { "line": 10, "column": 57 } } }, { "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": 610, "end": 616, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 617, "end": 618, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1004", "start": 619, "end": 642, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 643, "end": 644, "loc": { "start": { "line": 11, "column": 33 }, "end": { "line": 11, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 645, "end": 649, "loc": { "start": { "line": 11, "column": 35 }, "end": { "line": 11, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1004", "start": 650, "end": 666, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 666, "end": 667, "loc": { "start": { "line": 11, "column": 56 }, "end": { "line": 11, "column": 57 } } }, { "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": 669, "end": 675, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 676, "end": 677, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 12, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1005", "start": 678, "end": 701, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 702, "end": 703, "loc": { "start": { "line": 12, "column": 33 }, "end": { "line": 12, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 704, "end": 708, "loc": { "start": { "line": 12, "column": 35 }, "end": { "line": 12, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1005", "start": 709, "end": 725, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 725, "end": 726, "loc": { "start": { "line": 12, "column": 56 }, "end": { "line": 12, "column": 57 } } }, { "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": 728, "end": 734, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 735, "end": 736, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1006", "start": 737, "end": 760, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 32 } } }, { "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": 13, "column": 33 }, "end": { "line": 13, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 763, "end": 767, "loc": { "start": { "line": 13, "column": 35 }, "end": { "line": 13, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1006", "start": 768, "end": 784, "loc": { "start": { "line": 13, "column": 40 }, "end": { "line": 13, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 784, "end": 785, "loc": { "start": { "line": 13, "column": 56 }, "end": { "line": 13, "column": 57 } } }, { "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": 787, "end": 793, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 794, "end": 795, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1007", "start": 796, "end": 819, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 820, "end": 821, "loc": { "start": { "line": 14, "column": 33 }, "end": { "line": 14, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 822, "end": 826, "loc": { "start": { "line": 14, "column": 35 }, "end": { "line": 14, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1007", "start": 827, "end": 843, "loc": { "start": { "line": 14, "column": 40 }, "end": { "line": 14, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 843, "end": 844, "loc": { "start": { "line": 14, "column": 56 }, "end": { "line": 14, "column": 57 } } }, { "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": 846, "end": 852, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 853, "end": 854, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_ML01", "start": 855, "end": 877, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 878, "end": 879, "loc": { "start": { "line": 15, "column": 32 }, "end": { "line": 15, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 880, "end": 884, "loc": { "start": { "line": 15, "column": 34 }, "end": { "line": 15, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/ML01", "start": 885, "end": 901, "loc": { "start": { "line": 15, "column": 39 }, "end": { "line": 15, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 901, "end": 902, "loc": { "start": { "line": 15, "column": 55 }, "end": { "line": 15, "column": 56 } } }, { "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": 906, "end": 911, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 912, "end": 918, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 919, "end": 920, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 921, "end": 933, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 933, "end": 934, "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "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", "start": 934, "end": 944, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 944, "end": 945, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 945, "end": 946, "loc": { "start": { "line": 17, "column": 39 }, "end": { "line": 17, "column": 40 } } }, { "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": 950, "end": 956, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "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": 957, "end": 962, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Savegame", "start": 963, "end": 971, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 21 } } }, { "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": 972, "end": 979, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ReadWriteProxy", "start": 980, "end": 994, "loc": { "start": { "line": 19, "column": 30 }, "end": { "line": 19, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 995, "end": 996, "loc": { "start": { "line": 19, "column": 45 }, "end": { "line": 19, "column": 46 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../application\").Application} app\r\n * @param {object} param0\r\n * @param {string} param0.internalId\r\n * @param {import(\"./savegame_typedefs\").SavegameMetadata} param0.metaDataRef Handle to the meta data\r\n ", "start": 1002, "end": 1260, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 26, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1266, "end": 1277, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1277, "end": 1278, "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1278, "end": 1281, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1281, "end": 1282, "loc": { "start": { "line": 27, "column": 19 }, "end": { "line": 27, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1283, "end": 1284, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalId", "start": 1285, "end": 1295, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1295, "end": 1296, "loc": { "start": { "line": 27, "column": 33 }, "end": { "line": 27, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 1297, "end": 1308, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1309, "end": 1310, "loc": { "start": { "line": 27, "column": 47 }, "end": { "line": 27, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1310, "end": 1311, "loc": { "start": { "line": 27, "column": 48 }, "end": { "line": 27, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1312, "end": 1313, "loc": { "start": { "line": 27, "column": 50 }, "end": { "line": 27, "column": 51 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1323, "end": 1328, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1328, "end": 1329, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1329, "end": 1332, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1332, "end": 1333, "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "savegame-", "start": 1334, "end": 1345, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 30 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1346, "end": 1347, "loc": { "start": { "line": 28, "column": 31 }, "end": { "line": 28, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalId", "start": 1348, "end": 1358, "loc": { "start": { "line": 28, "column": 33 }, "end": { "line": 28, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1359, "end": 1360, "loc": { "start": { "line": 28, "column": 44 }, "end": { "line": 28, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".bin", "start": 1361, "end": 1367, "loc": { "start": { "line": 28, "column": 46 }, "end": { "line": 28, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1367, "end": 1368, "loc": { "start": { "line": 28, "column": 52 }, "end": { "line": 28, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1368, "end": 1369, "loc": { "start": { "line": 28, "column": 53 }, "end": { "line": 28, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1379, "end": 1383, "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": 1383, "end": 1384, "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": "internalId", "start": 1384, "end": 1394, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1395, "end": 1396, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalId", "start": 1397, "end": 1407, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1407, "end": 1408, "loc": { "start": { "line": 29, "column": 36 }, "end": { "line": 29, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1418, "end": 1422, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 1423, "end": 1434, "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1435, "end": 1436, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 1437, "end": 1448, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1448, "end": 1449, "loc": { "start": { "line": 30, "column": 38 }, "end": { "line": 30, "column": 39 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./savegame_typedefs\").SavegameData} ", "start": 1461, "end": 1518, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1528, "end": 1532, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1532, "end": 1533, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 1533, "end": 1544, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1545, "end": 1546, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1547, "end": 1551, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1551, "end": 1552, "loc": { "start": { "line": 33, "column": 31 }, "end": { "line": 33, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultData", "start": 1552, "end": 1566, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1566, "end": 1567, "loc": { "start": { "line": 33, "column": 46 }, "end": { "line": 33, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1567, "end": 1568, "loc": { "start": { "line": 33, "column": 47 }, "end": { "line": 33, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1568, "end": 1569, "loc": { "start": { "line": 33, "column": 48 }, "end": { "line": 33, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 1581, "end": 1587, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1587, "end": 1588, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameInterfaces", "start": 1602, "end": 1620, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 36, "column": 30 }, "end": { "line": 36, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Savegame", "start": 1621, "end": 1629, "loc": { "start": { "line": 36, "column": 31 }, "end": { "line": 36, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1629, "end": 1630, "loc": { "start": { "line": 36, "column": 39 }, "end": { "line": 36, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 1630, "end": 1647, "loc": { "start": { "line": 36, "column": 40 }, "end": { "line": 36, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1647, "end": 1648, "loc": { "start": { "line": 36, "column": 57 }, "end": { "line": 36, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1648, "end": 1649, "loc": { "start": { "line": 36, "column": 58 }, "end": { "line": 36, "column": 59 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1649, "end": 1650, "loc": { "start": { "line": 36, "column": 59 }, "end": { "line": 36, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1650, "end": 1651, "loc": { "start": { "line": 36, "column": 60 }, "end": { "line": 36, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Savegame interface not defined: ", "start": 1665, "end": 1699, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 46 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1700, "end": 1701, "loc": { "start": { "line": 37, "column": 47 }, "end": { "line": 37, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Savegame", "start": 1702, "end": 1710, "loc": { "start": { "line": 37, "column": 49 }, "end": { "line": 37, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1710, "end": 1711, "loc": { "start": { "line": 37, "column": 57 }, "end": { "line": 37, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 1711, "end": 1728, "loc": { "start": { "line": 37, "column": 58 }, "end": { "line": 37, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1728, "end": 1729, "loc": { "start": { "line": 37, "column": 75 }, "end": { "line": 37, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1729, "end": 1730, "loc": { "start": { "line": 37, "column": 76 }, "end": { "line": 37, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1740, "end": 1741, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1741, "end": 1742, "loc": { "start": { "line": 38, "column": 9 }, "end": { "line": 38, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1748, "end": 1749, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 5 } } }, { "type": "CommentLine", "value": "////// RW Proxy Impl //////////", "start": 1757, "end": 1790, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {any}\r\n ", "start": 1798, "end": 1833, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 45, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 1839, "end": 1845, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 1846, "end": 1863, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1863, "end": 1864, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1864, "end": 1865, "loc": { "start": { "line": 46, "column": 29 }, "end": { "line": 46, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 32 } } }, { "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": 1877, "end": 1883, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ML01", "start": 1884, "end": 1890, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1890, "end": 1891, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {typeof BaseSavegameInterface}\r\n ", "start": 1906, "end": 1966, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 52, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 1972, "end": 1978, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getReaderClass", "start": 1979, "end": 1993, "loc": { "start": { "line": 53, "column": 11 }, "end": { "line": 53, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1993, "end": 1994, "loc": { "start": { "line": 53, "column": 25 }, "end": { "line": 53, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1994, "end": 1995, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1996, "end": 1997, "loc": { "start": { "line": 53, "column": 28 }, "end": { "line": 53, "column": 29 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2007, "end": 2013, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameInterfaces", "start": 2014, "end": 2032, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2032, "end": 2033, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Savegame", "start": 2033, "end": 2041, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2041, "end": 2042, "loc": { "start": { "line": 54, "column": 42 }, "end": { "line": 54, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 2042, "end": 2059, "loc": { "start": { "line": 54, "column": 43 }, "end": { "line": 54, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2059, "end": 2060, "loc": { "start": { "line": 54, "column": 60 }, "end": { "line": 54, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2060, "end": 2061, "loc": { "start": { "line": 54, "column": 61 }, "end": { "line": 54, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2061, "end": 2062, "loc": { "start": { "line": 54, "column": 62 }, "end": { "line": 54, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2062, "end": 2063, "loc": { "start": { "line": 54, "column": 63 }, "end": { "line": 54, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2069, "end": 2070, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {number}\r\n ", "start": 2078, "end": 2116, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 2122, "end": 2139, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2139, "end": 2140, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2140, "end": 2141, "loc": { "start": { "line": 60, "column": 22 }, "end": { "line": 60, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2142, "end": 2143, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "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": 2153, "end": 2159, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 14 } } }, { "type": "CommentBlock", "value": "* @type {typeof Savegame} ", "start": 2160, "end": 2190, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2191, "end": 2192, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2192, "end": 2196, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2196, "end": 2197, "loc": { "start": { "line": 61, "column": 51 }, "end": { "line": 61, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 2197, "end": 2208, "loc": { "start": { "line": 61, "column": 52 }, "end": { "line": 61, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2208, "end": 2209, "loc": { "start": { "line": 61, "column": 63 }, "end": { "line": 61, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2209, "end": 2210, "loc": { "start": { "line": 61, "column": 64 }, "end": { "line": 61, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 2210, "end": 2227, "loc": { "start": { "line": 61, "column": 65 }, "end": { "line": 61, "column": 82 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2227, "end": 2228, "loc": { "start": { "line": 61, "column": 82 }, "end": { "line": 61, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2228, "end": 2229, "loc": { "start": { "line": 61, "column": 83 }, "end": { "line": 61, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2229, "end": 2230, "loc": { "start": { "line": 61, "column": 84 }, "end": { "line": 61, "column": 85 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2236, "end": 2237, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the savegames default data\r\n * @returns {import(\"./savegame_typedefs\").SavegameData}\r\n ", "start": 2245, "end": 2362, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 67, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultData", "start": 2368, "end": 2382, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2382, "end": 2383, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2383, "end": 2384, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2385, "end": 2386, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2396, "end": 2402, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2403, "end": 2404, "loc": { "start": { "line": 69, "column": 15 }, "end": { "line": 69, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 2418, "end": 2425, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2425, "end": 2426, "loc": { "start": { "line": 70, "column": 19 }, "end": { "line": 70, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2427, "end": 2431, "loc": { "start": { "line": 70, "column": 21 }, "end": { "line": 70, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2431, "end": 2432, "loc": { "start": { "line": 70, "column": 25 }, "end": { "line": 70, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 2432, "end": 2449, "loc": { "start": { "line": 70, "column": 26 }, "end": { "line": 70, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2449, "end": 2450, "loc": { "start": { "line": 70, "column": 43 }, "end": { "line": 70, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2450, "end": 2451, "loc": { "start": { "line": 70, "column": 44 }, "end": { "line": 70, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2451, "end": 2452, "loc": { "start": { "line": 70, "column": 45 }, "end": { "line": 70, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 2466, "end": 2470, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2470, "end": 2471, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2472, "end": 2476, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2476, "end": 2477, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stats", "start": 2491, "end": 2496, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2496, "end": 2497, "loc": { "start": { "line": 72, "column": 17 }, "end": { "line": 72, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2498, "end": 2499, "loc": { "start": { "line": 72, "column": 19 }, "end": { "line": 72, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2499, "end": 2500, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2500, "end": 2501, "loc": { "start": { "line": 72, "column": 21 }, "end": { "line": 72, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastUpdate", "start": 2515, "end": 2525, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2525, "end": 2526, "loc": { "start": { "line": 73, "column": 22 }, "end": { "line": 73, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Date", "start": 2527, "end": 2531, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2531, "end": 2532, "loc": { "start": { "line": 73, "column": 28 }, "end": { "line": 73, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 2532, "end": 2535, "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2535, "end": 2536, "loc": { "start": { "line": 73, "column": 32 }, "end": { "line": 73, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2536, "end": 2537, "loc": { "start": { "line": 73, "column": 33 }, "end": { "line": 73, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2537, "end": 2538, "loc": { "start": { "line": 73, "column": 34 }, "end": { "line": 73, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2548, "end": 2549, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2549, "end": 2550, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2556, "end": 2557, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Migrates the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 2565, "end": 2678, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate", "start": 2684, "end": 2691, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2691, "end": 2692, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2692, "end": 2696, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2696, "end": 2697, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2698, "end": 2699, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 19 } } }, { "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": 2709, "end": 2711, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2712, "end": 2713, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2713, "end": 2717, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2717, "end": 2718, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 2718, "end": 2725, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 24 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2726, "end": 2727, "loc": { "start": { "line": 82, "column": 25 }, "end": { "line": 82, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 2728, "end": 2732, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2732, "end": 2733, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2734, "end": 2735, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 34 } } }, { "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": 2749, "end": 2755, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ExplainedResult", "start": 2756, "end": 2771, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2771, "end": 2772, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bad", "start": 2772, "end": 2775, "loc": { "start": { "line": 83, "column": 35 }, "end": { "line": 83, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2775, "end": 2776, "loc": { "start": { "line": 83, "column": 38 }, "end": { "line": 83, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Can not migrate savegame, too old", "start": 2776, "end": 2811, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2811, "end": 2812, "loc": { "start": { "line": 83, "column": 74 }, "end": { "line": 83, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2812, "end": 2813, "loc": { "start": { "line": 83, "column": 75 }, "end": { "line": 83, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2823, "end": 2824, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "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": 2836, "end": 2838, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2839, "end": 2840, "loc": { "start": { "line": 86, "column": 11 }, "end": { "line": 86, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2840, "end": 2844, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2844, "end": 2845, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 2845, "end": 2852, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2853, "end": 2856, "loc": { "start": { "line": 86, "column": 25 }, "end": { "line": 86, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 2857, "end": 2861, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2861, "end": 2862, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2863, "end": 2864, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1001", "start": 2878, "end": 2901, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2901, "end": 2902, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1000to1001", "start": 2902, "end": 2919, "loc": { "start": { "line": 87, "column": 36 }, "end": { "line": 87, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2919, "end": 2920, "loc": { "start": { "line": 87, "column": 53 }, "end": { "line": 87, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2920, "end": 2924, "loc": { "start": { "line": 87, "column": 54 }, "end": { "line": 87, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2924, "end": 2925, "loc": { "start": { "line": 87, "column": 58 }, "end": { "line": 87, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2925, "end": 2926, "loc": { "start": { "line": 87, "column": 59 }, "end": { "line": 87, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2940, "end": 2944, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2944, "end": 2945, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 2945, "end": 2952, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2953, "end": 2954, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1001, "start": 2955, "end": 2959, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2959, "end": 2960, "loc": { "start": { "line": 88, "column": 31 }, "end": { "line": 88, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2970, "end": 2971, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "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": 2983, "end": 2985, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2986, "end": 2987, "loc": { "start": { "line": 91, "column": 11 }, "end": { "line": 91, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2987, "end": 2991, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2991, "end": 2992, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 2992, "end": 2999, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3000, "end": 3003, "loc": { "start": { "line": 91, "column": 25 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1001, "start": 3004, "end": 3008, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3008, "end": 3009, "loc": { "start": { "line": 91, "column": 33 }, "end": { "line": 91, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3010, "end": 3011, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1002", "start": 3025, "end": 3048, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3048, "end": 3049, "loc": { "start": { "line": 92, "column": 35 }, "end": { "line": 92, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1001to1002", "start": 3049, "end": 3066, "loc": { "start": { "line": 92, "column": 36 }, "end": { "line": 92, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3066, "end": 3067, "loc": { "start": { "line": 92, "column": 53 }, "end": { "line": 92, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3067, "end": 3071, "loc": { "start": { "line": 92, "column": 54 }, "end": { "line": 92, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3071, "end": 3072, "loc": { "start": { "line": 92, "column": 58 }, "end": { "line": 92, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3072, "end": 3073, "loc": { "start": { "line": 92, "column": 59 }, "end": { "line": 92, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3087, "end": 3091, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3091, "end": 3092, "loc": { "start": { "line": 93, "column": 16 }, "end": { "line": 93, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3092, "end": 3099, "loc": { "start": { "line": 93, "column": 17 }, "end": { "line": 93, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3100, "end": 3101, "loc": { "start": { "line": 93, "column": 25 }, "end": { "line": 93, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1002, "start": 3102, "end": 3106, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3106, "end": 3107, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3117, "end": 3118, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 9 } } }, { "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": 3130, "end": 3132, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3133, "end": 3134, "loc": { "start": { "line": 96, "column": 11 }, "end": { "line": 96, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3134, "end": 3138, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3138, "end": 3139, "loc": { "start": { "line": 96, "column": 16 }, "end": { "line": 96, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3139, "end": 3146, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3147, "end": 3150, "loc": { "start": { "line": 96, "column": 25 }, "end": { "line": 96, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1002, "start": 3151, "end": 3155, "loc": { "start": { "line": 96, "column": 29 }, "end": { "line": 96, "column": 33 } } }, { "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": 96, "column": 33 }, "end": { "line": 96, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3157, "end": 3158, "loc": { "start": { "line": 96, "column": 35 }, "end": { "line": 96, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1003", "start": 3172, "end": 3195, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3195, "end": 3196, "loc": { "start": { "line": 97, "column": 35 }, "end": { "line": 97, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1002to1003", "start": 3196, "end": 3213, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 97, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3213, "end": 3214, "loc": { "start": { "line": 97, "column": 53 }, "end": { "line": 97, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3214, "end": 3218, "loc": { "start": { "line": 97, "column": 54 }, "end": { "line": 97, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3218, "end": 3219, "loc": { "start": { "line": 97, "column": 58 }, "end": { "line": 97, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3219, "end": 3220, "loc": { "start": { "line": 97, "column": 59 }, "end": { "line": 97, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3234, "end": 3238, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3238, "end": 3239, "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 98, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3239, "end": 3246, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3247, "end": 3248, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1003, "start": 3249, "end": 3253, "loc": { "start": { "line": 98, "column": 27 }, "end": { "line": 98, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3253, "end": 3254, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3264, "end": 3265, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 9 } } }, { "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": 3277, "end": 3279, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3280, "end": 3281, "loc": { "start": { "line": 101, "column": 11 }, "end": { "line": 101, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3281, "end": 3285, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3285, "end": 3286, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3286, "end": 3293, "loc": { "start": { "line": 101, "column": 17 }, "end": { "line": 101, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3294, "end": 3297, "loc": { "start": { "line": 101, "column": 25 }, "end": { "line": 101, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1003, "start": 3298, "end": 3302, "loc": { "start": { "line": 101, "column": 29 }, "end": { "line": 101, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3302, "end": 3303, "loc": { "start": { "line": 101, "column": 33 }, "end": { "line": 101, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3304, "end": 3305, "loc": { "start": { "line": 101, "column": 35 }, "end": { "line": 101, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1004", "start": 3319, "end": 3342, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3342, "end": 3343, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1003to1004", "start": 3343, "end": 3360, "loc": { "start": { "line": 102, "column": 36 }, "end": { "line": 102, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3360, "end": 3361, "loc": { "start": { "line": 102, "column": 53 }, "end": { "line": 102, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3361, "end": 3365, "loc": { "start": { "line": 102, "column": 54 }, "end": { "line": 102, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 102, "column": 58 }, "end": { "line": 102, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3366, "end": 3367, "loc": { "start": { "line": 102, "column": 59 }, "end": { "line": 102, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3381, "end": 3385, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3385, "end": 3386, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3386, "end": 3393, "loc": { "start": { "line": 103, "column": 17 }, "end": { "line": 103, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3394, "end": 3395, "loc": { "start": { "line": 103, "column": 25 }, "end": { "line": 103, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1004, "start": 3396, "end": 3400, "loc": { "start": { "line": 103, "column": 27 }, "end": { "line": 103, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3400, "end": 3401, "loc": { "start": { "line": 103, "column": 31 }, "end": { "line": 103, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3411, "end": 3412, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 9 } } }, { "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": 3424, "end": 3426, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3427, "end": 3428, "loc": { "start": { "line": 106, "column": 11 }, "end": { "line": 106, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3428, "end": 3432, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3432, "end": 3433, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3433, "end": 3440, "loc": { "start": { "line": 106, "column": 17 }, "end": { "line": 106, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3441, "end": 3444, "loc": { "start": { "line": 106, "column": 25 }, "end": { "line": 106, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1004, "start": 3445, "end": 3449, "loc": { "start": { "line": 106, "column": 29 }, "end": { "line": 106, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3449, "end": 3450, "loc": { "start": { "line": 106, "column": 33 }, "end": { "line": 106, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3451, "end": 3452, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1005", "start": 3466, "end": 3489, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3489, "end": 3490, "loc": { "start": { "line": 107, "column": 35 }, "end": { "line": 107, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1004to1005", "start": 3490, "end": 3507, "loc": { "start": { "line": 107, "column": 36 }, "end": { "line": 107, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3507, "end": 3508, "loc": { "start": { "line": 107, "column": 53 }, "end": { "line": 107, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3508, "end": 3512, "loc": { "start": { "line": 107, "column": 54 }, "end": { "line": 107, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3512, "end": 3513, "loc": { "start": { "line": 107, "column": 58 }, "end": { "line": 107, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3513, "end": 3514, "loc": { "start": { "line": 107, "column": 59 }, "end": { "line": 107, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3528, "end": 3532, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3532, "end": 3533, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3533, "end": 3540, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3541, "end": 3542, "loc": { "start": { "line": 108, "column": 25 }, "end": { "line": 108, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1005, "start": 3543, "end": 3547, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3547, "end": 3548, "loc": { "start": { "line": 108, "column": 31 }, "end": { "line": 108, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3558, "end": 3559, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 9 } } }, { "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": 3571, "end": 3573, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3574, "end": 3575, "loc": { "start": { "line": 111, "column": 11 }, "end": { "line": 111, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3575, "end": 3579, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3579, "end": 3580, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3580, "end": 3587, "loc": { "start": { "line": 111, "column": 17 }, "end": { "line": 111, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3588, "end": 3591, "loc": { "start": { "line": 111, "column": 25 }, "end": { "line": 111, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1005, "start": 3592, "end": 3596, "loc": { "start": { "line": 111, "column": 29 }, "end": { "line": 111, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3596, "end": 3597, "loc": { "start": { "line": 111, "column": 33 }, "end": { "line": 111, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3598, "end": 3599, "loc": { "start": { "line": 111, "column": 35 }, "end": { "line": 111, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1006", "start": 3613, "end": 3636, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3636, "end": 3637, "loc": { "start": { "line": 112, "column": 35 }, "end": { "line": 112, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1005to1006", "start": 3637, "end": 3654, "loc": { "start": { "line": 112, "column": 36 }, "end": { "line": 112, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3654, "end": 3655, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3655, "end": 3659, "loc": { "start": { "line": 112, "column": 54 }, "end": { "line": 112, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3659, "end": 3660, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3660, "end": 3661, "loc": { "start": { "line": 112, "column": 59 }, "end": { "line": 112, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3675, "end": 3679, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3679, "end": 3680, "loc": { "start": { "line": 113, "column": 16 }, "end": { "line": 113, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3680, "end": 3687, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3688, "end": 3689, "loc": { "start": { "line": 113, "column": 25 }, "end": { "line": 113, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1006, "start": 3690, "end": 3694, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3694, "end": 3695, "loc": { "start": { "line": 113, "column": 31 }, "end": { "line": 113, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3705, "end": 3706, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 9 } } }, { "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": 3718, "end": 3720, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3721, "end": 3722, "loc": { "start": { "line": 116, "column": 11 }, "end": { "line": 116, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3722, "end": 3726, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3726, "end": 3727, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3727, "end": 3734, "loc": { "start": { "line": 116, "column": 17 }, "end": { "line": 116, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3735, "end": 3738, "loc": { "start": { "line": 116, "column": 25 }, "end": { "line": 116, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1006, "start": 3739, "end": 3743, "loc": { "start": { "line": 116, "column": 29 }, "end": { "line": 116, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3743, "end": 3744, "loc": { "start": { "line": 116, "column": 33 }, "end": { "line": 116, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3745, "end": 3746, "loc": { "start": { "line": 116, "column": 35 }, "end": { "line": 116, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1007", "start": 3760, "end": 3783, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3783, "end": 3784, "loc": { "start": { "line": 117, "column": 35 }, "end": { "line": 117, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1006to1007", "start": 3784, "end": 3801, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3801, "end": 3802, "loc": { "start": { "line": 117, "column": 53 }, "end": { "line": 117, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3802, "end": 3806, "loc": { "start": { "line": 117, "column": 54 }, "end": { "line": 117, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3806, "end": 3807, "loc": { "start": { "line": 117, "column": 58 }, "end": { "line": 117, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3807, "end": 3808, "loc": { "start": { "line": 117, "column": 59 }, "end": { "line": 117, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3822, "end": 3826, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3826, "end": 3827, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3827, "end": 3834, "loc": { "start": { "line": 118, "column": 17 }, "end": { "line": 118, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3835, "end": 3836, "loc": { "start": { "line": 118, "column": 25 }, "end": { "line": 118, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1007, "start": 3837, "end": 3841, "loc": { "start": { "line": 118, "column": 27 }, "end": { "line": 118, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3841, "end": 3842, "loc": { "start": { "line": 118, "column": 31 }, "end": { "line": 118, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3852, "end": 3853, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 9 } } }, { "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": 3865, "end": 3867, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3868, "end": 3869, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3869, "end": 3873, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3873, "end": 3874, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3874, "end": 3881, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3882, "end": 3885, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1007, "start": 3886, "end": 3890, "loc": { "start": { "line": 121, "column": 29 }, "end": { "line": 121, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3890, "end": 3891, "loc": { "start": { "line": 121, "column": 33 }, "end": { "line": 121, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3892, "end": 3893, "loc": { "start": { "line": 121, "column": 35 }, "end": { "line": 121, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_ML01", "start": 3907, "end": 3929, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3929, "end": 3930, "loc": { "start": { "line": 122, "column": 34 }, "end": { "line": 122, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "migrate1007toML01", "start": 3930, "end": 3947, "loc": { "start": { "line": 122, "column": 35 }, "end": { "line": 122, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3947, "end": 3948, "loc": { "start": { "line": 122, "column": 52 }, "end": { "line": 122, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3948, "end": 3952, "loc": { "start": { "line": 122, "column": 53 }, "end": { "line": 122, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3952, "end": 3953, "loc": { "start": { "line": 122, "column": 57 }, "end": { "line": 122, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3953, "end": 3954, "loc": { "start": { "line": 122, "column": 58 }, "end": { "line": 122, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3968, "end": 3972, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3972, "end": 3973, "loc": { "start": { "line": 123, "column": 16 }, "end": { "line": 123, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 3973, "end": 3980, "loc": { "start": { "line": 123, "column": 17 }, "end": { "line": 123, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3981, "end": 3982, "loc": { "start": { "line": 123, "column": 25 }, "end": { "line": 123, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ML01", "start": 3983, "end": 3989, "loc": { "start": { "line": 123, "column": 27 }, "end": { "line": 123, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3989, "end": 3990, "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4000, "end": 4001, "loc": { "start": { "line": 124, "column": 8 }, "end": { "line": 124, "column": 9 } } }, { "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": 4013, "end": 4019, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ExplainedResult", "start": 4020, "end": 4035, "loc": { "start": { "line": 126, "column": 15 }, "end": { "line": 126, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4035, "end": 4036, "loc": { "start": { "line": 126, "column": 30 }, "end": { "line": 126, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "good", "start": 4036, "end": 4040, "loc": { "start": { "line": 126, "column": 31 }, "end": { "line": 126, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4040, "end": 4041, "loc": { "start": { "line": 126, "column": 35 }, "end": { "line": 126, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4041, "end": 4042, "loc": { "start": { "line": 126, "column": 36 }, "end": { "line": 126, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4042, "end": 4043, "loc": { "start": { "line": 126, "column": 37 }, "end": { "line": 126, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4049, "end": 4050, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Verifies the savegames data\r\n * @param {import(\"./savegame_typedefs\").SavegameData} data\r\n ", "start": 4058, "end": 4171, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 132, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "verify", "start": 4177, "end": 4183, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 133, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4183, "end": 4184, "loc": { "start": { "line": 133, "column": 10 }, "end": { "line": 133, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4184, "end": 4188, "loc": { "start": { "line": 133, "column": 11 }, "end": { "line": 133, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4188, "end": 4189, "loc": { "start": { "line": 133, "column": 15 }, "end": { "line": 133, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4190, "end": 4191, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 18 } } }, { "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": 4201, "end": 4203, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4204, "end": 4205, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "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": 4205, "end": 4206, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4206, "end": 4210, "loc": { "start": { "line": 134, "column": 13 }, "end": { "line": 134, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4210, "end": 4211, "loc": { "start": { "line": 134, "column": 17 }, "end": { "line": 134, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 4211, "end": 4215, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4215, "end": 4216, "loc": { "start": { "line": 134, "column": 22 }, "end": { "line": 134, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4217, "end": 4218, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 25 } } }, { "type": "CommentLine", "value": " Well, guess that works", "start": 4232, "end": 4257, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 37 } } }, { "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": 4271, "end": 4277, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ExplainedResult", "start": 4278, "end": 4293, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4293, "end": 4294, "loc": { "start": { "line": 136, "column": 34 }, "end": { "line": 136, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "good", "start": 4294, "end": 4298, "loc": { "start": { "line": 136, "column": 35 }, "end": { "line": 136, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4298, "end": 4299, "loc": { "start": { "line": 136, "column": 39 }, "end": { "line": 136, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4299, "end": 4300, "loc": { "start": { "line": 136, "column": 40 }, "end": { "line": 136, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4300, "end": 4301, "loc": { "start": { "line": 136, "column": 41 }, "end": { "line": 136, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4311, "end": 4312, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 9 } } }, { "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": 4324, "end": 4326, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4327, "end": 4328, "loc": { "start": { "line": 139, "column": 11 }, "end": { "line": 139, "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": 4328, "end": 4329, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4329, "end": 4333, "loc": { "start": { "line": 139, "column": 13 }, "end": { "line": 139, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4333, "end": 4334, "loc": { "start": { "line": 139, "column": 17 }, "end": { "line": 139, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDumpReaderForExternalData", "start": 4334, "end": 4362, "loc": { "start": { "line": 139, "column": 18 }, "end": { "line": 139, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4362, "end": 4363, "loc": { "start": { "line": 139, "column": 46 }, "end": { "line": 139, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4363, "end": 4367, "loc": { "start": { "line": 139, "column": 47 }, "end": { "line": 139, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4367, "end": 4368, "loc": { "start": { "line": 139, "column": 51 }, "end": { "line": 139, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4368, "end": 4369, "loc": { "start": { "line": 139, "column": 52 }, "end": { "line": 139, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "validate", "start": 4369, "end": 4377, "loc": { "start": { "line": 139, "column": 53 }, "end": { "line": 139, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4377, "end": 4378, "loc": { "start": { "line": 139, "column": 61 }, "end": { "line": 139, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4378, "end": 4379, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4379, "end": 4380, "loc": { "start": { "line": 139, "column": 63 }, "end": { "line": 139, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4381, "end": 4382, "loc": { "start": { "line": 139, "column": 65 }, "end": { "line": 139, "column": 66 } } }, { "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": 4396, "end": 4402, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ExplainedResult", "start": 4403, "end": 4418, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4418, "end": 4419, "loc": { "start": { "line": 140, "column": 34 }, "end": { "line": 140, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bad", "start": 4419, "end": 4422, "loc": { "start": { "line": 140, "column": 35 }, "end": { "line": 140, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4422, "end": 4423, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "dump-reader-failed-validation", "start": 4423, "end": 4454, "loc": { "start": { "line": 140, "column": 39 }, "end": { "line": 140, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4454, "end": 4455, "loc": { "start": { "line": 140, "column": 70 }, "end": { "line": 140, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4455, "end": 4456, "loc": { "start": { "line": 140, "column": 71 }, "end": { "line": 140, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4466, "end": 4467, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 9 } } }, { "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": 4477, "end": 4483, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ExplainedResult", "start": 4484, "end": 4499, "loc": { "start": { "line": 142, "column": 15 }, "end": { "line": 142, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4499, "end": 4500, "loc": { "start": { "line": 142, "column": 30 }, "end": { "line": 142, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "good", "start": 4500, "end": 4504, "loc": { "start": { "line": 142, "column": 31 }, "end": { "line": 142, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4504, "end": 4505, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4505, "end": 4506, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4506, "end": 4507, "loc": { "start": { "line": 142, "column": 37 }, "end": { "line": 142, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4513, "end": 4514, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 5 } } }, { "type": "CommentLine", "value": "////// Subclasses interface ////////", "start": 4522, "end": 4561, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this game can be saved on disc\r\n * @returns {boolean}\r\n ", "start": 4569, "end": 4658, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 150, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSaveable", "start": 4664, "end": 4674, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4674, "end": 4675, "loc": { "start": { "line": 151, "column": 14 }, "end": { "line": 151, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4675, "end": 4676, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4677, "end": 4678, "loc": { "start": { "line": 151, "column": 17 }, "end": { "line": 151, "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": 4692, "end": 4698, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 152, "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": 4699, "end": 4703, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4703, "end": 4704, "loc": { "start": { "line": 152, "column": 23 }, "end": { "line": 152, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4714, "end": 4715, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the statistics of the savegame\r\n * @returns {import(\"./savegame_typedefs\").SavegameStats}\r\n ", "start": 4725, "end": 4859, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 157, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getStatistics", "start": 4865, "end": 4878, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4878, "end": 4879, "loc": { "start": { "line": 158, "column": 17 }, "end": { "line": 158, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4879, "end": 4880, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4881, "end": 4882, "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 158, "column": 21 } } }, { "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": 4892, "end": 4898, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4899, "end": 4903, "loc": { "start": { "line": 159, "column": 15 }, "end": { "line": 159, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4903, "end": 4904, "loc": { "start": { "line": 159, "column": 19 }, "end": { "line": 159, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 4904, "end": 4915, "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4915, "end": 4916, "loc": { "start": { "line": 159, "column": 31 }, "end": { "line": 159, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stats", "start": 4916, "end": 4921, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4921, "end": 4922, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4928, "end": 4929, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the *real* last update of the savegame, not the one of the metadata\r\n * which could also be the servers one\r\n ", "start": 4937, "end": 5077, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 165, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRealLastUpdate", "start": 5083, "end": 5100, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5100, "end": 5101, "loc": { "start": { "line": 166, "column": 21 }, "end": { "line": 166, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5101, "end": 5102, "loc": { "start": { "line": 166, "column": 22 }, "end": { "line": 166, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5103, "end": 5104, "loc": { "start": { "line": 166, "column": 24 }, "end": { "line": 166, "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": 5114, "end": 5120, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5121, "end": 5125, "loc": { "start": { "line": 167, "column": 15 }, "end": { "line": 167, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5125, "end": 5126, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 5126, "end": 5137, "loc": { "start": { "line": 167, "column": 20 }, "end": { "line": 167, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5137, "end": 5138, "loc": { "start": { "line": 167, "column": 31 }, "end": { "line": 167, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastUpdate", "start": 5138, "end": 5148, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5148, "end": 5149, "loc": { "start": { "line": 167, "column": 42 }, "end": { "line": 167, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5155, "end": 5156, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this game has a serialized game dump\r\n ", "start": 5164, "end": 5232, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 172, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasGameDump", "start": 5238, "end": 5249, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5249, "end": 5250, "loc": { "start": { "line": 173, "column": 15 }, "end": { "line": 173, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5250, "end": 5251, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5252, "end": 5253, "loc": { "start": { "line": 173, "column": 18 }, "end": { "line": 173, "column": 19 } } }, { "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": 5263, "end": 5269, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 14 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 5270, "end": 5271, "loc": { "start": { "line": 174, "column": 15 }, "end": { "line": 174, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 5271, "end": 5272, "loc": { "start": { "line": 174, "column": 16 }, "end": { "line": 174, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5272, "end": 5276, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5276, "end": 5277, "loc": { "start": { "line": 174, "column": 21 }, "end": { "line": 174, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 5277, "end": 5288, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5288, "end": 5289, "loc": { "start": { "line": 174, "column": 33 }, "end": { "line": 174, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 5289, "end": 5293, "loc": { "start": { "line": 174, "column": 34 }, "end": { "line": 174, "column": 38 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 5294, "end": 5296, "loc": { "start": { "line": 174, "column": 39 }, "end": { "line": 174, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5297, "end": 5301, "loc": { "start": { "line": 174, "column": 42 }, "end": { "line": 174, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5301, "end": 5302, "loc": { "start": { "line": 174, "column": 46 }, "end": { "line": 174, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 5302, "end": 5313, "loc": { "start": { "line": 174, "column": 47 }, "end": { "line": 174, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5313, "end": 5314, "loc": { "start": { "line": 174, "column": 58 }, "end": { "line": 174, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 5314, "end": 5318, "loc": { "start": { "line": 174, "column": 59 }, "end": { "line": 174, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5318, "end": 5319, "loc": { "start": { "line": 174, "column": 63 }, "end": { "line": 174, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 5319, "end": 5327, "loc": { "start": { "line": 174, "column": 64 }, "end": { "line": 174, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5327, "end": 5328, "loc": { "start": { "line": 174, "column": 72 }, "end": { "line": 174, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5328, "end": 5334, "loc": { "start": { "line": 174, "column": 73 }, "end": { "line": 174, "column": 79 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5335, "end": 5336, "loc": { "start": { "line": 174, "column": 80 }, "end": { "line": 174, "column": 81 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5337, "end": 5338, "loc": { "start": { "line": 174, "column": 82 }, "end": { "line": 174, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5338, "end": 5339, "loc": { "start": { "line": 174, "column": 83 }, "end": { "line": 174, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5345, "end": 5346, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 175, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the current game dump\r\n * @returns {import(\"./savegame_typedefs\").SerializedGame}\r\n ", "start": 5354, "end": 5468, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 180, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentDump", "start": 5474, "end": 5488, "loc": { "start": { "line": 181, "column": 4 }, "end": { "line": 181, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5488, "end": 5489, "loc": { "start": { "line": 181, "column": 18 }, "end": { "line": 181, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5489, "end": 5490, "loc": { "start": { "line": 181, "column": 19 }, "end": { "line": 181, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5491, "end": 5492, "loc": { "start": { "line": 181, "column": 21 }, "end": { "line": 181, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 5502, "end": 5508, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5509, "end": 5513, "loc": { "start": { "line": 182, "column": 15 }, "end": { "line": 182, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5513, "end": 5514, "loc": { "start": { "line": 182, "column": 19 }, "end": { "line": 182, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 5514, "end": 5525, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 182, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5525, "end": 5526, "loc": { "start": { "line": 182, "column": 31 }, "end": { "line": 182, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 5526, "end": 5530, "loc": { "start": { "line": 182, "column": 32 }, "end": { "line": 182, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5530, "end": 5531, "loc": { "start": { "line": 182, "column": 36 }, "end": { "line": 182, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5537, "end": 5538, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 183, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access the data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5546, "end": 5643, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDumpReader", "start": 5649, "end": 5662, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5662, "end": 5663, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5663, "end": 5664, "loc": { "start": { "line": 189, "column": 18 }, "end": { "line": 189, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5665, "end": 5666, "loc": { "start": { "line": 189, "column": 20 }, "end": { "line": 189, "column": 21 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5676, "end": 5678, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5679, "end": 5680, "loc": { "start": { "line": 190, "column": 11 }, "end": { "line": 190, "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": 5680, "end": 5681, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5681, "end": 5685, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5685, "end": 5686, "loc": { "start": { "line": 190, "column": 17 }, "end": { "line": 190, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 5686, "end": 5697, "loc": { "start": { "line": 190, "column": 18 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5697, "end": 5698, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 5698, "end": 5702, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5702, "end": 5703, "loc": { "start": { "line": 190, "column": 34 }, "end": { "line": 190, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5704, "end": 5705, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 190, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 5719, "end": 5725, "loc": { "start": { "line": 191, "column": 12 }, "end": { "line": 191, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5725, "end": 5726, "loc": { "start": { "line": 191, "column": 18 }, "end": { "line": 191, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 5726, "end": 5730, "loc": { "start": { "line": 191, "column": 19 }, "end": { "line": 191, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5730, "end": 5731, "loc": { "start": { "line": 191, "column": 23 }, "end": { "line": 191, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Getting reader on null-savegame dump", "start": 5731, "end": 5769, "loc": { "start": { "line": 191, "column": 24 }, "end": { "line": 191, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5769, "end": 5770, "loc": { "start": { "line": 191, "column": 62 }, "end": { "line": 191, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5770, "end": 5771, "loc": { "start": { "line": 191, "column": 63 }, "end": { "line": 191, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5781, "end": 5782, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5794, "end": 5799, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cls", "start": 5800, "end": 5803, "loc": { "start": { "line": 194, "column": 14 }, "end": { "line": 194, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5804, "end": 5805, "loc": { "start": { "line": 194, "column": 18 }, "end": { "line": 194, "column": 19 } } }, { "type": "CommentBlock", "value": "* @type {typeof Savegame} ", "start": 5806, "end": 5836, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5837, "end": 5838, "loc": { "start": { "line": 194, "column": 51 }, "end": { "line": 194, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5838, "end": 5842, "loc": { "start": { "line": 194, "column": 52 }, "end": { "line": 194, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5842, "end": 5843, "loc": { "start": { "line": 194, "column": 56 }, "end": { "line": 194, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 5843, "end": 5854, "loc": { "start": { "line": 194, "column": 57 }, "end": { "line": 194, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5854, "end": 5855, "loc": { "start": { "line": 194, "column": 68 }, "end": { "line": 194, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5855, "end": 5856, "loc": { "start": { "line": 194, "column": 69 }, "end": { "line": 194, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getReaderClass", "start": 5856, "end": 5870, "loc": { "start": { "line": 194, "column": 70 }, "end": { "line": 194, "column": 84 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5870, "end": 5871, "loc": { "start": { "line": 194, "column": 84 }, "end": { "line": 194, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5871, "end": 5872, "loc": { "start": { "line": 194, "column": 85 }, "end": { "line": 194, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5872, "end": 5873, "loc": { "start": { "line": 194, "column": 86 }, "end": { "line": 194, "column": 87 } } }, { "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": 5883, "end": 5889, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 14 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 5890, "end": 5893, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cls", "start": 5894, "end": 5897, "loc": { "start": { "line": 195, "column": 19 }, "end": { "line": 195, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5897, "end": 5898, "loc": { "start": { "line": 195, "column": 22 }, "end": { "line": 195, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5898, "end": 5902, "loc": { "start": { "line": 195, "column": 23 }, "end": { "line": 195, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5902, "end": 5903, "loc": { "start": { "line": 195, "column": 27 }, "end": { "line": 195, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 5903, "end": 5914, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5914, "end": 5915, "loc": { "start": { "line": 195, "column": 39 }, "end": { "line": 195, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5915, "end": 5916, "loc": { "start": { "line": 195, "column": 40 }, "end": { "line": 195, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5922, "end": 5923, "loc": { "start": { "line": 196, "column": 4 }, "end": { "line": 196, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a reader to access external data\r\n * @returns {BaseSavegameInterface}\r\n ", "start": 5931, "end": 6033, "loc": { "start": { "line": 198, "column": 4 }, "end": { "line": 201, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDumpReaderForExternalData", "start": 6039, "end": 6067, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6067, "end": 6068, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 6068, "end": 6072, "loc": { "start": { "line": 202, "column": 33 }, "end": { "line": 202, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6072, "end": 6073, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6074, "end": 6075, "loc": { "start": { "line": 202, "column": 39 }, "end": { "line": 202, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 6085, "end": 6091, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6091, "end": 6092, "loc": { "start": { "line": 203, "column": 14 }, "end": { "line": 203, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 6092, "end": 6096, "loc": { "start": { "line": 203, "column": 15 }, "end": { "line": 203, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6096, "end": 6097, "loc": { "start": { "line": 203, "column": 19 }, "end": { "line": 203, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 6097, "end": 6104, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6104, "end": 6105, "loc": { "start": { "line": 203, "column": 27 }, "end": { "line": 203, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "External data contains no version", "start": 6106, "end": 6141, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6141, "end": 6142, "loc": { "start": { "line": 203, "column": 64 }, "end": { "line": 203, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6142, "end": 6143, "loc": { "start": { "line": 203, "column": 65 }, "end": { "line": 203, "column": 66 } } }, { "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": 6153, "end": 6159, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSavegameInterface", "start": 6160, "end": 6180, "loc": { "start": { "line": 204, "column": 15 }, "end": { "line": 204, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6180, "end": 6181, "loc": { "start": { "line": 204, "column": 35 }, "end": { "line": 204, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 6181, "end": 6185, "loc": { "start": { "line": 204, "column": 36 }, "end": { "line": 204, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6185, "end": 6186, "loc": { "start": { "line": 204, "column": 40 }, "end": { "line": 204, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6186, "end": 6187, "loc": { "start": { "line": 204, "column": 41 }, "end": { "line": 204, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6193, "end": 6194, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 5 } } }, { "type": "CommentLine", "value": "/////// Public Interface ///////////", "start": 6202, "end": 6240, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 42 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the last update field so we can send the savegame to the server,\r\n * WITHOUT Saving!\r\n ", "start": 6248, "end": 6365, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 212, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setLastUpdate", "start": 6371, "end": 6384, "loc": { "start": { "line": 213, "column": 4 }, "end": { "line": 213, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6384, "end": 6385, "loc": { "start": { "line": 213, "column": 17 }, "end": { "line": 213, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 6385, "end": 6389, "loc": { "start": { "line": 213, "column": 18 }, "end": { "line": 213, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6389, "end": 6390, "loc": { "start": { "line": 213, "column": 22 }, "end": { "line": 213, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6391, "end": 6392, "loc": { "start": { "line": 213, "column": 24 }, "end": { "line": 213, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6402, "end": 6406, "loc": { "start": { "line": 214, "column": 8 }, "end": { "line": 214, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6406, "end": 6407, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 6407, "end": 6418, "loc": { "start": { "line": 214, "column": 13 }, "end": { "line": 214, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6418, "end": 6419, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastUpdate", "start": 6419, "end": 6429, "loc": { "start": { "line": 214, "column": 25 }, "end": { "line": 214, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6430, "end": 6431, "loc": { "start": { "line": 214, "column": 36 }, "end": { "line": 214, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 6432, "end": 6436, "loc": { "start": { "line": 214, "column": 38 }, "end": { "line": 214, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6436, "end": 6437, "loc": { "start": { "line": 214, "column": 42 }, "end": { "line": 214, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6443, "end": 6444, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 215, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {import(\"../game/root\").GameRoot} root\r\n ", "start": 6452, "end": 6526, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 220, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateData", "start": 6532, "end": 6542, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6542, "end": 6543, "loc": { "start": { "line": 221, "column": 14 }, "end": { "line": 221, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6543, "end": 6547, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6547, "end": 6548, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6549, "end": 6550, "loc": { "start": { "line": 221, "column": 21 }, "end": { "line": 221, "column": 22 } } }, { "type": "CommentLine", "value": " Construct a new serializer", "start": 6560, "end": 6589, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 37 } } }, { "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": 6599, "end": 6604, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "serializer", "start": 6605, "end": 6615, "loc": { "start": { "line": 223, "column": 14 }, "end": { "line": 223, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6616, "end": 6617, "loc": { "start": { "line": 223, "column": 25 }, "end": { "line": 223, "column": 26 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 6618, "end": 6621, "loc": { "start": { "line": 223, "column": 27 }, "end": { "line": 223, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameSerializer", "start": 6622, "end": 6640, "loc": { "start": { "line": 223, "column": 31 }, "end": { "line": 223, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6640, "end": 6641, "loc": { "start": { "line": 223, "column": 49 }, "end": { "line": 223, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6641, "end": 6642, "loc": { "start": { "line": 223, "column": 50 }, "end": { "line": 223, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6642, "end": 6643, "loc": { "start": { "line": 223, "column": 51 }, "end": { "line": 223, "column": 52 } } }, { "type": "CommentLine", "value": " let timer = performance.now();", "start": 6655, "end": 6688, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 41 } } }, { "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": 6698, "end": 6703, "loc": { "start": { "line": 226, "column": 8 }, "end": { "line": 226, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 6704, "end": 6708, "loc": { "start": { "line": 226, "column": 14 }, "end": { "line": 226, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6709, "end": 6710, "loc": { "start": { "line": 226, "column": 19 }, "end": { "line": 226, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "serializer", "start": 6711, "end": 6721, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6721, "end": 6722, "loc": { "start": { "line": 226, "column": 31 }, "end": { "line": 226, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateDumpFromGameRoot", "start": 6722, "end": 6746, "loc": { "start": { "line": 226, "column": 32 }, "end": { "line": 226, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6746, "end": 6747, "loc": { "start": { "line": 226, "column": 56 }, "end": { "line": 226, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6747, "end": 6751, "loc": { "start": { "line": 226, "column": 57 }, "end": { "line": 226, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6751, "end": 6752, "loc": { "start": { "line": 226, "column": 61 }, "end": { "line": 226, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6752, "end": 6753, "loc": { "start": { "line": 226, "column": 62 }, "end": { "line": 226, "column": 63 } } }, { "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": 6763, "end": 6765, "loc": { "start": { "line": 227, "column": 8 }, "end": { "line": 227, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6766, "end": 6767, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "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": 6767, "end": 6768, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 6768, "end": 6772, "loc": { "start": { "line": 227, "column": 13 }, "end": { "line": 227, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6772, "end": 6773, "loc": { "start": { "line": 227, "column": 17 }, "end": { "line": 227, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6774, "end": 6775, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 227, "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": 6789, "end": 6795, "loc": { "start": { "line": 228, "column": 12 }, "end": { "line": 228, "column": 18 } } }, { "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": 6796, "end": 6801, "loc": { "start": { "line": 228, "column": 19 }, "end": { "line": 228, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6801, "end": 6802, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6812, "end": 6813, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6825, "end": 6830, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shadowData", "start": 6831, "end": 6841, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6842, "end": 6843, "loc": { "start": { "line": 231, "column": 25 }, "end": { "line": 231, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 6844, "end": 6850, "loc": { "start": { "line": 231, "column": 27 }, "end": { "line": 231, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6850, "end": 6851, "loc": { "start": { "line": 231, "column": 33 }, "end": { "line": 231, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 6851, "end": 6857, "loc": { "start": { "line": 231, "column": 34 }, "end": { "line": 231, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6857, "end": 6858, "loc": { "start": { "line": 231, "column": 40 }, "end": { "line": 231, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6858, "end": 6859, "loc": { "start": { "line": 231, "column": 41 }, "end": { "line": 231, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6859, "end": 6860, "loc": { "start": { "line": 231, "column": 42 }, "end": { "line": 231, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6860, "end": 6861, "loc": { "start": { "line": 231, "column": 43 }, "end": { "line": 231, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6862, "end": 6866, "loc": { "start": { "line": 231, "column": 45 }, "end": { "line": 231, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6866, "end": 6867, "loc": { "start": { "line": 231, "column": 49 }, "end": { "line": 231, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 6867, "end": 6878, "loc": { "start": { "line": 231, "column": 50 }, "end": { "line": 231, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6878, "end": 6879, "loc": { "start": { "line": 231, "column": 61 }, "end": { "line": 231, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6879, "end": 6880, "loc": { "start": { "line": 231, "column": 62 }, "end": { "line": 231, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shadowData", "start": 6890, "end": 6900, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6900, "end": 6901, "loc": { "start": { "line": 232, "column": 18 }, "end": { "line": 232, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 6901, "end": 6905, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6906, "end": 6907, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 6908, "end": 6912, "loc": { "start": { "line": 232, "column": 26 }, "end": { "line": 232, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6912, "end": 6913, "loc": { "start": { "line": 232, "column": 30 }, "end": { "line": 232, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shadowData", "start": 6923, "end": 6933, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6933, "end": 6934, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastUpdate", "start": 6934, "end": 6944, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6945, "end": 6946, "loc": { "start": { "line": 233, "column": 30 }, "end": { "line": 233, "column": 31 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 6947, "end": 6950, "loc": { "start": { "line": 233, "column": 32 }, "end": { "line": 233, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Date", "start": 6951, "end": 6955, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6955, "end": 6956, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 233, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6956, "end": 6957, "loc": { "start": { "line": 233, "column": 41 }, "end": { "line": 233, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6957, "end": 6958, "loc": { "start": { "line": 233, "column": 42 }, "end": { "line": 233, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTime", "start": 6958, "end": 6965, "loc": { "start": { "line": 233, "column": 43 }, "end": { "line": 233, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6965, "end": 6966, "loc": { "start": { "line": 233, "column": 50 }, "end": { "line": 233, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6966, "end": 6967, "loc": { "start": { "line": 233, "column": 51 }, "end": { "line": 233, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6967, "end": 6968, "loc": { "start": { "line": 233, "column": 52 }, "end": { "line": 233, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shadowData", "start": 6978, "end": 6988, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6988, "end": 6989, "loc": { "start": { "line": 234, "column": 18 }, "end": { "line": 234, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 6989, "end": 6996, "loc": { "start": { "line": 234, "column": 19 }, "end": { "line": 234, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6997, "end": 6998, "loc": { "start": { "line": 234, "column": 27 }, "end": { "line": 234, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6999, "end": 7003, "loc": { "start": { "line": 234, "column": 29 }, "end": { "line": 234, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7003, "end": 7004, "loc": { "start": { "line": 234, "column": 33 }, "end": { "line": 234, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 7004, "end": 7021, "loc": { "start": { "line": 234, "column": 34 }, "end": { "line": 234, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7021, "end": 7022, "loc": { "start": { "line": 234, "column": 51 }, "end": { "line": 234, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7022, "end": 7023, "loc": { "start": { "line": 234, "column": 52 }, "end": { "line": 234, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7023, "end": 7024, "loc": { "start": { "line": 234, "column": 53 }, "end": { "line": 234, "column": 54 } } }, { "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": 7036, "end": 7041, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reader", "start": 7042, "end": 7048, "loc": { "start": { "line": 236, "column": 14 }, "end": { "line": 236, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7049, "end": 7050, "loc": { "start": { "line": 236, "column": 21 }, "end": { "line": 236, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7051, "end": 7055, "loc": { "start": { "line": 236, "column": 23 }, "end": { "line": 236, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7055, "end": 7056, "loc": { "start": { "line": 236, "column": 27 }, "end": { "line": 236, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDumpReaderForExternalData", "start": 7056, "end": 7084, "loc": { "start": { "line": 236, "column": 28 }, "end": { "line": 236, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7084, "end": 7085, "loc": { "start": { "line": 236, "column": 56 }, "end": { "line": 236, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shadowData", "start": 7085, "end": 7095, "loc": { "start": { "line": 236, "column": 57 }, "end": { "line": 236, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7095, "end": 7096, "loc": { "start": { "line": 236, "column": 67 }, "end": { "line": 236, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7096, "end": 7097, "loc": { "start": { "line": 236, "column": 68 }, "end": { "line": 236, "column": 69 } } }, { "type": "CommentLine", "value": " Validate (not in prod though)", "start": 7109, "end": 7141, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 40 } } }, { "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": 7151, "end": 7153, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7154, "end": 7155, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "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": 7155, "end": 7156, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_RELEASE", "start": 7156, "end": 7168, "loc": { "start": { "line": 239, "column": 13 }, "end": { "line": 239, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7168, "end": 7169, "loc": { "start": { "line": 239, "column": 25 }, "end": { "line": 239, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7170, "end": 7171, "loc": { "start": { "line": 239, "column": 27 }, "end": { "line": 239, "column": 28 } } }, { "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": 7185, "end": 7190, "loc": { "start": { "line": 240, "column": 12 }, "end": { "line": 240, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "validationResult", "start": 7191, "end": 7207, "loc": { "start": { "line": 240, "column": 18 }, "end": { "line": 240, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7208, "end": 7209, "loc": { "start": { "line": 240, "column": 35 }, "end": { "line": 240, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reader", "start": 7210, "end": 7216, "loc": { "start": { "line": 240, "column": 37 }, "end": { "line": 240, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7216, "end": 7217, "loc": { "start": { "line": 240, "column": 43 }, "end": { "line": 240, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "validate", "start": 7217, "end": 7225, "loc": { "start": { "line": 240, "column": 44 }, "end": { "line": 240, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7225, "end": 7226, "loc": { "start": { "line": 240, "column": 52 }, "end": { "line": 240, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7226, "end": 7227, "loc": { "start": { "line": 240, "column": 53 }, "end": { "line": 240, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7227, "end": 7228, "loc": { "start": { "line": 240, "column": 54 }, "end": { "line": 240, "column": 55 } } }, { "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": 7242, "end": 7244, "loc": { "start": { "line": 241, "column": 12 }, "end": { "line": 241, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7245, "end": 7246, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 7246, "end": 7247, "loc": { "start": { "line": 241, "column": 16 }, "end": { "line": 241, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "validationResult", "start": 7247, "end": 7263, "loc": { "start": { "line": 241, "column": 17 }, "end": { "line": 241, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7263, "end": 7264, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7265, "end": 7266, "loc": { "start": { "line": 241, "column": 35 }, "end": { "line": 241, "column": 36 } } }, { "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": 7284, "end": 7290, "loc": { "start": { "line": 242, "column": 16 }, "end": { "line": 242, "column": 22 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 7291, "end": 7296, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7296, "end": 7297, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7311, "end": 7312, "loc": { "start": { "line": 243, "column": 12 }, "end": { "line": 243, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7322, "end": 7323, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 9 } } }, { "type": "CommentLine", "value": " Save data", "start": 7335, "end": 7347, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7357, "end": 7361, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7361, "end": 7362, "loc": { "start": { "line": 247, "column": 12 }, "end": { "line": 247, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 7362, "end": 7373, "loc": { "start": { "line": 247, "column": 13 }, "end": { "line": 247, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7374, "end": 7375, "loc": { "start": { "line": 247, "column": 25 }, "end": { "line": 247, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shadowData", "start": 7376, "end": 7386, "loc": { "start": { "line": 247, "column": 27 }, "end": { "line": 247, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7386, "end": 7387, "loc": { "start": { "line": 247, "column": 37 }, "end": { "line": 247, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7393, "end": 7394, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Writes the savegame as well as its metadata\r\n ", "start": 7402, "end": 7466, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 252, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeSavegameAndMetadata", "start": 7472, "end": 7496, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7496, "end": 7497, "loc": { "start": { "line": 253, "column": 28 }, "end": { "line": 253, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7497, "end": 7498, "loc": { "start": { "line": 253, "column": 29 }, "end": { "line": 253, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7499, "end": 7500, "loc": { "start": { "line": 253, "column": 31 }, "end": { "line": 253, "column": 32 } } }, { "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": 7510, "end": 7516, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7517, "end": 7521, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7521, "end": 7522, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeAsync", "start": 7522, "end": 7532, "loc": { "start": { "line": 254, "column": 20 }, "end": { "line": 254, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7532, "end": 7533, "loc": { "start": { "line": 254, "column": 30 }, "end": { "line": 254, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7533, "end": 7534, "loc": { "start": { "line": 254, "column": 31 }, "end": { "line": 254, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7534, "end": 7535, "loc": { "start": { "line": 254, "column": 32 }, "end": { "line": 254, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 7535, "end": 7539, "loc": { "start": { "line": 254, "column": 33 }, "end": { "line": 254, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7539, "end": 7540, "loc": { "start": { "line": 254, "column": 37 }, "end": { "line": 254, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7540, "end": 7541, "loc": { "start": { "line": 254, "column": 38 }, "end": { "line": 254, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7541, "end": 7542, "loc": { "start": { "line": 254, "column": 39 }, "end": { "line": 254, "column": 40 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7543, "end": 7545, "loc": { "start": { "line": 254, "column": 41 }, "end": { "line": 254, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7546, "end": 7550, "loc": { "start": { "line": 254, "column": 44 }, "end": { "line": 254, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7550, "end": 7551, "loc": { "start": { "line": 254, "column": 48 }, "end": { "line": 254, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveMetadata", "start": 7551, "end": 7563, "loc": { "start": { "line": 254, "column": 49 }, "end": { "line": 254, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7563, "end": 7564, "loc": { "start": { "line": 254, "column": 61 }, "end": { "line": 254, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7564, "end": 7565, "loc": { "start": { "line": 254, "column": 62 }, "end": { "line": 254, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7565, "end": 7566, "loc": { "start": { "line": 254, "column": 63 }, "end": { "line": 254, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7566, "end": 7567, "loc": { "start": { "line": 254, "column": 64 }, "end": { "line": 254, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7573, "end": 7574, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the savegames metadata\r\n ", "start": 7582, "end": 7633, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveMetadata", "start": 7639, "end": 7651, "loc": { "start": { "line": 260, "column": 4 }, "end": { "line": 260, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7651, "end": 7652, "loc": { "start": { "line": 260, "column": 16 }, "end": { "line": 260, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7652, "end": 7653, "loc": { "start": { "line": 260, "column": 17 }, "end": { "line": 260, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7654, "end": 7655, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7665, "end": 7669, "loc": { "start": { "line": 261, "column": 8 }, "end": { "line": 261, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7669, "end": 7670, "loc": { "start": { "line": 261, "column": 12 }, "end": { "line": 261, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 7670, "end": 7681, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 261, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7681, "end": 7682, "loc": { "start": { "line": 261, "column": 24 }, "end": { "line": 261, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastUpdate", "start": 7682, "end": 7692, "loc": { "start": { "line": 261, "column": 25 }, "end": { "line": 261, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7693, "end": 7694, "loc": { "start": { "line": 261, "column": 36 }, "end": { "line": 261, "column": 37 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 7695, "end": 7698, "loc": { "start": { "line": 261, "column": 38 }, "end": { "line": 261, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Date", "start": 7699, "end": 7703, "loc": { "start": { "line": 261, "column": 42 }, "end": { "line": 261, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7703, "end": 7704, "loc": { "start": { "line": 261, "column": 46 }, "end": { "line": 261, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7704, "end": 7705, "loc": { "start": { "line": 261, "column": 47 }, "end": { "line": 261, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7705, "end": 7706, "loc": { "start": { "line": 261, "column": 48 }, "end": { "line": 261, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTime", "start": 7706, "end": 7713, "loc": { "start": { "line": 261, "column": 49 }, "end": { "line": 261, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7713, "end": 7714, "loc": { "start": { "line": 261, "column": 56 }, "end": { "line": 261, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7714, "end": 7715, "loc": { "start": { "line": 261, "column": 57 }, "end": { "line": 261, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7715, "end": 7716, "loc": { "start": { "line": 261, "column": 58 }, "end": { "line": 261, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7726, "end": 7730, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7730, "end": 7731, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 7731, "end": 7742, "loc": { "start": { "line": 262, "column": 13 }, "end": { "line": 262, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7742, "end": 7743, "loc": { "start": { "line": 262, "column": 24 }, "end": { "line": 262, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 7743, "end": 7750, "loc": { "start": { "line": 262, "column": 25 }, "end": { "line": 262, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7751, "end": 7752, "loc": { "start": { "line": 262, "column": 33 }, "end": { "line": 262, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7753, "end": 7757, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7757, "end": 7758, "loc": { "start": { "line": 262, "column": 39 }, "end": { "line": 262, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentVersion", "start": 7758, "end": 7775, "loc": { "start": { "line": 262, "column": 40 }, "end": { "line": 262, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7775, "end": 7776, "loc": { "start": { "line": 262, "column": 57 }, "end": { "line": 262, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7776, "end": 7777, "loc": { "start": { "line": 262, "column": 58 }, "end": { "line": 262, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7777, "end": 7778, "loc": { "start": { "line": 262, "column": 59 }, "end": { "line": 262, "column": 60 } } }, { "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": 7788, "end": 7790, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7791, "end": 7792, "loc": { "start": { "line": 263, "column": 11 }, "end": { "line": 263, "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": 7792, "end": 7793, "loc": { "start": { "line": 263, "column": 12 }, "end": { "line": 263, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7793, "end": 7797, "loc": { "start": { "line": 263, "column": 13 }, "end": { "line": 263, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7797, "end": 7798, "loc": { "start": { "line": 263, "column": 17 }, "end": { "line": 263, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasGameDump", "start": 7798, "end": 7809, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 263, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7809, "end": 7810, "loc": { "start": { "line": 263, "column": 29 }, "end": { "line": 263, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7810, "end": 7811, "loc": { "start": { "line": 263, "column": 30 }, "end": { "line": 263, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7811, "end": 7812, "loc": { "start": { "line": 263, "column": 31 }, "end": { "line": 263, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7813, "end": 7814, "loc": { "start": { "line": 263, "column": 33 }, "end": { "line": 263, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7828, "end": 7832, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7832, "end": 7833, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 7833, "end": 7844, "loc": { "start": { "line": 264, "column": 17 }, "end": { "line": 264, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7844, "end": 7845, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "level", "start": 7845, "end": 7850, "loc": { "start": { "line": 264, "column": 29 }, "end": { "line": 264, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7851, "end": 7852, "loc": { "start": { "line": 264, "column": 35 }, "end": { "line": 264, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7853, "end": 7854, "loc": { "start": { "line": 264, "column": 37 }, "end": { "line": 264, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7854, "end": 7855, "loc": { "start": { "line": 264, "column": 38 }, "end": { "line": 264, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7865, "end": 7866, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 9 } } }, { "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": 7867, "end": 7871, "loc": { "start": { "line": 265, "column": 10 }, "end": { "line": 265, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7872, "end": 7873, "loc": { "start": { "line": 265, "column": 15 }, "end": { "line": 265, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7887, "end": 7891, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7891, "end": 7892, "loc": { "start": { "line": 266, "column": 16 }, "end": { "line": 266, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "metaDataRef", "start": 7892, "end": 7903, "loc": { "start": { "line": 266, "column": 17 }, "end": { "line": 266, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7903, "end": 7904, "loc": { "start": { "line": 266, "column": 28 }, "end": { "line": 266, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "level", "start": 7904, "end": 7909, "loc": { "start": { "line": 266, "column": 29 }, "end": { "line": 266, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7910, "end": 7911, "loc": { "start": { "line": 266, "column": 35 }, "end": { "line": 266, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7912, "end": 7916, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7916, "end": 7917, "loc": { "start": { "line": 266, "column": 41 }, "end": { "line": 266, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentData", "start": 7917, "end": 7928, "loc": { "start": { "line": 266, "column": 42 }, "end": { "line": 266, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7928, "end": 7929, "loc": { "start": { "line": 266, "column": 53 }, "end": { "line": 266, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dump", "start": 7929, "end": 7933, "loc": { "start": { "line": 266, "column": 54 }, "end": { "line": 266, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7933, "end": 7934, "loc": { "start": { "line": 266, "column": 58 }, "end": { "line": 266, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 7934, "end": 7942, "loc": { "start": { "line": 266, "column": 59 }, "end": { "line": 266, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7942, "end": 7943, "loc": { "start": { "line": 266, "column": 67 }, "end": { "line": 266, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "level", "start": 7943, "end": 7948, "loc": { "start": { "line": 266, "column": 68 }, "end": { "line": 266, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7948, "end": 7949, "loc": { "start": { "line": 266, "column": 73 }, "end": { "line": 266, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7959, "end": 7960, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 9 } } }, { "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": 7972, "end": 7978, "loc": { "start": { "line": 269, "column": 8 }, "end": { "line": 269, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7979, "end": 7983, "loc": { "start": { "line": 269, "column": 15 }, "end": { "line": 269, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7983, "end": 7984, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 7984, "end": 7987, "loc": { "start": { "line": 269, "column": 20 }, "end": { "line": 269, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7987, "end": 7988, "loc": { "start": { "line": 269, "column": 23 }, "end": { "line": 269, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameMgr", "start": 7988, "end": 7999, "loc": { "start": { "line": 269, "column": 24 }, "end": { "line": 269, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7999, "end": 8000, "loc": { "start": { "line": 269, "column": 35 }, "end": { "line": 269, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeAsync", "start": 8000, "end": 8010, "loc": { "start": { "line": 269, "column": 36 }, "end": { "line": 269, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8010, "end": 8011, "loc": { "start": { "line": 269, "column": 46 }, "end": { "line": 269, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8011, "end": 8012, "loc": { "start": { "line": 269, "column": 47 }, "end": { "line": 269, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8012, "end": 8013, "loc": { "start": { "line": 269, "column": 48 }, "end": { "line": 269, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8019, "end": 8020, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 270, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @see ReadWriteProxy.writeAsync\r\n * @returns {Promise}\r\n ", "start": 8028, "end": 8111, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 275, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeAsync", "start": 8117, "end": 8127, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 276, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8127, "end": 8128, "loc": { "start": { "line": 276, "column": 14 }, "end": { "line": 276, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8128, "end": 8129, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8130, "end": 8131, "loc": { "start": { "line": 276, "column": 17 }, "end": { "line": 276, "column": 18 } } }, { "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": 8141, "end": 8143, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8144, "end": 8145, "loc": { "start": { "line": 277, "column": 11 }, "end": { "line": 277, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 8145, "end": 8153, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8154, "end": 8156, "loc": { "start": { "line": 277, "column": 21 }, "end": { "line": 277, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 8157, "end": 8169, "loc": { "start": { "line": 277, "column": 24 }, "end": { "line": 277, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8169, "end": 8170, "loc": { "start": { "line": 277, "column": 36 }, "end": { "line": 277, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8170, "end": 8175, "loc": { "start": { "line": 277, "column": 37 }, "end": { "line": 277, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8175, "end": 8176, "loc": { "start": { "line": 277, "column": 42 }, "end": { "line": 277, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableSavegameWrite", "start": 8176, "end": 8196, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 277, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8196, "end": 8197, "loc": { "start": { "line": 277, "column": 63 }, "end": { "line": 277, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8198, "end": 8199, "loc": { "start": { "line": 277, "column": 65 }, "end": { "line": 277, "column": 66 } } }, { "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": 8213, "end": 8219, "loc": { "start": { "line": 278, "column": 12 }, "end": { "line": 278, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 8220, "end": 8227, "loc": { "start": { "line": 278, "column": 19 }, "end": { "line": 278, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8227, "end": 8228, "loc": { "start": { "line": 278, "column": 26 }, "end": { "line": 278, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 8228, "end": 8235, "loc": { "start": { "line": 278, "column": 27 }, "end": { "line": 278, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8235, "end": 8236, "loc": { "start": { "line": 278, "column": 34 }, "end": { "line": 278, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8236, "end": 8237, "loc": { "start": { "line": 278, "column": 35 }, "end": { "line": 278, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8237, "end": 8238, "loc": { "start": { "line": 278, "column": 36 }, "end": { "line": 278, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8248, "end": 8249, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 9 } } }, { "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": 8259, "end": 8265, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 14 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 8266, "end": 8271, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8271, "end": 8272, "loc": { "start": { "line": 280, "column": 20 }, "end": { "line": 280, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "writeAsync", "start": 8272, "end": 8282, "loc": { "start": { "line": 280, "column": 21 }, "end": { "line": 280, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8282, "end": 8283, "loc": { "start": { "line": 280, "column": 31 }, "end": { "line": 280, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8283, "end": 8284, "loc": { "start": { "line": 280, "column": 32 }, "end": { "line": 280, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8284, "end": 8285, "loc": { "start": { "line": 280, "column": 33 }, "end": { "line": 280, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8291, "end": 8292, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8294, "end": 8295, "loc": { "start": { "line": 282, "column": 0 }, "end": { "line": 282, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8295, "end": 8295, "loc": { "start": { "line": 282, "column": 1 }, "end": { "line": 282, "column": 1 } } } ] }