1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 17:21:51 +00:00
tobspr_shapez.io/docs/ast/source/savegame/savegame_interface.js.json
2021-02-26 15:20:37 +01:00

11356 lines
283 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2258,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 94,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2258,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 94,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 46
}
},
"extra": {
"rawValue": "../core/logging",
"raw": "\"../core/logging\""
},
"value": "../core/logging"
}
},
{
"type": "VariableDeclaration",
"start": 51,
"end": 78,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 57,
"end": 77,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 57,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 9
},
"identifierName": "Ajv"
},
"name": "Ajv"
},
"init": {
"type": "CallExpression",
"start": 63,
"end": 77,
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 63,
"end": 70,
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 19
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 71,
"end": 76,
"loc": {
"start": {
"line": 3,
"column": 20
},
"end": {
"line": 3,
"column": 25
}
},
"extra": {
"rawValue": "ajv",
"raw": "\"ajv\""
},
"value": "ajv"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 80,
"end": 197,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 86,
"end": 196,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 9,
"column": 2
}
},
"id": {
"type": "Identifier",
"start": 86,
"end": 89,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 9
},
"identifierName": "ajv"
},
"name": "ajv"
},
"init": {
"type": "NewExpression",
"start": 92,
"end": 196,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 9,
"column": 2
}
},
"callee": {
"type": "Identifier",
"start": 96,
"end": 99,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 19
},
"identifierName": "Ajv"
},
"name": "Ajv"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 100,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 9,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 107,
"end": 123,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 20
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 107,
"end": 116,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 13
},
"identifierName": "allErrors"
},
"name": "allErrors"
},
"value": {
"type": "BooleanLiteral",
"start": 118,
"end": 123,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 20
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 130,
"end": 148,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 130,
"end": 141,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "uniqueItems"
},
"name": "uniqueItems"
},
"value": {
"type": "BooleanLiteral",
"start": 143,
"end": 148,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 22
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 155,
"end": 169,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 155,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 11
},
"identifierName": "unicode"
},
"name": "unicode"
},
"value": {
"type": "BooleanLiteral",
"start": 164,
"end": 169,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 18
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 176,
"end": 191,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 176,
"end": 184,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 12
},
"identifierName": "nullable"
},
"name": "nullable"
},
"value": {
"type": "BooleanLiteral",
"start": 186,
"end": 191,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 19
}
},
"value": false
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 201,
"end": 223,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 207,
"end": 222,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 21
}
},
"id": {
"type": "Identifier",
"start": 207,
"end": 217,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "validators"
},
"name": "validators"
},
"init": {
"type": "ObjectExpression",
"start": 220,
"end": 222,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 21
}
},
"properties": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 227,
"end": 277,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 233,
"end": 276,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 233,
"end": 239,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 242,
"end": 276,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 49
}
},
"callee": {
"type": "Identifier",
"start": 242,
"end": 254,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 255,
"end": 275,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 48
}
},
"extra": {
"rawValue": "savegame_interface",
"raw": "\"savegame_interface\""
},
"value": "savegame_interface"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 281,
"end": 2256,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 93,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 288,
"end": 2256,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 93,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 294,
"end": 315,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 34
},
"identifierName": "BaseSavegameInterface"
},
"name": "BaseSavegameInterface"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 316,
"end": 2256,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 93,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 380,
"end": 452,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 21,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 380,
"end": 390,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 14
},
"identifierName": "getVersion"
},
"name": "getVersion",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 393,
"end": 452,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 21,
"column": 5
}
},
"body": [
{
"type": "ThrowStatement",
"start": 404,
"end": 445,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 49
}
},
"argument": {
"type": "NewExpression",
"start": 410,
"end": 444,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 414,
"end": 419,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 23
},
"identifierName": "Error"
},
"name": "Error"
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 443,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 47
}
},
"extra": {
"rawValue": "Implement get version",
"raw": "\"Implement get version\""
},
"value": "Implement get version"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the interfaces version\r\n ",
"start": 323,
"end": 374,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the uncached json schema\r\n * @returns {object}\r\n ",
"start": 460,
"end": 539,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 545,
"end": 623,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 545,
"end": 562,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 21
},
"identifierName": "getSchemaUncached"
},
"name": "getSchemaUncached",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 565,
"end": 623,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 29,
"column": 5
}
},
"body": [
{
"type": "ThrowStatement",
"start": 576,
"end": 616,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 48
}
},
"argument": {
"type": "NewExpression",
"start": 582,
"end": 615,
"loc": {
"start": {
"line": 28,
"column": 14
},
"end": {
"line": 28,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 586,
"end": 591,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 23
},
"identifierName": "Error"
},
"name": "Error"
},
"arguments": [
{
"type": "StringLiteral",
"start": 592,
"end": 614,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 46
}
},
"extra": {
"rawValue": "Implement get schema",
"raw": "\"Implement get schema\""
},
"value": "Implement get schema"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the uncached json schema\r\n * @returns {object}\r\n ",
"start": 460,
"end": 539,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 631,
"end": 1227,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 631,
"end": 643,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 16
},
"identifierName": "getValidator"
},
"name": "getValidator"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 646,
"end": 1227,
"loc": {
"start": {
"line": 31,
"column": 19
},
"end": {
"line": 46,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 657,
"end": 691,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 663,
"end": 690,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 663,
"end": 670,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 21
},
"identifierName": "version"
},
"name": "version"
},
"init": {
"type": "CallExpression",
"start": 673,
"end": 690,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 673,
"end": 688,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 673,
"end": 677,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 678,
"end": 688,
"loc": {
"start": {
"line": 32,
"column": 29
},
"end": {
"line": 32,
"column": 39
},
"identifierName": "getVersion"
},
"name": "getVersion"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 701,
"end": 779,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 35,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 705,
"end": 724,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 705,
"end": 715,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 22
},
"identifierName": "validators"
},
"name": "validators"
},
"property": {
"type": "Identifier",
"start": 716,
"end": 723,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 30
},
"identifierName": "version"
},
"name": "version"
},
"computed": true
},
"consequent": {
"type": "BlockStatement",
"start": 726,
"end": 779,
"loc": {
"start": {
"line": 33,
"column": 33
},
"end": {
"line": 35,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 741,
"end": 768,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 39
}
},
"argument": {
"type": "MemberExpression",
"start": 748,
"end": 767,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 748,
"end": 758,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "validators"
},
"name": "validators"
},
"property": {
"type": "Identifier",
"start": 759,
"end": 766,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 37
},
"identifierName": "version"
},
"name": "version"
},
"computed": true
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 789,
"end": 850,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 69
}
},
"expression": {
"type": "CallExpression",
"start": 789,
"end": 849,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 789,
"end": 799,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 789,
"end": 795,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 14
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 796,
"end": 799,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 18
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 800,
"end": 839,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 58
}
},
"extra": {
"rawValue": "Compiling schema for savegame version",
"raw": "\"Compiling schema for savegame version\""
},
"value": "Compiling schema for savegame version"
},
{
"type": "Identifier",
"start": 841,
"end": 848,
"loc": {
"start": {
"line": 36,
"column": 60
},
"end": {
"line": 36,
"column": 67
},
"identifierName": "version"
},
"name": "version"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 860,
"end": 900,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 866,
"end": 899,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 20
},
"identifierName": "schema"
},
"name": "schema"
},
"init": {
"type": "CallExpression",
"start": 875,
"end": 899,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 875,
"end": 897,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 875,
"end": 879,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 880,
"end": 897,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 45
},
"identifierName": "getSchemaUncached"
},
"name": "getSchemaUncached"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "TryStatement",
"start": 910,
"end": 1183,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
},
"block": {
"type": "BlockStatement",
"start": 914,
"end": 982,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 40,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 929,
"end": 971,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 929,
"end": 970,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 53
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 929,
"end": 948,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 929,
"end": 939,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 22
},
"identifierName": "validators"
},
"name": "validators"
},
"property": {
"type": "Identifier",
"start": 940,
"end": 947,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 30
},
"identifierName": "version"
},
"name": "version"
},
"computed": true
},
"right": {
"type": "CallExpression",
"start": 951,
"end": 970,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 951,
"end": 962,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 951,
"end": 954,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 37
},
"identifierName": "ajv"
},
"name": "ajv"
},
"property": {
"type": "Identifier",
"start": 955,
"end": 962,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 39,
"column": 45
},
"identifierName": "compile"
},
"name": "compile"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 963,
"end": 969,
"loc": {
"start": {
"line": 39,
"column": 46
},
"end": {
"line": 39,
"column": 52
},
"identifierName": "schema"
},
"name": "schema"
}
]
}
}
}
],
"directives": []
},
"handler": {
"type": "CatchClause",
"start": 983,
"end": 1183,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 44,
"column": 9
}
},
"param": {
"type": "Identifier",
"start": 990,
"end": 992,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 19
},
"identifierName": "ex"
},
"name": "ex"
},
"body": {
"type": "BlockStatement",
"start": 994,
"end": 1183,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 44,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1009,
"end": 1070,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 1009,
"end": 1069,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 1009,
"end": 1021,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1009,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 1016,
"end": 1021,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 41,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1022,
"end": 1034,
"loc": {
"start": {
"line": 41,
"column": 25
},
"end": {
"line": 41,
"column": 37
}
},
"extra": {
"rawValue": "SCHEMA FOR",
"raw": "\"SCHEMA FOR\""
},
"value": "SCHEMA FOR"
},
{
"type": "CallExpression",
"start": 1036,
"end": 1053,
"loc": {
"start": {
"line": 41,
"column": 39
},
"end": {
"line": 41,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1036,
"end": 1051,
"loc": {
"start": {
"line": 41,
"column": 39
},
"end": {
"line": 41,
"column": 54
}
},
"object": {
"type": "ThisExpression",
"start": 1036,
"end": 1040,
"loc": {
"start": {
"line": 41,
"column": 39
},
"end": {
"line": 41,
"column": 43
}
}
},
"property": {
"type": "Identifier",
"start": 1041,
"end": 1051,
"loc": {
"start": {
"line": 41,
"column": 44
},
"end": {
"line": 41,
"column": 54
},
"identifierName": "getVersion"
},
"name": "getVersion"
},
"computed": false
},
"arguments": []
},
{
"type": "StringLiteral",
"start": 1055,
"end": 1068,
"loc": {
"start": {
"line": 41,
"column": 58
},
"end": {
"line": 41,
"column": 71
}
},
"extra": {
"rawValue": "IS INVALID!",
"raw": "\"IS INVALID!\""
},
"value": "IS INVALID!"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1084,
"end": 1101,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1084,
"end": 1100,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1084,
"end": 1096,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1084,
"end": 1090,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 1091,
"end": 1096,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1097,
"end": 1099,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 27
},
"identifierName": "ex"
},
"name": "ex"
}
]
}
},
{
"type": "ThrowStatement",
"start": 1115,
"end": 1172,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 69
}
},
"argument": {
"type": "NewExpression",
"start": 1121,
"end": 1171,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 68
}
},
"callee": {
"type": "Identifier",
"start": 1125,
"end": 1130,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 27
},
"identifierName": "Error"
},
"name": "Error"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 1131,
"end": 1170,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 67
}
},
"left": {
"type": "StringLiteral",
"start": 1131,
"end": 1160,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 57
}
},
"extra": {
"rawValue": "Invalid schema for version ",
"raw": "\"Invalid schema for version \""
},
"value": "Invalid schema for version "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 67
},
"identifierName": "version"
},
"name": "version"
}
}
]
}
}
],
"directives": []
}
},
"guardedHandlers": [],
"finalizer": null
},
{
"type": "ReturnStatement",
"start": 1193,
"end": 1220,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 35
}
},
"argument": {
"type": "MemberExpression",
"start": 1200,
"end": 1219,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1200,
"end": 1210,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 25
},
"identifierName": "validators"
},
"name": "validators"
},
"property": {
"type": "Identifier",
"start": 1211,
"end": 1218,
"loc": {
"start": {
"line": 45,
"column": 26
},
"end": {
"line": 45,
"column": 33
},
"identifierName": "version"
},
"name": "version"
},
"computed": true
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Constructs an new interface for the given savegame\r\n * @param {any} data\r\n ",
"start": 1235,
"end": 1332,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1338,
"end": 1391,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1338,
"end": 1349,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1350,
"end": 1354,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 20
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 1356,
"end": 1391,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1367,
"end": 1384,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1367,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1367,
"end": 1376,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1367,
"end": 1371,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1372,
"end": 1376,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 17
},
"identifierName": "data"
},
"name": "data"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1379,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 24
},
"identifierName": "data"
},
"name": "data"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Constructs an new interface for the given savegame\r\n * @param {any} data\r\n ",
"start": 1235,
"end": 1332,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Validates the data\r\n * @returns {boolean}\r\n ",
"start": 1399,
"end": 1465,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1471,
"end": 1858,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 74,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1471,
"end": 1479,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 12
},
"identifierName": "validate"
},
"name": "validate",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1482,
"end": 1858,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 74,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1493,
"end": 1531,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1499,
"end": 1530,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 1499,
"end": 1508,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 23
},
"identifierName": "validator"
},
"name": "validator"
},
"init": {
"type": "CallExpression",
"start": 1511,
"end": 1530,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 1511,
"end": 1528,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 1511,
"end": 1515,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 1516,
"end": 1528,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 43
},
"identifierName": "getValidator"
},
"name": "getValidator"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1543,
"end": 1827,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 71,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1547,
"end": 1568,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1548,
"end": 1568,
"loc": {
"start": {
"line": 63,
"column": 13
},
"end": {
"line": 63,
"column": 33
}
},
"callee": {
"type": "Identifier",
"start": 1548,
"end": 1557,
"loc": {
"start": {
"line": 63,
"column": 13
},
"end": {
"line": 63,
"column": 22
},
"identifierName": "validator"
},
"name": "validator"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1558,
"end": 1567,
"loc": {
"start": {
"line": 63,
"column": 23
},
"end": {
"line": 63,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1558,
"end": 1562,
"loc": {
"start": {
"line": 63,
"column": 23
},
"end": {
"line": 63,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 1563,
"end": 1567,
"loc": {
"start": {
"line": 63,
"column": 28
},
"end": {
"line": 63,
"column": 32
},
"identifierName": "data"
},
"name": "data"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1570,
"end": 1827,
"loc": {
"start": {
"line": 63,
"column": 35
},
"end": {
"line": 71,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1585,
"end": 1789,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 69,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 1585,
"end": 1788,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 1585,
"end": 1597,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1585,
"end": 1591,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 1592,
"end": 1597,
"loc": {
"start": {
"line": 64,
"column": 19
},
"end": {
"line": 64,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1616,
"end": 1656,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 56
}
},
"extra": {
"rawValue": "Savegame failed validation! ErrorText:",
"raw": "\"Savegame failed validation! ErrorText:\""
},
"value": "Savegame failed validation! ErrorText:"
},
{
"type": "CallExpression",
"start": 1675,
"end": 1707,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1675,
"end": 1689,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1675,
"end": 1678,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 19
},
"identifierName": "ajv"
},
"name": "ajv"
},
"property": {
"type": "Identifier",
"start": 1679,
"end": 1689,
"loc": {
"start": {
"line": 66,
"column": 20
},
"end": {
"line": 66,
"column": 30
},
"identifierName": "errorsText"
},
"name": "errorsText"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1690,
"end": 1706,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1690,
"end": 1699,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 40
},
"identifierName": "validator"
},
"name": "validator"
},
"property": {
"type": "Identifier",
"start": 1700,
"end": 1706,
"loc": {
"start": {
"line": 66,
"column": 41
},
"end": {
"line": 66,
"column": 47
},
"identifierName": "errors"
},
"name": "errors"
},
"computed": false
}
]
},
{
"type": "StringLiteral",
"start": 1726,
"end": 1738,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 28
}
},
"extra": {
"rawValue": "RawErrors:",
"raw": "\"RawErrors:\""
},
"value": "RawErrors:"
},
{
"type": "MemberExpression",
"start": 1757,
"end": 1773,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1757,
"end": 1766,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 25
},
"identifierName": "validator"
},
"name": "validator"
},
"property": {
"type": "Identifier",
"start": 1767,
"end": 1773,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 32
},
"identifierName": "errors"
},
"name": "errors"
},
"computed": false
}
]
}
},
{
"type": "ReturnStatement",
"start": 1803,
"end": 1816,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 25
}
},
"argument": {
"type": "BooleanLiteral",
"start": 1810,
"end": 1815,
"loc": {
"start": {
"line": 70,
"column": 19
},
"end": {
"line": 70,
"column": 24
}
},
"value": false
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 1839,
"end": 1851,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 20
}
},
"argument": {
"type": "BooleanLiteral",
"start": 1846,
"end": 1850,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 19
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Validates the data\r\n * @returns {boolean}\r\n ",
"start": 1399,
"end": 1465,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": "/// INTERFACE (Override when the schema changes) /////",
"start": 1866,
"end": 1922,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the time of last update\r\n * @returns {number}\r\n ",
"start": 1930,
"end": 2008,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2014,
"end": 2077,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 84,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2014,
"end": 2028,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 18
},
"identifierName": "readLastUpdate"
},
"name": "readLastUpdate",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2031,
"end": 2077,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 84,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2042,
"end": 2070,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 36
}
},
"argument": {
"type": "MemberExpression",
"start": 2049,
"end": 2069,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 2049,
"end": 2058,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 2049,
"end": 2053,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2054,
"end": 2058,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 24
},
"identifierName": "data"
},
"name": "data"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2059,
"end": 2069,
"loc": {
"start": {
"line": 83,
"column": 25
},
"end": {
"line": 83,
"column": 35
},
"identifierName": "lastUpdate"
},
"name": "lastUpdate"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": "/// INTERFACE (Override when the schema changes) /////",
"start": 1866,
"end": 1922,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the time of last update\r\n * @returns {number}\r\n ",
"start": 1930,
"end": 2008,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in seconds\r\n * @returns {number}\r\n ",
"start": 2085,
"end": 2166,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 89,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2172,
"end": 2253,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2172,
"end": 2193,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 25
},
"identifierName": "readIngameTimeSeconds"
},
"name": "readIngameTimeSeconds",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2196,
"end": 2253,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 92,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2207,
"end": 2246,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 47
}
},
"argument": {
"type": "MemberExpression",
"start": 2214,
"end": 2245,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2214,
"end": 2233,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 2214,
"end": 2228,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 2214,
"end": 2223,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 2214,
"end": 2218,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2219,
"end": 2223,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 24
},
"identifierName": "data"
},
"name": "data"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2224,
"end": 2228,
"loc": {
"start": {
"line": 91,
"column": 25
},
"end": {
"line": 91,
"column": 29
},
"identifierName": "dump"
},
"name": "dump"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2229,
"end": 2233,
"loc": {
"start": {
"line": 91,
"column": 30
},
"end": {
"line": 91,
"column": 34
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2234,
"end": 2245,
"loc": {
"start": {
"line": 91,
"column": 35
},
"end": {
"line": 91,
"column": 46
},
"identifierName": "timeSeconds"
},
"name": "timeSeconds"
},
"computed": false
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in seconds\r\n * @returns {number}\r\n ",
"start": 2085,
"end": 2166,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 89,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the interfaces version\r\n ",
"start": 323,
"end": 374,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the uncached json schema\r\n * @returns {object}\r\n ",
"start": 460,
"end": 539,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Constructs an new interface for the given savegame\r\n * @param {any} data\r\n ",
"start": 1235,
"end": 1332,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Validates the data\r\n * @returns {boolean}\r\n ",
"start": 1399,
"end": 1465,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": "/// INTERFACE (Override when the schema changes) /////",
"start": 1866,
"end": 1922,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the time of last update\r\n * @returns {number}\r\n ",
"start": 1930,
"end": 2008,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in seconds\r\n * @returns {number}\r\n ",
"start": 2085,
"end": 2166,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 89,
"column": 7
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/logging",
"start": 29,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 46,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 46
},
"end": {
"line": 1,
"column": 47
}
}
},
{
"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": 51,
"end": 56,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Ajv",
"start": 57,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 61,
"end": 62,
"loc": {
"start": {
"line": 3,
"column": 10
},
"end": {
"line": 3,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "require",
"start": 63,
"end": 70,
"loc": {
"start": {
"line": 3,
"column": 12
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"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": 3,
"column": 19
},
"end": {
"line": 3,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ajv",
"start": 71,
"end": 76,
"loc": {
"start": {
"line": 3,
"column": 20
},
"end": {
"line": 3,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 76,
"end": 77,
"loc": {
"start": {
"line": 3,
"column": 25
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 77,
"end": 78,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 27
}
}
},
{
"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": 80,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ajv",
"start": 86,
"end": 89,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 90,
"end": 91,
"loc": {
"start": {
"line": 4,
"column": 10
},
"end": {
"line": 4,
"column": 11
}
}
},
{
"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": 92,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Ajv",
"start": 96,
"end": 99,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 99,
"end": 100,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 100,
"end": 101,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allErrors",
"start": 107,
"end": 116,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 116,
"end": 117,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 118,
"end": 123,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 123,
"end": 124,
"loc": {
"start": {
"line": 5,
"column": 20
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uniqueItems",
"start": 130,
"end": 141,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 143,
"end": 148,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 148,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unicode",
"start": 155,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 162,
"end": 163,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 164,
"end": 169,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nullable",
"start": 176,
"end": 184,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 184,
"end": 185,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 186,
"end": 191,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 191,
"end": 192,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 1
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 9,
"column": 1
},
"end": {
"line": 9,
"column": 2
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 196,
"end": 197,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 3
}
}
},
{
"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": 201,
"end": 206,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validators",
"start": 207,
"end": 217,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 218,
"end": 219,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 220,
"end": 221,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 221,
"end": 222,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 222,
"end": 223,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"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": 227,
"end": 232,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 233,
"end": 239,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 240,
"end": 241,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 242,
"end": 254,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 254,
"end": 255,
"loc": {
"start": {
"line": 13,
"column": 27
},
"end": {
"line": 13,
"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",
"start": 255,
"end": 275,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 275,
"end": 276,
"loc": {
"start": {
"line": 13,
"column": 48
},
"end": {
"line": 13,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 276,
"end": 277,
"loc": {
"start": {
"line": 13,
"column": 49
},
"end": {
"line": 13,
"column": 50
}
}
},
{
"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": 281,
"end": 287,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 288,
"end": 293,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseSavegameInterface",
"start": 294,
"end": 315,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 316,
"end": 317,
"loc": {
"start": {
"line": 15,
"column": 35
},
"end": {
"line": 15,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the interfaces version\r\n ",
"start": 323,
"end": 374,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getVersion",
"start": 380,
"end": 390,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 390,
"end": 391,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 391,
"end": 392,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 393,
"end": 394,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 404,
"end": 409,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"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": 410,
"end": 413,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Error",
"start": 414,
"end": 419,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Implement get version",
"start": 420,
"end": 443,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 443,
"end": 444,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 444,
"end": 445,
"loc": {
"start": {
"line": 20,
"column": 48
},
"end": {
"line": 20,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 451,
"end": 452,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the uncached json schema\r\n * @returns {object}\r\n ",
"start": 460,
"end": 539,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchemaUncached",
"start": 545,
"end": 562,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 563,
"end": 564,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 565,
"end": 566,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 576,
"end": 581,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"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": 582,
"end": 585,
"loc": {
"start": {
"line": 28,
"column": 14
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Error",
"start": 586,
"end": 591,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"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": 28,
"column": 23
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Implement get schema",
"start": 592,
"end": 614,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 614,
"end": 615,
"loc": {
"start": {
"line": 28,
"column": 46
},
"end": {
"line": 28,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 28,
"column": 47
},
"end": {
"line": 28,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 622,
"end": 623,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getValidator",
"start": 631,
"end": 643,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 643,
"end": 644,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 644,
"end": 645,
"loc": {
"start": {
"line": 31,
"column": 17
},
"end": {
"line": 31,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 31,
"column": 19
},
"end": {
"line": 31,
"column": 20
}
}
},
{
"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": 657,
"end": 662,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "version",
"start": 663,
"end": 670,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 671,
"end": 672,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 673,
"end": 677,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 677,
"end": 678,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getVersion",
"start": 678,
"end": 688,
"loc": {
"start": {
"line": 32,
"column": 29
},
"end": {
"line": 32,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 32,
"column": 42
}
}
},
{
"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": 701,
"end": 703,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 704,
"end": 705,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validators",
"start": 705,
"end": 715,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 715,
"end": 716,
"loc": {
"start": {
"line": 33,
"column": 22
},
"end": {
"line": 33,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "version",
"start": 716,
"end": 723,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 723,
"end": 724,
"loc": {
"start": {
"line": 33,
"column": 30
},
"end": {
"line": 33,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 724,
"end": 725,
"loc": {
"start": {
"line": 33,
"column": 31
},
"end": {
"line": 33,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 33,
"column": 33
},
"end": {
"line": 33,
"column": 34
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 741,
"end": 747,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validators",
"start": 748,
"end": 758,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 758,
"end": 759,
"loc": {
"start": {
"line": 34,
"column": 29
},
"end": {
"line": 34,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "version",
"start": 759,
"end": 766,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 766,
"end": 767,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 767,
"end": 768,
"loc": {
"start": {
"line": 34,
"column": 38
},
"end": {
"line": 34,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 789,
"end": 795,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 795,
"end": 796,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 796,
"end": 799,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 799,
"end": 800,
"loc": {
"start": {
"line": 36,
"column": 18
},
"end": {
"line": 36,
"column": 19
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Compiling schema for savegame version",
"start": 800,
"end": 839,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 839,
"end": 840,
"loc": {
"start": {
"line": 36,
"column": 58
},
"end": {
"line": 36,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "version",
"start": 841,
"end": 848,
"loc": {
"start": {
"line": 36,
"column": 60
},
"end": {
"line": 36,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 848,
"end": 849,
"loc": {
"start": {
"line": 36,
"column": 67
},
"end": {
"line": 36,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 849,
"end": 850,
"loc": {
"start": {
"line": 36,
"column": 68
},
"end": {
"line": 36,
"column": 69
}
}
},
{
"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": 860,
"end": 865,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 873,
"end": 874,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 875,
"end": 879,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 879,
"end": 880,
"loc": {
"start": {
"line": 37,
"column": 27
},
"end": {
"line": 37,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchemaUncached",
"start": 880,
"end": 897,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 897,
"end": 898,
"loc": {
"start": {
"line": 37,
"column": 45
},
"end": {
"line": 37,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 898,
"end": 899,
"loc": {
"start": {
"line": 37,
"column": 46
},
"end": {
"line": 37,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 37,
"column": 47
},
"end": {
"line": 37,
"column": 48
}
}
},
{
"type": {
"label": "try",
"keyword": "try",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "try",
"start": 910,
"end": 913,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 11
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 914,
"end": 915,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validators",
"start": 929,
"end": 939,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 939,
"end": 940,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "version",
"start": 940,
"end": 947,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 947,
"end": 948,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 949,
"end": 950,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ajv",
"start": 951,
"end": 954,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 954,
"end": 955,
"loc": {
"start": {
"line": 39,
"column": 37
},
"end": {
"line": 39,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compile",
"start": 955,
"end": 962,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 39,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 962,
"end": 963,
"loc": {
"start": {
"line": 39,
"column": 45
},
"end": {
"line": 39,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 963,
"end": 969,
"loc": {
"start": {
"line": 39,
"column": 46
},
"end": {
"line": 39,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 39,
"column": 52
},
"end": {
"line": 39,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 39,
"column": 53
},
"end": {
"line": 39,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 981,
"end": 982,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": "catch",
"keyword": "catch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "catch",
"start": 983,
"end": 988,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ex",
"start": 990,
"end": 992,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 992,
"end": 993,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 994,
"end": 995,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 1009,
"end": 1015,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1015,
"end": 1016,
"loc": {
"start": {
"line": 41,
"column": 18
},
"end": {
"line": 41,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 1016,
"end": 1021,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 41,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1021,
"end": 1022,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "SCHEMA FOR",
"start": 1022,
"end": 1034,
"loc": {
"start": {
"line": 41,
"column": 25
},
"end": {
"line": 41,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1034,
"end": 1035,
"loc": {
"start": {
"line": 41,
"column": 37
},
"end": {
"line": 41,
"column": 38
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1036,
"end": 1040,
"loc": {
"start": {
"line": 41,
"column": 39
},
"end": {
"line": 41,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1040,
"end": 1041,
"loc": {
"start": {
"line": 41,
"column": 43
},
"end": {
"line": 41,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getVersion",
"start": 1041,
"end": 1051,
"loc": {
"start": {
"line": 41,
"column": 44
},
"end": {
"line": 41,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1051,
"end": 1052,
"loc": {
"start": {
"line": 41,
"column": 54
},
"end": {
"line": 41,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1052,
"end": 1053,
"loc": {
"start": {
"line": 41,
"column": 55
},
"end": {
"line": 41,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 41,
"column": 56
},
"end": {
"line": 41,
"column": 57
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "IS INVALID!",
"start": 1055,
"end": 1068,
"loc": {
"start": {
"line": 41,
"column": 58
},
"end": {
"line": 41,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 41,
"column": 71
},
"end": {
"line": 41,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 41,
"column": 72
},
"end": {
"line": 41,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 1084,
"end": 1090,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 1091,
"end": 1096,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"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": 42,
"column": 24
},
"end": {
"line": 42,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ex",
"start": 1097,
"end": 1099,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1099,
"end": 1100,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1100,
"end": 1101,
"loc": {
"start": {
"line": 42,
"column": 28
},
"end": {
"line": 42,
"column": 29
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 1115,
"end": 1120,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"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": 1121,
"end": 1124,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Error",
"start": 1125,
"end": 1130,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Invalid schema for version ",
"start": 1131,
"end": 1160,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 57
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1161,
"end": 1162,
"loc": {
"start": {
"line": 43,
"column": 58
},
"end": {
"line": 43,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "version",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 43,
"column": 67
},
"end": {
"line": 43,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 43,
"column": 68
},
"end": {
"line": 43,
"column": 69
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1182,
"end": 1183,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1193,
"end": 1199,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validators",
"start": 1200,
"end": 1210,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1210,
"end": 1211,
"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": "version",
"start": 1211,
"end": 1218,
"loc": {
"start": {
"line": 45,
"column": 26
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1218,
"end": 1219,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1219,
"end": 1220,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Constructs an new interface for the given savegame\r\n * @param {any} data\r\n ",
"start": 1235,
"end": 1332,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1338,
"end": 1349,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1349,
"end": 1350,
"loc": {
"start": {
"line": 52,
"column": 15
},
"end": {
"line": 52,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1350,
"end": 1354,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1367,
"end": 1371,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1371,
"end": 1372,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1372,
"end": 1376,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1377,
"end": 1378,
"loc": {
"start": {
"line": 53,
"column": 18
},
"end": {
"line": 53,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1379,
"end": 1383,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 53,
"column": 24
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Validates the data\r\n * @returns {boolean}\r\n ",
"start": 1399,
"end": 1465,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validate",
"start": 1471,
"end": 1479,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1479,
"end": 1480,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1480,
"end": 1481,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1482,
"end": 1483,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"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": 1493,
"end": 1498,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validator",
"start": 1499,
"end": 1508,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1509,
"end": 1510,
"loc": {
"start": {
"line": 61,
"column": 24
},
"end": {
"line": 61,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1511,
"end": 1515,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1515,
"end": 1516,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getValidator",
"start": 1516,
"end": 1528,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1528,
"end": 1529,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 61,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1529,
"end": 1530,
"loc": {
"start": {
"line": 61,
"column": 44
},
"end": {
"line": 61,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 61,
"column": 45
},
"end": {
"line": 61,
"column": 46
}
}
},
{
"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": 1543,
"end": 1545,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1546,
"end": 1547,
"loc": {
"start": {
"line": 63,
"column": 11
},
"end": {
"line": 63,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1547,
"end": 1548,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validator",
"start": 1548,
"end": 1557,
"loc": {
"start": {
"line": 63,
"column": 13
},
"end": {
"line": 63,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 63,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1558,
"end": 1562,
"loc": {
"start": {
"line": 63,
"column": 23
},
"end": {
"line": 63,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1562,
"end": 1563,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1563,
"end": 1567,
"loc": {
"start": {
"line": 63,
"column": 28
},
"end": {
"line": 63,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1567,
"end": 1568,
"loc": {
"start": {
"line": 63,
"column": 32
},
"end": {
"line": 63,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1568,
"end": 1569,
"loc": {
"start": {
"line": 63,
"column": 33
},
"end": {
"line": 63,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1570,
"end": 1571,
"loc": {
"start": {
"line": 63,
"column": 35
},
"end": {
"line": 63,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 1585,
"end": 1591,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1591,
"end": 1592,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 1592,
"end": 1597,
"loc": {
"start": {
"line": 64,
"column": 19
},
"end": {
"line": 64,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1597,
"end": 1598,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Savegame failed validation! ErrorText:",
"start": 1616,
"end": 1656,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1656,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 56
},
"end": {
"line": 65,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ajv",
"start": 1675,
"end": 1678,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1678,
"end": 1679,
"loc": {
"start": {
"line": 66,
"column": 19
},
"end": {
"line": 66,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorsText",
"start": 1679,
"end": 1689,
"loc": {
"start": {
"line": 66,
"column": 20
},
"end": {
"line": 66,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1689,
"end": 1690,
"loc": {
"start": {
"line": 66,
"column": 30
},
"end": {
"line": 66,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validator",
"start": 1690,
"end": 1699,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1699,
"end": 1700,
"loc": {
"start": {
"line": 66,
"column": 40
},
"end": {
"line": 66,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errors",
"start": 1700,
"end": 1706,
"loc": {
"start": {
"line": 66,
"column": 41
},
"end": {
"line": 66,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 66,
"column": 47
},
"end": {
"line": 66,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1707,
"end": 1708,
"loc": {
"start": {
"line": 66,
"column": 48
},
"end": {
"line": 66,
"column": 49
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "RawErrors:",
"start": 1726,
"end": 1738,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1738,
"end": 1739,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validator",
"start": 1757,
"end": 1766,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errors",
"start": 1767,
"end": 1773,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1787,
"end": 1788,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1788,
"end": 1789,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 14
}
}
},
{
"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": 1803,
"end": 1809,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 18
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 1810,
"end": 1815,
"loc": {
"start": {
"line": 70,
"column": 19
},
"end": {
"line": 70,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1815,
"end": 1816,
"loc": {
"start": {
"line": 70,
"column": 24
},
"end": {
"line": 70,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1826,
"end": 1827,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1839,
"end": 1845,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 14
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1846,
"end": 1850,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 73,
"column": 19
},
"end": {
"line": 73,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1857,
"end": 1858,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": "/// INTERFACE (Override when the schema changes) /////",
"start": 1866,
"end": 1922,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the time of last update\r\n * @returns {number}\r\n ",
"start": 1930,
"end": 2008,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readLastUpdate",
"start": 2014,
"end": 2028,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2028,
"end": 2029,
"loc": {
"start": {
"line": 82,
"column": 18
},
"end": {
"line": 82,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2029,
"end": 2030,
"loc": {
"start": {
"line": 82,
"column": 19
},
"end": {
"line": 82,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2031,
"end": 2032,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2042,
"end": 2048,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2049,
"end": 2053,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2053,
"end": 2054,
"loc": {
"start": {
"line": 83,
"column": 19
},
"end": {
"line": 83,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2054,
"end": 2058,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2058,
"end": 2059,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastUpdate",
"start": 2059,
"end": 2069,
"loc": {
"start": {
"line": 83,
"column": 25
},
"end": {
"line": 83,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2069,
"end": 2070,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2076,
"end": 2077,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in seconds\r\n * @returns {number}\r\n ",
"start": 2085,
"end": 2166,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 89,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readIngameTimeSeconds",
"start": 2172,
"end": 2193,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2193,
"end": 2194,
"loc": {
"start": {
"line": 90,
"column": 25
},
"end": {
"line": 90,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2194,
"end": 2195,
"loc": {
"start": {
"line": 90,
"column": 26
},
"end": {
"line": 90,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2196,
"end": 2197,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 29
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2207,
"end": 2213,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2214,
"end": 2218,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2218,
"end": 2219,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2219,
"end": 2223,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2223,
"end": 2224,
"loc": {
"start": {
"line": 91,
"column": 24
},
"end": {
"line": 91,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dump",
"start": 2224,
"end": 2228,
"loc": {
"start": {
"line": 91,
"column": 25
},
"end": {
"line": 91,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2228,
"end": 2229,
"loc": {
"start": {
"line": 91,
"column": 29
},
"end": {
"line": 91,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 2229,
"end": 2233,
"loc": {
"start": {
"line": 91,
"column": 30
},
"end": {
"line": 91,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 91,
"column": 34
},
"end": {
"line": 91,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSeconds",
"start": 2234,
"end": 2245,
"loc": {
"start": {
"line": 91,
"column": 35
},
"end": {
"line": 91,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2245,
"end": 2246,
"loc": {
"start": {
"line": 91,
"column": 46
},
"end": {
"line": 91,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2252,
"end": 2253,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2255,
"end": 2256,
"loc": {
"start": {
"line": 93,
"column": 0
},
"end": {
"line": 93,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2258,
"end": 2258,
"loc": {
"start": {
"line": 94,
"column": 0
},
"end": {
"line": 94,
"column": 0
}
}
}
]
}