{ "type": "File", "start": 0, "end": 1895, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 51, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 1895, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 51, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 61, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 30, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 30 } }, "imported": { "type": "Identifier", "start": 9, "end": 30, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 30 }, "identifierName": "BaseSavegameInterface" }, "name": "BaseSavegameInterface" }, "local": { "type": "Identifier", "start": 9, "end": 30, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 30 }, "identifierName": "BaseSavegameInterface" }, "name": "BaseSavegameInterface" } } ], "source": { "type": "StringLiteral", "start": 38, "end": 60, "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 60 } }, "extra": { "rawValue": "./savegame_interface", "raw": "\"./savegame_interface\"" }, "value": "./savegame_interface" } }, { "type": "ImportDeclaration", "start": 63, "end": 120, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 72, "end": 95, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 } }, "imported": { "type": "Identifier", "start": 72, "end": 95, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 }, "identifierName": "SavegameInterface_V1000" }, "name": "SavegameInterface_V1000" }, "local": { "type": "Identifier", "start": 72, "end": 95, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 }, "identifierName": "SavegameInterface_V1000" }, "name": "SavegameInterface_V1000" } } ], "source": { "type": "StringLiteral", "start": 103, "end": 119, "loc": { "start": { "line": 2, "column": 40 }, "end": { "line": 2, "column": 56 } }, "extra": { "rawValue": "./schemas/1000", "raw": "\"./schemas/1000\"" }, "value": "./schemas/1000" } }, { "type": "ImportDeclaration", "start": 122, "end": 169, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 131, "end": 143, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } }, "imported": { "type": "Identifier", "start": 131, "end": 143, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 131, "end": 143, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 151, "end": 168, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 46 } }, "extra": { "rawValue": "../core/logging", "raw": "\"../core/logging\"" }, "value": "../core/logging" } }, { "type": "ImportDeclaration", "start": 171, "end": 228, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 180, "end": 203, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 32 } }, "imported": { "type": "Identifier", "start": 180, "end": 203, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 32 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" }, "local": { "type": "Identifier", "start": 180, "end": 203, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 32 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" } } ], "source": { "type": "StringLiteral", "start": 211, "end": 227, "loc": { "start": { "line": 4, "column": 40 }, "end": { "line": 4, "column": 56 } }, "extra": { "rawValue": "./schemas/1001", "raw": "\"./schemas/1001\"" }, "value": "./schemas/1001" } }, { "type": "ImportDeclaration", "start": 230, "end": 287, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 239, "end": 262, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 32 } }, "imported": { "type": "Identifier", "start": 239, "end": 262, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 32 }, "identifierName": "SavegameInterface_V1002" }, "name": "SavegameInterface_V1002" }, "local": { "type": "Identifier", "start": 239, "end": 262, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 32 }, "identifierName": "SavegameInterface_V1002" }, "name": "SavegameInterface_V1002" } } ], "source": { "type": "StringLiteral", "start": 270, "end": 286, "loc": { "start": { "line": 5, "column": 40 }, "end": { "line": 5, "column": 56 } }, "extra": { "rawValue": "./schemas/1002", "raw": "\"./schemas/1002\"" }, "value": "./schemas/1002" } }, { "type": "ImportDeclaration", "start": 289, "end": 346, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 298, "end": 321, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 32 } }, "imported": { "type": "Identifier", "start": 298, "end": 321, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 32 }, "identifierName": "SavegameInterface_V1003" }, "name": "SavegameInterface_V1003" }, "local": { "type": "Identifier", "start": 298, "end": 321, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 32 }, "identifierName": "SavegameInterface_V1003" }, "name": "SavegameInterface_V1003" } } ], "source": { "type": "StringLiteral", "start": 329, "end": 345, "loc": { "start": { "line": 6, "column": 40 }, "end": { "line": 6, "column": 56 } }, "extra": { "rawValue": "./schemas/1003", "raw": "\"./schemas/1003\"" }, "value": "./schemas/1003" } }, { "type": "ImportDeclaration", "start": 348, "end": 405, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 357, "end": 380, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 } }, "imported": { "type": "Identifier", "start": 357, "end": 380, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 }, "identifierName": "SavegameInterface_V1004" }, "name": "SavegameInterface_V1004" }, "local": { "type": "Identifier", "start": 357, "end": 380, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 }, "identifierName": "SavegameInterface_V1004" }, "name": "SavegameInterface_V1004" } } ], "source": { "type": "StringLiteral", "start": 388, "end": 404, "loc": { "start": { "line": 7, "column": 40 }, "end": { "line": 7, "column": 56 } }, "extra": { "rawValue": "./schemas/1004", "raw": "\"./schemas/1004\"" }, "value": "./schemas/1004" } }, { "type": "ImportDeclaration", "start": 407, "end": 464, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 416, "end": 439, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 } }, "imported": { "type": "Identifier", "start": 416, "end": 439, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 }, "identifierName": "SavegameInterface_V1005" }, "name": "SavegameInterface_V1005" }, "local": { "type": "Identifier", "start": 416, "end": 439, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 }, "identifierName": "SavegameInterface_V1005" }, "name": "SavegameInterface_V1005" } } ], "source": { "type": "StringLiteral", "start": 447, "end": 463, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 56 } }, "extra": { "rawValue": "./schemas/1005", "raw": "\"./schemas/1005\"" }, "value": "./schemas/1005" } }, { "type": "ImportDeclaration", "start": 466, "end": 523, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 475, "end": 498, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 } }, "imported": { "type": "Identifier", "start": 475, "end": 498, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" }, "local": { "type": "Identifier", "start": 475, "end": 498, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 32 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" } } ], "source": { "type": "StringLiteral", "start": 506, "end": 522, "loc": { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 56 } }, "extra": { "rawValue": "./schemas/1006", "raw": "\"./schemas/1006\"" }, "value": "./schemas/1006" } }, { "type": "ImportDeclaration", "start": 525, "end": 582, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 534, "end": 557, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 } }, "imported": { "type": "Identifier", "start": 534, "end": 557, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" }, "local": { "type": "Identifier", "start": 534, "end": 557, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 32 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" } } ], "source": { "type": "StringLiteral", "start": 565, "end": 581, "loc": { "start": { "line": 10, "column": 40 }, "end": { "line": 10, "column": 56 } }, "extra": { "rawValue": "./schemas/1007", "raw": "\"./schemas/1007\"" }, "value": "./schemas/1007" } }, { "type": "ImportDeclaration", "start": 584, "end": 640, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 593, "end": 615, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 31 } }, "imported": { "type": "Identifier", "start": 593, "end": 615, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 31 }, "identifierName": "SavegameInterface_ML01" }, "name": "SavegameInterface_ML01" }, "local": { "type": "Identifier", "start": 593, "end": 615, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 31 }, "identifierName": "SavegameInterface_ML01" }, "name": "SavegameInterface_ML01" } } ], "source": { "type": "StringLiteral", "start": 623, "end": 639, "loc": { "start": { "line": 11, "column": 39 }, "end": { "line": 11, "column": 55 } }, "extra": { "rawValue": "./schemas/ML01", "raw": "\"./schemas/ML01\"" }, "value": "./schemas/ML01" }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 644, "end": 701, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 57 } } } ] }, { "type": "ExportNamedDeclaration", "start": 703, "end": 1065, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 24, "column": 2 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 710, "end": 1065, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 24, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 716, "end": 1064, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 24, "column": 1 } }, "id": { "type": "Identifier", "start": 716, "end": 734, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 31 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 737, "end": 1064, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 24, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 744, "end": 773, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 744, "end": 748, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 8 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 }, "value": { "type": "Identifier", "start": 750, "end": 773, "loc": { "start": { "line": 15, "column": 10 }, "end": { "line": 15, "column": 33 }, "identifierName": "SavegameInterface_V1000" }, "name": "SavegameInterface_V1000" } }, { "type": "ObjectProperty", "start": 780, "end": 809, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 780, "end": 784, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 8 } }, "extra": { "rawValue": 1001, "raw": "1001" }, "value": 1001 }, "value": { "type": "Identifier", "start": 786, "end": 809, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 33 }, "identifierName": "SavegameInterface_V1001" }, "name": "SavegameInterface_V1001" } }, { "type": "ObjectProperty", "start": 816, "end": 845, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 816, "end": 820, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 8 } }, "extra": { "rawValue": 1002, "raw": "1002" }, "value": 1002 }, "value": { "type": "Identifier", "start": 822, "end": 845, "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 33 }, "identifierName": "SavegameInterface_V1002" }, "name": "SavegameInterface_V1002" } }, { "type": "ObjectProperty", "start": 852, "end": 881, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 852, "end": 856, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 8 } }, "extra": { "rawValue": 1003, "raw": "1003" }, "value": 1003 }, "value": { "type": "Identifier", "start": 858, "end": 881, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 33 }, "identifierName": "SavegameInterface_V1003" }, "name": "SavegameInterface_V1003" } }, { "type": "ObjectProperty", "start": 888, "end": 917, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 888, "end": 892, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 8 } }, "extra": { "rawValue": 1004, "raw": "1004" }, "value": 1004 }, "value": { "type": "Identifier", "start": 894, "end": 917, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 33 }, "identifierName": "SavegameInterface_V1004" }, "name": "SavegameInterface_V1004" } }, { "type": "ObjectProperty", "start": 924, "end": 953, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 924, "end": 928, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 8 } }, "extra": { "rawValue": 1005, "raw": "1005" }, "value": 1005 }, "value": { "type": "Identifier", "start": 930, "end": 953, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 33 }, "identifierName": "SavegameInterface_V1005" }, "name": "SavegameInterface_V1005" } }, { "type": "ObjectProperty", "start": 960, "end": 989, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 960, "end": 964, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 8 } }, "extra": { "rawValue": 1006, "raw": "1006" }, "value": 1006 }, "value": { "type": "Identifier", "start": 966, "end": 989, "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 33 }, "identifierName": "SavegameInterface_V1006" }, "name": "SavegameInterface_V1006" } }, { "type": "ObjectProperty", "start": 996, "end": 1025, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 996, "end": 1000, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 8 } }, "extra": { "rawValue": 1007, "raw": "1007" }, "value": 1007 }, "value": { "type": "Identifier", "start": 1002, "end": 1025, "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 33 }, "identifierName": "SavegameInterface_V1007" }, "name": "SavegameInterface_V1007" } }, { "type": "ObjectProperty", "start": 1032, "end": 1060, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1032, "end": 1036, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 }, "identifierName": "ML01" }, "name": "ML01" }, "value": { "type": "Identifier", "start": 1038, "end": 1060, "loc": { "start": { "line": 23, "column": 10 }, "end": { "line": 23, "column": 32 }, "identifierName": "SavegameInterface_ML01" }, "name": "SavegameInterface_ML01" } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 644, "end": 701, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 57 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 644, "end": 701, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 57 } } } ] }, { "type": "VariableDeclaration", "start": 1069, "end": 1128, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1075, "end": 1127, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 58 } }, "id": { "type": "Identifier", "start": 1075, "end": 1081, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 1084, "end": 1127, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 58 } }, "callee": { "type": "Identifier", "start": 1084, "end": 1096, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 1097, "end": 1126, "loc": { "start": { "line": 26, "column": 28 }, "end": { "line": 26, "column": 57 } }, "extra": { "rawValue": "savegame_interface_registry", "raw": "\"savegame_interface_registry\"" }, "value": "savegame_interface_registry" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given savegame has any supported interface\r\n * @param {any} savegame\r\n * @returns {BaseSavegameInterface|null}\r\n ", "start": 1132, "end": 1270, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 32, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1272, "end": 1895, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 51, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1279, "end": 1895, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 51, "column": 1 } }, "id": { "type": "Identifier", "start": 1288, "end": 1308, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 36 }, "identifierName": "getSavegameInterface" }, "name": "getSavegameInterface", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1309, "end": 1317, "loc": { "start": { "line": 33, "column": 37 }, "end": { "line": 33, "column": 45 }, "identifierName": "savegame" }, "name": "savegame" } ], "body": { "type": "BlockStatement", "start": 1319, "end": 1895, "loc": { "start": { "line": 33, "column": 47 }, "end": { "line": 51, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 1326, "end": 1471, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 37, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 1330, "end": 1360, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 38 } }, "left": { "type": "UnaryExpression", "start": 1330, "end": 1339, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 1331, "end": 1339, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 17 }, "identifierName": "savegame" }, "name": "savegame" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 1343, "end": 1360, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1344, "end": 1360, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 38 } }, "object": { "type": "Identifier", "start": 1344, "end": 1352, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 30 }, "identifierName": "savegame" }, "name": "savegame" }, "property": { "type": "Identifier", "start": 1353, "end": 1360, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 }, "identifierName": "version" }, "name": "version" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 1362, "end": 1471, "loc": { "start": { "line": 34, "column": 40 }, "end": { "line": 37, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1373, "end": 1442, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 77 } }, "expression": { "type": "CallExpression", "start": 1373, "end": 1441, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 1373, "end": 1384, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 19 } }, "object": { "type": "Identifier", "start": 1373, "end": 1379, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 1380, "end": 1384, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 19 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1385, "end": 1440, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 75 } }, "extra": { "rawValue": "Savegame does not contain a valid version (undefined)", "raw": "\"Savegame does not contain a valid version (undefined)\"" }, "value": "Savegame does not contain a valid version (undefined)" } ] } }, { "type": "ReturnStatement", "start": 1452, "end": 1464, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 20 } }, "argument": { "type": "NullLiteral", "start": 1459, "end": 1463, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 19 } } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 1477, "end": 1510, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1483, "end": 1509, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 36 } }, "id": { "type": "Identifier", "start": 1483, "end": 1490, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 17 }, "identifierName": "version" }, "name": "version" }, "init": { "type": "MemberExpression", "start": 1493, "end": 1509, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 36 } }, "object": { "type": "Identifier", "start": 1493, "end": 1501, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 28 }, "identifierName": "savegame" }, "name": "savegame" }, "property": { "type": "Identifier", "start": 1502, "end": 1509, "loc": { "start": { "line": 38, "column": 29 }, "end": { "line": 38, "column": 36 }, "identifierName": "version" }, "name": "version" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 1516, "end": 1657, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 42, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 1520, "end": 1548, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1521, "end": 1548, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 39, "column": 36 } }, "object": { "type": "Identifier", "start": 1521, "end": 1539, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 39, "column": 27 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces" }, "property": { "type": "Identifier", "start": 1540, "end": 1547, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 35 }, "identifierName": "version" }, "name": "version" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1550, "end": 1657, "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 42, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1561, "end": 1628, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 75 } }, "expression": { "type": "CallExpression", "start": 1561, "end": 1627, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 1561, "end": 1572, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 19 } }, "object": { "type": "Identifier", "start": 1561, "end": 1567, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 1568, "end": 1572, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 19 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1573, "end": 1617, "loc": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 64 } }, "extra": { "rawValue": "Savegame does not contain a valid version:", "raw": "\"Savegame does not contain a valid version:\"" }, "value": "Savegame does not contain a valid version:" }, { "type": "Identifier", "start": 1619, "end": 1626, "loc": { "start": { "line": 40, "column": 66 }, "end": { "line": 40, "column": 73 }, "identifierName": "version" }, "name": "version" } ] } }, { "type": "ReturnStatement", "start": 1638, "end": 1650, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 20 } }, "argument": { "type": "NullLiteral", "start": 1645, "end": 1649, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 19 } } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 1665, "end": 1716, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1671, "end": 1715, "loc": { "start": { "line": 44, "column": 10 }, "end": { "line": 44, "column": 54 } }, "id": { "type": "Identifier", "start": 1671, "end": 1685, "loc": { "start": { "line": 44, "column": 10 }, "end": { "line": 44, "column": 24 }, "identifierName": "interfaceClass" }, "name": "interfaceClass" }, "init": { "type": "MemberExpression", "start": 1688, "end": 1715, "loc": { "start": { "line": 44, "column": 27 }, "end": { "line": 44, "column": 54 } }, "object": { "type": "Identifier", "start": 1688, "end": 1706, "loc": { "start": { "line": 44, "column": 27 }, "end": { "line": 44, "column": 45 }, "identifierName": "savegameInterfaces" }, "name": "savegameInterfaces" }, "property": { "type": "Identifier", "start": 1707, "end": 1714, "loc": { "start": { "line": 44, "column": 46 }, "end": { "line": 44, "column": 53 }, "identifierName": "version" }, "name": "version" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 1722, "end": 1848, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 48, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 1726, "end": 1741, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 23 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 1727, "end": 1741, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 23 }, "identifierName": "interfaceClass" }, "name": "interfaceClass" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1743, "end": 1848, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 48, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1754, "end": 1819, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 73 } }, "expression": { "type": "CallExpression", "start": 1754, "end": 1818, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 1754, "end": 1765, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 19 } }, "object": { "type": "Identifier", "start": 1754, "end": 1760, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 1761, "end": 1765, "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 19 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1766, "end": 1775, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 29 } }, "extra": { "rawValue": "Version", "raw": "\"Version\"" }, "value": "Version" }, { "type": "Identifier", "start": 1777, "end": 1784, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 38 }, "identifierName": "version" }, "name": "version" }, { "type": "StringLiteral", "start": 1786, "end": 1817, "loc": { "start": { "line": 46, "column": 40 }, "end": { "line": 46, "column": 71 } }, "extra": { "rawValue": "has no implemented interface!", "raw": "\"has no implemented interface!\"" }, "value": "has no implemented interface!" } ] } }, { "type": "ReturnStatement", "start": 1829, "end": 1841, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 20 } }, "argument": { "type": "NullLiteral", "start": 1836, "end": 1840, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 19 } } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 1856, "end": 1892, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 40 } }, "argument": { "type": "NewExpression", "start": 1863, "end": 1891, "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 39 } }, "callee": { "type": "Identifier", "start": 1867, "end": 1881, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 29 }, "identifierName": "interfaceClass" }, "name": "interfaceClass" }, "arguments": [ { "type": "Identifier", "start": 1882, "end": 1890, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 38 }, "identifierName": "savegame" }, "name": "savegame" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given savegame has any supported interface\r\n * @param {any} savegame\r\n * @returns {BaseSavegameInterface|null}\r\n ", "start": 1132, "end": 1270, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 32, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given savegame has any supported interface\r\n * @param {any} savegame\r\n * @returns {BaseSavegameInterface|null}\r\n ", "start": 1132, "end": 1270, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 32, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 644, "end": 701, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 57 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the given savegame has any supported interface\r\n * @param {any} savegame\r\n * @returns {BaseSavegameInterface|null}\r\n ", "start": 1132, "end": 1270, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 32, "column": 3 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 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": "BaseSavegameInterface", "start": 9, "end": 30, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31, "end": 32, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 33, "end": 37, "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "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": 38, "end": 60, "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 60, "end": 61, "loc": { "start": { "line": 1, "column": 60 }, "end": { "line": 1, "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": 63, "end": 69, "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": 70, "end": 71, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1000", "start": 72, "end": 95, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 96, "end": 97, "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 98, "end": 102, "loc": { "start": { "line": 2, "column": 35 }, "end": { "line": 2, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./schemas/1000", "start": 103, "end": 119, "loc": { "start": { "line": 2, "column": 40 }, "end": { "line": 2, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 119, "end": 120, "loc": { "start": { "line": 2, "column": 56 }, "end": { "line": 2, "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": 122, "end": 128, "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": 129, "end": 130, "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": "createLogger", "start": 131, "end": 143, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 144, "end": 145, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 146, "end": 150, "loc": { "start": { "line": 3, "column": 24 }, "end": { "line": 3, "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": 151, "end": 168, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 168, "end": 169, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "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": 171, "end": 177, "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": 178, "end": 179, "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": "SavegameInterface_V1001", "start": 180, "end": 203, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 204, "end": 205, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 206, "end": 210, "loc": { "start": { "line": 4, "column": 35 }, "end": { "line": 4, "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": 211, "end": 227, "loc": { "start": { "line": 4, "column": 40 }, "end": { "line": 4, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 227, "end": 228, "loc": { "start": { "line": 4, "column": 56 }, "end": { "line": 4, "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": 230, "end": 236, "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": 237, "end": 238, "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": "SavegameInterface_V1002", "start": 239, "end": 262, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 263, "end": 264, "loc": { "start": { "line": 5, "column": 33 }, "end": { "line": 5, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 265, "end": 269, "loc": { "start": { "line": 5, "column": 35 }, "end": { "line": 5, "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": 270, "end": 286, "loc": { "start": { "line": 5, "column": 40 }, "end": { "line": 5, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 286, "end": 287, "loc": { "start": { "line": 5, "column": 56 }, "end": { "line": 5, "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": 289, "end": 295, "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": 296, "end": 297, "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": "SavegameInterface_V1003", "start": 298, "end": 321, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 322, "end": 323, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 6, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 324, "end": 328, "loc": { "start": { "line": 6, "column": 35 }, "end": { "line": 6, "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": 329, "end": 345, "loc": { "start": { "line": 6, "column": 40 }, "end": { "line": 6, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 345, "end": 346, "loc": { "start": { "line": 6, "column": 56 }, "end": { "line": 6, "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": 348, "end": 354, "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": 355, "end": 356, "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": "SavegameInterface_V1004", "start": 357, "end": 380, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 381, "end": 382, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 7, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 383, "end": 387, "loc": { "start": { "line": 7, "column": 35 }, "end": { "line": 7, "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": 388, "end": 404, "loc": { "start": { "line": 7, "column": 40 }, "end": { "line": 7, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 404, "end": 405, "loc": { "start": { "line": 7, "column": 56 }, "end": { "line": 7, "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": 407, "end": 413, "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": 414, "end": 415, "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_V1005", "start": 416, "end": 439, "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": 440, "end": 441, "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": 442, "end": 446, "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/1005", "start": 447, "end": 463, "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": 463, "end": 464, "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": 466, "end": 472, "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": 473, "end": 474, "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_V1006", "start": 475, "end": 498, "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": 499, "end": 500, "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": 501, "end": 505, "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/1006", "start": 506, "end": 522, "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": 522, "end": 523, "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": 525, "end": 531, "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": 532, "end": 533, "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_V1007", "start": 534, "end": 557, "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": 558, "end": 559, "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": 560, "end": 564, "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/1007", "start": 565, "end": 581, "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": 581, "end": 582, "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": 584, "end": 590, "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": 591, "end": 592, "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_ML01", "start": 593, "end": 615, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 616, "end": 617, "loc": { "start": { "line": 11, "column": 32 }, "end": { "line": 11, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 618, "end": 622, "loc": { "start": { "line": 11, "column": 34 }, "end": { "line": 11, "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": 623, "end": 639, "loc": { "start": { "line": 11, "column": 39 }, "end": { "line": 11, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 639, "end": 640, "loc": { "start": { "line": 11, "column": 55 }, "end": { "line": 11, "column": 56 } } }, { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 644, "end": 701, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 57 } } }, { "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": 703, "end": 709, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 6 } } }, { "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": 710, "end": 715, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameInterfaces", "start": 716, "end": 734, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 735, "end": 736, "loc": { "start": { "line": 14, "column": 32 }, "end": { "line": 14, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 737, "end": 738, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 744, "end": 748, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 748, "end": 749, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1000", "start": 750, "end": 773, "loc": { "start": { "line": 15, "column": 10 }, "end": { "line": 15, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 773, "end": 774, "loc": { "start": { "line": 15, "column": 33 }, "end": { "line": 15, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1001, "start": 780, "end": 784, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 8 } } }, { "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": 16, "column": 8 }, "end": { "line": 16, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1001", "start": 786, "end": 809, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 809, "end": 810, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1002, "start": 816, "end": 820, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 820, "end": 821, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1002", "start": 822, "end": 845, "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 845, "end": 846, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1003, "start": 852, "end": 856, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 856, "end": 857, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1003", "start": 858, "end": 881, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 881, "end": 882, "loc": { "start": { "line": 18, "column": 33 }, "end": { "line": 18, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1004, "start": 888, "end": 892, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 892, "end": 893, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1004", "start": 894, "end": 917, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 917, "end": 918, "loc": { "start": { "line": 19, "column": 33 }, "end": { "line": 19, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1005, "start": 924, "end": 928, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 928, "end": 929, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1005", "start": 930, "end": 953, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 953, "end": 954, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1006, "start": 960, "end": 964, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 964, "end": 965, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1006", "start": 966, "end": 989, "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 989, "end": 990, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1007, "start": 996, "end": 1000, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1000, "end": 1001, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_V1007", "start": 1002, "end": 1025, "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1025, "end": 1026, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ML01", "start": 1032, "end": 1036, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1036, "end": 1037, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameInterface_ML01", "start": 1038, "end": 1060, "loc": { "start": { "line": 23, "column": 10 }, "end": { "line": 23, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1060, "end": 1061, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1063, "end": 1064, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1064, "end": 1065, "loc": { "start": { "line": 24, "column": 1 }, "end": { "line": 24, "column": 2 } } }, { "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": 1069, "end": 1074, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 1075, "end": 1081, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1082, "end": 1083, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 1084, "end": 1096, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1096, "end": 1097, "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "savegame_interface_registry", "start": 1097, "end": 1126, "loc": { "start": { "line": 26, "column": 28 }, "end": { "line": 26, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1126, "end": 1127, "loc": { "start": { "line": 26, "column": 57 }, "end": { "line": 26, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1127, "end": 1128, "loc": { "start": { "line": 26, "column": 58 }, "end": { "line": 26, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the given savegame has any supported interface\r\n * @param {any} savegame\r\n * @returns {BaseSavegameInterface|null}\r\n ", "start": 1132, "end": 1270, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 32, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 1272, "end": 1278, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1279, "end": 1287, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSavegameInterface", "start": 1288, "end": 1308, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1308, "end": 1309, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegame", "start": 1309, "end": 1317, "loc": { "start": { "line": 33, "column": 37 }, "end": { "line": 33, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1317, "end": 1318, "loc": { "start": { "line": 33, "column": 45 }, "end": { "line": 33, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1319, "end": 1320, "loc": { "start": { "line": 33, "column": 47 }, "end": { "line": 33, "column": 48 } } }, { "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": 1326, "end": 1328, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1329, "end": 1330, "loc": { "start": { "line": 34, "column": 7 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1330, "end": 1331, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegame", "start": 1331, "end": 1339, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1340, "end": 1342, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1343, "end": 1344, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegame", "start": 1344, "end": 1352, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1352, "end": 1353, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 34, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1353, "end": 1360, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1360, "end": 1361, "loc": { "start": { "line": 34, "column": 38 }, "end": { "line": 34, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1362, "end": 1363, "loc": { "start": { "line": 34, "column": 40 }, "end": { "line": 34, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 1373, "end": 1379, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1379, "end": 1380, "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": "warn", "start": 1380, "end": 1384, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1384, "end": 1385, "loc": { "start": { "line": 35, "column": 19 }, "end": { "line": 35, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Savegame does not contain a valid version (undefined)", "start": 1385, "end": 1440, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1440, "end": 1441, "loc": { "start": { "line": 35, "column": 75 }, "end": { "line": 35, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1441, "end": 1442, "loc": { "start": { "line": 35, "column": 76 }, "end": { "line": 35, "column": 77 } } }, { "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": 1452, "end": 1458, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 14 } } }, { "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": 1459, "end": 1463, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1463, "end": 1464, "loc": { "start": { "line": 36, "column": 19 }, "end": { "line": 36, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1470, "end": 1471, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 5 } } }, { "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": 1477, "end": 1482, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1483, "end": 1490, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1491, "end": 1492, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegame", "start": 1493, "end": 1501, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1501, "end": 1502, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1502, "end": 1509, "loc": { "start": { "line": 38, "column": 29 }, "end": { "line": 38, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1509, "end": 1510, "loc": { "start": { "line": 38, "column": 36 }, "end": { "line": 38, "column": 37 } } }, { "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": 1516, "end": 1518, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1519, "end": 1520, "loc": { "start": { "line": 39, "column": 7 }, "end": { "line": 39, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1520, "end": 1521, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameInterfaces", "start": 1521, "end": 1539, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1539, "end": 1540, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1540, "end": 1547, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1547, "end": 1548, "loc": { "start": { "line": 39, "column": 35 }, "end": { "line": 39, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1548, "end": 1549, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1550, "end": 1551, "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 39, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 1561, "end": 1567, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1567, "end": 1568, "loc": { "start": { "line": 40, "column": 14 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 1568, "end": 1572, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1572, "end": 1573, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Savegame does not contain a valid version:", "start": 1573, "end": 1617, "loc": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1617, "end": 1618, "loc": { "start": { "line": 40, "column": 64 }, "end": { "line": 40, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1619, "end": 1626, "loc": { "start": { "line": 40, "column": 66 }, "end": { "line": 40, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1626, "end": 1627, "loc": { "start": { "line": 40, "column": 73 }, "end": { "line": 40, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1627, "end": 1628, "loc": { "start": { "line": 40, "column": 74 }, "end": { "line": 40, "column": 75 } } }, { "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": 1638, "end": 1644, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 14 } } }, { "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": 1645, "end": 1649, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1649, "end": 1650, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1656, "end": 1657, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 5 } } }, { "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": 1665, "end": 1670, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "interfaceClass", "start": 1671, "end": 1685, "loc": { "start": { "line": 44, "column": 10 }, "end": { "line": 44, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1686, "end": 1687, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameInterfaces", "start": 1688, "end": 1706, "loc": { "start": { "line": 44, "column": 27 }, "end": { "line": 44, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1706, "end": 1707, "loc": { "start": { "line": 44, "column": 45 }, "end": { "line": 44, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1707, "end": 1714, "loc": { "start": { "line": 44, "column": 46 }, "end": { "line": 44, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1714, "end": 1715, "loc": { "start": { "line": 44, "column": 53 }, "end": { "line": 44, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1715, "end": 1716, "loc": { "start": { "line": 44, "column": 54 }, "end": { "line": 44, "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": 1722, "end": 1724, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1725, "end": 1726, "loc": { "start": { "line": 45, "column": 7 }, "end": { "line": 45, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1726, "end": 1727, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "interfaceClass", "start": 1727, "end": 1741, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1741, "end": 1742, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1743, "end": 1744, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 1754, "end": 1760, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1760, "end": 1761, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 1761, "end": 1765, "loc": { "start": { "line": 46, "column": 15 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1765, "end": 1766, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Version", "start": 1766, "end": 1775, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1775, "end": 1776, "loc": { "start": { "line": 46, "column": 29 }, "end": { "line": 46, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "version", "start": 1777, "end": 1784, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1784, "end": 1785, "loc": { "start": { "line": 46, "column": 38 }, "end": { "line": 46, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "has no implemented interface!", "start": 1786, "end": 1817, "loc": { "start": { "line": 46, "column": 40 }, "end": { "line": 46, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1817, "end": 1818, "loc": { "start": { "line": 46, "column": 71 }, "end": { "line": 46, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1818, "end": 1819, "loc": { "start": { "line": 46, "column": 72 }, "end": { "line": 46, "column": 73 } } }, { "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": 1829, "end": 1835, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 14 } } }, { "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": 1836, "end": 1840, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1840, "end": 1841, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1847, "end": 1848, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 5 } } }, { "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": 1856, "end": 1862, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 10 } } }, { "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": 1863, "end": 1866, "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "interfaceClass", "start": 1867, "end": 1881, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1881, "end": 1882, "loc": { "start": { "line": 50, "column": 29 }, "end": { "line": 50, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegame", "start": 1882, "end": 1890, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1890, "end": 1891, "loc": { "start": { "line": 50, "column": 38 }, "end": { "line": 50, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1891, "end": 1892, "loc": { "start": { "line": 50, "column": 39 }, "end": { "line": 50, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1894, "end": 1895, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1895, "end": 1895, "loc": { "start": { "line": 51, "column": 1 }, "end": { "line": 51, "column": 1 } } } ] }