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_serializer.js.json
2021-02-26 15:20:37 +01:00

28322 lines
788 KiB
JSON

{
"type": "File",
"start": 0,
"end": 5653,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 145,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 5653,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 145,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
}
}
],
"source": {
"type": "StringLiteral",
"start": 32,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 58
}
},
"extra": {
"rawValue": "../core/explained_result",
"raw": "\"../core/explained_result\""
},
"value": "../core/explained_result"
}
},
{
"type": "ImportDeclaration",
"start": 61,
"end": 108,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 70,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 70,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 70,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 90,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 46
}
},
"extra": {
"rawValue": "../core/logging",
"raw": "\"../core/logging\""
},
"value": "../core/logging"
}
},
{
"type": "ImportDeclaration",
"start": 110,
"end": 173,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 63
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 119,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 119,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 27
},
"identifierName": "gComponentRegistry"
},
"name": "gComponentRegistry"
},
"local": {
"type": "Identifier",
"start": 119,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 27
},
"identifierName": "gComponentRegistry"
},
"name": "gComponentRegistry"
}
}
],
"source": {
"type": "StringLiteral",
"start": 145,
"end": 172,
"loc": {
"start": {
"line": 3,
"column": 35
},
"end": {
"line": 3,
"column": 62
}
},
"extra": {
"rawValue": "../core/global_registries",
"raw": "\"../core/global_registries\""
},
"value": "../core/global_registries"
}
},
{
"type": "ImportDeclaration",
"start": 175,
"end": 234,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 184,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 184,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 27
},
"identifierName": "SerializerInternal"
},
"name": "SerializerInternal"
},
"local": {
"type": "Identifier",
"start": 184,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 27
},
"identifierName": "SerializerInternal"
},
"name": "SerializerInternal"
}
}
],
"source": {
"type": "StringLiteral",
"start": 210,
"end": 233,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 4,
"column": 58
}
},
"extra": {
"rawValue": "./serializer_internal",
"raw": "\"./serializer_internal\""
},
"value": "./serializer_internal"
}
},
{
"type": "VariableDeclaration",
"start": 238,
"end": 289,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 244,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 244,
"end": 250,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 253,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 253,
"end": 265,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 266,
"end": 287,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 49
}
},
"extra": {
"rawValue": "savegame_serializer",
"raw": "\"savegame_serializer\""
},
"value": "savegame_serializer"
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes a savegame\r\n ",
"start": 293,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 10,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 329,
"end": 5653,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 145,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 336,
"end": 5653,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 145,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 342,
"end": 360,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 31
},
"identifierName": "SavegameSerializer"
},
"name": "SavegameSerializer",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 361,
"end": 5653,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 145,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 368,
"end": 441,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 368,
"end": 379,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 382,
"end": 441,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 14,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 393,
"end": 434,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 393,
"end": 433,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 393,
"end": 406,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 393,
"end": 397,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 398,
"end": 406,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 21
},
"identifierName": "internal"
},
"name": "internal"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 409,
"end": 433,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 413,
"end": 431,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 46
},
"identifierName": "SerializerInternal"
},
"name": "SerializerInternal"
},
"arguments": []
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the game root into a dump\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @param {boolean=} sanityChecks Whether to check for validity\r\n * @returns {object}\r\n ",
"start": 449,
"end": 655,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 661,
"end": 1745,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 661,
"end": 685,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 28
},
"identifierName": "generateDumpFromGameRoot"
},
"name": "generateDumpFromGameRoot",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 686,
"end": 690,
"loc": {
"start": {
"line": 22,
"column": 29
},
"end": {
"line": 22,
"column": 33
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "AssignmentPattern",
"start": 692,
"end": 711,
"loc": {
"start": {
"line": 22,
"column": 35
},
"end": {
"line": 22,
"column": 54
}
},
"left": {
"type": "Identifier",
"start": 692,
"end": 704,
"loc": {
"start": {
"line": 22,
"column": 35
},
"end": {
"line": 22,
"column": 47
},
"identifierName": "sanityChecks"
},
"name": "sanityChecks"
},
"right": {
"type": "BooleanLiteral",
"start": 707,
"end": 711,
"loc": {
"start": {
"line": 22,
"column": 50
},
"end": {
"line": 22,
"column": 54
}
},
"value": true
}
}
],
"body": {
"type": "BlockStatement",
"start": 713,
"end": 1745,
"loc": {
"start": {
"line": 22,
"column": 56
},
"end": {
"line": 47,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 803,
"end": 1343,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 34,
"column": 10
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 809,
"end": 1342,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 34,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 809,
"end": 813,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 18
},
"identifierName": "data"
},
"name": "data",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 816,
"end": 1342,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 34,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 831,
"end": 862,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 43
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 831,
"end": 837,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 18
},
"identifierName": "camera"
},
"name": "camera"
},
"value": {
"type": "CallExpression",
"start": 839,
"end": 862,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 839,
"end": 860,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 839,
"end": 850,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 839,
"end": 843,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 24
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 844,
"end": 850,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 31
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 851,
"end": 860,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 25,
"column": 41
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 877,
"end": 904,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 39
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 877,
"end": 881,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 16
},
"identifierName": "time"
},
"name": "time"
},
"value": {
"type": "CallExpression",
"start": 883,
"end": 904,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 883,
"end": 902,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 883,
"end": 892,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 883,
"end": 887,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 22
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 888,
"end": 892,
"loc": {
"start": {
"line": 26,
"column": 23
},
"end": {
"line": 26,
"column": 27
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 893,
"end": 902,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 37
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 919,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 919,
"end": 922,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 15
},
"identifierName": "map"
},
"name": "map"
},
"value": {
"type": "CallExpression",
"start": 924,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 924,
"end": 942,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 924,
"end": 932,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 924,
"end": 928,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 929,
"end": 932,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 25
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 933,
"end": 942,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 27,
"column": 35
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 959,
"end": 996,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 49
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 959,
"end": 968,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 21
},
"identifierName": "entityMgr"
},
"name": "entityMgr"
},
"value": {
"type": "CallExpression",
"start": 970,
"end": 996,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 970,
"end": 994,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 970,
"end": 984,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 970,
"end": 974,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 27
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 975,
"end": 984,
"loc": {
"start": {
"line": 28,
"column": 28
},
"end": {
"line": 28,
"column": 37
},
"identifierName": "entityMgr"
},
"name": "entityMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 985,
"end": 994,
"loc": {
"start": {
"line": 28,
"column": 38
},
"end": {
"line": 28,
"column": 47
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 1011,
"end": 1046,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1011,
"end": 1019,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 20
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"value": {
"type": "CallExpression",
"start": 1021,
"end": 1046,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 1021,
"end": 1044,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1021,
"end": 1034,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 1021,
"end": 1025,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 26
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 1026,
"end": 1034,
"loc": {
"start": {
"line": 29,
"column": 27
},
"end": {
"line": 29,
"column": 35
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1035,
"end": 1044,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 45
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 1061,
"end": 1114,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 65
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1061,
"end": 1073,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 24
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"value": {
"type": "CallExpression",
"start": 1075,
"end": 1114,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 1075,
"end": 1112,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 1075,
"end": 1102,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1075,
"end": 1089,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 1075,
"end": 1083,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1075,
"end": 1079,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 30
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 1080,
"end": 1083,
"loc": {
"start": {
"line": 30,
"column": 31
},
"end": {
"line": 30,
"column": 34
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1084,
"end": 1089,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 40
},
"identifierName": "parts"
},
"name": "parts"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1090,
"end": 1102,
"loc": {
"start": {
"line": 30,
"column": 41
},
"end": {
"line": 30,
"column": 53
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1103,
"end": 1112,
"loc": {
"start": {
"line": 30,
"column": 54
},
"end": {
"line": 30,
"column": 63
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 1129,
"end": 1176,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 59
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1129,
"end": 1138,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 21
},
"identifierName": "waypoints"
},
"name": "waypoints"
},
"value": {
"type": "CallExpression",
"start": 1140,
"end": 1176,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 1140,
"end": 1174,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 1140,
"end": 1164,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1140,
"end": 1154,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 1140,
"end": 1148,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 1140,
"end": 1144,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 27
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 1145,
"end": 1148,
"loc": {
"start": {
"line": 31,
"column": 28
},
"end": {
"line": 31,
"column": 31
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1149,
"end": 1154,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 37
},
"identifierName": "parts"
},
"name": "parts"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1155,
"end": 1164,
"loc": {
"start": {
"line": 31,
"column": 38
},
"end": {
"line": 31,
"column": 47
},
"identifierName": "waypoints"
},
"name": "waypoints"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1165,
"end": 1174,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 57
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 1191,
"end": 1260,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 81
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1191,
"end": 1199,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 20
},
"identifierName": "entities"
},
"name": "entities"
},
"value": {
"type": "CallExpression",
"start": 1201,
"end": 1260,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 1201,
"end": 1235,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1201,
"end": 1214,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1201,
"end": 1205,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 1206,
"end": 1214,
"loc": {
"start": {
"line": 32,
"column": 27
},
"end": {
"line": 32,
"column": 35
},
"identifierName": "internal"
},
"name": "internal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1215,
"end": 1235,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 32,
"column": 56
},
"identifierName": "serializeEntityArray"
},
"name": "serializeEntityArray"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1236,
"end": 1259,
"loc": {
"start": {
"line": 32,
"column": 57
},
"end": {
"line": 32,
"column": 80
}
},
"object": {
"type": "MemberExpression",
"start": 1236,
"end": 1250,
"loc": {
"start": {
"line": 32,
"column": 57
},
"end": {
"line": 32,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 1236,
"end": 1240,
"loc": {
"start": {
"line": 32,
"column": 57
},
"end": {
"line": 32,
"column": 61
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 1241,
"end": 1250,
"loc": {
"start": {
"line": 32,
"column": 62
},
"end": {
"line": 32,
"column": 71
},
"identifierName": "entityMgr"
},
"name": "entityMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1251,
"end": 1259,
"loc": {
"start": {
"line": 32,
"column": 72
},
"end": {
"line": 32,
"column": 80
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
}
]
}
},
{
"type": "ObjectProperty",
"start": 1275,
"end": 1330,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 67
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 21
},
"identifierName": "beltPaths"
},
"name": "beltPaths"
},
"value": {
"type": "CallExpression",
"start": 1286,
"end": 1330,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 1286,
"end": 1328,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 1286,
"end": 1313,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 1286,
"end": 1308,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1286,
"end": 1300,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 1286,
"end": 1290,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 27
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 1291,
"end": 1300,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 37
},
"identifierName": "systemMgr"
},
"name": "systemMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1301,
"end": 1308,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 45
},
"identifierName": "systems"
},
"name": "systems"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1309,
"end": 1313,
"loc": {
"start": {
"line": 33,
"column": 46
},
"end": {
"line": 33,
"column": 50
},
"identifierName": "belt"
},
"name": "belt"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1328,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 65
},
"identifierName": "serializePaths"
},
"name": "serializePaths"
},
"computed": false
},
"arguments": []
}
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {import(\"../savegame/savegame_typedefs\").SerializedGame} ",
"start": 724,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 77
}
}
}
]
},
{
"type": "IfStatement",
"start": 1355,
"end": 1716,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 1359,
"end": 1367,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"consequent": {
"type": "BlockStatement",
"start": 1369,
"end": 1716,
"loc": {
"start": {
"line": 36,
"column": 22
},
"end": {
"line": 45,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1384,
"end": 1705,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 44,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1388,
"end": 1400,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 28
},
"identifierName": "sanityChecks"
},
"name": "sanityChecks"
},
"consequent": {
"type": "BlockStatement",
"start": 1402,
"end": 1705,
"loc": {
"start": {
"line": 37,
"column": 30
},
"end": {
"line": 44,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1454,
"end": 1500,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1460,
"end": 1499,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 1460,
"end": 1466,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 28
},
"identifierName": "sanity"
},
"name": "sanity",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 1469,
"end": 1499,
"loc": {
"start": {
"line": 39,
"column": 31
},
"end": {
"line": 39,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 1469,
"end": 1493,
"loc": {
"start": {
"line": 39,
"column": 31
},
"end": {
"line": 39,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 1469,
"end": 1473,
"loc": {
"start": {
"line": 39,
"column": 31
},
"end": {
"line": 39,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1474,
"end": 1493,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 55
},
"identifierName": "verifyLogicalErrors"
},
"name": "verifyLogicalErrors"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1494,
"end": 1498,
"loc": {
"start": {
"line": 39,
"column": 56
},
"end": {
"line": 39,
"column": 60
},
"identifierName": "data"
},
"name": "data"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Sanity check",
"start": 1421,
"end": 1436,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 31
}
}
}
]
},
{
"type": "IfStatement",
"start": 1518,
"end": 1690,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 43,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 1522,
"end": 1536,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1523,
"end": 1536,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1523,
"end": 1529,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 27
},
"identifierName": "sanity"
},
"name": "sanity"
},
"property": {
"type": "Identifier",
"start": 1530,
"end": 1536,
"loc": {
"start": {
"line": 40,
"column": 28
},
"end": {
"line": 40,
"column": 34
},
"identifierName": "result"
},
"name": "result"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1538,
"end": 1690,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 43,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1561,
"end": 1637,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 96
}
},
"expression": {
"type": "CallExpression",
"start": 1561,
"end": 1636,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 95
}
},
"callee": {
"type": "MemberExpression",
"start": 1561,
"end": 1573,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1561,
"end": 1567,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 26
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 1568,
"end": 1573,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 32
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1574,
"end": 1601,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
"line": 41,
"column": 60
}
},
"extra": {
"rawValue": "Created invalid savegame:",
"raw": "\"Created invalid savegame:\""
},
"value": "Created invalid savegame:"
},
{
"type": "MemberExpression",
"start": 1603,
"end": 1616,
"loc": {
"start": {
"line": 41,
"column": 62
},
"end": {
"line": 41,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 1603,
"end": 1609,
"loc": {
"start": {
"line": 41,
"column": 62
},
"end": {
"line": 41,
"column": 68
},
"identifierName": "sanity"
},
"name": "sanity"
},
"property": {
"type": "Identifier",
"start": 1610,
"end": 1616,
"loc": {
"start": {
"line": 41,
"column": 69
},
"end": {
"line": 41,
"column": 75
},
"identifierName": "reason"
},
"name": "reason"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 1618,
"end": 1629,
"loc": {
"start": {
"line": 41,
"column": 77
},
"end": {
"line": 41,
"column": 88
}
},
"extra": {
"rawValue": "savegame:",
"raw": "\"savegame:\""
},
"value": "savegame:"
},
{
"type": "Identifier",
"start": 1631,
"end": 1635,
"loc": {
"start": {
"line": 41,
"column": 90
},
"end": {
"line": 41,
"column": 94
},
"identifierName": "data"
},
"name": "data"
}
]
}
},
{
"type": "ReturnStatement",
"start": 1659,
"end": 1671,
"loc": {
"start": {
"line": 42,
"column": 20
},
"end": {
"line": 42,
"column": 32
}
},
"argument": {
"type": "NullLiteral",
"start": 1666,
"end": 1670,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 1726,
"end": 1738,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 20
}
},
"argument": {
"type": "Identifier",
"start": 1733,
"end": 1737,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 19
},
"identifierName": "data"
},
"name": "data"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the game root into a dump\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @param {boolean=} sanityChecks Whether to check for validity\r\n * @returns {object}\r\n ",
"start": 449,
"end": 655,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Verifies if there are logical errors in the savegame\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @returns {ExplainedResult}\r\n ",
"start": 1753,
"end": 1942,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1948,
"end": 4160,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 112,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1948,
"end": 1967,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 23
},
"identifierName": "verifyLogicalErrors"
},
"name": "verifyLogicalErrors",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1968,
"end": 1976,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 32
},
"identifierName": "savegame"
},
"name": "savegame"
}
],
"body": {
"type": "BlockStatement",
"start": 1978,
"end": 4160,
"loc": {
"start": {
"line": 54,
"column": 34
},
"end": {
"line": 112,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1989,
"end": 2094,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 57,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1993,
"end": 2011,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1994,
"end": 2011,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1994,
"end": 2002,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 21
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 2003,
"end": 2011,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 55,
"column": 30
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2013,
"end": 2094,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 57,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2028,
"end": 2083,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 67
}
},
"argument": {
"type": "CallExpression",
"start": 2035,
"end": 2082,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 2035,
"end": 2054,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2035,
"end": 2050,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 34
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 2051,
"end": 2054,
"loc": {
"start": {
"line": 56,
"column": 35
},
"end": {
"line": 56,
"column": 38
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2055,
"end": 2081,
"loc": {
"start": {
"line": 56,
"column": 39
},
"end": {
"line": 56,
"column": 65
}
},
"extra": {
"rawValue": "Savegame has no entities",
"raw": "\"Savegame has no entities\""
},
"value": "Savegame has no entities"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2106,
"end": 2133,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2112,
"end": 2132,
"loc": {
"start": {
"line": 59,
"column": 14
},
"end": {
"line": 59,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2112,
"end": 2120,
"loc": {
"start": {
"line": 59,
"column": 14
},
"end": {
"line": 59,
"column": 22
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"init": {
"type": "NewExpression",
"start": 2123,
"end": 2132,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 2127,
"end": 2130,
"loc": {
"start": {
"line": 59,
"column": 29
},
"end": {
"line": 59,
"column": 32
},
"identifierName": "Set"
},
"name": "Set"
},
"arguments": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for duplicate UIDS",
"start": 2145,
"end": 2172,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 35
}
}
}
]
},
{
"type": "ForStatement",
"start": 2182,
"end": 4111,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 109,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2187,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2191,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 17
},
"end": {
"line": 62,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2191,
"end": 2192,
"loc": {
"start": {
"line": 62,
"column": 17
},
"end": {
"line": 62,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 2195,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 21
},
"end": {
"line": 62,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 2198,
"end": 2226,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 2198,
"end": 2199,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2202,
"end": 2226,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2202,
"end": 2219,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2202,
"end": 2210,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 36
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 2211,
"end": 2219,
"loc": {
"start": {
"line": 62,
"column": 37
},
"end": {
"line": 62,
"column": 45
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2220,
"end": 2226,
"loc": {
"start": {
"line": 62,
"column": 46
},
"end": {
"line": 62,
"column": 52
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2228,
"end": 2231,
"loc": {
"start": {
"line": 62,
"column": 54
},
"end": {
"line": 62,
"column": 57
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2230,
"end": 2231,
"loc": {
"start": {
"line": 62,
"column": 56
},
"end": {
"line": 62,
"column": 57
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2233,
"end": 4111,
"loc": {
"start": {
"line": 62,
"column": 59
},
"end": {
"line": 109,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2308,
"end": 2344,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2314,
"end": 2343,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 2314,
"end": 2320,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 24
},
"identifierName": "entity"
},
"name": "entity",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 2323,
"end": 2343,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2323,
"end": 2340,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2323,
"end": 2331,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 35
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 2332,
"end": 2340,
"loc": {
"start": {
"line": 64,
"column": 36
},
"end": {
"line": 64,
"column": 44
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2341,
"end": 2342,
"loc": {
"start": {
"line": 64,
"column": 45
},
"end": {
"line": 64,
"column": 46
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {import(\"../game/entity\").Entity} ",
"start": 2248,
"end": 2294,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 58
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2360,
"end": 2383,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2366,
"end": 2382,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2366,
"end": 2369,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 21
},
"identifierName": "uid"
},
"name": "uid"
},
"init": {
"type": "MemberExpression",
"start": 2372,
"end": 2382,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2372,
"end": 2378,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 30
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2379,
"end": 2382,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 34
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2397,
"end": 2520,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 2401,
"end": 2423,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 38
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2402,
"end": 2423,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2402,
"end": 2418,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2402,
"end": 2408,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 23
},
"identifierName": "Number"
},
"name": "Number"
},
"property": {
"type": "Identifier",
"start": 2409,
"end": 2418,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 33
},
"identifierName": "isInteger"
},
"name": "isInteger"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2419,
"end": 2422,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 37
},
"identifierName": "uid"
},
"name": "uid"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2425,
"end": 2520,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 69,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2444,
"end": 2505,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 77
}
},
"argument": {
"type": "CallExpression",
"start": 2451,
"end": 2504,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 2451,
"end": 2470,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 2451,
"end": 2466,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 38
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 2467,
"end": 2470,
"loc": {
"start": {
"line": 68,
"column": 39
},
"end": {
"line": 68,
"column": 42
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2471,
"end": 2503,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 75
}
},
"left": {
"type": "StringLiteral",
"start": 2471,
"end": 2497,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 69
}
},
"extra": {
"rawValue": "Entity has invalid uid: ",
"raw": "\"Entity has invalid uid: \""
},
"value": "Entity has invalid uid: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2500,
"end": 2503,
"loc": {
"start": {
"line": 68,
"column": 72
},
"end": {
"line": 68,
"column": 75
},
"identifierName": "uid"
},
"name": "uid"
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2534,
"end": 2642,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 2538,
"end": 2555,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2538,
"end": 2550,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 2538,
"end": 2546,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 24
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 2547,
"end": 2550,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 28
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2551,
"end": 2554,
"loc": {
"start": {
"line": 70,
"column": 29
},
"end": {
"line": 70,
"column": 32
},
"identifierName": "uid"
},
"name": "uid"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 2557,
"end": 2642,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 72,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2576,
"end": 2627,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 67
}
},
"argument": {
"type": "CallExpression",
"start": 2583,
"end": 2626,
"loc": {
"start": {
"line": 71,
"column": 23
},
"end": {
"line": 71,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 2583,
"end": 2602,
"loc": {
"start": {
"line": 71,
"column": 23
},
"end": {
"line": 71,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 2583,
"end": 2598,
"loc": {
"start": {
"line": 71,
"column": 23
},
"end": {
"line": 71,
"column": 38
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 2599,
"end": 2602,
"loc": {
"start": {
"line": 71,
"column": 39
},
"end": {
"line": 71,
"column": 42
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2603,
"end": 2625,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 65
}
},
"left": {
"type": "StringLiteral",
"start": 2603,
"end": 2619,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 59
}
},
"extra": {
"rawValue": "Duplicate uid ",
"raw": "\"Duplicate uid \""
},
"value": "Duplicate uid "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2622,
"end": 2625,
"loc": {
"start": {
"line": 71,
"column": 62
},
"end": {
"line": 71,
"column": 65
},
"identifierName": "uid"
},
"name": "uid"
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2656,
"end": 2674,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 2656,
"end": 2673,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 2656,
"end": 2668,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2656,
"end": 2664,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 20
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 2665,
"end": 2668,
"loc": {
"start": {
"line": 73,
"column": 21
},
"end": {
"line": 73,
"column": 24
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2669,
"end": 2672,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 28
},
"identifierName": "uid"
},
"name": "uid"
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Verify components",
"start": 2690,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 32
}
}
}
]
},
{
"type": "IfStatement",
"start": 2724,
"end": 2874,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 78,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 2728,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2729,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2729,
"end": 2735,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 23
},
"identifierName": "entity"
},
"name": "entity",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2736,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 76,
"column": 34
},
"identifierName": "components"
},
"name": "components"
},
"computed": false,
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2748,
"end": 2874,
"loc": {
"start": {
"line": 76,
"column": 36
},
"end": {
"line": 78,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2767,
"end": 2859,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 108
}
},
"argument": {
"type": "CallExpression",
"start": 2774,
"end": 2858,
"loc": {
"start": {
"line": 77,
"column": 23
},
"end": {
"line": 77,
"column": 107
}
},
"callee": {
"type": "MemberExpression",
"start": 2774,
"end": 2793,
"loc": {
"start": {
"line": 77,
"column": 23
},
"end": {
"line": 77,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 2774,
"end": 2789,
"loc": {
"start": {
"line": 77,
"column": 23
},
"end": {
"line": 77,
"column": 38
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 2790,
"end": 2793,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 42
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2794,
"end": 2857,
"loc": {
"start": {
"line": 77,
"column": 43
},
"end": {
"line": 77,
"column": 106
}
},
"left": {
"type": "StringLiteral",
"start": 2794,
"end": 2832,
"loc": {
"start": {
"line": 77,
"column": 43
},
"end": {
"line": 77,
"column": 81
}
},
"extra": {
"rawValue": "Entity is missing key 'components': ",
"raw": "\"Entity is missing key 'components': \""
},
"value": "Entity is missing key 'components': "
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 2835,
"end": 2857,
"loc": {
"start": {
"line": 77,
"column": 84
},
"end": {
"line": 77,
"column": 106
}
},
"callee": {
"type": "MemberExpression",
"start": 2835,
"end": 2849,
"loc": {
"start": {
"line": 77,
"column": 84
},
"end": {
"line": 77,
"column": 98
}
},
"object": {
"type": "Identifier",
"start": 2835,
"end": 2839,
"loc": {
"start": {
"line": 77,
"column": 84
},
"end": {
"line": 77,
"column": 88
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 2840,
"end": 2849,
"loc": {
"start": {
"line": 77,
"column": 89
},
"end": {
"line": 77,
"column": 98
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2850,
"end": 2856,
"loc": {
"start": {
"line": 77,
"column": 99
},
"end": {
"line": 77,
"column": 105
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Verify components",
"start": 2690,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 32
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2890,
"end": 2927,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2896,
"end": 2926,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 2896,
"end": 2906,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 28
},
"identifierName": "components"
},
"name": "components"
},
"init": {
"type": "MemberExpression",
"start": 2909,
"end": 2926,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 2909,
"end": 2915,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2916,
"end": 2926,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForInStatement",
"start": 2941,
"end": 4100,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 108,
"column": 13
}
},
"left": {
"type": "VariableDeclaration",
"start": 2946,
"end": 2963,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2952,
"end": 2963,
"loc": {
"start": {
"line": 81,
"column": 23
},
"end": {
"line": 81,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2952,
"end": 2963,
"loc": {
"start": {
"line": 81,
"column": 23
},
"end": {
"line": 81,
"column": 34
},
"identifierName": "componentId"
},
"name": "componentId"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 2967,
"end": 2977,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"body": {
"type": "BlockStatement",
"start": 2979,
"end": 4100,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 108,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2998,
"end": 3017,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3002,
"end": 3016,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 3002,
"end": 3016,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 34
},
"identifierName": "componentClass"
},
"name": "componentClass"
},
"init": null
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check component id is known",
"start": 3035,
"end": 3065,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 46
}
}
}
]
},
{
"type": "TryStatement",
"start": 3083,
"end": 3507,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
},
"block": {
"type": "BlockStatement",
"start": 3087,
"end": 3187,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 86,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3110,
"end": 3168,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 78
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3110,
"end": 3167,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 77
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3110,
"end": 3124,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 34
},
"identifierName": "componentClass"
},
"name": "componentClass",
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 3127,
"end": 3167,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 3127,
"end": 3154,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 3127,
"end": 3145,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 55
},
"identifierName": "gComponentRegistry"
},
"name": "gComponentRegistry"
},
"property": {
"type": "Identifier",
"start": 3146,
"end": 3154,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 64
},
"identifierName": "findById"
},
"name": "findById"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3155,
"end": 3166,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 76
},
"identifierName": "componentId"
},
"name": "componentId"
}
]
},
"leadingComments": null
},
"leadingComments": null
}
],
"directives": [],
"leadingComments": null
},
"handler": {
"type": "CatchClause",
"start": 3188,
"end": 3507,
"loc": {
"start": {
"line": 86,
"column": 18
},
"end": {
"line": 94,
"column": 17
}
},
"param": {
"type": "Identifier",
"start": 3195,
"end": 3200,
"loc": {
"start": {
"line": 86,
"column": 25
},
"end": {
"line": 86,
"column": 30
},
"identifierName": "error"
},
"name": "error"
},
"body": {
"type": "BlockStatement",
"start": 3202,
"end": 3507,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 94,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3225,
"end": 3488,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 93,
"column": 22
}
},
"argument": {
"type": "CallExpression",
"start": 3232,
"end": 3487,
"loc": {
"start": {
"line": 87,
"column": 27
},
"end": {
"line": 93,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 3232,
"end": 3251,
"loc": {
"start": {
"line": 87,
"column": 27
},
"end": {
"line": 87,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 3232,
"end": 3247,
"loc": {
"start": {
"line": 87,
"column": 27
},
"end": {
"line": 87,
"column": 42
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 3248,
"end": 3251,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 46
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 3278,
"end": 3464,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 92,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 3278,
"end": 3292,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3278,
"end": 3282,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 28
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 3283,
"end": 3292,
"loc": {
"start": {
"line": 88,
"column": 29
},
"end": {
"line": 88,
"column": 38
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 3293,
"end": 3463,
"loc": {
"start": {
"line": 88,
"column": 39
},
"end": {
"line": 92,
"column": 25
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3324,
"end": 3341,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3324,
"end": 3328,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 32
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "StringLiteral",
"start": 3330,
"end": 3341,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 45
}
},
"extra": {
"rawValue": "component",
"raw": "\"component\""
},
"value": "component"
}
},
{
"type": "ObjectProperty",
"start": 3372,
"end": 3389,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3372,
"end": 3378,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 34
},
"identifierName": "status"
},
"name": "status"
},
"value": {
"type": "StringLiteral",
"start": 3380,
"end": 3389,
"loc": {
"start": {
"line": 90,
"column": 36
},
"end": {
"line": 90,
"column": 45
}
},
"extra": {
"rawValue": "missing",
"raw": "\"missing\""
},
"value": "missing"
}
},
{
"type": "ObjectProperty",
"start": 3420,
"end": 3435,
"loc": {
"start": {
"line": 91,
"column": 28
},
"end": {
"line": 91,
"column": 43
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3420,
"end": 3422,
"loc": {
"start": {
"line": 91,
"column": 28
},
"end": {
"line": 91,
"column": 30
},
"identifierName": "id"
},
"name": "id"
},
"value": {
"type": "Identifier",
"start": 3424,
"end": 3435,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 43
},
"identifierName": "componentId"
},
"name": "componentId"
}
}
]
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": null
},
"guardedHandlers": [],
"finalizer": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check component id is known",
"start": 3035,
"end": 3065,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 46
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Verify component data",
"start": 3527,
"end": 3551,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 40
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3569,
"end": 3615,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3575,
"end": 3614,
"loc": {
"start": {
"line": 97,
"column": 22
},
"end": {
"line": 97,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 3575,
"end": 3588,
"loc": {
"start": {
"line": 97,
"column": 22
},
"end": {
"line": 97,
"column": 35
},
"identifierName": "componentData"
},
"name": "componentData",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 3591,
"end": 3614,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 3591,
"end": 3601,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"property": {
"type": "Identifier",
"start": 3602,
"end": 3613,
"loc": {
"start": {
"line": 97,
"column": 49
},
"end": {
"line": 97,
"column": 60
},
"identifierName": "componentId"
},
"name": "componentId"
},
"computed": true
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Verify component data",
"start": 3527,
"end": 3551,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 40
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3633,
"end": 3800,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 100,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3639,
"end": 3799,
"loc": {
"start": {
"line": 98,
"column": 22
},
"end": {
"line": 100,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 3639,
"end": 3659,
"loc": {
"start": {
"line": 98,
"column": 22
},
"end": {
"line": 98,
"column": 42
},
"identifierName": "componentVerifyError"
},
"name": "componentVerifyError"
},
"init": {
"type": "CallExpression",
"start": 3721,
"end": 3799,
"loc": {
"start": {
"line": 98,
"column": 104
},
"end": {
"line": 100,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 3721,
"end": 3744,
"loc": {
"start": {
"line": 98,
"column": 104
},
"end": {
"line": 98,
"column": 127
}
},
"object": {
"type": "Identifier",
"start": 3722,
"end": 3736,
"loc": {
"start": {
"line": 98,
"column": 105
},
"end": {
"line": 98,
"column": 119
},
"identifierName": "componentClass"
},
"name": "componentClass",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 3721
}
},
"property": {
"type": "Identifier",
"start": 3738,
"end": 3744,
"loc": {
"start": {
"line": 98,
"column": 121
},
"end": {
"line": 98,
"column": 127
},
"identifierName": "verify"
},
"name": "verify"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 3767,
"end": 3780,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 33
},
"identifierName": "componentData"
},
"name": "componentData"
}
],
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {import(\"../game/component\").StaticComponent} ",
"start": 3662,
"end": 3720,
"loc": {
"start": {
"line": 98,
"column": 45
},
"end": {
"line": 98,
"column": 103
}
}
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check component data is ok",
"start": 3820,
"end": 3849,
"loc": {
"start": {
"line": 102,
"column": 16
},
"end": {
"line": 102,
"column": 45
}
}
}
]
},
{
"type": "IfStatement",
"start": 3867,
"end": 4085,
"loc": {
"start": {
"line": 103,
"column": 16
},
"end": {
"line": 107,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 3871,
"end": 3891,
"loc": {
"start": {
"line": 103,
"column": 20
},
"end": {
"line": 103,
"column": 40
},
"identifierName": "componentVerifyError"
},
"name": "componentVerifyError",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 3893,
"end": 4085,
"loc": {
"start": {
"line": 103,
"column": 42
},
"end": {
"line": 107,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3916,
"end": 4066,
"loc": {
"start": {
"line": 104,
"column": 20
},
"end": {
"line": 106,
"column": 22
}
},
"argument": {
"type": "CallExpression",
"start": 3923,
"end": 4065,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 106,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 3923,
"end": 3942,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 104,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 3923,
"end": 3938,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 104,
"column": 42
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 3939,
"end": 3942,
"loc": {
"start": {
"line": 104,
"column": 43
},
"end": {
"line": 104,
"column": 46
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3969,
"end": 4042,
"loc": {
"start": {
"line": 105,
"column": 24
},
"end": {
"line": 105,
"column": 97
}
},
"left": {
"type": "BinaryExpression",
"start": 3969,
"end": 4019,
"loc": {
"start": {
"line": 105,
"column": 24
},
"end": {
"line": 105,
"column": 74
}
},
"left": {
"type": "BinaryExpression",
"start": 3969,
"end": 3995,
"loc": {
"start": {
"line": 105,
"column": 24
},
"end": {
"line": 105,
"column": 50
}
},
"left": {
"type": "StringLiteral",
"start": 3969,
"end": 3981,
"loc": {
"start": {
"line": 105,
"column": 24
},
"end": {
"line": 105,
"column": 36
}
},
"extra": {
"rawValue": "Component ",
"raw": "\"Component \""
},
"value": "Component "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 3984,
"end": 3995,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 50
},
"identifierName": "componentId"
},
"name": "componentId"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 3998,
"end": 4019,
"loc": {
"start": {
"line": 105,
"column": 53
},
"end": {
"line": 105,
"column": 74
}
},
"extra": {
"rawValue": " has invalid data: ",
"raw": "\" has invalid data: \""
},
"value": " has invalid data: "
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 4022,
"end": 4042,
"loc": {
"start": {
"line": 105,
"column": 77
},
"end": {
"line": 105,
"column": 97
},
"identifierName": "componentVerifyError"
},
"name": "componentVerifyError"
}
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check component data is ok",
"start": 3820,
"end": 3849,
"loc": {
"start": {
"line": 102,
"column": 16
},
"end": {
"line": 102,
"column": 45
}
}
}
]
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for duplicate UIDS",
"start": 2145,
"end": 2172,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 35
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 4123,
"end": 4153,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 38
}
},
"argument": {
"type": "CallExpression",
"start": 4130,
"end": 4152,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 4130,
"end": 4150,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 4130,
"end": 4145,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 30
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 4146,
"end": 4150,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 35
},
"identifierName": "good"
},
"name": "good"
},
"computed": false
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Verifies if there are logical errors in the savegame\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @returns {ExplainedResult}\r\n ",
"start": 1753,
"end": 1942,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Tries to load the savegame from a given dump\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @returns {ExplainedResult}\r\n ",
"start": 4168,
"end": 4403,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4409,
"end": 5650,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 144,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4409,
"end": 4420,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 15
},
"identifierName": "deserialize"
},
"name": "deserialize",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4421,
"end": 4429,
"loc": {
"start": {
"line": 120,
"column": 16
},
"end": {
"line": 120,
"column": 24
},
"identifierName": "savegame"
},
"name": "savegame"
},
{
"type": "Identifier",
"start": 4431,
"end": 4435,
"loc": {
"start": {
"line": 120,
"column": 26
},
"end": {
"line": 120,
"column": 30
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 4437,
"end": 5650,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 144,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4467,
"end": 4523,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4473,
"end": 4522,
"loc": {
"start": {
"line": 122,
"column": 14
},
"end": {
"line": 122,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 4473,
"end": 4485,
"loc": {
"start": {
"line": 122,
"column": 14
},
"end": {
"line": 122,
"column": 26
},
"identifierName": "verifyResult"
},
"name": "verifyResult",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 4488,
"end": 4522,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 4488,
"end": 4512,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 4488,
"end": 4492,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 4493,
"end": 4512,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 53
},
"identifierName": "verifyLogicalErrors"
},
"name": "verifyLogicalErrors"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4513,
"end": 4521,
"loc": {
"start": {
"line": 122,
"column": 54
},
"end": {
"line": 122,
"column": 62
},
"identifierName": "savegame"
},
"name": "savegame"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Sanity",
"start": 4448,
"end": 4457,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 17
}
}
}
]
},
{
"type": "IfStatement",
"start": 4533,
"end": 4633,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 125,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 4537,
"end": 4557,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 32
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 4538,
"end": 4557,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4538,
"end": 4550,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 25
},
"identifierName": "verifyResult"
},
"name": "verifyResult"
},
"property": {
"type": "Identifier",
"start": 4551,
"end": 4557,
"loc": {
"start": {
"line": 123,
"column": 26
},
"end": {
"line": 123,
"column": 32
},
"identifierName": "result"
},
"name": "result"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4559,
"end": 4633,
"loc": {
"start": {
"line": 123,
"column": 34
},
"end": {
"line": 125,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4574,
"end": 4622,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 60
}
},
"argument": {
"type": "CallExpression",
"start": 4581,
"end": 4621,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 4581,
"end": 4600,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 4581,
"end": 4596,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 34
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 4597,
"end": 4600,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 38
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4601,
"end": 4620,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 4601,
"end": 4613,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 51
},
"identifierName": "verifyResult"
},
"name": "verifyResult"
},
"property": {
"type": "Identifier",
"start": 4614,
"end": 4620,
"loc": {
"start": {
"line": 124,
"column": 52
},
"end": {
"line": 124,
"column": 58
},
"identifierName": "reason"
},
"name": "reason"
},
"computed": false
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 4643,
"end": 4666,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4647,
"end": 4665,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 4647,
"end": 4658,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 23
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"init": {
"type": "NullLiteral",
"start": 4661,
"end": 4665,
"loc": {
"start": {
"line": 126,
"column": 26
},
"end": {
"line": 126,
"column": 30
}
}
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 4678,
"end": 4754,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 84
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4678,
"end": 4753,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 83
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4678,
"end": 4689,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 4692,
"end": 4753,
"loc": {
"start": {
"line": 128,
"column": 22
},
"end": {
"line": 128,
"column": 83
}
},
"left": {
"type": "Identifier",
"start": 4692,
"end": 4703,
"loc": {
"start": {
"line": 128,
"column": 22
},
"end": {
"line": 128,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 4707,
"end": 4753,
"loc": {
"start": {
"line": 128,
"column": 37
},
"end": {
"line": 128,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 4707,
"end": 4733,
"loc": {
"start": {
"line": 128,
"column": 37
},
"end": {
"line": 128,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 4707,
"end": 4721,
"loc": {
"start": {
"line": 128,
"column": 37
},
"end": {
"line": 128,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 4707,
"end": 4711,
"loc": {
"start": {
"line": 128,
"column": 37
},
"end": {
"line": 128,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 4712,
"end": 4721,
"loc": {
"start": {
"line": 128,
"column": 42
},
"end": {
"line": 128,
"column": 51
},
"identifierName": "entityMgr"
},
"name": "entityMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4722,
"end": 4733,
"loc": {
"start": {
"line": 128,
"column": 52
},
"end": {
"line": 128,
"column": 63
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4734,
"end": 4752,
"loc": {
"start": {
"line": 128,
"column": 64
},
"end": {
"line": 128,
"column": 82
}
},
"object": {
"type": "Identifier",
"start": 4734,
"end": 4742,
"loc": {
"start": {
"line": 128,
"column": 64
},
"end": {
"line": 128,
"column": 72
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 4743,
"end": 4752,
"loc": {
"start": {
"line": 128,
"column": 73
},
"end": {
"line": 128,
"column": 82
},
"identifierName": "entityMgr"
},
"name": "entityMgr"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 4764,
"end": 4830,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 74
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4764,
"end": 4829,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 73
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4764,
"end": 4775,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 4778,
"end": 4829,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 73
}
},
"left": {
"type": "Identifier",
"start": 4778,
"end": 4789,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 4793,
"end": 4829,
"loc": {
"start": {
"line": 129,
"column": 37
},
"end": {
"line": 129,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 4793,
"end": 4814,
"loc": {
"start": {
"line": 129,
"column": 37
},
"end": {
"line": 129,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 4793,
"end": 4802,
"loc": {
"start": {
"line": 129,
"column": 37
},
"end": {
"line": 129,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 4793,
"end": 4797,
"loc": {
"start": {
"line": 129,
"column": 37
},
"end": {
"line": 129,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 4798,
"end": 4802,
"loc": {
"start": {
"line": 129,
"column": 42
},
"end": {
"line": 129,
"column": 46
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4803,
"end": 4814,
"loc": {
"start": {
"line": 129,
"column": 47
},
"end": {
"line": 129,
"column": 58
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4815,
"end": 4828,
"loc": {
"start": {
"line": 129,
"column": 59
},
"end": {
"line": 129,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 4815,
"end": 4823,
"loc": {
"start": {
"line": 129,
"column": 59
},
"end": {
"line": 129,
"column": 67
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 4824,
"end": 4828,
"loc": {
"start": {
"line": 129,
"column": 68
},
"end": {
"line": 129,
"column": 72
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 4840,
"end": 4910,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 78
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4840,
"end": 4909,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 77
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4840,
"end": 4851,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 4854,
"end": 4909,
"loc": {
"start": {
"line": 130,
"column": 22
},
"end": {
"line": 130,
"column": 77
}
},
"left": {
"type": "Identifier",
"start": 4854,
"end": 4865,
"loc": {
"start": {
"line": 130,
"column": 22
},
"end": {
"line": 130,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 4869,
"end": 4909,
"loc": {
"start": {
"line": 130,
"column": 37
},
"end": {
"line": 130,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 4869,
"end": 4892,
"loc": {
"start": {
"line": 130,
"column": 37
},
"end": {
"line": 130,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 4869,
"end": 4880,
"loc": {
"start": {
"line": 130,
"column": 37
},
"end": {
"line": 130,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 4869,
"end": 4873,
"loc": {
"start": {
"line": 130,
"column": 37
},
"end": {
"line": 130,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 4874,
"end": 4880,
"loc": {
"start": {
"line": 130,
"column": 42
},
"end": {
"line": 130,
"column": 48
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4881,
"end": 4892,
"loc": {
"start": {
"line": 130,
"column": 49
},
"end": {
"line": 130,
"column": 60
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4893,
"end": 4908,
"loc": {
"start": {
"line": 130,
"column": 61
},
"end": {
"line": 130,
"column": 76
}
},
"object": {
"type": "Identifier",
"start": 4893,
"end": 4901,
"loc": {
"start": {
"line": 130,
"column": 61
},
"end": {
"line": 130,
"column": 69
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 4902,
"end": 4908,
"loc": {
"start": {
"line": 130,
"column": 70
},
"end": {
"line": 130,
"column": 76
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 4920,
"end": 4984,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 72
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4920,
"end": 4983,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 71
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4920,
"end": 4931,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 4934,
"end": 4983,
"loc": {
"start": {
"line": 131,
"column": 22
},
"end": {
"line": 131,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 4934,
"end": 4945,
"loc": {
"start": {
"line": 131,
"column": 22
},
"end": {
"line": 131,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 4949,
"end": 4983,
"loc": {
"start": {
"line": 131,
"column": 37
},
"end": {
"line": 131,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 4949,
"end": 4969,
"loc": {
"start": {
"line": 131,
"column": 37
},
"end": {
"line": 131,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 4949,
"end": 4957,
"loc": {
"start": {
"line": 131,
"column": 37
},
"end": {
"line": 131,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 4949,
"end": 4953,
"loc": {
"start": {
"line": 131,
"column": 37
},
"end": {
"line": 131,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 4954,
"end": 4957,
"loc": {
"start": {
"line": 131,
"column": 42
},
"end": {
"line": 131,
"column": 45
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4958,
"end": 4969,
"loc": {
"start": {
"line": 131,
"column": 46
},
"end": {
"line": 131,
"column": 57
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4970,
"end": 4982,
"loc": {
"start": {
"line": 131,
"column": 58
},
"end": {
"line": 131,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 4970,
"end": 4978,
"loc": {
"start": {
"line": 131,
"column": 58
},
"end": {
"line": 131,
"column": 66
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 4979,
"end": 4982,
"loc": {
"start": {
"line": 131,
"column": 67
},
"end": {
"line": 131,
"column": 70
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 4994,
"end": 5074,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 88
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4994,
"end": 5073,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 87
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4994,
"end": 5005,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 5008,
"end": 5073,
"loc": {
"start": {
"line": 132,
"column": 22
},
"end": {
"line": 132,
"column": 87
}
},
"left": {
"type": "Identifier",
"start": 5008,
"end": 5019,
"loc": {
"start": {
"line": 132,
"column": 22
},
"end": {
"line": 132,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 5023,
"end": 5073,
"loc": {
"start": {
"line": 132,
"column": 37
},
"end": {
"line": 132,
"column": 87
}
},
"callee": {
"type": "MemberExpression",
"start": 5023,
"end": 5048,
"loc": {
"start": {
"line": 132,
"column": 37
},
"end": {
"line": 132,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 5023,
"end": 5036,
"loc": {
"start": {
"line": 132,
"column": 37
},
"end": {
"line": 132,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 5023,
"end": 5027,
"loc": {
"start": {
"line": 132,
"column": 37
},
"end": {
"line": 132,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 5028,
"end": 5036,
"loc": {
"start": {
"line": 132,
"column": 42
},
"end": {
"line": 132,
"column": 50
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5037,
"end": 5048,
"loc": {
"start": {
"line": 132,
"column": 51
},
"end": {
"line": 132,
"column": 62
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5049,
"end": 5066,
"loc": {
"start": {
"line": 132,
"column": 63
},
"end": {
"line": 132,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 5049,
"end": 5057,
"loc": {
"start": {
"line": 132,
"column": 63
},
"end": {
"line": 132,
"column": 71
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 5058,
"end": 5066,
"loc": {
"start": {
"line": 132,
"column": 72
},
"end": {
"line": 132,
"column": 80
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
{
"type": "Identifier",
"start": 5068,
"end": 5072,
"loc": {
"start": {
"line": 132,
"column": 82
},
"end": {
"line": 132,
"column": 86
},
"identifierName": "root"
},
"name": "root"
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5084,
"end": 5176,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 100
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5084,
"end": 5175,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 99
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5084,
"end": 5095,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 5098,
"end": 5175,
"loc": {
"start": {
"line": 133,
"column": 22
},
"end": {
"line": 133,
"column": 99
}
},
"left": {
"type": "Identifier",
"start": 5098,
"end": 5109,
"loc": {
"start": {
"line": 133,
"column": 22
},
"end": {
"line": 133,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 5113,
"end": 5175,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 5113,
"end": 5152,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 5113,
"end": 5140,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 5113,
"end": 5127,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 5113,
"end": 5121,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 5113,
"end": 5117,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 5118,
"end": 5121,
"loc": {
"start": {
"line": 133,
"column": 42
},
"end": {
"line": 133,
"column": 45
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5122,
"end": 5127,
"loc": {
"start": {
"line": 133,
"column": 46
},
"end": {
"line": 133,
"column": 51
},
"identifierName": "parts"
},
"name": "parts"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5128,
"end": 5140,
"loc": {
"start": {
"line": 133,
"column": 52
},
"end": {
"line": 133,
"column": 64
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5141,
"end": 5152,
"loc": {
"start": {
"line": 133,
"column": 65
},
"end": {
"line": 133,
"column": 76
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5153,
"end": 5174,
"loc": {
"start": {
"line": 133,
"column": 77
},
"end": {
"line": 133,
"column": 98
}
},
"object": {
"type": "Identifier",
"start": 5153,
"end": 5161,
"loc": {
"start": {
"line": 133,
"column": 77
},
"end": {
"line": 133,
"column": 85
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 5162,
"end": 5174,
"loc": {
"start": {
"line": 133,
"column": 86
},
"end": {
"line": 133,
"column": 98
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5186,
"end": 5272,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 94
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5186,
"end": 5271,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 93
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5186,
"end": 5197,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 5200,
"end": 5271,
"loc": {
"start": {
"line": 134,
"column": 22
},
"end": {
"line": 134,
"column": 93
}
},
"left": {
"type": "Identifier",
"start": 5200,
"end": 5211,
"loc": {
"start": {
"line": 134,
"column": 22
},
"end": {
"line": 134,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 5215,
"end": 5271,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 5215,
"end": 5251,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 5215,
"end": 5239,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 5215,
"end": 5229,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 5215,
"end": 5223,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 5215,
"end": 5219,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 5220,
"end": 5223,
"loc": {
"start": {
"line": 134,
"column": 42
},
"end": {
"line": 134,
"column": 45
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5224,
"end": 5229,
"loc": {
"start": {
"line": 134,
"column": 46
},
"end": {
"line": 134,
"column": 51
},
"identifierName": "parts"
},
"name": "parts"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5230,
"end": 5239,
"loc": {
"start": {
"line": 134,
"column": 52
},
"end": {
"line": 134,
"column": 61
},
"identifierName": "waypoints"
},
"name": "waypoints"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5240,
"end": 5251,
"loc": {
"start": {
"line": 134,
"column": 62
},
"end": {
"line": 134,
"column": 73
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5252,
"end": 5270,
"loc": {
"start": {
"line": 134,
"column": 74
},
"end": {
"line": 134,
"column": 92
}
},
"object": {
"type": "Identifier",
"start": 5252,
"end": 5260,
"loc": {
"start": {
"line": 134,
"column": 74
},
"end": {
"line": 134,
"column": 82
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 5261,
"end": 5270,
"loc": {
"start": {
"line": 134,
"column": 83
},
"end": {
"line": 134,
"column": 92
},
"identifierName": "waypoints"
},
"name": "waypoints"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5282,
"end": 5373,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 99
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5282,
"end": 5372,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 98
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5282,
"end": 5293,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 5296,
"end": 5372,
"loc": {
"start": {
"line": 135,
"column": 22
},
"end": {
"line": 135,
"column": 98
}
},
"left": {
"type": "Identifier",
"start": 5296,
"end": 5307,
"loc": {
"start": {
"line": 135,
"column": 22
},
"end": {
"line": 135,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 5311,
"end": 5372,
"loc": {
"start": {
"line": 135,
"column": 37
},
"end": {
"line": 135,
"column": 98
}
},
"callee": {
"type": "MemberExpression",
"start": 5311,
"end": 5347,
"loc": {
"start": {
"line": 135,
"column": 37
},
"end": {
"line": 135,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 5311,
"end": 5324,
"loc": {
"start": {
"line": 135,
"column": 37
},
"end": {
"line": 135,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 5311,
"end": 5315,
"loc": {
"start": {
"line": 135,
"column": 37
},
"end": {
"line": 135,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 5316,
"end": 5324,
"loc": {
"start": {
"line": 135,
"column": 42
},
"end": {
"line": 135,
"column": 50
},
"identifierName": "internal"
},
"name": "internal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5325,
"end": 5347,
"loc": {
"start": {
"line": 135,
"column": 51
},
"end": {
"line": 135,
"column": 73
},
"identifierName": "deserializeEntityArray"
},
"name": "deserializeEntityArray"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5348,
"end": 5352,
"loc": {
"start": {
"line": 135,
"column": 74
},
"end": {
"line": 135,
"column": 78
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "MemberExpression",
"start": 5354,
"end": 5371,
"loc": {
"start": {
"line": 135,
"column": 80
},
"end": {
"line": 135,
"column": 97
}
},
"object": {
"type": "Identifier",
"start": 5354,
"end": 5362,
"loc": {
"start": {
"line": 135,
"column": 80
},
"end": {
"line": 135,
"column": 88
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 5363,
"end": 5371,
"loc": {
"start": {
"line": 135,
"column": 89
},
"end": {
"line": 135,
"column": 97
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5383,
"end": 5477,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 102
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5383,
"end": 5476,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 101
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5383,
"end": 5394,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 19
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"right": {
"type": "LogicalExpression",
"start": 5397,
"end": 5476,
"loc": {
"start": {
"line": 136,
"column": 22
},
"end": {
"line": 136,
"column": 101
}
},
"left": {
"type": "Identifier",
"start": 5397,
"end": 5408,
"loc": {
"start": {
"line": 136,
"column": 22
},
"end": {
"line": 136,
"column": 33
},
"identifierName": "errorReason"
},
"name": "errorReason"
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 5412,
"end": 5476,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 101
}
},
"callee": {
"type": "MemberExpression",
"start": 5412,
"end": 5456,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 81
}
},
"object": {
"type": "MemberExpression",
"start": 5412,
"end": 5439,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 5412,
"end": 5434,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 5412,
"end": 5426,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 5412,
"end": 5416,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 5417,
"end": 5426,
"loc": {
"start": {
"line": 136,
"column": 42
},
"end": {
"line": 136,
"column": 51
},
"identifierName": "systemMgr"
},
"name": "systemMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5427,
"end": 5434,
"loc": {
"start": {
"line": 136,
"column": 52
},
"end": {
"line": 136,
"column": 59
},
"identifierName": "systems"
},
"name": "systems"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5435,
"end": 5439,
"loc": {
"start": {
"line": 136,
"column": 60
},
"end": {
"line": 136,
"column": 64
},
"identifierName": "belt"
},
"name": "belt"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5440,
"end": 5456,
"loc": {
"start": {
"line": 136,
"column": 65
},
"end": {
"line": 136,
"column": 81
},
"identifierName": "deserializePaths"
},
"name": "deserializePaths"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5457,
"end": 5475,
"loc": {
"start": {
"line": 136,
"column": 82
},
"end": {
"line": 136,
"column": 100
}
},
"object": {
"type": "Identifier",
"start": 5457,
"end": 5465,
"loc": {
"start": {
"line": 136,
"column": 82
},
"end": {
"line": 136,
"column": 90
},
"identifierName": "savegame"
},
"name": "savegame"
},
"property": {
"type": "Identifier",
"start": 5466,
"end": 5475,
"loc": {
"start": {
"line": 136,
"column": 91
},
"end": {
"line": 136,
"column": 100
},
"identifierName": "beltPaths"
},
"name": "beltPaths"
},
"computed": false
}
]
}
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for errors",
"start": 5489,
"end": 5508,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 27
}
}
}
]
},
{
"type": "IfStatement",
"start": 5518,
"end": 5601,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 141,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 5522,
"end": 5533,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 23
},
"identifierName": "errorReason"
},
"name": "errorReason",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5535,
"end": 5601,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 141,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5550,
"end": 5590,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 52
}
},
"argument": {
"type": "CallExpression",
"start": 5557,
"end": 5589,
"loc": {
"start": {
"line": 140,
"column": 19
},
"end": {
"line": 140,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 5557,
"end": 5576,
"loc": {
"start": {
"line": 140,
"column": 19
},
"end": {
"line": 140,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 5557,
"end": 5572,
"loc": {
"start": {
"line": 140,
"column": 19
},
"end": {
"line": 140,
"column": 34
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 5573,
"end": 5576,
"loc": {
"start": {
"line": 140,
"column": 35
},
"end": {
"line": 140,
"column": 38
},
"identifierName": "bad"
},
"name": "bad"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5577,
"end": 5588,
"loc": {
"start": {
"line": 140,
"column": 39
},
"end": {
"line": 140,
"column": 50
},
"identifierName": "errorReason"
},
"name": "errorReason"
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for errors",
"start": 5489,
"end": 5508,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 27
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 5613,
"end": 5643,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 38
}
},
"argument": {
"type": "CallExpression",
"start": 5620,
"end": 5642,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 5620,
"end": 5640,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 5620,
"end": 5635,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 30
},
"identifierName": "ExplainedResult"
},
"name": "ExplainedResult"
},
"property": {
"type": "Identifier",
"start": 5636,
"end": 5640,
"loc": {
"start": {
"line": 143,
"column": 31
},
"end": {
"line": 143,
"column": 35
},
"identifierName": "good"
},
"name": "good"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Tries to load the savegame from a given dump\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @returns {ExplainedResult}\r\n ",
"start": 4168,
"end": 4403,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes a savegame\r\n ",
"start": 293,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 10,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes a savegame\r\n ",
"start": 293,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 10,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes a savegame\r\n ",
"start": 293,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 10,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the game root into a dump\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @param {boolean=} sanityChecks Whether to check for validity\r\n * @returns {object}\r\n ",
"start": 449,
"end": 655,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../savegame/savegame_typedefs\").SerializedGame} ",
"start": 724,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " Sanity check",
"start": 1421,
"end": 1436,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Verifies if there are logical errors in the savegame\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @returns {ExplainedResult}\r\n ",
"start": 1753,
"end": 1942,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Check for duplicate UIDS",
"start": 2145,
"end": 2172,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../game/entity\").Entity} ",
"start": 2248,
"end": 2294,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 58
}
}
},
{
"type": "CommentLine",
"value": " Verify components",
"start": 2690,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 32
}
}
},
{
"type": "CommentLine",
"value": " Check component id is known",
"start": 3035,
"end": 3065,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " Verify component data",
"start": 3527,
"end": 3551,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 40
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../game/component\").StaticComponent} ",
"start": 3662,
"end": 3720,
"loc": {
"start": {
"line": 98,
"column": 45
},
"end": {
"line": 98,
"column": 103
}
}
},
{
"type": "CommentLine",
"value": " Check component data is ok",
"start": 3820,
"end": 3849,
"loc": {
"start": {
"line": 102,
"column": 16
},
"end": {
"line": 102,
"column": 45
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Tries to load the savegame from a given dump\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @returns {ExplainedResult}\r\n ",
"start": 4168,
"end": 4403,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Sanity",
"start": 4448,
"end": 4457,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Check for errors",
"start": 5489,
"end": 5508,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 27
}
}
}
],
"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": "ExplainedResult",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 25,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 27,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/explained_result",
"start": 32,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 58,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 58
},
"end": {
"line": 1,
"column": 59
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 61,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 68,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 70,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 83,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 85,
"end": 89,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/logging",
"start": 90,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 107,
"end": 108,
"loc": {
"start": {
"line": 2,
"column": 46
},
"end": {
"line": 2,
"column": 47
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 110,
"end": 116,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 117,
"end": 118,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gComponentRegistry",
"start": 119,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 140,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/global_registries",
"start": 145,
"end": 172,
"loc": {
"start": {
"line": 3,
"column": 35
},
"end": {
"line": 3,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 3,
"column": 62
},
"end": {
"line": 3,
"column": 63
}
}
},
{
"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": 175,
"end": 181,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SerializerInternal",
"start": 184,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 205,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 30
},
"end": {
"line": 4,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./serializer_internal",
"start": 210,
"end": 233,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 4,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 4,
"column": 58
},
"end": {
"line": 4,
"column": 59
}
}
},
{
"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": 238,
"end": 243,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 244,
"end": 250,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 253,
"end": 265,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 265,
"end": 266,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "savegame_serializer",
"start": 266,
"end": 287,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 287,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 49
},
"end": {
"line": 6,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 288,
"end": 289,
"loc": {
"start": {
"line": 6,
"column": 50
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes a savegame\r\n ",
"start": 293,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 10,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 329,
"end": 335,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"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": 336,
"end": 341,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SavegameSerializer",
"start": 342,
"end": 360,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 11,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 368,
"end": 379,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 379,
"end": 380,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 380,
"end": 381,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 12,
"column": 19
}
}
},
{
"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": 393,
"end": 397,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internal",
"start": 398,
"end": 406,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 407,
"end": 408,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"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": 409,
"end": 412,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SerializerInternal",
"start": 413,
"end": 431,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 13,
"column": 46
},
"end": {
"line": 13,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 432,
"end": 433,
"loc": {
"start": {
"line": 13,
"column": 47
},
"end": {
"line": 13,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 433,
"end": 434,
"loc": {
"start": {
"line": 13,
"column": 48
},
"end": {
"line": 13,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 440,
"end": 441,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the game root into a dump\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @param {boolean=} sanityChecks Whether to check for validity\r\n * @returns {object}\r\n ",
"start": 449,
"end": 655,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateDumpFromGameRoot",
"start": 661,
"end": 685,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 685,
"end": 686,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 686,
"end": 690,
"loc": {
"start": {
"line": 22,
"column": 29
},
"end": {
"line": 22,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 22,
"column": 33
},
"end": {
"line": 22,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sanityChecks",
"start": 692,
"end": 704,
"loc": {
"start": {
"line": 22,
"column": 35
},
"end": {
"line": 22,
"column": 47
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 22,
"column": 48
},
"end": {
"line": 22,
"column": 49
}
}
},
{
"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": 707,
"end": 711,
"loc": {
"start": {
"line": 22,
"column": 50
},
"end": {
"line": 22,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 711,
"end": 712,
"loc": {
"start": {
"line": 22,
"column": 54
},
"end": {
"line": 22,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 713,
"end": 714,
"loc": {
"start": {
"line": 22,
"column": 56
},
"end": {
"line": 22,
"column": 57
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../savegame/savegame_typedefs\").SerializedGame} ",
"start": 724,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 77
}
}
},
{
"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": 803,
"end": 808,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 809,
"end": 813,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 814,
"end": 815,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 816,
"end": 817,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 831,
"end": 837,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 25,
"column": 18
},
"end": {
"line": 25,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 839,
"end": 843,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 843,
"end": 844,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 844,
"end": 850,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 850,
"end": 851,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 851,
"end": 860,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 25,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 860,
"end": 861,
"loc": {
"start": {
"line": 25,
"column": 41
},
"end": {
"line": 25,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 25,
"column": 42
},
"end": {
"line": 25,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 862,
"end": 863,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 877,
"end": 881,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 883,
"end": 887,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 888,
"end": 892,
"loc": {
"start": {
"line": 26,
"column": 23
},
"end": {
"line": 26,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 892,
"end": 893,
"loc": {
"start": {
"line": 26,
"column": 27
},
"end": {
"line": 26,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 893,
"end": 902,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 902,
"end": 903,
"loc": {
"start": {
"line": 26,
"column": 37
},
"end": {
"line": 26,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 26,
"column": 38
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 26,
"column": 39
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 919,
"end": 922,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 922,
"end": 923,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 924,
"end": 928,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 928,
"end": 929,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 929,
"end": 932,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 933,
"end": 942,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 27,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 942,
"end": 943,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 943,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 36
},
"end": {
"line": 27,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 944,
"end": 945,
"loc": {
"start": {
"line": 27,
"column": 37
},
"end": {
"line": 27,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityMgr",
"start": 959,
"end": 968,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 970,
"end": 974,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 974,
"end": 975,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityMgr",
"start": 975,
"end": 984,
"loc": {
"start": {
"line": 28,
"column": 28
},
"end": {
"line": 28,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 984,
"end": 985,
"loc": {
"start": {
"line": 28,
"column": 37
},
"end": {
"line": 28,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 985,
"end": 994,
"loc": {
"start": {
"line": 28,
"column": 38
},
"end": {
"line": 28,
"column": 47
}
}
},
{
"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": 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": 995,
"end": 996,
"loc": {
"start": {
"line": 28,
"column": 48
},
"end": {
"line": 28,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 996,
"end": 997,
"loc": {
"start": {
"line": 28,
"column": 49
},
"end": {
"line": 28,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 1011,
"end": 1019,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1019,
"end": 1020,
"loc": {
"start": {
"line": 29,
"column": 20
},
"end": {
"line": 29,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1021,
"end": 1025,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1025,
"end": 1026,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 1026,
"end": 1034,
"loc": {
"start": {
"line": 29,
"column": 27
},
"end": {
"line": 29,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1034,
"end": 1035,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 1035,
"end": 1044,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1044,
"end": 1045,
"loc": {
"start": {
"line": 29,
"column": 45
},
"end": {
"line": 29,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1045,
"end": 1046,
"loc": {
"start": {
"line": 29,
"column": 46
},
"end": {
"line": 29,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1046,
"end": 1047,
"loc": {
"start": {
"line": 29,
"column": 47
},
"end": {
"line": 29,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 1061,
"end": 1073,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1075,
"end": 1079,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1079,
"end": 1080,
"loc": {
"start": {
"line": 30,
"column": 30
},
"end": {
"line": 30,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 1080,
"end": 1083,
"loc": {
"start": {
"line": 30,
"column": 31
},
"end": {
"line": 30,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1083,
"end": 1084,
"loc": {
"start": {
"line": 30,
"column": 34
},
"end": {
"line": 30,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parts",
"start": 1084,
"end": 1089,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 30,
"column": 40
},
"end": {
"line": 30,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 1090,
"end": 1102,
"loc": {
"start": {
"line": 30,
"column": 41
},
"end": {
"line": 30,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1102,
"end": 1103,
"loc": {
"start": {
"line": 30,
"column": 53
},
"end": {
"line": 30,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 1103,
"end": 1112,
"loc": {
"start": {
"line": 30,
"column": 54
},
"end": {
"line": 30,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 30,
"column": 63
},
"end": {
"line": 30,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 65
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1114,
"end": 1115,
"loc": {
"start": {
"line": 30,
"column": 65
},
"end": {
"line": 30,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "waypoints",
"start": 1129,
"end": 1138,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 31,
"column": 21
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1140,
"end": 1144,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1144,
"end": 1145,
"loc": {
"start": {
"line": 31,
"column": 27
},
"end": {
"line": 31,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 1145,
"end": 1148,
"loc": {
"start": {
"line": 31,
"column": 28
},
"end": {
"line": 31,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1148,
"end": 1149,
"loc": {
"start": {
"line": 31,
"column": 31
},
"end": {
"line": 31,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parts",
"start": 1149,
"end": 1154,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 31,
"column": 37
},
"end": {
"line": 31,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "waypoints",
"start": 1155,
"end": 1164,
"loc": {
"start": {
"line": 31,
"column": 38
},
"end": {
"line": 31,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1164,
"end": 1165,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 1165,
"end": 1174,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1174,
"end": 1175,
"loc": {
"start": {
"line": 31,
"column": 57
},
"end": {
"line": 31,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1175,
"end": 1176,
"loc": {
"start": {
"line": 31,
"column": 58
},
"end": {
"line": 31,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1176,
"end": 1177,
"loc": {
"start": {
"line": 31,
"column": 59
},
"end": {
"line": 31,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 1191,
"end": 1199,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1199,
"end": 1200,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 21
}
}
},
{
"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": 1201,
"end": 1205,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internal",
"start": 1206,
"end": 1214,
"loc": {
"start": {
"line": 32,
"column": 27
},
"end": {
"line": 32,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1214,
"end": 1215,
"loc": {
"start": {
"line": 32,
"column": 35
},
"end": {
"line": 32,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serializeEntityArray",
"start": 1215,
"end": 1235,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 32,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 32,
"column": 56
},
"end": {
"line": 32,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1236,
"end": 1240,
"loc": {
"start": {
"line": 32,
"column": 57
},
"end": {
"line": 32,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 32,
"column": 61
},
"end": {
"line": 32,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityMgr",
"start": 1241,
"end": 1250,
"loc": {
"start": {
"line": 32,
"column": 62
},
"end": {
"line": 32,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 32,
"column": 71
},
"end": {
"line": 32,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 1251,
"end": 1259,
"loc": {
"start": {
"line": 32,
"column": 72
},
"end": {
"line": 32,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1259,
"end": 1260,
"loc": {
"start": {
"line": 32,
"column": 80
},
"end": {
"line": 32,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1260,
"end": 1261,
"loc": {
"start": {
"line": 32,
"column": 81
},
"end": {
"line": 32,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beltPaths",
"start": 1275,
"end": 1284,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1284,
"end": 1285,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1286,
"end": 1290,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1290,
"end": 1291,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemMgr",
"start": 1291,
"end": 1300,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1300,
"end": 1301,
"loc": {
"start": {
"line": 33,
"column": 37
},
"end": {
"line": 33,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systems",
"start": 1301,
"end": 1308,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1308,
"end": 1309,
"loc": {
"start": {
"line": 33,
"column": 45
},
"end": {
"line": 33,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "belt",
"start": 1309,
"end": 1313,
"loc": {
"start": {
"line": 33,
"column": 46
},
"end": {
"line": 33,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 33,
"column": 50
},
"end": {
"line": 33,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serializePaths",
"start": 1314,
"end": 1328,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1328,
"end": 1329,
"loc": {
"start": {
"line": 33,
"column": 65
},
"end": {
"line": 33,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1329,
"end": 1330,
"loc": {
"start": {
"line": 33,
"column": 66
},
"end": {
"line": 33,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1330,
"end": 1331,
"loc": {
"start": {
"line": 33,
"column": 67
},
"end": {
"line": 33,
"column": 68
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1341,
"end": 1342,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 34,
"column": 9
},
"end": {
"line": 34,
"column": 10
}
}
},
{
"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": 1355,
"end": 1357,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1358,
"end": 1359,
"loc": {
"start": {
"line": 36,
"column": 11
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 1359,
"end": 1367,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1367,
"end": 1368,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 36,
"column": 22
},
"end": {
"line": 36,
"column": 23
}
}
},
{
"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": 1384,
"end": 1386,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1387,
"end": 1388,
"loc": {
"start": {
"line": 37,
"column": 15
},
"end": {
"line": 37,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sanityChecks",
"start": 1388,
"end": 1400,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1400,
"end": 1401,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1402,
"end": 1403,
"loc": {
"start": {
"line": 37,
"column": 30
},
"end": {
"line": 37,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Sanity check",
"start": 1421,
"end": 1436,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"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": 1454,
"end": 1459,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sanity",
"start": 1460,
"end": 1466,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1467,
"end": 1468,
"loc": {
"start": {
"line": 39,
"column": 29
},
"end": {
"line": 39,
"column": 30
}
}
},
{
"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": 1469,
"end": 1473,
"loc": {
"start": {
"line": 39,
"column": 31
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1473,
"end": 1474,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifyLogicalErrors",
"start": 1474,
"end": 1493,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1493,
"end": 1494,
"loc": {
"start": {
"line": 39,
"column": 55
},
"end": {
"line": 39,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1494,
"end": 1498,
"loc": {
"start": {
"line": 39,
"column": 56
},
"end": {
"line": 39,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 39,
"column": 60
},
"end": {
"line": 39,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1499,
"end": 1500,
"loc": {
"start": {
"line": 39,
"column": 61
},
"end": {
"line": 39,
"column": 62
}
}
},
{
"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": 1518,
"end": 1520,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1521,
"end": 1522,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1522,
"end": 1523,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sanity",
"start": 1523,
"end": 1529,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1529,
"end": 1530,
"loc": {
"start": {
"line": 40,
"column": 27
},
"end": {
"line": 40,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 1530,
"end": 1536,
"loc": {
"start": {
"line": 40,
"column": 28
},
"end": {
"line": 40,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1536,
"end": 1537,
"loc": {
"start": {
"line": 40,
"column": 34
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1538,
"end": 1539,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 1561,
"end": 1567,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1567,
"end": 1568,
"loc": {
"start": {
"line": 41,
"column": 26
},
"end": {
"line": 41,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 1568,
"end": 1573,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1573,
"end": 1574,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Created invalid savegame:",
"start": 1574,
"end": 1601,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
"line": 41,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1601,
"end": 1602,
"loc": {
"start": {
"line": 41,
"column": 60
},
"end": {
"line": 41,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sanity",
"start": 1603,
"end": 1609,
"loc": {
"start": {
"line": 41,
"column": 62
},
"end": {
"line": 41,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1609,
"end": 1610,
"loc": {
"start": {
"line": 41,
"column": 68
},
"end": {
"line": 41,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reason",
"start": 1610,
"end": 1616,
"loc": {
"start": {
"line": 41,
"column": 69
},
"end": {
"line": 41,
"column": 75
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1616,
"end": 1617,
"loc": {
"start": {
"line": 41,
"column": 75
},
"end": {
"line": 41,
"column": 76
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "savegame:",
"start": 1618,
"end": 1629,
"loc": {
"start": {
"line": 41,
"column": 77
},
"end": {
"line": 41,
"column": 88
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1629,
"end": 1630,
"loc": {
"start": {
"line": 41,
"column": 88
},
"end": {
"line": 41,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1631,
"end": 1635,
"loc": {
"start": {
"line": 41,
"column": 90
},
"end": {
"line": 41,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1635,
"end": 1636,
"loc": {
"start": {
"line": 41,
"column": 94
},
"end": {
"line": 41,
"column": 95
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1636,
"end": 1637,
"loc": {
"start": {
"line": 41,
"column": 95
},
"end": {
"line": 41,
"column": 96
}
}
},
{
"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": 1659,
"end": 1665,
"loc": {
"start": {
"line": 42,
"column": 20
},
"end": {
"line": 42,
"column": 26
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1666,
"end": 1670,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1670,
"end": 1671,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1689,
"end": 1690,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1704,
"end": 1705,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1715,
"end": 1716,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"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": 1726,
"end": 1732,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1733,
"end": 1737,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1737,
"end": 1738,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1744,
"end": 1745,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Verifies if there are logical errors in the savegame\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @returns {ExplainedResult}\r\n ",
"start": 1753,
"end": 1942,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifyLogicalErrors",
"start": 1948,
"end": 1967,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1967,
"end": 1968,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 1968,
"end": 1976,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1976,
"end": 1977,
"loc": {
"start": {
"line": 54,
"column": 32
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1978,
"end": 1979,
"loc": {
"start": {
"line": 54,
"column": 34
},
"end": {
"line": 54,
"column": 35
}
}
},
{
"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": 1989,
"end": 1991,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1992,
"end": 1993,
"loc": {
"start": {
"line": 55,
"column": 11
},
"end": {
"line": 55,
"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": 1993,
"end": 1994,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 1994,
"end": 2002,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2002,
"end": 2003,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 2003,
"end": 2011,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 55,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2011,
"end": 2012,
"loc": {
"start": {
"line": 55,
"column": 30
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2013,
"end": 2014,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 33
}
}
},
{
"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": 2028,
"end": 2034,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 2035,
"end": 2050,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 56,
"column": 34
},
"end": {
"line": 56,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 2051,
"end": 2054,
"loc": {
"start": {
"line": 56,
"column": 35
},
"end": {
"line": 56,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2054,
"end": 2055,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Savegame has no entities",
"start": 2055,
"end": 2081,
"loc": {
"start": {
"line": 56,
"column": 39
},
"end": {
"line": 56,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2081,
"end": 2082,
"loc": {
"start": {
"line": 56,
"column": 65
},
"end": {
"line": 56,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2082,
"end": 2083,
"loc": {
"start": {
"line": 56,
"column": 66
},
"end": {
"line": 56,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2093,
"end": 2094,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2106,
"end": 2111,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 2112,
"end": 2120,
"loc": {
"start": {
"line": 59,
"column": 14
},
"end": {
"line": 59,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2121,
"end": 2122,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 24
}
}
},
{
"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": 2123,
"end": 2126,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Set",
"start": 2127,
"end": 2130,
"loc": {
"start": {
"line": 59,
"column": 29
},
"end": {
"line": 59,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2130,
"end": 2131,
"loc": {
"start": {
"line": 59,
"column": 32
},
"end": {
"line": 59,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2131,
"end": 2132,
"loc": {
"start": {
"line": 59,
"column": 33
},
"end": {
"line": 59,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2132,
"end": 2133,
"loc": {
"start": {
"line": 59,
"column": 34
},
"end": {
"line": 59,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " Check for duplicate UIDS",
"start": 2145,
"end": 2172,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 35
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2182,
"end": 2185,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2186,
"end": 2187,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2187,
"end": 2190,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2191,
"end": 2192,
"loc": {
"start": {
"line": 62,
"column": 17
},
"end": {
"line": 62,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2193,
"end": 2194,
"loc": {
"start": {
"line": 62,
"column": 19
},
"end": {
"line": 62,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2195,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 21
},
"end": {
"line": 62,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2196,
"end": 2197,
"loc": {
"start": {
"line": 62,
"column": 22
},
"end": {
"line": 62,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2198,
"end": 2199,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2200,
"end": 2201,
"loc": {
"start": {
"line": 62,
"column": 26
},
"end": {
"line": 62,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 2202,
"end": 2210,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2210,
"end": 2211,
"loc": {
"start": {
"line": 62,
"column": 36
},
"end": {
"line": 62,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 2211,
"end": 2219,
"loc": {
"start": {
"line": 62,
"column": 37
},
"end": {
"line": 62,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2219,
"end": 2220,
"loc": {
"start": {
"line": 62,
"column": 45
},
"end": {
"line": 62,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2220,
"end": 2226,
"loc": {
"start": {
"line": 62,
"column": 46
},
"end": {
"line": 62,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2226,
"end": 2227,
"loc": {
"start": {
"line": 62,
"column": 52
},
"end": {
"line": 62,
"column": 53
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2228,
"end": 2230,
"loc": {
"start": {
"line": 62,
"column": 54
},
"end": {
"line": 62,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2230,
"end": 2231,
"loc": {
"start": {
"line": 62,
"column": 56
},
"end": {
"line": 62,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2231,
"end": 2232,
"loc": {
"start": {
"line": 62,
"column": 57
},
"end": {
"line": 62,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 62,
"column": 59
},
"end": {
"line": 62,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../game/entity\").Entity} ",
"start": 2248,
"end": 2294,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 58
}
}
},
{
"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": 2308,
"end": 2313,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2314,
"end": 2320,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2321,
"end": 2322,
"loc": {
"start": {
"line": 64,
"column": 25
},
"end": {
"line": 64,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 2323,
"end": 2331,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2331,
"end": 2332,
"loc": {
"start": {
"line": 64,
"column": 35
},
"end": {
"line": 64,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 2332,
"end": 2340,
"loc": {
"start": {
"line": 64,
"column": 36
},
"end": {
"line": 64,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2340,
"end": 2341,
"loc": {
"start": {
"line": 64,
"column": 44
},
"end": {
"line": 64,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2341,
"end": 2342,
"loc": {
"start": {
"line": 64,
"column": 45
},
"end": {
"line": 64,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2342,
"end": 2343,
"loc": {
"start": {
"line": 64,
"column": 46
},
"end": {
"line": 64,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2343,
"end": 2344,
"loc": {
"start": {
"line": 64,
"column": 47
},
"end": {
"line": 64,
"column": 48
}
}
},
{
"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": 2360,
"end": 2365,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2366,
"end": 2369,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2370,
"end": 2371,
"loc": {
"start": {
"line": 66,
"column": 22
},
"end": {
"line": 66,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2372,
"end": 2378,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2378,
"end": 2379,
"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": "uid",
"start": 2379,
"end": 2382,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2382,
"end": 2383,
"loc": {
"start": {
"line": 66,
"column": 34
},
"end": {
"line": 66,
"column": 35
}
}
},
{
"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": 2397,
"end": 2399,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2400,
"end": 2401,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2401,
"end": 2402,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Number",
"start": 2402,
"end": 2408,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2408,
"end": 2409,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isInteger",
"start": 2409,
"end": 2418,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2418,
"end": 2419,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2419,
"end": 2422,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2422,
"end": 2423,
"loc": {
"start": {
"line": 67,
"column": 37
},
"end": {
"line": 67,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2423,
"end": 2424,
"loc": {
"start": {
"line": 67,
"column": 38
},
"end": {
"line": 67,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2425,
"end": 2426,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 41
}
}
},
{
"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": 2444,
"end": 2450,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 2451,
"end": 2466,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2466,
"end": 2467,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 2467,
"end": 2470,
"loc": {
"start": {
"line": 68,
"column": 39
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2470,
"end": 2471,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Entity has invalid uid: ",
"start": 2471,
"end": 2497,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 69
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 68,
"column": 70
},
"end": {
"line": 68,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2500,
"end": 2503,
"loc": {
"start": {
"line": 68,
"column": 72
},
"end": {
"line": 68,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2503,
"end": 2504,
"loc": {
"start": {
"line": 68,
"column": 75
},
"end": {
"line": 68,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2504,
"end": 2505,
"loc": {
"start": {
"line": 68,
"column": 76
},
"end": {
"line": 68,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2519,
"end": 2520,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"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": 2534,
"end": 2536,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2537,
"end": 2538,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 2538,
"end": 2546,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2546,
"end": 2547,
"loc": {
"start": {
"line": 70,
"column": 24
},
"end": {
"line": 70,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 2547,
"end": 2550,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2550,
"end": 2551,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2551,
"end": 2554,
"loc": {
"start": {
"line": 70,
"column": 29
},
"end": {
"line": 70,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2554,
"end": 2555,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2555,
"end": 2556,
"loc": {
"start": {
"line": 70,
"column": 33
},
"end": {
"line": 70,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2557,
"end": 2558,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 36
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2576,
"end": 2582,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 2583,
"end": 2598,
"loc": {
"start": {
"line": 71,
"column": 23
},
"end": {
"line": 71,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2598,
"end": 2599,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 2599,
"end": 2602,
"loc": {
"start": {
"line": 71,
"column": 39
},
"end": {
"line": 71,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2602,
"end": 2603,
"loc": {
"start": {
"line": 71,
"column": 42
},
"end": {
"line": 71,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Duplicate uid ",
"start": 2603,
"end": 2619,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2620,
"end": 2621,
"loc": {
"start": {
"line": 71,
"column": 60
},
"end": {
"line": 71,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2622,
"end": 2625,
"loc": {
"start": {
"line": 71,
"column": 62
},
"end": {
"line": 71,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2625,
"end": 2626,
"loc": {
"start": {
"line": 71,
"column": 65
},
"end": {
"line": 71,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2626,
"end": 2627,
"loc": {
"start": {
"line": 71,
"column": 66
},
"end": {
"line": 71,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2641,
"end": 2642,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 2656,
"end": 2664,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2664,
"end": 2665,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2665,
"end": 2668,
"loc": {
"start": {
"line": 73,
"column": 21
},
"end": {
"line": 73,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2668,
"end": 2669,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2669,
"end": 2672,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2672,
"end": 2673,
"loc": {
"start": {
"line": 73,
"column": 28
},
"end": {
"line": 73,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2673,
"end": 2674,
"loc": {
"start": {
"line": 73,
"column": 29
},
"end": {
"line": 73,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " Verify components",
"start": 2690,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 32
}
}
},
{
"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": 2724,
"end": 2726,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2727,
"end": 2728,
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2728,
"end": 2729,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2729,
"end": 2735,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2735,
"end": 2736,
"loc": {
"start": {
"line": 76,
"column": 23
},
"end": {
"line": 76,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2736,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 76,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2746,
"end": 2747,
"loc": {
"start": {
"line": 76,
"column": 34
},
"end": {
"line": 76,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2748,
"end": 2749,
"loc": {
"start": {
"line": 76,
"column": 36
},
"end": {
"line": 76,
"column": 37
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2767,
"end": 2773,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 2774,
"end": 2789,
"loc": {
"start": {
"line": 77,
"column": 23
},
"end": {
"line": 77,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2789,
"end": 2790,
"loc": {
"start": {
"line": 77,
"column": 38
},
"end": {
"line": 77,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 2790,
"end": 2793,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2793,
"end": 2794,
"loc": {
"start": {
"line": 77,
"column": 42
},
"end": {
"line": 77,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Entity is missing key 'components': ",
"start": 2794,
"end": 2832,
"loc": {
"start": {
"line": 77,
"column": 43
},
"end": {
"line": 77,
"column": 81
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2833,
"end": 2834,
"loc": {
"start": {
"line": 77,
"column": 82
},
"end": {
"line": 77,
"column": 83
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 2835,
"end": 2839,
"loc": {
"start": {
"line": 77,
"column": 84
},
"end": {
"line": 77,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2839,
"end": 2840,
"loc": {
"start": {
"line": 77,
"column": 88
},
"end": {
"line": 77,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 2840,
"end": 2849,
"loc": {
"start": {
"line": 77,
"column": 89
},
"end": {
"line": 77,
"column": 98
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2849,
"end": 2850,
"loc": {
"start": {
"line": 77,
"column": 98
},
"end": {
"line": 77,
"column": 99
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2850,
"end": 2856,
"loc": {
"start": {
"line": 77,
"column": 99
},
"end": {
"line": 77,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2856,
"end": 2857,
"loc": {
"start": {
"line": 77,
"column": 105
},
"end": {
"line": 77,
"column": 106
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2857,
"end": 2858,
"loc": {
"start": {
"line": 77,
"column": 106
},
"end": {
"line": 77,
"column": 107
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2858,
"end": 2859,
"loc": {
"start": {
"line": 77,
"column": 107
},
"end": {
"line": 77,
"column": 108
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2873,
"end": 2874,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"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": 2890,
"end": 2895,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2896,
"end": 2906,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2907,
"end": 2908,
"loc": {
"start": {
"line": 80,
"column": 29
},
"end": {
"line": 80,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2909,
"end": 2915,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2915,
"end": 2916,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2916,
"end": 2926,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2926,
"end": 2927,
"loc": {
"start": {
"line": 80,
"column": 48
},
"end": {
"line": 80,
"column": 49
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2941,
"end": 2944,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2945,
"end": 2946,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 17
}
}
},
{
"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": 2946,
"end": 2951,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 2952,
"end": 2963,
"loc": {
"start": {
"line": 81,
"column": 23
},
"end": {
"line": 81,
"column": 34
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 2964,
"end": 2966,
"loc": {
"start": {
"line": 81,
"column": 35
},
"end": {
"line": 81,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2967,
"end": 2977,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2977,
"end": 2978,
"loc": {
"start": {
"line": 81,
"column": 48
},
"end": {
"line": 81,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2979,
"end": 2980,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 51
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 2998,
"end": 3001,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentClass",
"start": 3002,
"end": 3016,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3016,
"end": 3017,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " Check component id is known",
"start": 3035,
"end": 3065,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 46
}
}
},
{
"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": 3083,
"end": 3086,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3087,
"end": 3088,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentClass",
"start": 3110,
"end": 3124,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3125,
"end": 3126,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gComponentRegistry",
"start": 3127,
"end": 3145,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3145,
"end": 3146,
"loc": {
"start": {
"line": 85,
"column": 55
},
"end": {
"line": 85,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findById",
"start": 3146,
"end": 3154,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3154,
"end": 3155,
"loc": {
"start": {
"line": 85,
"column": 64
},
"end": {
"line": 85,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 3155,
"end": 3166,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3166,
"end": 3167,
"loc": {
"start": {
"line": 85,
"column": 76
},
"end": {
"line": 85,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3167,
"end": 3168,
"loc": {
"start": {
"line": 85,
"column": 77
},
"end": {
"line": 85,
"column": 78
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3186,
"end": 3187,
"loc": {
"start": {
"line": 86,
"column": 16
},
"end": {
"line": 86,
"column": 17
}
}
},
{
"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": 3188,
"end": 3193,
"loc": {
"start": {
"line": 86,
"column": 18
},
"end": {
"line": 86,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3194,
"end": 3195,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 3195,
"end": 3200,
"loc": {
"start": {
"line": 86,
"column": 25
},
"end": {
"line": 86,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3200,
"end": 3201,
"loc": {
"start": {
"line": 86,
"column": 30
},
"end": {
"line": 86,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3202,
"end": 3203,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"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": 3225,
"end": 3231,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 3232,
"end": 3247,
"loc": {
"start": {
"line": 87,
"column": 27
},
"end": {
"line": 87,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3247,
"end": 3248,
"loc": {
"start": {
"line": 87,
"column": 42
},
"end": {
"line": 87,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 3248,
"end": 3251,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3251,
"end": 3252,
"loc": {
"start": {
"line": 87,
"column": 46
},
"end": {
"line": 87,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 3278,
"end": 3282,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3282,
"end": 3283,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 3283,
"end": 3292,
"loc": {
"start": {
"line": 88,
"column": 29
},
"end": {
"line": 88,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3292,
"end": 3293,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3293,
"end": 3294,
"loc": {
"start": {
"line": 88,
"column": 39
},
"end": {
"line": 88,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3324,
"end": 3328,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 32
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3328,
"end": 3329,
"loc": {
"start": {
"line": 89,
"column": 32
},
"end": {
"line": 89,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "component",
"start": 3330,
"end": 3341,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3341,
"end": 3342,
"loc": {
"start": {
"line": 89,
"column": 45
},
"end": {
"line": 89,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "status",
"start": 3372,
"end": 3378,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3378,
"end": 3379,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "missing",
"start": 3380,
"end": 3389,
"loc": {
"start": {
"line": 90,
"column": 36
},
"end": {
"line": 90,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3389,
"end": 3390,
"loc": {
"start": {
"line": 90,
"column": 45
},
"end": {
"line": 90,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 3420,
"end": 3422,
"loc": {
"start": {
"line": 91,
"column": 28
},
"end": {
"line": 91,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3422,
"end": 3423,
"loc": {
"start": {
"line": 91,
"column": 30
},
"end": {
"line": 91,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 3424,
"end": 3435,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3435,
"end": 3436,
"loc": {
"start": {
"line": 91,
"column": 43
},
"end": {
"line": 91,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3462,
"end": 3463,
"loc": {
"start": {
"line": 92,
"column": 24
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3463,
"end": 3464,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3486,
"end": 3487,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3487,
"end": 3488,
"loc": {
"start": {
"line": 93,
"column": 21
},
"end": {
"line": 93,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3506,
"end": 3507,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Verify component data",
"start": 3527,
"end": 3551,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 40
}
}
},
{
"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": 3569,
"end": 3574,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentData",
"start": 3575,
"end": 3588,
"loc": {
"start": {
"line": 97,
"column": 22
},
"end": {
"line": 97,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3589,
"end": 3590,
"loc": {
"start": {
"line": 97,
"column": 36
},
"end": {
"line": 97,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 3591,
"end": 3601,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 48
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3601,
"end": 3602,
"loc": {
"start": {
"line": 97,
"column": 48
},
"end": {
"line": 97,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 3602,
"end": 3613,
"loc": {
"start": {
"line": 97,
"column": 49
},
"end": {
"line": 97,
"column": 60
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3613,
"end": 3614,
"loc": {
"start": {
"line": 97,
"column": 60
},
"end": {
"line": 97,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3614,
"end": 3615,
"loc": {
"start": {
"line": 97,
"column": 61
},
"end": {
"line": 97,
"column": 62
}
}
},
{
"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": 3633,
"end": 3638,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVerifyError",
"start": 3639,
"end": 3659,
"loc": {
"start": {
"line": 98,
"column": 22
},
"end": {
"line": 98,
"column": 42
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3660,
"end": 3661,
"loc": {
"start": {
"line": 98,
"column": 43
},
"end": {
"line": 98,
"column": 44
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../game/component\").StaticComponent} ",
"start": 3662,
"end": 3720,
"loc": {
"start": {
"line": 98,
"column": 45
},
"end": {
"line": 98,
"column": 103
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3721,
"end": 3722,
"loc": {
"start": {
"line": 98,
"column": 104
},
"end": {
"line": 98,
"column": 105
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentClass",
"start": 3722,
"end": 3736,
"loc": {
"start": {
"line": 98,
"column": 105
},
"end": {
"line": 98,
"column": 119
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3736,
"end": 3737,
"loc": {
"start": {
"line": 98,
"column": 119
},
"end": {
"line": 98,
"column": 120
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3737,
"end": 3738,
"loc": {
"start": {
"line": 98,
"column": 120
},
"end": {
"line": 98,
"column": 121
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verify",
"start": 3738,
"end": 3744,
"loc": {
"start": {
"line": 98,
"column": 121
},
"end": {
"line": 98,
"column": 127
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3744,
"end": 3745,
"loc": {
"start": {
"line": 98,
"column": 127
},
"end": {
"line": 98,
"column": 128
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentData",
"start": 3767,
"end": 3780,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3798,
"end": 3799,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3799,
"end": 3800,
"loc": {
"start": {
"line": 100,
"column": 17
},
"end": {
"line": 100,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " Check component data is ok",
"start": 3820,
"end": 3849,
"loc": {
"start": {
"line": 102,
"column": 16
},
"end": {
"line": 102,
"column": 45
}
}
},
{
"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": 3867,
"end": 3869,
"loc": {
"start": {
"line": 103,
"column": 16
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3870,
"end": 3871,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVerifyError",
"start": 3871,
"end": 3891,
"loc": {
"start": {
"line": 103,
"column": 20
},
"end": {
"line": 103,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3891,
"end": 3892,
"loc": {
"start": {
"line": 103,
"column": 40
},
"end": {
"line": 103,
"column": 41
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3893,
"end": 3894,
"loc": {
"start": {
"line": 103,
"column": 42
},
"end": {
"line": 103,
"column": 43
}
}
},
{
"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": 3916,
"end": 3922,
"loc": {
"start": {
"line": 104,
"column": 20
},
"end": {
"line": 104,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 3923,
"end": 3938,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 104,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3938,
"end": 3939,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 3939,
"end": 3942,
"loc": {
"start": {
"line": 104,
"column": 43
},
"end": {
"line": 104,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3942,
"end": 3943,
"loc": {
"start": {
"line": 104,
"column": 46
},
"end": {
"line": 104,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Component ",
"start": 3969,
"end": 3981,
"loc": {
"start": {
"line": 105,
"column": 24
},
"end": {
"line": 105,
"column": 36
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3982,
"end": 3983,
"loc": {
"start": {
"line": 105,
"column": 37
},
"end": {
"line": 105,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 3984,
"end": 3995,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3996,
"end": 3997,
"loc": {
"start": {
"line": 105,
"column": 51
},
"end": {
"line": 105,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " has invalid data: ",
"start": 3998,
"end": 4019,
"loc": {
"start": {
"line": 105,
"column": 53
},
"end": {
"line": 105,
"column": 74
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4020,
"end": 4021,
"loc": {
"start": {
"line": 105,
"column": 75
},
"end": {
"line": 105,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVerifyError",
"start": 4022,
"end": 4042,
"loc": {
"start": {
"line": 105,
"column": 77
},
"end": {
"line": 105,
"column": 97
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4064,
"end": 4065,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4065,
"end": 4066,
"loc": {
"start": {
"line": 106,
"column": 21
},
"end": {
"line": 106,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4084,
"end": 4085,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4099,
"end": 4100,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4110,
"end": 4111,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"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": 4123,
"end": 4129,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 4130,
"end": 4145,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4145,
"end": 4146,
"loc": {
"start": {
"line": 111,
"column": 30
},
"end": {
"line": 111,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "good",
"start": 4146,
"end": 4150,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4150,
"end": 4151,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4151,
"end": 4152,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4152,
"end": 4153,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4159,
"end": 4160,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 112,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Tries to load the savegame from a given dump\r\n * @param {import(\"../savegame/savegame_typedefs\").SerializedGame} savegame\r\n * @param {import(\"../game/root\").GameRoot} root\r\n * @returns {ExplainedResult}\r\n ",
"start": 4168,
"end": 4403,
"loc": {
"start": {
"line": 114,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 4409,
"end": 4420,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4420,
"end": 4421,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 4421,
"end": 4429,
"loc": {
"start": {
"line": 120,
"column": 16
},
"end": {
"line": 120,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4429,
"end": 4430,
"loc": {
"start": {
"line": 120,
"column": 24
},
"end": {
"line": 120,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4431,
"end": 4435,
"loc": {
"start": {
"line": 120,
"column": 26
},
"end": {
"line": 120,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4435,
"end": 4436,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4437,
"end": 4438,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 120,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " Sanity",
"start": 4448,
"end": 4457,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 17
}
}
},
{
"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": 4467,
"end": 4472,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifyResult",
"start": 4473,
"end": 4485,
"loc": {
"start": {
"line": 122,
"column": 14
},
"end": {
"line": 122,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4486,
"end": 4487,
"loc": {
"start": {
"line": 122,
"column": 27
},
"end": {
"line": 122,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4488,
"end": 4492,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4492,
"end": 4493,
"loc": {
"start": {
"line": 122,
"column": 33
},
"end": {
"line": 122,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifyLogicalErrors",
"start": 4493,
"end": 4512,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4512,
"end": 4513,
"loc": {
"start": {
"line": 122,
"column": 53
},
"end": {
"line": 122,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 4513,
"end": 4521,
"loc": {
"start": {
"line": 122,
"column": 54
},
"end": {
"line": 122,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4521,
"end": 4522,
"loc": {
"start": {
"line": 122,
"column": 62
},
"end": {
"line": 122,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4522,
"end": 4523,
"loc": {
"start": {
"line": 122,
"column": 63
},
"end": {
"line": 122,
"column": 64
}
}
},
{
"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": 4533,
"end": 4535,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4536,
"end": 4537,
"loc": {
"start": {
"line": 123,
"column": 11
},
"end": {
"line": 123,
"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": 4537,
"end": 4538,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifyResult",
"start": 4538,
"end": 4550,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4550,
"end": 4551,
"loc": {
"start": {
"line": 123,
"column": 25
},
"end": {
"line": 123,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 4551,
"end": 4557,
"loc": {
"start": {
"line": 123,
"column": 26
},
"end": {
"line": 123,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4557,
"end": 4558,
"loc": {
"start": {
"line": 123,
"column": 32
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4559,
"end": 4560,
"loc": {
"start": {
"line": 123,
"column": 34
},
"end": {
"line": 123,
"column": 35
}
}
},
{
"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": 4574,
"end": 4580,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 4581,
"end": 4596,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4596,
"end": 4597,
"loc": {
"start": {
"line": 124,
"column": 34
},
"end": {
"line": 124,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 4597,
"end": 4600,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4600,
"end": 4601,
"loc": {
"start": {
"line": 124,
"column": 38
},
"end": {
"line": 124,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifyResult",
"start": 4601,
"end": 4613,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4613,
"end": 4614,
"loc": {
"start": {
"line": 124,
"column": 51
},
"end": {
"line": 124,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reason",
"start": 4614,
"end": 4620,
"loc": {
"start": {
"line": 124,
"column": 52
},
"end": {
"line": 124,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4620,
"end": 4621,
"loc": {
"start": {
"line": 124,
"column": 58
},
"end": {
"line": 124,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4621,
"end": 4622,
"loc": {
"start": {
"line": 124,
"column": 59
},
"end": {
"line": 124,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4632,
"end": 4633,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 9
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4643,
"end": 4646,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4647,
"end": 4658,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4659,
"end": 4660,
"loc": {
"start": {
"line": 126,
"column": 24
},
"end": {
"line": 126,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4661,
"end": 4665,
"loc": {
"start": {
"line": 126,
"column": 26
},
"end": {
"line": 126,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4665,
"end": 4666,
"loc": {
"start": {
"line": 126,
"column": 30
},
"end": {
"line": 126,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4678,
"end": 4689,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4690,
"end": 4691,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4692,
"end": 4703,
"loc": {
"start": {
"line": 128,
"column": 22
},
"end": {
"line": 128,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4704,
"end": 4706,
"loc": {
"start": {
"line": 128,
"column": 34
},
"end": {
"line": 128,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4707,
"end": 4711,
"loc": {
"start": {
"line": 128,
"column": 37
},
"end": {
"line": 128,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4711,
"end": 4712,
"loc": {
"start": {
"line": 128,
"column": 41
},
"end": {
"line": 128,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityMgr",
"start": 4712,
"end": 4721,
"loc": {
"start": {
"line": 128,
"column": 42
},
"end": {
"line": 128,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4721,
"end": 4722,
"loc": {
"start": {
"line": 128,
"column": 51
},
"end": {
"line": 128,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 4722,
"end": 4733,
"loc": {
"start": {
"line": 128,
"column": 52
},
"end": {
"line": 128,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4733,
"end": 4734,
"loc": {
"start": {
"line": 128,
"column": 63
},
"end": {
"line": 128,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 4734,
"end": 4742,
"loc": {
"start": {
"line": 128,
"column": 64
},
"end": {
"line": 128,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4742,
"end": 4743,
"loc": {
"start": {
"line": 128,
"column": 72
},
"end": {
"line": 128,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityMgr",
"start": 4743,
"end": 4752,
"loc": {
"start": {
"line": 128,
"column": 73
},
"end": {
"line": 128,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4752,
"end": 4753,
"loc": {
"start": {
"line": 128,
"column": 82
},
"end": {
"line": 128,
"column": 83
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4753,
"end": 4754,
"loc": {
"start": {
"line": 128,
"column": 83
},
"end": {
"line": 128,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4764,
"end": 4775,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4776,
"end": 4777,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4778,
"end": 4789,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4790,
"end": 4792,
"loc": {
"start": {
"line": 129,
"column": 34
},
"end": {
"line": 129,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4793,
"end": 4797,
"loc": {
"start": {
"line": 129,
"column": 37
},
"end": {
"line": 129,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4797,
"end": 4798,
"loc": {
"start": {
"line": 129,
"column": 41
},
"end": {
"line": 129,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 4798,
"end": 4802,
"loc": {
"start": {
"line": 129,
"column": 42
},
"end": {
"line": 129,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4802,
"end": 4803,
"loc": {
"start": {
"line": 129,
"column": 46
},
"end": {
"line": 129,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 4803,
"end": 4814,
"loc": {
"start": {
"line": 129,
"column": 47
},
"end": {
"line": 129,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4814,
"end": 4815,
"loc": {
"start": {
"line": 129,
"column": 58
},
"end": {
"line": 129,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 4815,
"end": 4823,
"loc": {
"start": {
"line": 129,
"column": 59
},
"end": {
"line": 129,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4823,
"end": 4824,
"loc": {
"start": {
"line": 129,
"column": 67
},
"end": {
"line": 129,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 4824,
"end": 4828,
"loc": {
"start": {
"line": 129,
"column": 68
},
"end": {
"line": 129,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4828,
"end": 4829,
"loc": {
"start": {
"line": 129,
"column": 72
},
"end": {
"line": 129,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4829,
"end": 4830,
"loc": {
"start": {
"line": 129,
"column": 73
},
"end": {
"line": 129,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4840,
"end": 4851,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4852,
"end": 4853,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4854,
"end": 4865,
"loc": {
"start": {
"line": 130,
"column": 22
},
"end": {
"line": 130,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4866,
"end": 4868,
"loc": {
"start": {
"line": 130,
"column": 34
},
"end": {
"line": 130,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4869,
"end": 4873,
"loc": {
"start": {
"line": 130,
"column": 37
},
"end": {
"line": 130,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4873,
"end": 4874,
"loc": {
"start": {
"line": 130,
"column": 41
},
"end": {
"line": 130,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 4874,
"end": 4880,
"loc": {
"start": {
"line": 130,
"column": 42
},
"end": {
"line": 130,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4880,
"end": 4881,
"loc": {
"start": {
"line": 130,
"column": 48
},
"end": {
"line": 130,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 4881,
"end": 4892,
"loc": {
"start": {
"line": 130,
"column": 49
},
"end": {
"line": 130,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4892,
"end": 4893,
"loc": {
"start": {
"line": 130,
"column": 60
},
"end": {
"line": 130,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 4893,
"end": 4901,
"loc": {
"start": {
"line": 130,
"column": 61
},
"end": {
"line": 130,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4901,
"end": 4902,
"loc": {
"start": {
"line": 130,
"column": 69
},
"end": {
"line": 130,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 4902,
"end": 4908,
"loc": {
"start": {
"line": 130,
"column": 70
},
"end": {
"line": 130,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4908,
"end": 4909,
"loc": {
"start": {
"line": 130,
"column": 76
},
"end": {
"line": 130,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4909,
"end": 4910,
"loc": {
"start": {
"line": 130,
"column": 77
},
"end": {
"line": 130,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4920,
"end": 4931,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4932,
"end": 4933,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4934,
"end": 4945,
"loc": {
"start": {
"line": 131,
"column": 22
},
"end": {
"line": 131,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4946,
"end": 4948,
"loc": {
"start": {
"line": 131,
"column": 34
},
"end": {
"line": 131,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4949,
"end": 4953,
"loc": {
"start": {
"line": 131,
"column": 37
},
"end": {
"line": 131,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4953,
"end": 4954,
"loc": {
"start": {
"line": 131,
"column": 41
},
"end": {
"line": 131,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4954,
"end": 4957,
"loc": {
"start": {
"line": 131,
"column": 42
},
"end": {
"line": 131,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4957,
"end": 4958,
"loc": {
"start": {
"line": 131,
"column": 45
},
"end": {
"line": 131,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 4958,
"end": 4969,
"loc": {
"start": {
"line": 131,
"column": 46
},
"end": {
"line": 131,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4969,
"end": 4970,
"loc": {
"start": {
"line": 131,
"column": 57
},
"end": {
"line": 131,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 4970,
"end": 4978,
"loc": {
"start": {
"line": 131,
"column": 58
},
"end": {
"line": 131,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4978,
"end": 4979,
"loc": {
"start": {
"line": 131,
"column": 66
},
"end": {
"line": 131,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4979,
"end": 4982,
"loc": {
"start": {
"line": 131,
"column": 67
},
"end": {
"line": 131,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4982,
"end": 4983,
"loc": {
"start": {
"line": 131,
"column": 70
},
"end": {
"line": 131,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4983,
"end": 4984,
"loc": {
"start": {
"line": 131,
"column": 71
},
"end": {
"line": 131,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 4994,
"end": 5005,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5006,
"end": 5007,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5008,
"end": 5019,
"loc": {
"start": {
"line": 132,
"column": 22
},
"end": {
"line": 132,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5020,
"end": 5022,
"loc": {
"start": {
"line": 132,
"column": 34
},
"end": {
"line": 132,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5023,
"end": 5027,
"loc": {
"start": {
"line": 132,
"column": 37
},
"end": {
"line": 132,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5027,
"end": 5028,
"loc": {
"start": {
"line": 132,
"column": 41
},
"end": {
"line": 132,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 5028,
"end": 5036,
"loc": {
"start": {
"line": 132,
"column": 42
},
"end": {
"line": 132,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5036,
"end": 5037,
"loc": {
"start": {
"line": 132,
"column": 50
},
"end": {
"line": 132,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 5037,
"end": 5048,
"loc": {
"start": {
"line": 132,
"column": 51
},
"end": {
"line": 132,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5048,
"end": 5049,
"loc": {
"start": {
"line": 132,
"column": 62
},
"end": {
"line": 132,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5049,
"end": 5057,
"loc": {
"start": {
"line": 132,
"column": 63
},
"end": {
"line": 132,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5057,
"end": 5058,
"loc": {
"start": {
"line": 132,
"column": 71
},
"end": {
"line": 132,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 5058,
"end": 5066,
"loc": {
"start": {
"line": 132,
"column": 72
},
"end": {
"line": 132,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5066,
"end": 5067,
"loc": {
"start": {
"line": 132,
"column": 80
},
"end": {
"line": 132,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5068,
"end": 5072,
"loc": {
"start": {
"line": 132,
"column": 82
},
"end": {
"line": 132,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5072,
"end": 5073,
"loc": {
"start": {
"line": 132,
"column": 86
},
"end": {
"line": 132,
"column": 87
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5073,
"end": 5074,
"loc": {
"start": {
"line": 132,
"column": 87
},
"end": {
"line": 132,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5084,
"end": 5095,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5096,
"end": 5097,
"loc": {
"start": {
"line": 133,
"column": 20
},
"end": {
"line": 133,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5098,
"end": 5109,
"loc": {
"start": {
"line": 133,
"column": 22
},
"end": {
"line": 133,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5110,
"end": 5112,
"loc": {
"start": {
"line": 133,
"column": 34
},
"end": {
"line": 133,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5113,
"end": 5117,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5117,
"end": 5118,
"loc": {
"start": {
"line": 133,
"column": 41
},
"end": {
"line": 133,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 5118,
"end": 5121,
"loc": {
"start": {
"line": 133,
"column": 42
},
"end": {
"line": 133,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5121,
"end": 5122,
"loc": {
"start": {
"line": 133,
"column": 45
},
"end": {
"line": 133,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parts",
"start": 5122,
"end": 5127,
"loc": {
"start": {
"line": 133,
"column": 46
},
"end": {
"line": 133,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5127,
"end": 5128,
"loc": {
"start": {
"line": 133,
"column": 51
},
"end": {
"line": 133,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 5128,
"end": 5140,
"loc": {
"start": {
"line": 133,
"column": 52
},
"end": {
"line": 133,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5140,
"end": 5141,
"loc": {
"start": {
"line": 133,
"column": 64
},
"end": {
"line": 133,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 5141,
"end": 5152,
"loc": {
"start": {
"line": 133,
"column": 65
},
"end": {
"line": 133,
"column": 76
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5152,
"end": 5153,
"loc": {
"start": {
"line": 133,
"column": 76
},
"end": {
"line": 133,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5153,
"end": 5161,
"loc": {
"start": {
"line": 133,
"column": 77
},
"end": {
"line": 133,
"column": 85
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5161,
"end": 5162,
"loc": {
"start": {
"line": 133,
"column": 85
},
"end": {
"line": 133,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 5162,
"end": 5174,
"loc": {
"start": {
"line": 133,
"column": 86
},
"end": {
"line": 133,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5174,
"end": 5175,
"loc": {
"start": {
"line": 133,
"column": 98
},
"end": {
"line": 133,
"column": 99
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5175,
"end": 5176,
"loc": {
"start": {
"line": 133,
"column": 99
},
"end": {
"line": 133,
"column": 100
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5186,
"end": 5197,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5198,
"end": 5199,
"loc": {
"start": {
"line": 134,
"column": 20
},
"end": {
"line": 134,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5200,
"end": 5211,
"loc": {
"start": {
"line": 134,
"column": 22
},
"end": {
"line": 134,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5212,
"end": 5214,
"loc": {
"start": {
"line": 134,
"column": 34
},
"end": {
"line": 134,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5215,
"end": 5219,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5219,
"end": 5220,
"loc": {
"start": {
"line": 134,
"column": 41
},
"end": {
"line": 134,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 5220,
"end": 5223,
"loc": {
"start": {
"line": 134,
"column": 42
},
"end": {
"line": 134,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5223,
"end": 5224,
"loc": {
"start": {
"line": 134,
"column": 45
},
"end": {
"line": 134,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parts",
"start": 5224,
"end": 5229,
"loc": {
"start": {
"line": 134,
"column": 46
},
"end": {
"line": 134,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5229,
"end": 5230,
"loc": {
"start": {
"line": 134,
"column": 51
},
"end": {
"line": 134,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "waypoints",
"start": 5230,
"end": 5239,
"loc": {
"start": {
"line": 134,
"column": 52
},
"end": {
"line": 134,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5239,
"end": 5240,
"loc": {
"start": {
"line": 134,
"column": 61
},
"end": {
"line": 134,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 5240,
"end": 5251,
"loc": {
"start": {
"line": 134,
"column": 62
},
"end": {
"line": 134,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5251,
"end": 5252,
"loc": {
"start": {
"line": 134,
"column": 73
},
"end": {
"line": 134,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5252,
"end": 5260,
"loc": {
"start": {
"line": 134,
"column": 74
},
"end": {
"line": 134,
"column": 82
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5260,
"end": 5261,
"loc": {
"start": {
"line": 134,
"column": 82
},
"end": {
"line": 134,
"column": 83
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "waypoints",
"start": 5261,
"end": 5270,
"loc": {
"start": {
"line": 134,
"column": 83
},
"end": {
"line": 134,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5270,
"end": 5271,
"loc": {
"start": {
"line": 134,
"column": 92
},
"end": {
"line": 134,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5271,
"end": 5272,
"loc": {
"start": {
"line": 134,
"column": 93
},
"end": {
"line": 134,
"column": 94
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5282,
"end": 5293,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5294,
"end": 5295,
"loc": {
"start": {
"line": 135,
"column": 20
},
"end": {
"line": 135,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5296,
"end": 5307,
"loc": {
"start": {
"line": 135,
"column": 22
},
"end": {
"line": 135,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5308,
"end": 5310,
"loc": {
"start": {
"line": 135,
"column": 34
},
"end": {
"line": 135,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5311,
"end": 5315,
"loc": {
"start": {
"line": 135,
"column": 37
},
"end": {
"line": 135,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5315,
"end": 5316,
"loc": {
"start": {
"line": 135,
"column": 41
},
"end": {
"line": 135,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internal",
"start": 5316,
"end": 5324,
"loc": {
"start": {
"line": 135,
"column": 42
},
"end": {
"line": 135,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5324,
"end": 5325,
"loc": {
"start": {
"line": 135,
"column": 50
},
"end": {
"line": 135,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeEntityArray",
"start": 5325,
"end": 5347,
"loc": {
"start": {
"line": 135,
"column": 51
},
"end": {
"line": 135,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5347,
"end": 5348,
"loc": {
"start": {
"line": 135,
"column": 73
},
"end": {
"line": 135,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5348,
"end": 5352,
"loc": {
"start": {
"line": 135,
"column": 74
},
"end": {
"line": 135,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5352,
"end": 5353,
"loc": {
"start": {
"line": 135,
"column": 78
},
"end": {
"line": 135,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5354,
"end": 5362,
"loc": {
"start": {
"line": 135,
"column": 80
},
"end": {
"line": 135,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5362,
"end": 5363,
"loc": {
"start": {
"line": 135,
"column": 88
},
"end": {
"line": 135,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 5363,
"end": 5371,
"loc": {
"start": {
"line": 135,
"column": 89
},
"end": {
"line": 135,
"column": 97
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5371,
"end": 5372,
"loc": {
"start": {
"line": 135,
"column": 97
},
"end": {
"line": 135,
"column": 98
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5372,
"end": 5373,
"loc": {
"start": {
"line": 135,
"column": 98
},
"end": {
"line": 135,
"column": 99
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5383,
"end": 5394,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5395,
"end": 5396,
"loc": {
"start": {
"line": 136,
"column": 20
},
"end": {
"line": 136,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5397,
"end": 5408,
"loc": {
"start": {
"line": 136,
"column": 22
},
"end": {
"line": 136,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5409,
"end": 5411,
"loc": {
"start": {
"line": 136,
"column": 34
},
"end": {
"line": 136,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5412,
"end": 5416,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5416,
"end": 5417,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemMgr",
"start": 5417,
"end": 5426,
"loc": {
"start": {
"line": 136,
"column": 42
},
"end": {
"line": 136,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5426,
"end": 5427,
"loc": {
"start": {
"line": 136,
"column": 51
},
"end": {
"line": 136,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systems",
"start": 5427,
"end": 5434,
"loc": {
"start": {
"line": 136,
"column": 52
},
"end": {
"line": 136,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5434,
"end": 5435,
"loc": {
"start": {
"line": 136,
"column": 59
},
"end": {
"line": 136,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "belt",
"start": 5435,
"end": 5439,
"loc": {
"start": {
"line": 136,
"column": 60
},
"end": {
"line": 136,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5439,
"end": 5440,
"loc": {
"start": {
"line": 136,
"column": 64
},
"end": {
"line": 136,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializePaths",
"start": 5440,
"end": 5456,
"loc": {
"start": {
"line": 136,
"column": 65
},
"end": {
"line": 136,
"column": 81
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5456,
"end": 5457,
"loc": {
"start": {
"line": 136,
"column": 81
},
"end": {
"line": 136,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5457,
"end": 5465,
"loc": {
"start": {
"line": 136,
"column": 82
},
"end": {
"line": 136,
"column": 90
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5465,
"end": 5466,
"loc": {
"start": {
"line": 136,
"column": 90
},
"end": {
"line": 136,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beltPaths",
"start": 5466,
"end": 5475,
"loc": {
"start": {
"line": 136,
"column": 91
},
"end": {
"line": 136,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5475,
"end": 5476,
"loc": {
"start": {
"line": 136,
"column": 100
},
"end": {
"line": 136,
"column": 101
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5476,
"end": 5477,
"loc": {
"start": {
"line": 136,
"column": 101
},
"end": {
"line": 136,
"column": 102
}
}
},
{
"type": "CommentLine",
"value": " Check for errors",
"start": 5489,
"end": 5508,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 27
}
}
},
{
"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": 5518,
"end": 5520,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5521,
"end": 5522,
"loc": {
"start": {
"line": 139,
"column": 11
},
"end": {
"line": 139,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5522,
"end": 5533,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5533,
"end": 5534,
"loc": {
"start": {
"line": 139,
"column": 23
},
"end": {
"line": 139,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5535,
"end": 5536,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 26
}
}
},
{
"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": 5550,
"end": 5556,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 5557,
"end": 5572,
"loc": {
"start": {
"line": 140,
"column": 19
},
"end": {
"line": 140,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5572,
"end": 5573,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bad",
"start": 5573,
"end": 5576,
"loc": {
"start": {
"line": 140,
"column": 35
},
"end": {
"line": 140,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5576,
"end": 5577,
"loc": {
"start": {
"line": 140,
"column": 38
},
"end": {
"line": 140,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorReason",
"start": 5577,
"end": 5588,
"loc": {
"start": {
"line": 140,
"column": 39
},
"end": {
"line": 140,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5588,
"end": 5589,
"loc": {
"start": {
"line": 140,
"column": 50
},
"end": {
"line": 140,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5589,
"end": 5590,
"loc": {
"start": {
"line": 140,
"column": 51
},
"end": {
"line": 140,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5600,
"end": 5601,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5613,
"end": 5619,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ExplainedResult",
"start": 5620,
"end": 5635,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5635,
"end": 5636,
"loc": {
"start": {
"line": 143,
"column": 30
},
"end": {
"line": 143,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "good",
"start": 5636,
"end": 5640,
"loc": {
"start": {
"line": 143,
"column": 31
},
"end": {
"line": 143,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5640,
"end": 5641,
"loc": {
"start": {
"line": 143,
"column": 35
},
"end": {
"line": 143,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5641,
"end": 5642,
"loc": {
"start": {
"line": 143,
"column": 36
},
"end": {
"line": 143,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5642,
"end": 5643,
"loc": {
"start": {
"line": 143,
"column": 37
},
"end": {
"line": 143,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5649,
"end": 5650,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 144,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5652,
"end": 5653,
"loc": {
"start": {
"line": 145,
"column": 0
},
"end": {
"line": 145,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5653,
"end": 5653,
"loc": {
"start": {
"line": 145,
"column": 1
},
"end": {
"line": 145,
"column": 1
}
}
}
]
}