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

7445 lines
192 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1284,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 46,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1284,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 46,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 52
}
},
"extra": {
"rawValue": "../../core/logging.js",
"raw": "\"../../core/logging.js\""
},
"value": "../../core/logging.js"
}
},
{
"type": "ImportDeclaration",
"start": 55,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 52
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 64,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 32
}
},
"imported": {
"type": "Identifier",
"start": 64,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 32
},
"identifierName": "SavegameInterface_V1004"
},
"name": "SavegameInterface_V1004"
},
"local": {
"type": "Identifier",
"start": 64,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 32
},
"identifierName": "SavegameInterface_V1004"
},
"name": "SavegameInterface_V1004"
}
}
],
"source": {
"type": "StringLiteral",
"start": 95,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 40
},
"end": {
"line": 2,
"column": 51
}
},
"extra": {
"rawValue": "./1004.js",
"raw": "\"./1004.js\""
},
"value": "./1004.js"
}
},
{
"type": "VariableDeclaration",
"start": 111,
"end": 149,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 117,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 117,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 12
},
"identifierName": "schema"
},
"name": "schema"
},
"init": {
"type": "CallExpression",
"start": 126,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 37
}
},
"callee": {
"type": "Identifier",
"start": 126,
"end": 133,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 134,
"end": 147,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 36
}
},
"extra": {
"rawValue": "./1005.json",
"raw": "\"./1005.json\""
},
"value": "./1005.json"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 151,
"end": 206,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 157,
"end": 205,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 157,
"end": 163,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 166,
"end": 205,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 54
}
},
"callee": {
"type": "Identifier",
"start": 166,
"end": 178,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 179,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 28
},
"end": {
"line": 5,
"column": 53
}
},
"extra": {
"rawValue": "savegame_interface/1005",
"raw": "\"savegame_interface/1005\""
},
"value": "savegame_interface/1005"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 210,
"end": 1282,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 45,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 217,
"end": 1282,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 45,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 223,
"end": 246,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 36
},
"identifierName": "SavegameInterface_V1005"
},
"name": "SavegameInterface_V1005"
},
"superClass": {
"type": "Identifier",
"start": 255,
"end": 278,
"loc": {
"start": {
"line": 7,
"column": 45
},
"end": {
"line": 7,
"column": 68
},
"identifierName": "SavegameInterface_V1004"
},
"name": "SavegameInterface_V1004"
},
"body": {
"type": "ClassBody",
"start": 279,
"end": 1282,
"loc": {
"start": {
"line": 7,
"column": 69
},
"end": {
"line": 45,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 286,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 286,
"end": 296,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
},
"identifierName": "getVersion"
},
"name": "getVersion"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 299,
"end": 329,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 10,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 310,
"end": 322,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 20
}
},
"argument": {
"type": "NumericLiteral",
"start": 317,
"end": 321,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 19
}
},
"extra": {
"rawValue": 1005,
"raw": "1005"
},
"value": 1005
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 337,
"end": 389,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 337,
"end": 354,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 21
},
"identifierName": "getSchemaUncached"
},
"name": "getSchemaUncached"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 357,
"end": 389,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 14,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 368,
"end": 382,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 22
}
},
"argument": {
"type": "Identifier",
"start": 375,
"end": 381,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 21
},
"identifierName": "schema"
},
"name": "schema"
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ",
"start": 397,
"end": 478,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 484,
"end": 1279,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 491,
"end": 508,
"loc": {
"start": {
"line": 19,
"column": 11
},
"end": {
"line": 19,
"column": 28
},
"identifierName": "migrate1004to1005"
},
"name": "migrate1004to1005"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 509,
"end": 513,
"loc": {
"start": {
"line": 19,
"column": 29
},
"end": {
"line": 19,
"column": 33
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 515,
"end": 1279,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 44,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 526,
"end": 563,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 526,
"end": 562,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 526,
"end": 536,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 526,
"end": 532,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 14
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 533,
"end": 536,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 18
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 537,
"end": 561,
"loc": {
"start": {
"line": 20,
"column": 19
},
"end": {
"line": 20,
"column": 43
}
},
"extra": {
"rawValue": "Migrating 1004 to 1005",
"raw": "\"Migrating 1004 to 1005\""
},
"value": "Migrating 1004 to 1005"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 573,
"end": 596,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 579,
"end": 595,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 579,
"end": 583,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 18
},
"identifierName": "dump"
},
"name": "dump"
},
"init": {
"type": "MemberExpression",
"start": 586,
"end": 595,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 586,
"end": 590,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 25
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 591,
"end": 595,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 30
},
"identifierName": "dump"
},
"name": "dump"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 606,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 24,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 610,
"end": 615,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 611,
"end": 615,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 17
},
"identifierName": "dump"
},
"name": "dump"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 617,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 24,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 632,
"end": 644,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 639,
"end": 643,
"loc": {
"start": {
"line": 23,
"column": 19
},
"end": {
"line": 23,
"column": 23
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " just reset belt paths for now",
"start": 667,
"end": 699,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 709,
"end": 729,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 28
}
},
"expression": {
"type": "AssignmentExpression",
"start": 709,
"end": 728,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 709,
"end": 723,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 709,
"end": 713,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
},
"identifierName": "dump"
},
"name": "dump",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 714,
"end": 723,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 22
},
"identifierName": "beltPaths"
},
"name": "beltPaths"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrayExpression",
"start": 726,
"end": 728,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 27
}
},
"elements": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " just reset belt paths for now",
"start": 667,
"end": 699,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 40
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 741,
"end": 772,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 747,
"end": 771,
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 747,
"end": 755,
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 22
},
"identifierName": "entities"
},
"name": "entities"
},
"init": {
"type": "MemberExpression",
"start": 758,
"end": 771,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 758,
"end": 762,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 29
},
"identifierName": "dump"
},
"name": "dump"
},
"property": {
"type": "Identifier",
"start": 763,
"end": 771,
"loc": {
"start": {
"line": 29,
"column": 30
},
"end": {
"line": 29,
"column": 38
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " clear ejector slots",
"start": 784,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 30
}
}
}
]
},
{
"type": "ForStatement",
"start": 816,
"end": 1272,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 43,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 821,
"end": 830,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 825,
"end": 830,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 825,
"end": 826,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 32,
"column": 21
},
"end": {
"line": 32,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 832,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 832,
"end": 833,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 836,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 836,
"end": 844,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 36
},
"identifierName": "entities"
},
"name": "entities"
},
"property": {
"type": "Identifier",
"start": 845,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 43
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 853,
"end": 856,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 48
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 855,
"end": 856,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 858,
"end": 1272,
"loc": {
"start": {
"line": 32,
"column": 50
},
"end": {
"line": 43,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 873,
"end": 900,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 879,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 888,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 888,
"end": 896,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 35
},
"identifierName": "entities"
},
"name": "entities"
},
"property": {
"type": "Identifier",
"start": 897,
"end": 898,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 37
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 914,
"end": 964,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 920,
"end": 963,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 920,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
},
"init": {
"type": "MemberExpression",
"start": 934,
"end": 963,
"loc": {
"start": {
"line": 34,
"column": 32
},
"end": {
"line": 34,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 934,
"end": 951,
"loc": {
"start": {
"line": 34,
"column": 32
},
"end": {
"line": 34,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 934,
"end": 940,
"loc": {
"start": {
"line": 34,
"column": 32
},
"end": {
"line": 34,
"column": 38
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 941,
"end": 951,
"loc": {
"start": {
"line": 34,
"column": 39
},
"end": {
"line": 34,
"column": 49
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 952,
"end": 963,
"loc": {
"start": {
"line": 34,
"column": 50
},
"end": {
"line": 34,
"column": 61
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 978,
"end": 1261,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 42,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 982,
"end": 993,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 27
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
},
"consequent": {
"type": "BlockStatement",
"start": 995,
"end": 1261,
"loc": {
"start": {
"line": 35,
"column": 29
},
"end": {
"line": 42,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1014,
"end": 1046,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1020,
"end": 1045,
"loc": {
"start": {
"line": 36,
"column": 22
},
"end": {
"line": 36,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1020,
"end": 1025,
"loc": {
"start": {
"line": 36,
"column": 22
},
"end": {
"line": 36,
"column": 27
},
"identifierName": "slots"
},
"name": "slots"
},
"init": {
"type": "MemberExpression",
"start": 1028,
"end": 1045,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1028,
"end": 1039,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 41
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
},
"property": {
"type": "Identifier",
"start": 1040,
"end": 1045,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 47
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 1064,
"end": 1246,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 41,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 1069,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1073,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 26
},
"identifierName": "k"
},
"name": "k"
},
"init": {
"type": "NumericLiteral",
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1080,
"end": 1096,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 48
}
},
"left": {
"type": "Identifier",
"start": 1080,
"end": 1081,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 33
},
"identifierName": "k"
},
"name": "k"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1084,
"end": 1096,
"loc": {
"start": {
"line": 37,
"column": 36
},
"end": {
"line": 37,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1084,
"end": 1089,
"loc": {
"start": {
"line": 37,
"column": 36
},
"end": {
"line": 37,
"column": 41
},
"identifierName": "slots"
},
"name": "slots"
},
"property": {
"type": "Identifier",
"start": 1090,
"end": 1096,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 48
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1098,
"end": 1101,
"loc": {
"start": {
"line": 37,
"column": 50
},
"end": {
"line": 37,
"column": 53
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1100,
"end": 1101,
"loc": {
"start": {
"line": 37,
"column": 52
},
"end": {
"line": 37,
"column": 53
},
"identifierName": "k"
},
"name": "k"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1103,
"end": 1246,
"loc": {
"start": {
"line": 37,
"column": 55
},
"end": {
"line": 41,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1126,
"end": 1148,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1132,
"end": 1147,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 1132,
"end": 1136,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 30
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 1139,
"end": 1147,
"loc": {
"start": {
"line": 38,
"column": 33
},
"end": {
"line": 38,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 1139,
"end": 1144,
"loc": {
"start": {
"line": 38,
"column": 33
},
"end": {
"line": 38,
"column": 38
},
"identifierName": "slots"
},
"name": "slots"
},
"property": {
"type": "Identifier",
"start": 1145,
"end": 1146,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 40
},
"identifierName": "k"
},
"name": "k"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1170,
"end": 1187,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1170,
"end": 1186,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1170,
"end": 1179,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1170,
"end": 1174,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 24
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 1175,
"end": 1179,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 29
},
"identifierName": "item"
},
"name": "item"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 1182,
"end": 1186,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 36
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1209,
"end": 1227,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1209,
"end": 1226,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1209,
"end": 1222,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1209,
"end": 1213,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 24
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 1214,
"end": 1222,
"loc": {
"start": {
"line": 40,
"column": 25
},
"end": {
"line": 40,
"column": 33
},
"identifierName": "progress"
},
"name": "progress"
},
"computed": false
},
"right": {
"type": "NumericLiteral",
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 37
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " clear ejector slots",
"start": 784,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 30
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ",
"start": 397,
"end": 478,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ",
"start": 397,
"end": 478,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " just reset belt paths for now",
"start": 667,
"end": 699,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " clear ejector slots",
"start": 784,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 30
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/logging.js",
"start": 29,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 52
},
"end": {
"line": 1,
"column": 53
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 55,
"end": 61,
"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": 62,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SavegameInterface_V1004",
"start": 64,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 88,
"end": 89,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 90,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 35
},
"end": {
"line": 2,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./1004.js",
"start": 95,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 40
},
"end": {
"line": 2,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 106,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 51
},
"end": {
"line": 2,
"column": 52
}
}
},
{
"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": 111,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 117,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "require",
"start": 126,
"end": 133,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 133,
"end": 134,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./1005.json",
"start": 134,
"end": 147,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 147,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 36
},
"end": {
"line": 4,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 148,
"end": 149,
"loc": {
"start": {
"line": 4,
"column": 37
},
"end": {
"line": 4,
"column": 38
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 151,
"end": 156,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 157,
"end": 163,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 164,
"end": 165,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 166,
"end": 178,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 178,
"end": 179,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "savegame_interface/1005",
"start": 179,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 28
},
"end": {
"line": 5,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 5,
"column": 53
},
"end": {
"line": 5,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 205,
"end": 206,
"loc": {
"start": {
"line": 5,
"column": 54
},
"end": {
"line": 5,
"column": 55
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 210,
"end": 216,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"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": 217,
"end": 222,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SavegameInterface_V1005",
"start": 223,
"end": 246,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 247,
"end": 254,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SavegameInterface_V1004",
"start": 255,
"end": 278,
"loc": {
"start": {
"line": 7,
"column": 45
},
"end": {
"line": 7,
"column": 68
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 279,
"end": 280,
"loc": {
"start": {
"line": 7,
"column": 69
},
"end": {
"line": 7,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getVersion",
"start": 286,
"end": 296,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 296,
"end": 297,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 297,
"end": 298,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 299,
"end": 300,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 310,
"end": 316,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1005,
"start": 317,
"end": 321,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 321,
"end": 322,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 328,
"end": 329,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchemaUncached",
"start": 337,
"end": 354,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 354,
"end": 355,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 355,
"end": 356,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 357,
"end": 358,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 368,
"end": 374,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 375,
"end": 381,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 381,
"end": 382,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 388,
"end": 389,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {import(\"../savegame_typedefs.js\").SavegameData} data\r\n ",
"start": 397,
"end": 478,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 484,
"end": 490,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "migrate1004to1005",
"start": 491,
"end": 508,
"loc": {
"start": {
"line": 19,
"column": 11
},
"end": {
"line": 19,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 508,
"end": 509,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 509,
"end": 513,
"loc": {
"start": {
"line": 19,
"column": 29
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 515,
"end": 516,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 526,
"end": 532,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 532,
"end": 533,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 533,
"end": 536,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 19
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Migrating 1004 to 1005",
"start": 537,
"end": 561,
"loc": {
"start": {
"line": 20,
"column": 19
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 561,
"end": 562,
"loc": {
"start": {
"line": 20,
"column": 43
},
"end": {
"line": 20,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 573,
"end": 578,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dump",
"start": 579,
"end": 583,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 21,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 586,
"end": 590,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 590,
"end": 591,
"loc": {
"start": {
"line": 21,
"column": 25
},
"end": {
"line": 21,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dump",
"start": 591,
"end": 595,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 595,
"end": 596,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 31
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 606,
"end": 608,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 22,
"column": 11
},
"end": {
"line": 22,
"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": 610,
"end": 611,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dump",
"start": 611,
"end": 615,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 22,
"column": 17
},
"end": {
"line": 22,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 617,
"end": 618,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 20
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 632,
"end": 638,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 18
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 639,
"end": 643,
"loc": {
"start": {
"line": 23,
"column": 19
},
"end": {
"line": 23,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 643,
"end": 644,
"loc": {
"start": {
"line": 23,
"column": 23
},
"end": {
"line": 23,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 654,
"end": 655,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " just reset belt paths for now",
"start": 667,
"end": 699,
"loc": {
"start": {
"line": 26,
"column": 8
},
"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": "dump",
"start": 709,
"end": 713,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 713,
"end": 714,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beltPaths",
"start": 714,
"end": 723,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 724,
"end": 725,
"loc": {
"start": {
"line": 27,
"column": 23
},
"end": {
"line": 27,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 26
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 27,
"column": 26
},
"end": {
"line": 27,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 728,
"end": 729,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 741,
"end": 746,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 747,
"end": 755,
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 756,
"end": 757,
"loc": {
"start": {
"line": 29,
"column": 23
},
"end": {
"line": 29,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dump",
"start": 758,
"end": 762,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 762,
"end": 763,
"loc": {
"start": {
"line": 29,
"column": 29
},
"end": {
"line": 29,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 763,
"end": 771,
"loc": {
"start": {
"line": 29,
"column": 30
},
"end": {
"line": 29,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 29,
"column": 38
},
"end": {
"line": 29,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " clear ejector slots",
"start": 784,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 30
}
}
},
{
"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": 816,
"end": 819,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 820,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"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": 821,
"end": 824,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 825,
"end": 826,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 32,
"column": 19
},
"end": {
"line": 32,
"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": 829,
"end": 830,
"loc": {
"start": {
"line": 32,
"column": 21
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 830,
"end": 831,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 832,
"end": 833,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 834,
"end": 835,
"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": "entities",
"start": 836,
"end": 844,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 844,
"end": 845,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 32,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 845,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 32,
"column": 43
},
"end": {
"line": 32,
"column": 44
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 853,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 855,
"end": 856,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 856,
"end": 857,
"loc": {
"start": {
"line": 32,
"column": 48
},
"end": {
"line": 32,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 858,
"end": 859,
"loc": {
"start": {
"line": 32,
"column": 50
},
"end": {
"line": 32,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 873,
"end": 878,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 888,
"end": 896,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 896,
"end": 897,
"loc": {
"start": {
"line": 33,
"column": 35
},
"end": {
"line": 33,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 897,
"end": 898,
"loc": {
"start": {
"line": 33,
"column": 36
},
"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": 898,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 37
},
"end": {
"line": 33,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 39
}
}
},
{
"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": 914,
"end": 919,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 920,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 934,
"end": 940,
"loc": {
"start": {
"line": 34,
"column": 32
},
"end": {
"line": 34,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 940,
"end": 941,
"loc": {
"start": {
"line": 34,
"column": 38
},
"end": {
"line": 34,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 941,
"end": 951,
"loc": {
"start": {
"line": 34,
"column": 39
},
"end": {
"line": 34,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 34,
"column": 49
},
"end": {
"line": 34,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 952,
"end": 963,
"loc": {
"start": {
"line": 34,
"column": 50
},
"end": {
"line": 34,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 963,
"end": 964,
"loc": {
"start": {
"line": 34,
"column": 61
},
"end": {
"line": 34,
"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": 978,
"end": 980,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 981,
"end": 982,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 982,
"end": 993,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 993,
"end": 994,
"loc": {
"start": {
"line": 35,
"column": 27
},
"end": {
"line": 35,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 995,
"end": 996,
"loc": {
"start": {
"line": 35,
"column": 29
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"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": 1014,
"end": 1019,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 1020,
"end": 1025,
"loc": {
"start": {
"line": 36,
"column": 22
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1026,
"end": 1027,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 1028,
"end": 1039,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 1040,
"end": 1045,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1045,
"end": 1046,
"loc": {
"start": {
"line": 36,
"column": 47
},
"end": {
"line": 36,
"column": 48
}
}
},
{
"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": 1064,
"end": 1067,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 21
}
}
},
{
"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": 1069,
"end": 1072,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "k",
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1075,
"end": 1076,
"loc": {
"start": {
"line": 37,
"column": 27
},
"end": {
"line": 37,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1078,
"end": 1079,
"loc": {
"start": {
"line": 37,
"column": 30
},
"end": {
"line": 37,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "k",
"start": 1080,
"end": 1081,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1082,
"end": 1083,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 1084,
"end": 1089,
"loc": {
"start": {
"line": 37,
"column": 36
},
"end": {
"line": 37,
"column": 41
}
}
},
{
"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": 37,
"column": 41
},
"end": {
"line": 37,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1090,
"end": 1096,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 37,
"column": 49
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1098,
"end": 1100,
"loc": {
"start": {
"line": 37,
"column": 50
},
"end": {
"line": 37,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "k",
"start": 1100,
"end": 1101,
"loc": {
"start": {
"line": 37,
"column": 52
},
"end": {
"line": 37,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1101,
"end": 1102,
"loc": {
"start": {
"line": 37,
"column": 53
},
"end": {
"line": 37,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1103,
"end": 1104,
"loc": {
"start": {
"line": 37,
"column": 55
},
"end": {
"line": 37,
"column": 56
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1126,
"end": 1131,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 1132,
"end": 1136,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1137,
"end": 1138,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 1139,
"end": 1144,
"loc": {
"start": {
"line": 38,
"column": 33
},
"end": {
"line": 38,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1144,
"end": 1145,
"loc": {
"start": {
"line": 38,
"column": 38
},
"end": {
"line": 38,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "k",
"start": 1145,
"end": 1146,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1146,
"end": 1147,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1147,
"end": 1148,
"loc": {
"start": {
"line": 38,
"column": 41
},
"end": {
"line": 38,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 1170,
"end": 1174,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1174,
"end": 1175,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 1175,
"end": 1179,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1180,
"end": 1181,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 31
}
}
},
{
"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": 1182,
"end": 1186,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1186,
"end": 1187,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 1209,
"end": 1213,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 40,
"column": 24
},
"end": {
"line": 40,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 1214,
"end": 1222,
"loc": {
"start": {
"line": 40,
"column": 25
},
"end": {
"line": 40,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1223,
"end": 1224,
"loc": {
"start": {
"line": 40,
"column": 34
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 40,
"column": 37
},
"end": {
"line": 40,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1245,
"end": 1246,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1260,
"end": 1261,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 45,
"column": 0
},
"end": {
"line": 45,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1284,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 0
},
"end": {
"line": 46,
"column": 0
}
}
}
]
}