1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/game/systems/item_ejector.js.json
2021-02-26 15:20:37 +01:00

66595 lines
1.8 MiB

{
"type": "File",
"start": 0,
"end": 16798,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 423,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 16798,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 423,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 49
}
},
"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": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
},
"extra": {
"rawValue": "../../core/config",
"raw": "\"../../core/config\""
},
"value": "../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 51,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 60
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 82,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 59
}
},
"extra": {
"rawValue": "../../core/draw_parameters",
"raw": "\"../../core/draw_parameters\""
},
"value": "../../core/draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 113,
"end": 163,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 50
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 122,
"end": 134,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 122,
"end": 134,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 122,
"end": 134,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 142,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 49
}
},
"extra": {
"rawValue": "../../core/logging",
"raw": "\"../../core/logging\""
},
"value": "../../core/logging"
}
},
{
"type": "ImportDeclaration",
"start": 165,
"end": 214,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 174,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 174,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 18
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
},
"local": {
"type": "Identifier",
"start": 174,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 18
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
}
}
],
"source": {
"type": "StringLiteral",
"start": 191,
"end": 213,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 48
}
},
"extra": {
"rawValue": "../../core/rectangle",
"raw": "\"../../core/rectangle\""
},
"value": "../../core/rectangle"
}
},
{
"type": "ImportDeclaration",
"start": 216,
"end": 283,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 67
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 225,
"end": 242,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 225,
"end": 242,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
},
"identifierName": "StaleAreaDetector"
},
"name": "StaleAreaDetector"
},
"local": {
"type": "Identifier",
"start": 225,
"end": 242,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
},
"identifierName": "StaleAreaDetector"
},
"name": "StaleAreaDetector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 250,
"end": 282,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 66
}
},
"extra": {
"rawValue": "../../core/stale_area_detector",
"raw": "\"../../core/stale_area_detector\""
},
"value": "../../core/stale_area_detector"
}
},
{
"type": "ImportDeclaration",
"start": 285,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 73
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 294,
"end": 307,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 294,
"end": 307,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"local": {
"type": "Identifier",
"start": 294,
"end": 307,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
}
},
{
"type": "ImportSpecifier",
"start": 309,
"end": 330,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 45
}
},
"imported": {
"type": "Identifier",
"start": 309,
"end": 330,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 45
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
},
"local": {
"type": "Identifier",
"start": 309,
"end": 330,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 45
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 338,
"end": 357,
"loc": {
"start": {
"line": 6,
"column": 53
},
"end": {
"line": 6,
"column": 72
}
},
"extra": {
"rawValue": "../../core/vector",
"raw": "\"../../core/vector\""
},
"value": "../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 360,
"end": 400,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 369,
"end": 377,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 369,
"end": 377,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
},
"local": {
"type": "Identifier",
"start": 369,
"end": 377,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 385,
"end": 399,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 39
}
},
"extra": {
"rawValue": "../base_item",
"raw": "\"../base_item\""
},
"value": "../base_item"
}
},
{
"type": "ImportDeclaration",
"start": 402,
"end": 453,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 51
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 411,
"end": 424,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 411,
"end": 424,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 22
},
"identifierName": "BeltComponent"
},
"name": "BeltComponent"
},
"local": {
"type": "Identifier",
"start": 411,
"end": 424,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 22
},
"identifierName": "BeltComponent"
},
"name": "BeltComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 432,
"end": 452,
"loc": {
"start": {
"line": 8,
"column": 30
},
"end": {
"line": 8,
"column": 50
}
},
"extra": {
"rawValue": "../components/belt",
"raw": "\"../components/belt\""
},
"value": "../components/belt"
}
},
{
"type": "ImportDeclaration",
"start": 455,
"end": 523,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 68
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 464,
"end": 485,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 464,
"end": 485,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "ItemAcceptorComponent"
},
"name": "ItemAcceptorComponent"
},
"local": {
"type": "Identifier",
"start": 464,
"end": 485,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "ItemAcceptorComponent"
},
"name": "ItemAcceptorComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 493,
"end": 522,
"loc": {
"start": {
"line": 9,
"column": 38
},
"end": {
"line": 9,
"column": 67
}
},
"extra": {
"rawValue": "../components/item_acceptor",
"raw": "\"../components/item_acceptor\""
},
"value": "../components/item_acceptor"
}
},
{
"type": "ImportDeclaration",
"start": 525,
"end": 591,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 534,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 534,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 29
},
"identifierName": "ItemEjectorComponent"
},
"name": "ItemEjectorComponent"
},
"local": {
"type": "Identifier",
"start": 534,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 29
},
"identifierName": "ItemEjectorComponent"
},
"name": "ItemEjectorComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 562,
"end": 590,
"loc": {
"start": {
"line": 10,
"column": 37
},
"end": {
"line": 10,
"column": 65
}
},
"extra": {
"rawValue": "../components/item_ejector",
"raw": "\"../components/item_ejector\""
},
"value": "../components/item_ejector"
}
},
{
"type": "ImportDeclaration",
"start": 593,
"end": 628,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 602,
"end": 608,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 602,
"end": 608,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 602,
"end": 608,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 616,
"end": 627,
"loc": {
"start": {
"line": 11,
"column": 23
},
"end": {
"line": 11,
"column": 34
}
},
"extra": {
"rawValue": "../entity",
"raw": "\"../entity\""
},
"value": "../entity"
}
},
{
"type": "ImportDeclaration",
"start": 630,
"end": 696,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 639,
"end": 659,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 639,
"end": 659,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"local": {
"type": "Identifier",
"start": 639,
"end": 659,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
}
}
],
"source": {
"type": "StringLiteral",
"start": 667,
"end": 695,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 65
}
},
"extra": {
"rawValue": "../game_system_with_filter",
"raw": "\"../game_system_with_filter\""
},
"value": "../game_system_with_filter"
}
},
{
"type": "ImportDeclaration",
"start": 698,
"end": 747,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 707,
"end": 719,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 707,
"end": 719,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"local": {
"type": "Identifier",
"start": 707,
"end": 719,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
}
}
],
"source": {
"type": "StringLiteral",
"start": 727,
"end": 746,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 13,
"column": 48
}
},
"extra": {
"rawValue": "../map_chunk_view",
"raw": "\"../map_chunk_view\""
},
"value": "../map_chunk_view"
}
},
{
"type": "VariableDeclaration",
"start": 751,
"end": 798,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 757,
"end": 797,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 757,
"end": 763,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 766,
"end": 797,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 15,
"column": 46
}
},
"callee": {
"type": "Identifier",
"start": 766,
"end": 778,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 15,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 779,
"end": 796,
"loc": {
"start": {
"line": 15,
"column": 28
},
"end": {
"line": 15,
"column": 45
}
},
"extra": {
"rawValue": "systems/ejector",
"raw": "\"systems/ejector\""
},
"value": "systems/ejector"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 802,
"end": 14965,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 367,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 809,
"end": 14965,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 367,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 815,
"end": 832,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "ItemEjectorSystem"
},
"name": "ItemEjectorSystem"
},
"superClass": {
"type": "Identifier",
"start": 841,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 59
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"body": {
"type": "ClassBody",
"start": 862,
"end": 14965,
"loc": {
"start": {
"line": 17,
"column": 60
},
"end": {
"line": 367,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 869,
"end": 1384,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 869,
"end": 880,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 881,
"end": 885,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 887,
"end": 1384,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 33,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 898,
"end": 934,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 898,
"end": 933,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 43
}
},
"callee": {
"type": "Super",
"start": 898,
"end": 903,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 904,
"end": 908,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 18
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "ArrayExpression",
"start": 910,
"end": 932,
"loc": {
"start": {
"line": 19,
"column": 20
},
"end": {
"line": 19,
"column": 42
}
},
"elements": [
{
"type": "Identifier",
"start": 911,
"end": 931,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 41
},
"identifierName": "ItemEjectorComponent"
},
"name": "ItemEjectorComponent"
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 946,
"end": 1133,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 25,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 946,
"end": 1132,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 25,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 946,
"end": 968,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 946,
"end": 950,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 951,
"end": 968,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 30
},
"identifierName": "staleAreaDetector"
},
"name": "staleAreaDetector"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 971,
"end": 1132,
"loc": {
"start": {
"line": 21,
"column": 33
},
"end": {
"line": 25,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 975,
"end": 992,
"loc": {
"start": {
"line": 21,
"column": 37
},
"end": {
"line": 21,
"column": 54
},
"identifierName": "StaleAreaDetector"
},
"name": "StaleAreaDetector"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 993,
"end": 1131,
"loc": {
"start": {
"line": 21,
"column": 55
},
"end": {
"line": 25,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1008,
"end": 1023,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1008,
"end": 1012,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 16
},
"identifierName": "root"
},
"name": "root"
},
"value": {
"type": "MemberExpression",
"start": 1014,
"end": 1023,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1014,
"end": 1018,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 1019,
"end": 1023,
"loc": {
"start": {
"line": 22,
"column": 23
},
"end": {
"line": 22,
"column": 27
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 1038,
"end": 1058,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1038,
"end": 1042,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 1044,
"end": 1058,
"loc": {
"start": {
"line": 23,
"column": 18
},
"end": {
"line": 23,
"column": 32
}
},
"extra": {
"rawValue": "item-ejector",
"raw": "\"item-ejector\""
},
"value": "item-ejector"
}
},
{
"type": "ObjectProperty",
"start": 1073,
"end": 1119,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 58
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1073,
"end": 1088,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 27
},
"identifierName": "recomputeMethod"
},
"name": "recomputeMethod"
},
"value": {
"type": "CallExpression",
"start": 1090,
"end": 1119,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1090,
"end": 1113,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1090,
"end": 1108,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 1090,
"end": 1094,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 1095,
"end": 1108,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 47
},
"identifierName": "recomputeArea"
},
"name": "recomputeArea"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1109,
"end": 1113,
"loc": {
"start": {
"line": 24,
"column": 48
},
"end": {
"line": 24,
"column": 52
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1114,
"end": 1118,
"loc": {
"start": {
"line": 24,
"column": 53
},
"end": {
"line": 24,
"column": 57
}
}
}
]
}
}
]
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1145,
"end": 1299,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 30,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 1145,
"end": 1298,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 30,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 1145,
"end": 1196,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 1145,
"end": 1167,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1145,
"end": 1149,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1150,
"end": 1167,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 30
},
"identifierName": "staleAreaDetector"
},
"name": "staleAreaDetector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1168,
"end": 1196,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 59
},
"identifierName": "recomputeOnComponentsChanged"
},
"name": "recomputeOnComponentsChanged"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 1211,
"end": 1271,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 72
}
},
"elements": [
{
"type": "Identifier",
"start": 1212,
"end": 1232,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 33
},
"identifierName": "ItemEjectorComponent"
},
"name": "ItemEjectorComponent"
},
{
"type": "Identifier",
"start": 1234,
"end": 1255,
"loc": {
"start": {
"line": 28,
"column": 35
},
"end": {
"line": 28,
"column": 56
},
"identifierName": "ItemAcceptorComponent"
},
"name": "ItemAcceptorComponent"
},
{
"type": "Identifier",
"start": 1257,
"end": 1270,
"loc": {
"start": {
"line": 28,
"column": 58
},
"end": {
"line": 28,
"column": 71
},
"identifierName": "BeltComponent"
},
"name": "BeltComponent"
}
]
},
{
"type": "NumericLiteral",
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 13
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1311,
"end": 1377,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 1311,
"end": 1376,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 1311,
"end": 1345,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 1311,
"end": 1341,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1311,
"end": 1328,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1311,
"end": 1320,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1311,
"end": 1315,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1316,
"end": 1320,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1321,
"end": 1328,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1329,
"end": 1341,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 38
},
"identifierName": "postLoadHook"
},
"name": "postLoadHook"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1342,
"end": 1345,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 42
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1346,
"end": 1369,
"loc": {
"start": {
"line": 32,
"column": 43
},
"end": {
"line": 32,
"column": 66
}
},
"object": {
"type": "ThisExpression",
"start": 1346,
"end": 1350,
"loc": {
"start": {
"line": 32,
"column": 43
},
"end": {
"line": 32,
"column": 47
}
}
},
"property": {
"type": "Identifier",
"start": 1351,
"end": 1369,
"loc": {
"start": {
"line": 32,
"column": 48
},
"end": {
"line": 32,
"column": 66
},
"identifierName": "recomputeCacheFull"
},
"name": "recomputeCacheFull"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1371,
"end": 1375,
"loc": {
"start": {
"line": 32,
"column": 68
},
"end": {
"line": 32,
"column": 72
}
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1392,
"end": 1446,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1399,
"end": 1404,
"loc": {
"start": {
"line": 35,
"column": 11
},
"end": {
"line": 35,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1407,
"end": 1446,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 37,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1418,
"end": 1439,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 29
}
},
"argument": {
"type": "StringLiteral",
"start": 1425,
"end": 1438,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 28
}
},
"extra": {
"rawValue": "itemEjector",
"raw": "\"itemEjector\""
},
"value": "itemEjector"
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes an area after it changed\r\n * @param {Rectangle} area\r\n ",
"start": 1454,
"end": 1542,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 42,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1548,
"end": 2312,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1548,
"end": 1561,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 17
},
"identifierName": "recomputeArea"
},
"name": "recomputeArea",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1562,
"end": 1566,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 22
},
"identifierName": "area"
},
"name": "area"
}
],
"body": {
"type": "BlockStatement",
"start": 1568,
"end": 2312,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 60,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1615,
"end": 1642,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1621,
"end": 1641,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1621,
"end": 1629,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 22
},
"identifierName": "seenUids"
},
"name": "seenUids",
"leadingComments": null
},
"init": {
"type": "NewExpression",
"start": 1632,
"end": 1641,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 1636,
"end": 1639,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 32
},
"identifierName": "Set"
},
"name": "Set"
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Set<number>} ",
"start": 1579,
"end": 1605,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 34
}
}
}
]
},
{
"type": "ForStatement",
"start": 1652,
"end": 2305,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 59,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1657,
"end": 1666,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1661,
"end": 1666,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1661,
"end": 1662,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
},
"identifierName": "x"
},
"name": "x"
},
"init": {
"type": "NumericLiteral",
"start": 1665,
"end": 1666,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1668,
"end": 1678,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 1668,
"end": 1669,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 25
},
"identifierName": "x"
},
"name": "x"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1672,
"end": 1678,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1672,
"end": 1676,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 32
},
"identifierName": "area"
},
"name": "area"
},
"property": {
"type": "Identifier",
"start": 1677,
"end": 1678,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 34
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1680,
"end": 1683,
"loc": {
"start": {
"line": 46,
"column": 36
},
"end": {
"line": 46,
"column": 39
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1682,
"end": 1683,
"loc": {
"start": {
"line": 46,
"column": 38
},
"end": {
"line": 46,
"column": 39
},
"identifierName": "x"
},
"name": "x"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1685,
"end": 2305,
"loc": {
"start": {
"line": 46,
"column": 41
},
"end": {
"line": 59,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 1700,
"end": 2294,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 58,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 1705,
"end": 1714,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1709,
"end": 1714,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1709,
"end": 1710,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
},
"identifierName": "y"
},
"name": "y"
},
"init": {
"type": "NumericLiteral",
"start": 1713,
"end": 1714,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1716,
"end": 1726,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 29
},
"identifierName": "y"
},
"name": "y"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1720,
"end": 1726,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1720,
"end": 1724,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 36
},
"identifierName": "area"
},
"name": "area"
},
"property": {
"type": "Identifier",
"start": 1725,
"end": 1726,
"loc": {
"start": {
"line": 47,
"column": 37
},
"end": {
"line": 47,
"column": 38
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1728,
"end": 1731,
"loc": {
"start": {
"line": 47,
"column": 40
},
"end": {
"line": 47,
"column": 43
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1730,
"end": 1731,
"loc": {
"start": {
"line": 47,
"column": 42
},
"end": {
"line": 47,
"column": 43
},
"identifierName": "y"
},
"name": "y"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1733,
"end": 2294,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 58,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1752,
"end": 1777,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1758,
"end": 1776,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 1758,
"end": 1763,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 27
},
"identifierName": "tileX"
},
"name": "tileX"
},
"init": {
"type": "BinaryExpression",
"start": 1766,
"end": 1776,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 1766,
"end": 1772,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1766,
"end": 1770,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 34
},
"identifierName": "area"
},
"name": "area"
},
"property": {
"type": "Identifier",
"start": 1771,
"end": 1772,
"loc": {
"start": {
"line": 48,
"column": 35
},
"end": {
"line": 48,
"column": 36
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 1775,
"end": 1776,
"loc": {
"start": {
"line": 48,
"column": 39
},
"end": {
"line": 48,
"column": 40
},
"identifierName": "x"
},
"name": "x"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1795,
"end": 1820,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1801,
"end": 1819,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 1801,
"end": 1806,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 27
},
"identifierName": "tileY"
},
"name": "tileY"
},
"init": {
"type": "BinaryExpression",
"start": 1809,
"end": 1819,
"loc": {
"start": {
"line": 49,
"column": 30
},
"end": {
"line": 49,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 1809,
"end": 1815,
"loc": {
"start": {
"line": 49,
"column": 30
},
"end": {
"line": 49,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1809,
"end": 1813,
"loc": {
"start": {
"line": 49,
"column": 30
},
"end": {
"line": 49,
"column": 34
},
"identifierName": "area"
},
"name": "area"
},
"property": {
"type": "Identifier",
"start": 1814,
"end": 1815,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 36
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 1818,
"end": 1819,
"loc": {
"start": {
"line": 49,
"column": 39
},
"end": {
"line": 49,
"column": 40
},
"identifierName": "y"
},
"name": "y"
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " @NOTICE: Item ejector currently only supports regular layer",
"start": 1838,
"end": 1900,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 78
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 1918,
"end": 1992,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 90
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1924,
"end": 1991,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 89
}
},
"id": {
"type": "Identifier",
"start": 1924,
"end": 1932,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 30
},
"identifierName": "contents"
},
"name": "contents",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 1935,
"end": 1991,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 1935,
"end": 1966,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 1935,
"end": 1948,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1935,
"end": 1944,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 1935,
"end": 1939,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 1940,
"end": 1944,
"loc": {
"start": {
"line": 51,
"column": 38
},
"end": {
"line": 51,
"column": 42
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1945,
"end": 1948,
"loc": {
"start": {
"line": 51,
"column": 43
},
"end": {
"line": 51,
"column": 46
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1949,
"end": 1966,
"loc": {
"start": {
"line": 51,
"column": 47
},
"end": {
"line": 51,
"column": 64
},
"identifierName": "getLayerContentXY"
},
"name": "getLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1967,
"end": 1972,
"loc": {
"start": {
"line": 51,
"column": 65
},
"end": {
"line": 51,
"column": 70
},
"identifierName": "tileX"
},
"name": "tileX"
},
{
"type": "Identifier",
"start": 1974,
"end": 1979,
"loc": {
"start": {
"line": 51,
"column": 72
},
"end": {
"line": 51,
"column": 77
},
"identifierName": "tileY"
},
"name": "tileY"
},
{
"type": "StringLiteral",
"start": 1981,
"end": 1990,
"loc": {
"start": {
"line": 51,
"column": 79
},
"end": {
"line": 51,
"column": 88
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " @NOTICE: Item ejector currently only supports regular layer",
"start": 1838,
"end": 1900,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 78
}
}
}
]
},
{
"type": "IfStatement",
"start": 2010,
"end": 2279,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 57,
"column": 17
}
},
"test": {
"type": "LogicalExpression",
"start": 2014,
"end": 2057,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 2014,
"end": 2022,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 28
},
"identifierName": "contents"
},
"name": "contents"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 2026,
"end": 2057,
"loc": {
"start": {
"line": 52,
"column": 32
},
"end": {
"line": 52,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 2026,
"end": 2045,
"loc": {
"start": {
"line": 52,
"column": 32
},
"end": {
"line": 52,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 2026,
"end": 2034,
"loc": {
"start": {
"line": 52,
"column": 32
},
"end": {
"line": 52,
"column": 40
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 2035,
"end": 2045,
"loc": {
"start": {
"line": 52,
"column": 41
},
"end": {
"line": 52,
"column": 51
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2046,
"end": 2057,
"loc": {
"start": {
"line": 52,
"column": 52
},
"end": {
"line": 52,
"column": 63
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2059,
"end": 2279,
"loc": {
"start": {
"line": 52,
"column": 65
},
"end": {
"line": 57,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 2082,
"end": 2260,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 56,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 2086,
"end": 2113,
"loc": {
"start": {
"line": 53,
"column": 24
},
"end": {
"line": 53,
"column": 51
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2087,
"end": 2113,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2087,
"end": 2099,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2087,
"end": 2095,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 33
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 2096,
"end": 2099,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 37
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2100,
"end": 2112,
"loc": {
"start": {
"line": 53,
"column": 38
},
"end": {
"line": 53,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2100,
"end": 2108,
"loc": {
"start": {
"line": 53,
"column": 38
},
"end": {
"line": 53,
"column": 46
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 2109,
"end": 2112,
"loc": {
"start": {
"line": 53,
"column": 47
},
"end": {
"line": 53,
"column": 50
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2115,
"end": 2260,
"loc": {
"start": {
"line": 53,
"column": 53
},
"end": {
"line": 56,
"column": 21
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2142,
"end": 2169,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 2142,
"end": 2168,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 2142,
"end": 2154,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2142,
"end": 2150,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 32
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 2151,
"end": 2154,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 36
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2155,
"end": 2167,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2155,
"end": 2163,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 45
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 2164,
"end": 2167,
"loc": {
"start": {
"line": 54,
"column": 46
},
"end": {
"line": 54,
"column": 49
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2195,
"end": 2237,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 2195,
"end": 2236,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 2195,
"end": 2226,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 2195,
"end": 2199,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 2200,
"end": 2226,
"loc": {
"start": {
"line": 55,
"column": 29
},
"end": {
"line": 55,
"column": 55
},
"identifierName": "recomputeSingleEntityCache"
},
"name": "recomputeSingleEntityCache"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2227,
"end": 2235,
"loc": {
"start": {
"line": 55,
"column": 56
},
"end": {
"line": 55,
"column": 64
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes an area after it changed\r\n * @param {Rectangle} area\r\n ",
"start": 1454,
"end": 1542,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 42,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes the whole cache after the game has loaded\r\n ",
"start": 2320,
"end": 2393,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2399,
"end": 2666,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 71,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2399,
"end": 2417,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 22
},
"identifierName": "recomputeCacheFull"
},
"name": "recomputeCacheFull",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2420,
"end": 2666,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 71,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2431,
"end": 2484,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 61
}
},
"expression": {
"type": "CallExpression",
"start": 2431,
"end": 2483,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 2431,
"end": 2441,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 2431,
"end": 2437,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 14
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 2438,
"end": 2441,
"loc": {
"start": {
"line": 66,
"column": 15
},
"end": {
"line": 66,
"column": 18
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2442,
"end": 2482,
"loc": {
"start": {
"line": 66,
"column": 19
},
"end": {
"line": 66,
"column": 59
}
},
"extra": {
"rawValue": "Full cache recompute in post load hook",
"raw": "\"Full cache recompute in post load hook\""
},
"value": "Full cache recompute in post load hook"
}
]
}
},
{
"type": "ForStatement",
"start": 2494,
"end": 2659,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 70,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2499,
"end": 2508,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2503,
"end": 2508,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2503,
"end": 2504,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2507,
"end": 2508,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2510,
"end": 2537,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 2510,
"end": 2511,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2514,
"end": 2537,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 2514,
"end": 2530,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 2514,
"end": 2518,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 2519,
"end": 2530,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 44
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2531,
"end": 2537,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 51
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2539,
"end": 2542,
"loc": {
"start": {
"line": 67,
"column": 53
},
"end": {
"line": 67,
"column": 56
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2541,
"end": 2542,
"loc": {
"start": {
"line": 67,
"column": 55
},
"end": {
"line": 67,
"column": 56
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2544,
"end": 2659,
"loc": {
"start": {
"line": 67,
"column": 58
},
"end": {
"line": 70,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2559,
"end": 2594,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2565,
"end": 2593,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 2565,
"end": 2571,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 2574,
"end": 2593,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2574,
"end": 2590,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 2574,
"end": 2578,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 2579,
"end": 2590,
"loc": {
"start": {
"line": 68,
"column": 32
},
"end": {
"line": 68,
"column": 43
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2591,
"end": 2592,
"loc": {
"start": {
"line": 68,
"column": 44
},
"end": {
"line": 68,
"column": 45
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2608,
"end": 2648,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 2608,
"end": 2647,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2608,
"end": 2639,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 2608,
"end": 2612,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2613,
"end": 2639,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 43
},
"identifierName": "recomputeSingleEntityCache"
},
"name": "recomputeSingleEntityCache"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2640,
"end": 2646,
"loc": {
"start": {
"line": 69,
"column": 44
},
"end": {
"line": 69,
"column": 50
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes the whole cache after the game has loaded\r\n ",
"start": 2320,
"end": 2393,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n ",
"start": 2674,
"end": 2717,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2723,
"end": 5709,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 140,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2723,
"end": 2749,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 30
},
"identifierName": "recomputeSingleEntityCache"
},
"name": "recomputeSingleEntityCache",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2750,
"end": 2756,
"loc": {
"start": {
"line": 76,
"column": 31
},
"end": {
"line": 76,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 2758,
"end": 5709,
"loc": {
"start": {
"line": 76,
"column": 39
},
"end": {
"line": 140,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2769,
"end": 2819,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2775,
"end": 2818,
"loc": {
"start": {
"line": 77,
"column": 14
},
"end": {
"line": 77,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 2775,
"end": 2786,
"loc": {
"start": {
"line": 77,
"column": 14
},
"end": {
"line": 77,
"column": 25
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"init": {
"type": "MemberExpression",
"start": 2789,
"end": 2818,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 2789,
"end": 2806,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2789,
"end": 2795,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 34
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2796,
"end": 2806,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 45
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2807,
"end": 2818,
"loc": {
"start": {
"line": 77,
"column": 46
},
"end": {
"line": 77,
"column": 57
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2829,
"end": 2882,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2835,
"end": 2881,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 2835,
"end": 2845,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 24
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 2848,
"end": 2881,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 2848,
"end": 2865,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2848,
"end": 2854,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2855,
"end": 2865,
"loc": {
"start": {
"line": 78,
"column": 34
},
"end": {
"line": 78,
"column": 44
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2866,
"end": 2881,
"loc": {
"start": {
"line": 78,
"column": 45
},
"end": {
"line": 78,
"column": 60
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 2894,
"end": 5702,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 139,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2899,
"end": 2916,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2903,
"end": 2916,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 2903,
"end": 2912,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 26
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"init": {
"type": "NumericLiteral",
"start": 2915,
"end": 2916,
"loc": {
"start": {
"line": 80,
"column": 29
},
"end": {
"line": 80,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2918,
"end": 2954,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 68
}
},
"left": {
"type": "Identifier",
"start": 2918,
"end": 2927,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 41
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2930,
"end": 2954,
"loc": {
"start": {
"line": 80,
"column": 44
},
"end": {
"line": 80,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 2930,
"end": 2947,
"loc": {
"start": {
"line": 80,
"column": 44
},
"end": {
"line": 80,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 2930,
"end": 2941,
"loc": {
"start": {
"line": 80,
"column": 44
},
"end": {
"line": 80,
"column": 55
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"property": {
"type": "Identifier",
"start": 2942,
"end": 2947,
"loc": {
"start": {
"line": 80,
"column": 56
},
"end": {
"line": 80,
"column": 61
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2948,
"end": 2954,
"loc": {
"start": {
"line": 80,
"column": 62
},
"end": {
"line": 80,
"column": 68
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2956,
"end": 2967,
"loc": {
"start": {
"line": 80,
"column": 70
},
"end": {
"line": 80,
"column": 81
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2958,
"end": 2967,
"loc": {
"start": {
"line": 80,
"column": 72
},
"end": {
"line": 80,
"column": 81
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2969,
"end": 5702,
"loc": {
"start": {
"line": 80,
"column": 83
},
"end": {
"line": 139,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2984,
"end": 3033,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2990,
"end": 3032,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 2990,
"end": 3001,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 29
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"init": {
"type": "MemberExpression",
"start": 3004,
"end": 3032,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 3004,
"end": 3021,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3004,
"end": 3015,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 43
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"property": {
"type": "Identifier",
"start": 3016,
"end": 3021,
"loc": {
"start": {
"line": 81,
"column": 44
},
"end": {
"line": 81,
"column": 49
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3022,
"end": 3031,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 59
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"computed": true
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Clear the old cache.",
"start": 3049,
"end": 3072,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 35
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3086,
"end": 3120,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3086,
"end": 3119,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3086,
"end": 3112,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3086,
"end": 3097,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 23
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3098,
"end": 3112,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 38
},
"identifierName": "cachedDestSlot"
},
"name": "cachedDestSlot"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 3115,
"end": 3119,
"loc": {
"start": {
"line": 84,
"column": 41
},
"end": {
"line": 84,
"column": 45
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Clear the old cache.",
"start": 3049,
"end": 3072,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 35
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3134,
"end": 3172,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 50
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3134,
"end": 3171,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 49
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3134,
"end": 3164,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3134,
"end": 3145,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 23
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 3146,
"end": 3164,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 42
},
"identifierName": "cachedTargetEntity"
},
"name": "cachedTargetEntity"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 3167,
"end": 3171,
"loc": {
"start": {
"line": 85,
"column": 45
},
"end": {
"line": 85,
"column": 49
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3186,
"end": 3220,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3186,
"end": 3219,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3186,
"end": 3212,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3186,
"end": 3197,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 23
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 3198,
"end": 3212,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 38
},
"identifierName": "cachedBeltPath"
},
"name": "cachedBeltPath"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 3215,
"end": 3219,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 45
}
}
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Figure out where and into which direction we eject items",
"start": 3236,
"end": 3295,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 71
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3309,
"end": 3378,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 81
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3315,
"end": 3377,
"loc": {
"start": {
"line": 89,
"column": 18
},
"end": {
"line": 89,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 3315,
"end": 3330,
"loc": {
"start": {
"line": 89,
"column": 18
},
"end": {
"line": 89,
"column": 33
},
"identifierName": "ejectSlotWsTile"
},
"name": "ejectSlotWsTile",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3333,
"end": 3377,
"loc": {
"start": {
"line": 89,
"column": 36
},
"end": {
"line": 89,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 3333,
"end": 3360,
"loc": {
"start": {
"line": 89,
"column": 36
},
"end": {
"line": 89,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 3333,
"end": 3343,
"loc": {
"start": {
"line": 89,
"column": 36
},
"end": {
"line": 89,
"column": 46
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 3344,
"end": 3360,
"loc": {
"start": {
"line": 89,
"column": 47
},
"end": {
"line": 89,
"column": 63
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3361,
"end": 3376,
"loc": {
"start": {
"line": 89,
"column": 64
},
"end": {
"line": 89,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 3361,
"end": 3372,
"loc": {
"start": {
"line": 89,
"column": 64
},
"end": {
"line": 89,
"column": 75
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 3373,
"end": 3376,
"loc": {
"start": {
"line": 89,
"column": 76
},
"end": {
"line": 89,
"column": 79
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Figure out where and into which direction we eject items",
"start": 3236,
"end": 3295,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 71
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3392,
"end": 3477,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 97
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3398,
"end": 3476,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 96
}
},
"id": {
"type": "Identifier",
"start": 3398,
"end": 3418,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 38
},
"identifierName": "ejectSlotWsDirection"
},
"name": "ejectSlotWsDirection"
},
"init": {
"type": "CallExpression",
"start": 3421,
"end": 3476,
"loc": {
"start": {
"line": 90,
"column": 41
},
"end": {
"line": 90,
"column": 96
}
},
"callee": {
"type": "MemberExpression",
"start": 3421,
"end": 3453,
"loc": {
"start": {
"line": 90,
"column": 41
},
"end": {
"line": 90,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 3421,
"end": 3431,
"loc": {
"start": {
"line": 90,
"column": 41
},
"end": {
"line": 90,
"column": 51
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 3432,
"end": 3453,
"loc": {
"start": {
"line": 90,
"column": 52
},
"end": {
"line": 90,
"column": 73
},
"identifierName": "localDirectionToWorld"
},
"name": "localDirectionToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3454,
"end": 3475,
"loc": {
"start": {
"line": 90,
"column": 74
},
"end": {
"line": 90,
"column": 95
}
},
"object": {
"type": "Identifier",
"start": 3454,
"end": 3465,
"loc": {
"start": {
"line": 90,
"column": 74
},
"end": {
"line": 90,
"column": 85
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 3466,
"end": 3475,
"loc": {
"start": {
"line": 90,
"column": 86
},
"end": {
"line": 90,
"column": 95
},
"identifierName": "direction"
},
"name": "direction"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3491,
"end": 3570,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 91
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3497,
"end": 3569,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 90
}
},
"id": {
"type": "Identifier",
"start": 3497,
"end": 3523,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 44
},
"identifierName": "ejectSlotWsDirectionVector"
},
"name": "ejectSlotWsDirectionVector"
},
"init": {
"type": "MemberExpression",
"start": 3526,
"end": 3569,
"loc": {
"start": {
"line": 91,
"column": 47
},
"end": {
"line": 91,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 3526,
"end": 3547,
"loc": {
"start": {
"line": 91,
"column": 47
},
"end": {
"line": 91,
"column": 68
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
},
"property": {
"type": "Identifier",
"start": 3548,
"end": 3568,
"loc": {
"start": {
"line": 91,
"column": 69
},
"end": {
"line": 91,
"column": 89
},
"identifierName": "ejectSlotWsDirection"
},
"name": "ejectSlotWsDirection"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3584,
"end": 3662,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 90
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3590,
"end": 3661,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 89
}
},
"id": {
"type": "Identifier",
"start": 3590,
"end": 3611,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 39
},
"identifierName": "ejectSlotTargetWsTile"
},
"name": "ejectSlotTargetWsTile"
},
"init": {
"type": "CallExpression",
"start": 3614,
"end": 3661,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 3614,
"end": 3633,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 3614,
"end": 3629,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 57
},
"identifierName": "ejectSlotWsTile"
},
"name": "ejectSlotWsTile"
},
"property": {
"type": "Identifier",
"start": 3630,
"end": 3633,
"loc": {
"start": {
"line": 92,
"column": 58
},
"end": {
"line": 92,
"column": 61
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3634,
"end": 3660,
"loc": {
"start": {
"line": 92,
"column": 62
},
"end": {
"line": 92,
"column": 88
},
"identifierName": "ejectSlotWsDirectionVector"
},
"name": "ejectSlotWsDirectionVector"
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Try to find the given acceptor component to take the item",
"start": 3678,
"end": 3738,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Since there can be cross layer dependencies, check on all layers",
"start": 3752,
"end": 3819,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 79
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3833,
"end": 3997,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 99,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3839,
"end": 3996,
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 99,
"column": 13
}
},
"id": {
"type": "Identifier",
"start": 3839,
"end": 3853,
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 96,
"column": 32
},
"identifierName": "targetEntities"
},
"name": "targetEntities",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3856,
"end": 3996,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 99,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 3856,
"end": 3897,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 3856,
"end": 3869,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 3856,
"end": 3865,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 3856,
"end": 3860,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 3861,
"end": 3865,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 44
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3866,
"end": 3869,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 48
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3870,
"end": 3897,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 96,
"column": 76
},
"identifierName": "getLayersContentsMultipleXY"
},
"name": "getLayersContentsMultipleXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3916,
"end": 3939,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 3916,
"end": 3937,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 37
},
"identifierName": "ejectSlotTargetWsTile"
},
"name": "ejectSlotTargetWsTile"
},
"property": {
"type": "Identifier",
"start": 3938,
"end": 3939,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 39
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 3958,
"end": 3981,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 3958,
"end": 3979,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 37
},
"identifierName": "ejectSlotTargetWsTile"
},
"name": "ejectSlotTargetWsTile"
},
"property": {
"type": "Identifier",
"start": 3980,
"end": 3981,
"loc": {
"start": {
"line": 98,
"column": 38
},
"end": {
"line": 98,
"column": 39
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Try to find the given acceptor component to take the item",
"start": 3678,
"end": 3738,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Since there can be cross layer dependencies, check on all layers",
"start": 3752,
"end": 3819,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 79
}
}
}
]
},
{
"type": "ForStatement",
"start": 4013,
"end": 5691,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 138,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 4018,
"end": 4027,
"loc": {
"start": {
"line": 101,
"column": 17
},
"end": {
"line": 101,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4022,
"end": 4027,
"loc": {
"start": {
"line": 101,
"column": 21
},
"end": {
"line": 101,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 4022,
"end": 4023,
"loc": {
"start": {
"line": 101,
"column": 21
},
"end": {
"line": 101,
"column": 22
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 4026,
"end": 4027,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 4029,
"end": 4054,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 4029,
"end": 4030,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 4033,
"end": 4054,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 4033,
"end": 4047,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 46
},
"identifierName": "targetEntities"
},
"name": "targetEntities"
},
"property": {
"type": "Identifier",
"start": 4048,
"end": 4054,
"loc": {
"start": {
"line": 101,
"column": 47
},
"end": {
"line": 101,
"column": 53
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 4056,
"end": 4059,
"loc": {
"start": {
"line": 101,
"column": 55
},
"end": {
"line": 101,
"column": 58
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4058,
"end": 4059,
"loc": {
"start": {
"line": 101,
"column": 57
},
"end": {
"line": 101,
"column": 58
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 4061,
"end": 5691,
"loc": {
"start": {
"line": 101,
"column": 60
},
"end": {
"line": 138,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4080,
"end": 4119,
"loc": {
"start": {
"line": 102,
"column": 16
},
"end": {
"line": 102,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4086,
"end": 4118,
"loc": {
"start": {
"line": 102,
"column": 22
},
"end": {
"line": 102,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 4086,
"end": 4098,
"loc": {
"start": {
"line": 102,
"column": 22
},
"end": {
"line": 102,
"column": 34
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"init": {
"type": "MemberExpression",
"start": 4101,
"end": 4118,
"loc": {
"start": {
"line": 102,
"column": 37
},
"end": {
"line": 102,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 4101,
"end": 4115,
"loc": {
"start": {
"line": 102,
"column": 37
},
"end": {
"line": 102,
"column": 51
},
"identifierName": "targetEntities"
},
"name": "targetEntities"
},
"property": {
"type": "Identifier",
"start": 4116,
"end": 4117,
"loc": {
"start": {
"line": 102,
"column": 52
},
"end": {
"line": 102,
"column": 53
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4139,
"end": 4204,
"loc": {
"start": {
"line": 104,
"column": 16
},
"end": {
"line": 104,
"column": 81
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4145,
"end": 4203,
"loc": {
"start": {
"line": 104,
"column": 22
},
"end": {
"line": 104,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 4145,
"end": 4161,
"loc": {
"start": {
"line": 104,
"column": 22
},
"end": {
"line": 104,
"column": 38
},
"identifierName": "targetStaticComp"
},
"name": "targetStaticComp"
},
"init": {
"type": "MemberExpression",
"start": 4164,
"end": 4203,
"loc": {
"start": {
"line": 104,
"column": 41
},
"end": {
"line": 104,
"column": 80
}
},
"object": {
"type": "MemberExpression",
"start": 4164,
"end": 4187,
"loc": {
"start": {
"line": 104,
"column": 41
},
"end": {
"line": 104,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 4164,
"end": 4176,
"loc": {
"start": {
"line": 104,
"column": 41
},
"end": {
"line": 104,
"column": 53
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"property": {
"type": "Identifier",
"start": 4177,
"end": 4187,
"loc": {
"start": {
"line": 104,
"column": 54
},
"end": {
"line": 104,
"column": 64
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4188,
"end": 4203,
"loc": {
"start": {
"line": 104,
"column": 65
},
"end": {
"line": 104,
"column": 80
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4222,
"end": 4274,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4228,
"end": 4273,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 4228,
"end": 4242,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 36
},
"identifierName": "targetBeltComp"
},
"name": "targetBeltComp"
},
"init": {
"type": "MemberExpression",
"start": 4245,
"end": 4273,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 4245,
"end": 4268,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 4245,
"end": 4257,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 51
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"property": {
"type": "Identifier",
"start": 4258,
"end": 4268,
"loc": {
"start": {
"line": 105,
"column": 52
},
"end": {
"line": 105,
"column": 62
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4269,
"end": 4273,
"loc": {
"start": {
"line": 105,
"column": 63
},
"end": {
"line": 105,
"column": 67
},
"identifierName": "Belt"
},
"name": "Belt"
},
"computed": false
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for belts (special case)",
"start": 4294,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 49
}
}
}
]
},
{
"type": "IfStatement",
"start": 4345,
"end": 4782,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 115,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 4349,
"end": 4363,
"loc": {
"start": {
"line": 108,
"column": 20
},
"end": {
"line": 108,
"column": 34
},
"identifierName": "targetBeltComp"
},
"name": "targetBeltComp",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 4365,
"end": 4782,
"loc": {
"start": {
"line": 108,
"column": 36
},
"end": {
"line": 115,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4388,
"end": 4477,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 109
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4394,
"end": 4476,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 108
}
},
"id": {
"type": "Identifier",
"start": 4394,
"end": 4416,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 48
},
"identifierName": "beltAcceptingDirection"
},
"name": "beltAcceptingDirection"
},
"init": {
"type": "CallExpression",
"start": 4419,
"end": 4476,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 108
}
},
"callee": {
"type": "MemberExpression",
"start": 4419,
"end": 4457,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 89
}
},
"object": {
"type": "Identifier",
"start": 4419,
"end": 4435,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 67
},
"identifierName": "targetStaticComp"
},
"name": "targetStaticComp"
},
"property": {
"type": "Identifier",
"start": 4436,
"end": 4457,
"loc": {
"start": {
"line": 109,
"column": 68
},
"end": {
"line": 109,
"column": 89
},
"identifierName": "localDirectionToWorld"
},
"name": "localDirectionToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4458,
"end": 4475,
"loc": {
"start": {
"line": 109,
"column": 90
},
"end": {
"line": 109,
"column": 107
}
},
"object": {
"type": "Identifier",
"start": 4458,
"end": 4471,
"loc": {
"start": {
"line": 109,
"column": 90
},
"end": {
"line": 109,
"column": 103
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 4472,
"end": 4475,
"loc": {
"start": {
"line": 109,
"column": 104
},
"end": {
"line": 109,
"column": 107
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4499,
"end": 4763,
"loc": {
"start": {
"line": 110,
"column": 20
},
"end": {
"line": 114,
"column": 21
}
},
"test": {
"type": "BinaryExpression",
"start": 4503,
"end": 4550,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 4503,
"end": 4523,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 44
},
"identifierName": "ejectSlotWsDirection"
},
"name": "ejectSlotWsDirection"
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 4528,
"end": 4550,
"loc": {
"start": {
"line": 110,
"column": 49
},
"end": {
"line": 110,
"column": 71
},
"identifierName": "beltAcceptingDirection"
},
"name": "beltAcceptingDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 4552,
"end": 4763,
"loc": {
"start": {
"line": 110,
"column": 73
},
"end": {
"line": 114,
"column": 21
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4579,
"end": 4625,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 70
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4579,
"end": 4624,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 69
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4579,
"end": 4609,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 4579,
"end": 4590,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 35
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 4591,
"end": 4609,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 54
},
"identifierName": "cachedTargetEntity"
},
"name": "cachedTargetEntity"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4612,
"end": 4624,
"loc": {
"start": {
"line": 111,
"column": 57
},
"end": {
"line": 111,
"column": 69
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
}
}
},
{
"type": "ExpressionStatement",
"start": 4651,
"end": 4708,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 81
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4651,
"end": 4707,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 80
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4651,
"end": 4677,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4651,
"end": 4662,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 35
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 4663,
"end": 4677,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 50
},
"identifierName": "cachedBeltPath"
},
"name": "cachedBeltPath"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4680,
"end": 4707,
"loc": {
"start": {
"line": 112,
"column": 53
},
"end": {
"line": 112,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 4680,
"end": 4694,
"loc": {
"start": {
"line": 112,
"column": 53
},
"end": {
"line": 112,
"column": 67
},
"identifierName": "targetBeltComp"
},
"name": "targetBeltComp"
},
"property": {
"type": "Identifier",
"start": 4695,
"end": 4707,
"loc": {
"start": {
"line": 112,
"column": 68
},
"end": {
"line": 112,
"column": 80
},
"identifierName": "assignedPath"
},
"name": "assignedPath"
},
"computed": false
}
}
},
{
"type": "BreakStatement",
"start": 4734,
"end": 4740,
"loc": {
"start": {
"line": 113,
"column": 24
},
"end": {
"line": 113,
"column": 30
}
},
"label": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for belts (special case)",
"start": 4294,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 49
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for item acceptors",
"start": 4802,
"end": 4829,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 43
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 4847,
"end": 4911,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 80
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4853,
"end": 4910,
"loc": {
"start": {
"line": 118,
"column": 22
},
"end": {
"line": 118,
"column": 79
}
},
"id": {
"type": "Identifier",
"start": 4853,
"end": 4871,
"loc": {
"start": {
"line": 118,
"column": 22
},
"end": {
"line": 118,
"column": 40
},
"identifierName": "targetAcceptorComp"
},
"name": "targetAcceptorComp",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 4874,
"end": 4910,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 4874,
"end": 4897,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4874,
"end": 4886,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 55
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"property": {
"type": "Identifier",
"start": 4887,
"end": 4897,
"loc": {
"start": {
"line": 118,
"column": 56
},
"end": {
"line": 118,
"column": 66
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4898,
"end": 4910,
"loc": {
"start": {
"line": 118,
"column": 67
},
"end": {
"line": 118,
"column": 79
},
"identifierName": "ItemAcceptor"
},
"name": "ItemAcceptor"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for item acceptors",
"start": 4802,
"end": 4829,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 43
}
}
}
]
},
{
"type": "IfStatement",
"start": 4929,
"end": 5057,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 122,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 4933,
"end": 4952,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 39
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4934,
"end": 4952,
"loc": {
"start": {
"line": 119,
"column": 21
},
"end": {
"line": 119,
"column": 39
},
"identifierName": "targetAcceptorComp"
},
"name": "targetAcceptorComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4954,
"end": 5057,
"loc": {
"start": {
"line": 119,
"column": 41
},
"end": {
"line": 122,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 5029,
"end": 5038,
"loc": {
"start": {
"line": 121,
"column": 20
},
"end": {
"line": 121,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Entity doesn't accept items",
"start": 4977,
"end": 5007,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 50
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 5077,
"end": 5315,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 127,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5083,
"end": 5314,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 127,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 5083,
"end": 5095,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 124,
"column": 34
},
"identifierName": "matchingSlot"
},
"name": "matchingSlot"
},
"init": {
"type": "CallExpression",
"start": 5098,
"end": 5314,
"loc": {
"start": {
"line": 124,
"column": 37
},
"end": {
"line": 127,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 5098,
"end": 5133,
"loc": {
"start": {
"line": 124,
"column": 37
},
"end": {
"line": 124,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 5098,
"end": 5116,
"loc": {
"start": {
"line": 124,
"column": 37
},
"end": {
"line": 124,
"column": 55
},
"identifierName": "targetAcceptorComp"
},
"name": "targetAcceptorComp"
},
"property": {
"type": "Identifier",
"start": 5117,
"end": 5133,
"loc": {
"start": {
"line": 124,
"column": 56
},
"end": {
"line": 124,
"column": 72
},
"identifierName": "findMatchingSlot"
},
"name": "findMatchingSlot"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 5156,
"end": 5212,
"loc": {
"start": {
"line": 125,
"column": 20
},
"end": {
"line": 125,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 5156,
"end": 5189,
"loc": {
"start": {
"line": 125,
"column": 20
},
"end": {
"line": 125,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 5156,
"end": 5172,
"loc": {
"start": {
"line": 125,
"column": 20
},
"end": {
"line": 125,
"column": 36
},
"identifierName": "targetStaticComp"
},
"name": "targetStaticComp"
},
"property": {
"type": "Identifier",
"start": 5173,
"end": 5189,
"loc": {
"start": {
"line": 125,
"column": 37
},
"end": {
"line": 125,
"column": 53
},
"identifierName": "worldToLocalTile"
},
"name": "worldToLocalTile"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5190,
"end": 5211,
"loc": {
"start": {
"line": 125,
"column": 54
},
"end": {
"line": 125,
"column": 75
},
"identifierName": "ejectSlotTargetWsTile"
},
"name": "ejectSlotTargetWsTile"
}
]
},
{
"type": "CallExpression",
"start": 5235,
"end": 5295,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 126,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 5235,
"end": 5273,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 126,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 5235,
"end": 5251,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 126,
"column": 36
},
"identifierName": "targetStaticComp"
},
"name": "targetStaticComp"
},
"property": {
"type": "Identifier",
"start": 5252,
"end": 5273,
"loc": {
"start": {
"line": 126,
"column": 37
},
"end": {
"line": 126,
"column": 58
},
"identifierName": "worldDirectionToLocal"
},
"name": "worldDirectionToLocal"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5274,
"end": 5294,
"loc": {
"start": {
"line": 126,
"column": 59
},
"end": {
"line": 126,
"column": 79
},
"identifierName": "ejectSlotWsDirection"
},
"name": "ejectSlotWsDirection"
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5335,
"end": 5452,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 132,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 5339,
"end": 5352,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5340,
"end": 5352,
"loc": {
"start": {
"line": 129,
"column": 21
},
"end": {
"line": 129,
"column": 33
},
"identifierName": "matchingSlot"
},
"name": "matchingSlot"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5354,
"end": 5452,
"loc": {
"start": {
"line": 129,
"column": 35
},
"end": {
"line": 132,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 5424,
"end": 5433,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " No matching slot found",
"start": 5377,
"end": 5402,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 45
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " A slot can always be connected to one other slot only",
"start": 5472,
"end": 5528,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 72
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5546,
"end": 5592,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 135,
"column": 62
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5546,
"end": 5591,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 135,
"column": 61
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5546,
"end": 5576,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 135,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 5546,
"end": 5557,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 135,
"column": 27
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5558,
"end": 5576,
"loc": {
"start": {
"line": 135,
"column": 28
},
"end": {
"line": 135,
"column": 46
},
"identifierName": "cachedTargetEntity"
},
"name": "cachedTargetEntity"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 5579,
"end": 5591,
"loc": {
"start": {
"line": 135,
"column": 49
},
"end": {
"line": 135,
"column": 61
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " A slot can always be connected to one other slot only",
"start": 5472,
"end": 5528,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 72
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5610,
"end": 5652,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 58
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5610,
"end": 5651,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 57
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5610,
"end": 5636,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5610,
"end": 5621,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 27
},
"identifierName": "ejectorSlot"
},
"name": "ejectorSlot"
},
"property": {
"type": "Identifier",
"start": 5622,
"end": 5636,
"loc": {
"start": {
"line": 136,
"column": 28
},
"end": {
"line": 136,
"column": 42
},
"identifierName": "cachedDestSlot"
},
"name": "cachedDestSlot"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 5639,
"end": 5651,
"loc": {
"start": {
"line": 136,
"column": 45
},
"end": {
"line": 136,
"column": 57
},
"identifierName": "matchingSlot"
},
"name": "matchingSlot"
}
}
},
{
"type": "BreakStatement",
"start": 5670,
"end": 5676,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 22
}
},
"label": null
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n ",
"start": 2674,
"end": 2717,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5717,
"end": 8947,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 222,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5717,
"end": 5723,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 142,
"column": 10
},
"identifierName": "update"
},
"name": "update"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5726,
"end": 8947,
"loc": {
"start": {
"line": 142,
"column": 13
},
"end": {
"line": 222,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5737,
"end": 5769,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 5737,
"end": 5768,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 5737,
"end": 5766,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 5737,
"end": 5759,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 5737,
"end": 5741,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 5742,
"end": 5759,
"loc": {
"start": {
"line": 143,
"column": 13
},
"end": {
"line": 143,
"column": 30
},
"identifierName": "staleAreaDetector"
},
"name": "staleAreaDetector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5760,
"end": 5766,
"loc": {
"start": {
"line": 143,
"column": 31
},
"end": {
"line": 143,
"column": 37
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": []
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Precompute effective belt speed",
"start": 5781,
"end": 5815,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 42
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 5825,
"end": 5889,
"loc": {
"start": {
"line": 146,
"column": 8
},
"end": {
"line": 146,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5829,
"end": 5888,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 5829,
"end": 5843,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 26
},
"identifierName": "progressGrowth"
},
"name": "progressGrowth",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 5846,
"end": 5888,
"loc": {
"start": {
"line": 146,
"column": 29
},
"end": {
"line": 146,
"column": 71
}
},
"left": {
"type": "NumericLiteral",
"start": 5846,
"end": 5847,
"loc": {
"start": {
"line": 146,
"column": 29
},
"end": {
"line": 146,
"column": 30
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 5850,
"end": 5888,
"loc": {
"start": {
"line": 146,
"column": 33
},
"end": {
"line": 146,
"column": 71
}
},
"object": {
"type": "MemberExpression",
"start": 5850,
"end": 5875,
"loc": {
"start": {
"line": 146,
"column": 33
},
"end": {
"line": 146,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 5850,
"end": 5859,
"loc": {
"start": {
"line": 146,
"column": 33
},
"end": {
"line": 146,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 5850,
"end": 5854,
"loc": {
"start": {
"line": 146,
"column": 33
},
"end": {
"line": 146,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 5855,
"end": 5859,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 42
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5860,
"end": 5875,
"loc": {
"start": {
"line": 146,
"column": 43
},
"end": {
"line": 146,
"column": 58
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5876,
"end": 5888,
"loc": {
"start": {
"line": 146,
"column": 59
},
"end": {
"line": 146,
"column": 71
},
"identifierName": "deltaSeconds"
},
"name": "deltaSeconds"
},
"computed": false
}
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentLine",
"value": " Precompute effective belt speed",
"start": 5781,
"end": 5815,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 42
}
}
}
]
},
{
"type": "IfStatement",
"start": 5901,
"end": 5995,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 150,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 5905,
"end": 5948,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 5905,
"end": 5913,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 5917,
"end": 5948,
"loc": {
"start": {
"line": 148,
"column": 24
},
"end": {
"line": 148,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 5917,
"end": 5935,
"loc": {
"start": {
"line": 148,
"column": 24
},
"end": {
"line": 148,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5917,
"end": 5929,
"loc": {
"start": {
"line": 148,
"column": 24
},
"end": {
"line": 148,
"column": 36
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 5930,
"end": 5935,
"loc": {
"start": {
"line": 148,
"column": 37
},
"end": {
"line": 148,
"column": 42
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5936,
"end": 5948,
"loc": {
"start": {
"line": 148,
"column": 43
},
"end": {
"line": 148,
"column": 55
},
"identifierName": "instantBelts"
},
"name": "instantBelts"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5950,
"end": 5995,
"loc": {
"start": {
"line": 148,
"column": 57
},
"end": {
"line": 150,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5965,
"end": 5984,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5965,
"end": 5983,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 30
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5965,
"end": 5979,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 26
},
"identifierName": "progressGrowth"
},
"name": "progressGrowth"
},
"right": {
"type": "NumericLiteral",
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 149,
"column": 29
},
"end": {
"line": 149,
"column": 30
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Go over all cache entries",
"start": 6007,
"end": 6035,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 36
}
}
}
]
},
{
"type": "ForStatement",
"start": 6045,
"end": 8940,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 221,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 6050,
"end": 6059,
"loc": {
"start": {
"line": 153,
"column": 13
},
"end": {
"line": 153,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6054,
"end": 6059,
"loc": {
"start": {
"line": 153,
"column": 17
},
"end": {
"line": 153,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 6054,
"end": 6055,
"loc": {
"start": {
"line": 153,
"column": 17
},
"end": {
"line": 153,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 6058,
"end": 6059,
"loc": {
"start": {
"line": 153,
"column": 21
},
"end": {
"line": 153,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 6061,
"end": 6088,
"loc": {
"start": {
"line": 153,
"column": 24
},
"end": {
"line": 153,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 6061,
"end": 6062,
"loc": {
"start": {
"line": 153,
"column": 24
},
"end": {
"line": 153,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 6065,
"end": 6088,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 6065,
"end": 6081,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 6065,
"end": 6069,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 6070,
"end": 6081,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 44
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6082,
"end": 6088,
"loc": {
"start": {
"line": 153,
"column": 45
},
"end": {
"line": 153,
"column": 51
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 6090,
"end": 6093,
"loc": {
"start": {
"line": 153,
"column": 53
},
"end": {
"line": 153,
"column": 56
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6092,
"end": 6093,
"loc": {
"start": {
"line": 153,
"column": 55
},
"end": {
"line": 153,
"column": 56
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6095,
"end": 8940,
"loc": {
"start": {
"line": 153,
"column": 58
},
"end": {
"line": 221,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6110,
"end": 6151,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6116,
"end": 6150,
"loc": {
"start": {
"line": 154,
"column": 18
},
"end": {
"line": 154,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 6116,
"end": 6128,
"loc": {
"start": {
"line": 154,
"column": 18
},
"end": {
"line": 154,
"column": 30
},
"identifierName": "sourceEntity"
},
"name": "sourceEntity"
},
"init": {
"type": "MemberExpression",
"start": 6131,
"end": 6150,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 6131,
"end": 6147,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 49
}
},
"object": {
"type": "ThisExpression",
"start": 6131,
"end": 6135,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 6136,
"end": 6147,
"loc": {
"start": {
"line": 154,
"column": 38
},
"end": {
"line": 154,
"column": 49
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6148,
"end": 6149,
"loc": {
"start": {
"line": 154,
"column": 50
},
"end": {
"line": 154,
"column": 51
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6165,
"end": 6227,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 74
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6171,
"end": 6226,
"loc": {
"start": {
"line": 155,
"column": 18
},
"end": {
"line": 155,
"column": 73
}
},
"id": {
"type": "Identifier",
"start": 6171,
"end": 6188,
"loc": {
"start": {
"line": 155,
"column": 18
},
"end": {
"line": 155,
"column": 35
},
"identifierName": "sourceEjectorComp"
},
"name": "sourceEjectorComp"
},
"init": {
"type": "MemberExpression",
"start": 6191,
"end": 6226,
"loc": {
"start": {
"line": 155,
"column": 38
},
"end": {
"line": 155,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 6191,
"end": 6214,
"loc": {
"start": {
"line": 155,
"column": 38
},
"end": {
"line": 155,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 6191,
"end": 6203,
"loc": {
"start": {
"line": 155,
"column": 38
},
"end": {
"line": 155,
"column": 50
},
"identifierName": "sourceEntity"
},
"name": "sourceEntity"
},
"property": {
"type": "Identifier",
"start": 6204,
"end": 6214,
"loc": {
"start": {
"line": 155,
"column": 51
},
"end": {
"line": 155,
"column": 61
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6215,
"end": 6226,
"loc": {
"start": {
"line": 155,
"column": 62
},
"end": {
"line": 155,
"column": 73
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6243,
"end": 6281,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6249,
"end": 6280,
"loc": {
"start": {
"line": 157,
"column": 18
},
"end": {
"line": 157,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 6249,
"end": 6254,
"loc": {
"start": {
"line": 157,
"column": 18
},
"end": {
"line": 157,
"column": 23
},
"identifierName": "slots"
},
"name": "slots"
},
"init": {
"type": "MemberExpression",
"start": 6257,
"end": 6280,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 6257,
"end": 6274,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 43
},
"identifierName": "sourceEjectorComp"
},
"name": "sourceEjectorComp"
},
"property": {
"type": "Identifier",
"start": 6275,
"end": 6280,
"loc": {
"start": {
"line": 157,
"column": 44
},
"end": {
"line": 157,
"column": 49
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 6295,
"end": 8929,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 220,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 6300,
"end": 6309,
"loc": {
"start": {
"line": 158,
"column": 17
},
"end": {
"line": 158,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6304,
"end": 6309,
"loc": {
"start": {
"line": 158,
"column": 21
},
"end": {
"line": 158,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 6304,
"end": 6305,
"loc": {
"start": {
"line": 158,
"column": 21
},
"end": {
"line": 158,
"column": 22
},
"identifierName": "j"
},
"name": "j"
},
"init": {
"type": "NumericLiteral",
"start": 6308,
"end": 6309,
"loc": {
"start": {
"line": 158,
"column": 25
},
"end": {
"line": 158,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 6311,
"end": 6327,
"loc": {
"start": {
"line": 158,
"column": 28
},
"end": {
"line": 158,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 6311,
"end": 6312,
"loc": {
"start": {
"line": 158,
"column": 28
},
"end": {
"line": 158,
"column": 29
},
"identifierName": "j"
},
"name": "j"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 6315,
"end": 6327,
"loc": {
"start": {
"line": 158,
"column": 32
},
"end": {
"line": 158,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 6315,
"end": 6320,
"loc": {
"start": {
"line": 158,
"column": 32
},
"end": {
"line": 158,
"column": 37
},
"identifierName": "slots"
},
"name": "slots"
},
"property": {
"type": "Identifier",
"start": 6321,
"end": 6327,
"loc": {
"start": {
"line": 158,
"column": 38
},
"end": {
"line": 158,
"column": 44
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 6329,
"end": 6332,
"loc": {
"start": {
"line": 158,
"column": 46
},
"end": {
"line": 158,
"column": 49
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6331,
"end": 6332,
"loc": {
"start": {
"line": 158,
"column": 48
},
"end": {
"line": 158,
"column": 49
},
"identifierName": "j"
},
"name": "j"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6334,
"end": 8929,
"loc": {
"start": {
"line": 158,
"column": 51
},
"end": {
"line": 220,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6353,
"end": 6381,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6359,
"end": 6380,
"loc": {
"start": {
"line": 159,
"column": 22
},
"end": {
"line": 159,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 6359,
"end": 6369,
"loc": {
"start": {
"line": 159,
"column": 22
},
"end": {
"line": 159,
"column": 32
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"init": {
"type": "MemberExpression",
"start": 6372,
"end": 6380,
"loc": {
"start": {
"line": 159,
"column": 35
},
"end": {
"line": 159,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 6372,
"end": 6377,
"loc": {
"start": {
"line": 159,
"column": 35
},
"end": {
"line": 159,
"column": 40
},
"identifierName": "slots"
},
"name": "slots"
},
"property": {
"type": "Identifier",
"start": 6378,
"end": 6379,
"loc": {
"start": {
"line": 159,
"column": 41
},
"end": {
"line": 159,
"column": 42
},
"identifierName": "j"
},
"name": "j"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6399,
"end": 6428,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6405,
"end": 6427,
"loc": {
"start": {
"line": 160,
"column": 22
},
"end": {
"line": 160,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 6405,
"end": 6409,
"loc": {
"start": {
"line": 160,
"column": 22
},
"end": {
"line": 160,
"column": 26
},
"identifierName": "item"
},
"name": "item"
},
"init": {
"type": "MemberExpression",
"start": 6412,
"end": 6427,
"loc": {
"start": {
"line": 160,
"column": 29
},
"end": {
"line": 160,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 6412,
"end": 6422,
"loc": {
"start": {
"line": 160,
"column": 29
},
"end": {
"line": 160,
"column": 39
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 6423,
"end": 6427,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 160,
"column": 44
},
"identifierName": "item"
},
"name": "item"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6446,
"end": 6564,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 164,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 6450,
"end": 6455,
"loc": {
"start": {
"line": 161,
"column": 20
},
"end": {
"line": 161,
"column": 25
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6451,
"end": 6455,
"loc": {
"start": {
"line": 161,
"column": 21
},
"end": {
"line": 161,
"column": 25
},
"identifierName": "item"
},
"name": "item"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6457,
"end": 6564,
"loc": {
"start": {
"line": 161,
"column": 27
},
"end": {
"line": 164,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 6536,
"end": 6545,
"loc": {
"start": {
"line": 163,
"column": 20
},
"end": {
"line": 163,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " No item available to be ejected",
"start": 6480,
"end": 6514,
"loc": {
"start": {
"line": 162,
"column": 20
},
"end": {
"line": 162,
"column": 54
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Advance items on the slot",
"start": 6584,
"end": 6612,
"loc": {
"start": {
"line": 166,
"column": 16
},
"end": {
"line": 166,
"column": 44
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 6630,
"end": 6920,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 173,
"column": 18
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6630,
"end": 6919,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 173,
"column": 17
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 6630,
"end": 6649,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 6630,
"end": 6640,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 26
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 6641,
"end": 6649,
"loc": {
"start": {
"line": 167,
"column": 27
},
"end": {
"line": 167,
"column": 35
},
"identifierName": "progress"
},
"name": "progress"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 6652,
"end": 6919,
"loc": {
"start": {
"line": 167,
"column": 38
},
"end": {
"line": 173,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 6652,
"end": 6660,
"loc": {
"start": {
"line": 167,
"column": 38
},
"end": {
"line": 167,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 6652,
"end": 6656,
"loc": {
"start": {
"line": 167,
"column": 38
},
"end": {
"line": 167,
"column": 42
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 6657,
"end": 6660,
"loc": {
"start": {
"line": 167,
"column": 43
},
"end": {
"line": 167,
"column": 46
},
"identifierName": "min"
},
"name": "min"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 6683,
"end": 6684,
"loc": {
"start": {
"line": 168,
"column": 20
},
"end": {
"line": 168,
"column": 21
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "BinaryExpression",
"start": 6707,
"end": 6900,
"loc": {
"start": {
"line": 169,
"column": 20
},
"end": {
"line": 172,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 6707,
"end": 6726,
"loc": {
"start": {
"line": 169,
"column": 20
},
"end": {
"line": 169,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 6707,
"end": 6717,
"loc": {
"start": {
"line": 169,
"column": 20
},
"end": {
"line": 169,
"column": 30
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 6718,
"end": 6726,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 169,
"column": 39
},
"identifierName": "progress"
},
"name": "progress"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 6754,
"end": 6900,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 172,
"column": 59
}
},
"left": {
"type": "BinaryExpression",
"start": 6754,
"end": 6837,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 171,
"column": 65
}
},
"left": {
"type": "Identifier",
"start": 6754,
"end": 6768,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 170,
"column": 38
},
"identifierName": "progressGrowth"
},
"name": "progressGrowth"
},
"operator": "*",
"right": {
"type": "CallExpression",
"start": 6800,
"end": 6837,
"loc": {
"start": {
"line": 171,
"column": 28
},
"end": {
"line": 171,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 6800,
"end": 6835,
"loc": {
"start": {
"line": 171,
"column": 28
},
"end": {
"line": 171,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 6800,
"end": 6818,
"loc": {
"start": {
"line": 171,
"column": 28
},
"end": {
"line": 171,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 6800,
"end": 6809,
"loc": {
"start": {
"line": 171,
"column": 28
},
"end": {
"line": 171,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 6800,
"end": 6804,
"loc": {
"start": {
"line": 171,
"column": 28
},
"end": {
"line": 171,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 6805,
"end": 6809,
"loc": {
"start": {
"line": 171,
"column": 33
},
"end": {
"line": 171,
"column": 37
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6810,
"end": 6818,
"loc": {
"start": {
"line": 171,
"column": 38
},
"end": {
"line": 171,
"column": 46
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6819,
"end": 6835,
"loc": {
"start": {
"line": 171,
"column": 47
},
"end": {
"line": 171,
"column": 63
},
"identifierName": "getBeltBaseSpeed"
},
"name": "getBeltBaseSpeed"
},
"computed": false
},
"arguments": []
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 6869,
"end": 6900,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 6869,
"end": 6881,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 40
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6882,
"end": 6900,
"loc": {
"start": {
"line": 172,
"column": 41
},
"end": {
"line": 172,
"column": 59
},
"identifierName": "itemSpacingOnBelts"
},
"name": "itemSpacingOnBelts"
},
"computed": false
}
}
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Advance items on the slot",
"start": 6584,
"end": 6612,
"loc": {
"start": {
"line": 166,
"column": 16
},
"end": {
"line": 166,
"column": 44
}
}
}
]
},
{
"type": "IfStatement",
"start": 6940,
"end": 7069,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 177,
"column": 17
}
},
"test": {
"type": "LogicalExpression",
"start": 6944,
"end": 6999,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 75
}
},
"left": {
"type": "Identifier",
"start": 6944,
"end": 6952,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 28
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 6956,
"end": 6999,
"loc": {
"start": {
"line": 175,
"column": 32
},
"end": {
"line": 175,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 6956,
"end": 6974,
"loc": {
"start": {
"line": 175,
"column": 32
},
"end": {
"line": 175,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 6956,
"end": 6968,
"loc": {
"start": {
"line": 175,
"column": 32
},
"end": {
"line": 175,
"column": 44
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6969,
"end": 6974,
"loc": {
"start": {
"line": 175,
"column": 45
},
"end": {
"line": 175,
"column": 50
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6975,
"end": 6999,
"loc": {
"start": {
"line": 175,
"column": 51
},
"end": {
"line": 175,
"column": 75
},
"identifierName": "disableEjectorProcessing"
},
"name": "disableEjectorProcessing"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7001,
"end": 7069,
"loc": {
"start": {
"line": 175,
"column": 77
},
"end": {
"line": 177,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7024,
"end": 7050,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7024,
"end": 7049,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7024,
"end": 7043,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 7024,
"end": 7034,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 30
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 7035,
"end": 7043,
"loc": {
"start": {
"line": 176,
"column": 31
},
"end": {
"line": 176,
"column": 39
},
"identifierName": "progress"
},
"name": "progress"
},
"computed": false
},
"right": {
"type": "NumericLiteral",
"start": 7046,
"end": 7049,
"loc": {
"start": {
"line": 176,
"column": 42
},
"end": {
"line": 176,
"column": 45
}
},
"extra": {
"rawValue": 1,
"raw": "1.0"
},
"value": 1
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if we are still in the process of ejecting, can't proceed then",
"start": 7089,
"end": 7160,
"loc": {
"start": {
"line": 179,
"column": 16
},
"end": {
"line": 179,
"column": 87
}
}
}
]
},
{
"type": "IfStatement",
"start": 7178,
"end": 7260,
"loc": {
"start": {
"line": 180,
"column": 16
},
"end": {
"line": 182,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 7182,
"end": 7207,
"loc": {
"start": {
"line": 180,
"column": 20
},
"end": {
"line": 180,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 7182,
"end": 7201,
"loc": {
"start": {
"line": 180,
"column": 20
},
"end": {
"line": 180,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 7182,
"end": 7192,
"loc": {
"start": {
"line": 180,
"column": 20
},
"end": {
"line": 180,
"column": 30
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7193,
"end": 7201,
"loc": {
"start": {
"line": 180,
"column": 31
},
"end": {
"line": 180,
"column": 39
},
"identifierName": "progress"
},
"name": "progress"
},
"computed": false,
"leadingComments": null
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 7204,
"end": 7207,
"loc": {
"start": {
"line": 180,
"column": 42
},
"end": {
"line": 180,
"column": 45
}
},
"extra": {
"rawValue": 1,
"raw": "1.0"
},
"value": 1
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 7209,
"end": 7260,
"loc": {
"start": {
"line": 180,
"column": 47
},
"end": {
"line": 182,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 7232,
"end": 7241,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 29
}
},
"label": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if we are still in the process of ejecting, can't proceed then",
"start": 7089,
"end": 7160,
"loc": {
"start": {
"line": 179,
"column": 16
},
"end": {
"line": 179,
"column": 87
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if we are ejecting to a belt path",
"start": 7280,
"end": 7322,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 58
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 7340,
"end": 7383,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7346,
"end": 7382,
"loc": {
"start": {
"line": 185,
"column": 22
},
"end": {
"line": 185,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 7346,
"end": 7354,
"loc": {
"start": {
"line": 185,
"column": 22
},
"end": {
"line": 185,
"column": 30
},
"identifierName": "destPath"
},
"name": "destPath",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 7357,
"end": 7382,
"loc": {
"start": {
"line": 185,
"column": 33
},
"end": {
"line": 185,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 7357,
"end": 7367,
"loc": {
"start": {
"line": 185,
"column": 33
},
"end": {
"line": 185,
"column": 43
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 7368,
"end": 7382,
"loc": {
"start": {
"line": 185,
"column": 44
},
"end": {
"line": 185,
"column": 58
},
"identifierName": "cachedBeltPath"
},
"name": "cachedBeltPath"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if we are ejecting to a belt path",
"start": 7280,
"end": 7322,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 58
}
}
}
]
},
{
"type": "IfStatement",
"start": 7401,
"end": 7765,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 195,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 7405,
"end": 7413,
"loc": {
"start": {
"line": 186,
"column": 20
},
"end": {
"line": 186,
"column": 28
},
"identifierName": "destPath"
},
"name": "destPath"
},
"consequent": {
"type": "BlockStatement",
"start": 7415,
"end": 7765,
"loc": {
"start": {
"line": 186,
"column": 30
},
"end": {
"line": 195,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 7488,
"end": 7595,
"loc": {
"start": {
"line": 188,
"column": 20
},
"end": {
"line": 190,
"column": 21
}
},
"test": {
"type": "CallExpression",
"start": 7492,
"end": 7520,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 7492,
"end": 7514,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 7492,
"end": 7500,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 32
},
"identifierName": "destPath"
},
"name": "destPath",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7501,
"end": 7514,
"loc": {
"start": {
"line": 188,
"column": 33
},
"end": {
"line": 188,
"column": 46
},
"identifierName": "tryAcceptItem"
},
"name": "tryAcceptItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 7515,
"end": 7519,
"loc": {
"start": {
"line": 188,
"column": 47
},
"end": {
"line": 188,
"column": 51
},
"identifierName": "item"
},
"name": "item"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 7522,
"end": 7595,
"loc": {
"start": {
"line": 188,
"column": 54
},
"end": {
"line": 190,
"column": 21
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7549,
"end": 7572,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7549,
"end": 7571,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7549,
"end": 7564,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 7549,
"end": 7559,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 34
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 7560,
"end": 7564,
"loc": {
"start": {
"line": 189,
"column": 35
},
"end": {
"line": 189,
"column": 39
},
"identifierName": "item"
},
"name": "item"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 7567,
"end": 7571,
"loc": {
"start": {
"line": 189,
"column": 42
},
"end": {
"line": 189,
"column": 46
}
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Try passing the item over",
"start": 7438,
"end": 7466,
"loc": {
"start": {
"line": 187,
"column": 20
},
"end": {
"line": 187,
"column": 48
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Always stop here, since there can *either* be a belt path *or*",
"start": 7619,
"end": 7684,
"loc": {
"start": {
"line": 192,
"column": 20
},
"end": {
"line": 192,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " a slot",
"start": 7706,
"end": 7715,
"loc": {
"start": {
"line": 193,
"column": 20
},
"end": {
"line": 193,
"column": 29
}
}
}
]
},
{
"type": "ContinueStatement",
"start": 7737,
"end": 7746,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Always stop here, since there can *either* be a belt path *or*",
"start": 7619,
"end": 7684,
"loc": {
"start": {
"line": 192,
"column": 20
},
"end": {
"line": 192,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " a slot",
"start": 7706,
"end": 7715,
"loc": {
"start": {
"line": 193,
"column": 20
},
"end": {
"line": 193,
"column": 29
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if the target acceptor can actually accept this item",
"start": 7785,
"end": 7846,
"loc": {
"start": {
"line": 197,
"column": 16
},
"end": {
"line": 197,
"column": 77
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 7864,
"end": 7913,
"loc": {
"start": {
"line": 198,
"column": 16
},
"end": {
"line": 198,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7870,
"end": 7912,
"loc": {
"start": {
"line": 198,
"column": 22
},
"end": {
"line": 198,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 7870,
"end": 7880,
"loc": {
"start": {
"line": 198,
"column": 22
},
"end": {
"line": 198,
"column": 32
},
"identifierName": "destEntity"
},
"name": "destEntity",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 7883,
"end": 7912,
"loc": {
"start": {
"line": 198,
"column": 35
},
"end": {
"line": 198,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 7883,
"end": 7893,
"loc": {
"start": {
"line": 198,
"column": 35
},
"end": {
"line": 198,
"column": 45
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 7894,
"end": 7912,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 64
},
"identifierName": "cachedTargetEntity"
},
"name": "cachedTargetEntity"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if the target acceptor can actually accept this item",
"start": 7785,
"end": 7846,
"loc": {
"start": {
"line": 197,
"column": 16
},
"end": {
"line": 197,
"column": 77
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 7931,
"end": 7974,
"loc": {
"start": {
"line": 199,
"column": 16
},
"end": {
"line": 199,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7937,
"end": 7973,
"loc": {
"start": {
"line": 199,
"column": 22
},
"end": {
"line": 199,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 7937,
"end": 7945,
"loc": {
"start": {
"line": 199,
"column": 22
},
"end": {
"line": 199,
"column": 30
},
"identifierName": "destSlot"
},
"name": "destSlot"
},
"init": {
"type": "MemberExpression",
"start": 7948,
"end": 7973,
"loc": {
"start": {
"line": 199,
"column": 33
},
"end": {
"line": 199,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 7948,
"end": 7958,
"loc": {
"start": {
"line": 199,
"column": 33
},
"end": {
"line": 199,
"column": 43
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 7959,
"end": 7973,
"loc": {
"start": {
"line": 199,
"column": 44
},
"end": {
"line": 199,
"column": 58
},
"identifierName": "cachedDestSlot"
},
"name": "cachedDestSlot"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7992,
"end": 8914,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 219,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 7996,
"end": 8004,
"loc": {
"start": {
"line": 200,
"column": 20
},
"end": {
"line": 200,
"column": 28
},
"identifierName": "destSlot"
},
"name": "destSlot"
},
"consequent": {
"type": "BlockStatement",
"start": 8006,
"end": 8914,
"loc": {
"start": {
"line": 200,
"column": 30
},
"end": {
"line": 219,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 8029,
"end": 8091,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 82
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8035,
"end": 8090,
"loc": {
"start": {
"line": 201,
"column": 26
},
"end": {
"line": 201,
"column": 81
}
},
"id": {
"type": "Identifier",
"start": 8035,
"end": 8053,
"loc": {
"start": {
"line": 201,
"column": 26
},
"end": {
"line": 201,
"column": 44
},
"identifierName": "targetAcceptorComp"
},
"name": "targetAcceptorComp"
},
"init": {
"type": "MemberExpression",
"start": 8056,
"end": 8090,
"loc": {
"start": {
"line": 201,
"column": 47
},
"end": {
"line": 201,
"column": 81
}
},
"object": {
"type": "MemberExpression",
"start": 8056,
"end": 8077,
"loc": {
"start": {
"line": 201,
"column": 47
},
"end": {
"line": 201,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 8056,
"end": 8066,
"loc": {
"start": {
"line": 201,
"column": 47
},
"end": {
"line": 201,
"column": 57
},
"identifierName": "destEntity"
},
"name": "destEntity"
},
"property": {
"type": "Identifier",
"start": 8067,
"end": 8077,
"loc": {
"start": {
"line": 201,
"column": 58
},
"end": {
"line": 201,
"column": 68
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8078,
"end": 8090,
"loc": {
"start": {
"line": 201,
"column": 69
},
"end": {
"line": 201,
"column": 81
},
"identifierName": "ItemAcceptor"
},
"name": "ItemAcceptor"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8113,
"end": 8233,
"loc": {
"start": {
"line": 202,
"column": 20
},
"end": {
"line": 204,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 8117,
"end": 8172,
"loc": {
"start": {
"line": 202,
"column": 24
},
"end": {
"line": 202,
"column": 79
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 8118,
"end": 8172,
"loc": {
"start": {
"line": 202,
"column": 25
},
"end": {
"line": 202,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 8118,
"end": 8150,
"loc": {
"start": {
"line": 202,
"column": 25
},
"end": {
"line": 202,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 8118,
"end": 8136,
"loc": {
"start": {
"line": 202,
"column": 25
},
"end": {
"line": 202,
"column": 43
},
"identifierName": "targetAcceptorComp"
},
"name": "targetAcceptorComp"
},
"property": {
"type": "Identifier",
"start": 8137,
"end": 8150,
"loc": {
"start": {
"line": 202,
"column": 44
},
"end": {
"line": 202,
"column": 57
},
"identifierName": "canAcceptItem"
},
"name": "canAcceptItem"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8151,
"end": 8165,
"loc": {
"start": {
"line": 202,
"column": 58
},
"end": {
"line": 202,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 8151,
"end": 8159,
"loc": {
"start": {
"line": 202,
"column": 58
},
"end": {
"line": 202,
"column": 66
},
"identifierName": "destSlot"
},
"name": "destSlot"
},
"property": {
"type": "Identifier",
"start": 8160,
"end": 8165,
"loc": {
"start": {
"line": 202,
"column": 67
},
"end": {
"line": 202,
"column": 72
},
"identifierName": "index"
},
"name": "index"
},
"computed": false
},
{
"type": "Identifier",
"start": 8167,
"end": 8171,
"loc": {
"start": {
"line": 202,
"column": 74
},
"end": {
"line": 202,
"column": 78
},
"identifierName": "item"
},
"name": "item"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 8174,
"end": 8233,
"loc": {
"start": {
"line": 202,
"column": 81
},
"end": {
"line": 204,
"column": 21
}
},
"body": [
{
"type": "ContinueStatement",
"start": 8201,
"end": 8210,
"loc": {
"start": {
"line": 203,
"column": 24
},
"end": {
"line": 203,
"column": 33
}
},
"label": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Try to hand over the item",
"start": 8257,
"end": 8285,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 206,
"column": 48
}
}
}
]
},
{
"type": "IfStatement",
"start": 8307,
"end": 8895,
"loc": {
"start": {
"line": 207,
"column": 20
},
"end": {
"line": 218,
"column": 21
}
},
"test": {
"type": "CallExpression",
"start": 8311,
"end": 8365,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 8311,
"end": 8331,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 8311,
"end": 8315,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 28
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8316,
"end": 8331,
"loc": {
"start": {
"line": 207,
"column": 29
},
"end": {
"line": 207,
"column": 44
},
"identifierName": "tryPassOverItem"
},
"name": "tryPassOverItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 8332,
"end": 8336,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 49
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 8338,
"end": 8348,
"loc": {
"start": {
"line": 207,
"column": 51
},
"end": {
"line": 207,
"column": 61
},
"identifierName": "destEntity"
},
"name": "destEntity"
},
{
"type": "MemberExpression",
"start": 8350,
"end": 8364,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 8350,
"end": 8358,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 71
},
"identifierName": "destSlot"
},
"name": "destSlot"
},
"property": {
"type": "Identifier",
"start": 8359,
"end": 8364,
"loc": {
"start": {
"line": 207,
"column": 72
},
"end": {
"line": 207,
"column": 77
},
"identifierName": "index"
},
"name": "index"
},
"computed": false
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 8367,
"end": 8895,
"loc": {
"start": {
"line": 207,
"column": 80
},
"end": {
"line": 218,
"column": 21
}
},
"body": [
{
"type": "IfStatement",
"start": 8454,
"end": 8788,
"loc": {
"start": {
"line": 209,
"column": 24
},
"end": {
"line": 215,
"column": 25
}
},
"test": {
"type": "UnaryExpression",
"start": 8458,
"end": 8514,
"loc": {
"start": {
"line": 209,
"column": 28
},
"end": {
"line": 209,
"column": 84
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 8459,
"end": 8514,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 84
}
},
"object": {
"type": "CallExpression",
"start": 8459,
"end": 8498,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 8459,
"end": 8496,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 8459,
"end": 8481,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 8459,
"end": 8472,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 8459,
"end": 8468,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 8459,
"end": 8463,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 33
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8464,
"end": 8468,
"loc": {
"start": {
"line": 209,
"column": 34
},
"end": {
"line": 209,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8469,
"end": 8472,
"loc": {
"start": {
"line": 209,
"column": 39
},
"end": {
"line": 209,
"column": 42
},
"identifierName": "app"
},
"name": "app"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8473,
"end": 8481,
"loc": {
"start": {
"line": 209,
"column": 43
},
"end": {
"line": 209,
"column": 51
},
"identifierName": "settings"
},
"name": "settings"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8482,
"end": 8496,
"loc": {
"start": {
"line": 209,
"column": 52
},
"end": {
"line": 209,
"column": 66
},
"identifierName": "getAllSettings"
},
"name": "getAllSettings"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8499,
"end": 8514,
"loc": {
"start": {
"line": 209,
"column": 69
},
"end": {
"line": 209,
"column": 84
},
"identifierName": "simplifiedBelts"
},
"name": "simplifiedBelts"
},
"computed": false,
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 8516,
"end": 8788,
"loc": {
"start": {
"line": 209,
"column": 86
},
"end": {
"line": 215,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8547,
"end": 8761,
"loc": {
"start": {
"line": 210,
"column": 28
},
"end": {
"line": 214,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 8547,
"end": 8760,
"loc": {
"start": {
"line": 210,
"column": 28
},
"end": {
"line": 214,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 8547,
"end": 8580,
"loc": {
"start": {
"line": 210,
"column": 28
},
"end": {
"line": 210,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 8547,
"end": 8565,
"loc": {
"start": {
"line": 210,
"column": 28
},
"end": {
"line": 210,
"column": 46
},
"identifierName": "targetAcceptorComp"
},
"name": "targetAcceptorComp"
},
"property": {
"type": "Identifier",
"start": 8566,
"end": 8580,
"loc": {
"start": {
"line": 210,
"column": 47
},
"end": {
"line": 210,
"column": 61
},
"identifierName": "onItemAccepted"
},
"name": "onItemAccepted"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8615,
"end": 8629,
"loc": {
"start": {
"line": 211,
"column": 32
},
"end": {
"line": 211,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 8615,
"end": 8623,
"loc": {
"start": {
"line": 211,
"column": 32
},
"end": {
"line": 211,
"column": 40
},
"identifierName": "destSlot"
},
"name": "destSlot"
},
"property": {
"type": "Identifier",
"start": 8624,
"end": 8629,
"loc": {
"start": {
"line": 211,
"column": 41
},
"end": {
"line": 211,
"column": 46
},
"identifierName": "index"
},
"name": "index"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 8664,
"end": 8690,
"loc": {
"start": {
"line": 212,
"column": 32
},
"end": {
"line": 212,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 8664,
"end": 8672,
"loc": {
"start": {
"line": 212,
"column": 32
},
"end": {
"line": 212,
"column": 40
},
"identifierName": "destSlot"
},
"name": "destSlot"
},
"property": {
"type": "Identifier",
"start": 8673,
"end": 8690,
"loc": {
"start": {
"line": 212,
"column": 41
},
"end": {
"line": 212,
"column": 58
},
"identifierName": "acceptedDirection"
},
"name": "acceptedDirection"
},
"computed": false
},
{
"type": "Identifier",
"start": 8725,
"end": 8729,
"loc": {
"start": {
"line": 213,
"column": 32
},
"end": {
"line": 213,
"column": 36
},
"identifierName": "item"
},
"name": "item"
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Handover successful, clear slot",
"start": 8394,
"end": 8428,
"loc": {
"start": {
"line": 208,
"column": 24
},
"end": {
"line": 208,
"column": 58
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 8814,
"end": 8837,
"loc": {
"start": {
"line": 216,
"column": 24
},
"end": {
"line": 216,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8814,
"end": 8836,
"loc": {
"start": {
"line": 216,
"column": 24
},
"end": {
"line": 216,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 8814,
"end": 8829,
"loc": {
"start": {
"line": 216,
"column": 24
},
"end": {
"line": 216,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 8814,
"end": 8824,
"loc": {
"start": {
"line": 216,
"column": 24
},
"end": {
"line": 216,
"column": 34
},
"identifierName": "sourceSlot"
},
"name": "sourceSlot"
},
"property": {
"type": "Identifier",
"start": 8825,
"end": 8829,
"loc": {
"start": {
"line": 216,
"column": 35
},
"end": {
"line": 216,
"column": 39
},
"identifierName": "item"
},
"name": "item"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 8832,
"end": 8836,
"loc": {
"start": {
"line": 216,
"column": 42
},
"end": {
"line": 216,
"column": 46
}
}
}
}
},
{
"type": "ContinueStatement",
"start": 8863,
"end": 8872,
"loc": {
"start": {
"line": 217,
"column": 24
},
"end": {
"line": 217,
"column": 33
}
},
"label": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Try to hand over the item",
"start": 8257,
"end": 8285,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 206,
"column": 48
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Go over all cache entries",
"start": 6007,
"end": 6035,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 36
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {BaseItem} item\r\n * @param {Entity} receiver\r\n * @param {number} slotIndex\r\n ",
"start": 8955,
"end": 9073,
"loc": {
"start": {
"line": 224,
"column": 4
},
"end": {
"line": 229,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 9079,
"end": 9796,
"loc": {
"start": {
"line": 230,
"column": 4
},
"end": {
"line": 248,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9079,
"end": 9094,
"loc": {
"start": {
"line": 230,
"column": 4
},
"end": {
"line": 230,
"column": 19
},
"identifierName": "tryPassOverItem"
},
"name": "tryPassOverItem",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9095,
"end": 9099,
"loc": {
"start": {
"line": 230,
"column": 20
},
"end": {
"line": 230,
"column": 24
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 9101,
"end": 9109,
"loc": {
"start": {
"line": 230,
"column": 26
},
"end": {
"line": 230,
"column": 34
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 9111,
"end": 9120,
"loc": {
"start": {
"line": 230,
"column": 36
},
"end": {
"line": 230,
"column": 45
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
}
],
"body": {
"type": "BlockStatement",
"start": 9122,
"end": 9796,
"loc": {
"start": {
"line": 230,
"column": 47
},
"end": {
"line": 248,
"column": 5
}
},
"body": [
{
"type": "ForInStatement",
"start": 9296,
"end": 9764,
"loc": {
"start": {
"line": 234,
"column": 8
},
"end": {
"line": 245,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 9301,
"end": 9313,
"loc": {
"start": {
"line": 234,
"column": 13
},
"end": {
"line": 234,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9307,
"end": 9313,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 9307,
"end": 9313,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 25
},
"identifierName": "compId"
},
"name": "compId",
"leadingComments": null
},
"init": null,
"leadingComments": null
}
],
"kind": "const",
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 9317,
"end": 9360,
"loc": {
"start": {
"line": 234,
"column": 29
},
"end": {
"line": 234,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 9317,
"end": 9334,
"loc": {
"start": {
"line": 234,
"column": 29
},
"end": {
"line": 234,
"column": 46
},
"identifierName": "ItemEjectorSystem"
},
"name": "ItemEjectorSystem"
},
"property": {
"type": "Identifier",
"start": 9335,
"end": 9360,
"loc": {
"start": {
"line": 234,
"column": 47
},
"end": {
"line": 234,
"column": 72
},
"identifierName": "tryPassOverItemComponents"
},
"name": "tryPassOverItemComponents"
},
"computed": false
},
"body": {
"type": "BlockStatement",
"start": 9362,
"end": 9764,
"loc": {
"start": {
"line": 234,
"column": 74
},
"end": {
"line": 245,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 9377,
"end": 9459,
"loc": {
"start": {
"line": 235,
"column": 12
},
"end": {
"line": 235,
"column": 94
}
},
"test": {
"type": "UnaryExpression",
"start": 9381,
"end": 9448,
"loc": {
"start": {
"line": 235,
"column": 16
},
"end": {
"line": 235,
"column": 83
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 9382,
"end": 9448,
"loc": {
"start": {
"line": 235,
"column": 17
},
"end": {
"line": 235,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 9382,
"end": 9440,
"loc": {
"start": {
"line": 235,
"column": 17
},
"end": {
"line": 235,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 9382,
"end": 9425,
"loc": {
"start": {
"line": 235,
"column": 17
},
"end": {
"line": 235,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 9382,
"end": 9399,
"loc": {
"start": {
"line": 235,
"column": 17
},
"end": {
"line": 235,
"column": 34
},
"identifierName": "ItemEjectorSystem"
},
"name": "ItemEjectorSystem"
},
"property": {
"type": "Identifier",
"start": 9400,
"end": 9425,
"loc": {
"start": {
"line": 235,
"column": 35
},
"end": {
"line": 235,
"column": 60
},
"identifierName": "tryPassOverItemComponents"
},
"name": "tryPassOverItemComponents"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9426,
"end": 9440,
"loc": {
"start": {
"line": 235,
"column": 61
},
"end": {
"line": 235,
"column": 75
},
"identifierName": "hasOwnProperty"
},
"name": "hasOwnProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9441,
"end": 9447,
"loc": {
"start": {
"line": 235,
"column": 76
},
"end": {
"line": 235,
"column": 82
},
"identifierName": "compId"
},
"name": "compId"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "ContinueStatement",
"start": 9450,
"end": 9459,
"loc": {
"start": {
"line": 235,
"column": 85
},
"end": {
"line": 235,
"column": 94
}
},
"label": null
},
"alternate": null
},
{
"type": "IfStatement",
"start": 9473,
"end": 9516,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 55
}
},
"test": {
"type": "UnaryExpression",
"start": 9477,
"end": 9505,
"loc": {
"start": {
"line": 236,
"column": 16
},
"end": {
"line": 236,
"column": 44
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 9478,
"end": 9505,
"loc": {
"start": {
"line": 236,
"column": 17
},
"end": {
"line": 236,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 9478,
"end": 9497,
"loc": {
"start": {
"line": 236,
"column": 17
},
"end": {
"line": 236,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 9478,
"end": 9486,
"loc": {
"start": {
"line": 236,
"column": 17
},
"end": {
"line": 236,
"column": 25
},
"identifierName": "receiver"
},
"name": "receiver"
},
"property": {
"type": "Identifier",
"start": 9487,
"end": 9497,
"loc": {
"start": {
"line": 236,
"column": 26
},
"end": {
"line": 236,
"column": 36
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9498,
"end": 9504,
"loc": {
"start": {
"line": 236,
"column": 37
},
"end": {
"line": 236,
"column": 43
},
"identifierName": "compId"
},
"name": "compId"
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "ContinueStatement",
"start": 9507,
"end": 9516,
"loc": {
"start": {
"line": 236,
"column": 46
},
"end": {
"line": 236,
"column": 55
}
},
"label": null
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 9532,
"end": 9753,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 244,
"column": 14
}
},
"argument": {
"type": "CallExpression",
"start": 9539,
"end": 9752,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 244,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 9539,
"end": 9590,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 238,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 9539,
"end": 9582,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 238,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 9539,
"end": 9556,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 238,
"column": 36
},
"identifierName": "ItemEjectorSystem"
},
"name": "ItemEjectorSystem"
},
"property": {
"type": "Identifier",
"start": 9557,
"end": 9582,
"loc": {
"start": {
"line": 238,
"column": 37
},
"end": {
"line": 238,
"column": 62
},
"identifierName": "tryPassOverItemComponents"
},
"name": "tryPassOverItemComponents"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9583,
"end": 9589,
"loc": {
"start": {
"line": 238,
"column": 63
},
"end": {
"line": 238,
"column": 69
},
"identifierName": "compId"
},
"name": "compId"
},
"computed": true
},
"arguments": [
{
"type": "MemberExpression",
"start": 9609,
"end": 9636,
"loc": {
"start": {
"line": 239,
"column": 16
},
"end": {
"line": 239,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 9609,
"end": 9628,
"loc": {
"start": {
"line": 239,
"column": 16
},
"end": {
"line": 239,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 9609,
"end": 9617,
"loc": {
"start": {
"line": 239,
"column": 16
},
"end": {
"line": 239,
"column": 24
},
"identifierName": "receiver"
},
"name": "receiver"
},
"property": {
"type": "Identifier",
"start": 9618,
"end": 9628,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 35
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9629,
"end": 9635,
"loc": {
"start": {
"line": 239,
"column": 36
},
"end": {
"line": 239,
"column": 42
},
"identifierName": "compId"
},
"name": "compId"
},
"computed": true
},
{
"type": "Identifier",
"start": 9655,
"end": 9659,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 20
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 9678,
"end": 9686,
"loc": {
"start": {
"line": 241,
"column": 16
},
"end": {
"line": 241,
"column": 24
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 9705,
"end": 9714,
"loc": {
"start": {
"line": 242,
"column": 16
},
"end": {
"line": 242,
"column": 25
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "ThisExpression",
"start": 9733,
"end": 9737,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 20
}
}
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Try figuring out how what to do with the item",
"start": 9133,
"end": 9181,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 231,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " @TODO: Kinda hacky. How to solve this properly? Don't want to go through inheritance hell.",
"start": 9191,
"end": 9284,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 101
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 9776,
"end": 9789,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 9783,
"end": 9788,
"loc": {
"start": {
"line": 247,
"column": 15
},
"end": {
"line": 247,
"column": 20
}
},
"value": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {BaseItem} item\r\n * @param {Entity} receiver\r\n * @param {number} slotIndex\r\n ",
"start": 8955,
"end": 9073,
"loc": {
"start": {
"line": 224,
"column": 4
},
"end": {
"line": 229,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 9804,
"end": 9895,
"loc": {
"start": {
"line": 250,
"column": 4
},
"end": {
"line": 253,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 9901,
"end": 14962,
"loc": {
"start": {
"line": 254,
"column": 4
},
"end": {
"line": 366,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9901,
"end": 9933,
"loc": {
"start": {
"line": 254,
"column": 4
},
"end": {
"line": 254,
"column": 36
},
"identifierName": "drawChunk_ForegroundDynamicLayer"
},
"name": "drawChunk_ForegroundDynamicLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9934,
"end": 9944,
"loc": {
"start": {
"line": 254,
"column": 37
},
"end": {
"line": 254,
"column": 47
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 9946,
"end": 9951,
"loc": {
"start": {
"line": 254,
"column": 49
},
"end": {
"line": 254,
"column": 54
},
"identifierName": "chunk"
},
"name": "chunk"
}
],
"body": {
"type": "BlockStatement",
"start": 9953,
"end": 14962,
"loc": {
"start": {
"line": 254,
"column": 56
},
"end": {
"line": 366,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 9964,
"end": 10098,
"loc": {
"start": {
"line": 255,
"column": 8
},
"end": {
"line": 258,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 9968,
"end": 10023,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 67
}
},
"object": {
"type": "CallExpression",
"start": 9968,
"end": 10007,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 9968,
"end": 10005,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 9968,
"end": 9990,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 9968,
"end": 9981,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 9968,
"end": 9977,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 9968,
"end": 9972,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 9973,
"end": 9977,
"loc": {
"start": {
"line": 255,
"column": 17
},
"end": {
"line": 255,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9978,
"end": 9981,
"loc": {
"start": {
"line": 255,
"column": 22
},
"end": {
"line": 255,
"column": 25
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9982,
"end": 9990,
"loc": {
"start": {
"line": 255,
"column": 26
},
"end": {
"line": 255,
"column": 34
},
"identifierName": "settings"
},
"name": "settings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9991,
"end": 10005,
"loc": {
"start": {
"line": 255,
"column": 35
},
"end": {
"line": 255,
"column": 49
},
"identifierName": "getAllSettings"
},
"name": "getAllSettings"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 10008,
"end": 10023,
"loc": {
"start": {
"line": 255,
"column": 52
},
"end": {
"line": 255,
"column": 67
},
"identifierName": "simplifiedBelts"
},
"name": "simplifiedBelts"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 10025,
"end": 10098,
"loc": {
"start": {
"line": 255,
"column": 69
},
"end": {
"line": 258,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10080,
"end": 10087,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Disabled in potato mode",
"start": 10040,
"end": 10066,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 38
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 10110,
"end": 10166,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10116,
"end": 10165,
"loc": {
"start": {
"line": 260,
"column": 14
},
"end": {
"line": 260,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 10116,
"end": 10124,
"loc": {
"start": {
"line": 260,
"column": 14
},
"end": {
"line": 260,
"column": 22
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "MemberExpression",
"start": 10127,
"end": 10165,
"loc": {
"start": {
"line": 260,
"column": 25
},
"end": {
"line": 260,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 10127,
"end": 10157,
"loc": {
"start": {
"line": 260,
"column": 25
},
"end": {
"line": 260,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 10127,
"end": 10132,
"loc": {
"start": {
"line": 260,
"column": 25
},
"end": {
"line": 260,
"column": 30
},
"identifierName": "chunk"
},
"name": "chunk"
},
"property": {
"type": "Identifier",
"start": 10133,
"end": 10157,
"loc": {
"start": {
"line": 260,
"column": 31
},
"end": {
"line": 260,
"column": 55
},
"identifierName": "containedEntitiesByLayer"
},
"name": "containedEntitiesByLayer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10158,
"end": 10165,
"loc": {
"start": {
"line": 260,
"column": 56
},
"end": {
"line": 260,
"column": 63
},
"identifierName": "regular"
},
"name": "regular"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 10178,
"end": 14955,
"loc": {
"start": {
"line": 262,
"column": 8
},
"end": {
"line": 365,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 10183,
"end": 10192,
"loc": {
"start": {
"line": 262,
"column": 13
},
"end": {
"line": 262,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10187,
"end": 10192,
"loc": {
"start": {
"line": 262,
"column": 17
},
"end": {
"line": 262,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 10187,
"end": 10188,
"loc": {
"start": {
"line": 262,
"column": 17
},
"end": {
"line": 262,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 10191,
"end": 10192,
"loc": {
"start": {
"line": 262,
"column": 21
},
"end": {
"line": 262,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 10194,
"end": 10213,
"loc": {
"start": {
"line": 262,
"column": 24
},
"end": {
"line": 262,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 10194,
"end": 10195,
"loc": {
"start": {
"line": 262,
"column": 24
},
"end": {
"line": 262,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 10198,
"end": 10213,
"loc": {
"start": {
"line": 262,
"column": 28
},
"end": {
"line": 262,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 10198,
"end": 10206,
"loc": {
"start": {
"line": 262,
"column": 28
},
"end": {
"line": 262,
"column": 36
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 10207,
"end": 10213,
"loc": {
"start": {
"line": 262,
"column": 37
},
"end": {
"line": 262,
"column": 43
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 10215,
"end": 10218,
"loc": {
"start": {
"line": 262,
"column": 45
},
"end": {
"line": 262,
"column": 48
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 10217,
"end": 10218,
"loc": {
"start": {
"line": 262,
"column": 47
},
"end": {
"line": 262,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 10220,
"end": 14955,
"loc": {
"start": {
"line": 262,
"column": 50
},
"end": {
"line": 365,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10235,
"end": 10262,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10241,
"end": 10261,
"loc": {
"start": {
"line": 263,
"column": 18
},
"end": {
"line": 263,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 10241,
"end": 10247,
"loc": {
"start": {
"line": 263,
"column": 18
},
"end": {
"line": 263,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 10250,
"end": 10261,
"loc": {
"start": {
"line": 263,
"column": 27
},
"end": {
"line": 263,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 10250,
"end": 10258,
"loc": {
"start": {
"line": 263,
"column": 27
},
"end": {
"line": 263,
"column": 35
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 10259,
"end": 10260,
"loc": {
"start": {
"line": 263,
"column": 36
},
"end": {
"line": 263,
"column": 37
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 10276,
"end": 10326,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10282,
"end": 10325,
"loc": {
"start": {
"line": 264,
"column": 18
},
"end": {
"line": 264,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 10282,
"end": 10293,
"loc": {
"start": {
"line": 264,
"column": 18
},
"end": {
"line": 264,
"column": 29
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"init": {
"type": "MemberExpression",
"start": 10296,
"end": 10325,
"loc": {
"start": {
"line": 264,
"column": 32
},
"end": {
"line": 264,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 10296,
"end": 10313,
"loc": {
"start": {
"line": 264,
"column": 32
},
"end": {
"line": 264,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 10296,
"end": 10302,
"loc": {
"start": {
"line": 264,
"column": 32
},
"end": {
"line": 264,
"column": 38
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 10303,
"end": 10313,
"loc": {
"start": {
"line": 264,
"column": 39
},
"end": {
"line": 264,
"column": 49
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10314,
"end": 10325,
"loc": {
"start": {
"line": 264,
"column": 50
},
"end": {
"line": 264,
"column": 61
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 10340,
"end": 10401,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 267,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 10344,
"end": 10356,
"loc": {
"start": {
"line": 265,
"column": 16
},
"end": {
"line": 265,
"column": 28
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 10345,
"end": 10356,
"loc": {
"start": {
"line": 265,
"column": 17
},
"end": {
"line": 265,
"column": 28
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 10358,
"end": 10401,
"loc": {
"start": {
"line": 265,
"column": 30
},
"end": {
"line": 267,
"column": 13
}
},
"body": [
{
"type": "ContinueStatement",
"start": 10377,
"end": 10386,
"loc": {
"start": {
"line": 266,
"column": 16
},
"end": {
"line": 266,
"column": 25
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 10417,
"end": 10470,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10423,
"end": 10469,
"loc": {
"start": {
"line": 269,
"column": 18
},
"end": {
"line": 269,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 10423,
"end": 10433,
"loc": {
"start": {
"line": 269,
"column": 18
},
"end": {
"line": 269,
"column": 28
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 10436,
"end": 10469,
"loc": {
"start": {
"line": 269,
"column": 31
},
"end": {
"line": 269,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 10436,
"end": 10453,
"loc": {
"start": {
"line": 269,
"column": 31
},
"end": {
"line": 269,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 10436,
"end": 10442,
"loc": {
"start": {
"line": 269,
"column": 31
},
"end": {
"line": 269,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 10443,
"end": 10453,
"loc": {
"start": {
"line": 269,
"column": 38
},
"end": {
"line": 269,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10454,
"end": 10469,
"loc": {
"start": {
"line": 269,
"column": 49
},
"end": {
"line": 269,
"column": 64
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 10486,
"end": 14944,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 364,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 10491,
"end": 10500,
"loc": {
"start": {
"line": 271,
"column": 17
},
"end": {
"line": 271,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10495,
"end": 10500,
"loc": {
"start": {
"line": 271,
"column": 21
},
"end": {
"line": 271,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 10495,
"end": 10496,
"loc": {
"start": {
"line": 271,
"column": 21
},
"end": {
"line": 271,
"column": 22
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 10499,
"end": 10500,
"loc": {
"start": {
"line": 271,
"column": 25
},
"end": {
"line": 271,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 10502,
"end": 10530,
"loc": {
"start": {
"line": 271,
"column": 28
},
"end": {
"line": 271,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 10502,
"end": 10503,
"loc": {
"start": {
"line": 271,
"column": 28
},
"end": {
"line": 271,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 10506,
"end": 10530,
"loc": {
"start": {
"line": 271,
"column": 32
},
"end": {
"line": 271,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 10506,
"end": 10523,
"loc": {
"start": {
"line": 271,
"column": 32
},
"end": {
"line": 271,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 10506,
"end": 10517,
"loc": {
"start": {
"line": 271,
"column": 32
},
"end": {
"line": 271,
"column": 43
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"property": {
"type": "Identifier",
"start": 10518,
"end": 10523,
"loc": {
"start": {
"line": 271,
"column": 44
},
"end": {
"line": 271,
"column": 49
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10524,
"end": 10530,
"loc": {
"start": {
"line": 271,
"column": 50
},
"end": {
"line": 271,
"column": 56
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 10532,
"end": 10535,
"loc": {
"start": {
"line": 271,
"column": 58
},
"end": {
"line": 271,
"column": 61
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 10534,
"end": 10535,
"loc": {
"start": {
"line": 271,
"column": 60
},
"end": {
"line": 271,
"column": 61
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 10537,
"end": 14944,
"loc": {
"start": {
"line": 271,
"column": 63
},
"end": {
"line": 364,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10556,
"end": 10590,
"loc": {
"start": {
"line": 272,
"column": 16
},
"end": {
"line": 272,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10562,
"end": 10589,
"loc": {
"start": {
"line": 272,
"column": 22
},
"end": {
"line": 272,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 10562,
"end": 10566,
"loc": {
"start": {
"line": 272,
"column": 22
},
"end": {
"line": 272,
"column": 26
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 10569,
"end": 10589,
"loc": {
"start": {
"line": 272,
"column": 29
},
"end": {
"line": 272,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 10569,
"end": 10586,
"loc": {
"start": {
"line": 272,
"column": 29
},
"end": {
"line": 272,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 10569,
"end": 10580,
"loc": {
"start": {
"line": 272,
"column": 29
},
"end": {
"line": 272,
"column": 40
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"property": {
"type": "Identifier",
"start": 10581,
"end": 10586,
"loc": {
"start": {
"line": 272,
"column": 41
},
"end": {
"line": 272,
"column": 46
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10587,
"end": 10588,
"loc": {
"start": {
"line": 272,
"column": 47
},
"end": {
"line": 272,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 10608,
"end": 10638,
"loc": {
"start": {
"line": 273,
"column": 16
},
"end": {
"line": 273,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10614,
"end": 10637,
"loc": {
"start": {
"line": 273,
"column": 22
},
"end": {
"line": 273,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 10614,
"end": 10625,
"loc": {
"start": {
"line": 273,
"column": 22
},
"end": {
"line": 273,
"column": 33
},
"identifierName": "ejectedItem"
},
"name": "ejectedItem"
},
"init": {
"type": "MemberExpression",
"start": 10628,
"end": 10637,
"loc": {
"start": {
"line": 273,
"column": 36
},
"end": {
"line": 273,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 10628,
"end": 10632,
"loc": {
"start": {
"line": 273,
"column": 36
},
"end": {
"line": 273,
"column": 40
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 10633,
"end": 10637,
"loc": {
"start": {
"line": 273,
"column": 41
},
"end": {
"line": 273,
"column": 45
},
"identifierName": "item"
},
"name": "item"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 10658,
"end": 10759,
"loc": {
"start": {
"line": 275,
"column": 16
},
"end": {
"line": 278,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 10662,
"end": 10674,
"loc": {
"start": {
"line": 275,
"column": 20
},
"end": {
"line": 275,
"column": 32
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 10663,
"end": 10674,
"loc": {
"start": {
"line": 275,
"column": 21
},
"end": {
"line": 275,
"column": 32
},
"identifierName": "ejectedItem"
},
"name": "ejectedItem"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 10676,
"end": 10759,
"loc": {
"start": {
"line": 275,
"column": 34
},
"end": {
"line": 278,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 10731,
"end": 10740,
"loc": {
"start": {
"line": 277,
"column": 20
},
"end": {
"line": 277,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " No item",
"start": 10699,
"end": 10709,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 30
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 10779,
"end": 10950,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 283,
"column": 17
}
},
"test": {
"type": "LogicalExpression",
"start": 10783,
"end": 10843,
"loc": {
"start": {
"line": 280,
"column": 20
},
"end": {
"line": 280,
"column": 80
}
},
"left": {
"type": "UnaryExpression",
"start": 10783,
"end": 10815,
"loc": {
"start": {
"line": 280,
"column": 20
},
"end": {
"line": 280,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 10784,
"end": 10815,
"loc": {
"start": {
"line": 280,
"column": 21
},
"end": {
"line": 280,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 10784,
"end": 10795,
"loc": {
"start": {
"line": 280,
"column": 21
},
"end": {
"line": 280,
"column": 32
},
"identifierName": "ejectorComp"
},
"name": "ejectorComp"
},
"property": {
"type": "Identifier",
"start": 10796,
"end": 10815,
"loc": {
"start": {
"line": 280,
"column": 33
},
"end": {
"line": 280,
"column": 52
},
"identifierName": "renderFloatingItems"
},
"name": "renderFloatingItems"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 10819,
"end": 10843,
"loc": {
"start": {
"line": 280,
"column": 56
},
"end": {
"line": 280,
"column": 80
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 10820,
"end": 10843,
"loc": {
"start": {
"line": 280,
"column": 57
},
"end": {
"line": 280,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 10820,
"end": 10824,
"loc": {
"start": {
"line": 280,
"column": 57
},
"end": {
"line": 280,
"column": 61
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 10825,
"end": 10843,
"loc": {
"start": {
"line": 280,
"column": 62
},
"end": {
"line": 280,
"column": 80
},
"identifierName": "cachedTargetEntity"
},
"name": "cachedTargetEntity"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10845,
"end": 10950,
"loc": {
"start": {
"line": 280,
"column": 82
},
"end": {
"line": 283,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 10922,
"end": 10931,
"loc": {
"start": {
"line": 282,
"column": 20
},
"end": {
"line": 282,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not connected to any building",
"start": 10868,
"end": 10900,
"loc": {
"start": {
"line": 281,
"column": 20
},
"end": {
"line": 281,
"column": 52
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Limit the progress to the maximum available space on the next belt (also see #1000)",
"start": 10970,
"end": 11056,
"loc": {
"start": {
"line": 285,
"column": 16
},
"end": {
"line": 285,
"column": 102
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 11074,
"end": 11103,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 11078,
"end": 11102,
"loc": {
"start": {
"line": 286,
"column": 20
},
"end": {
"line": 286,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 11078,
"end": 11086,
"loc": {
"start": {
"line": 286,
"column": 20
},
"end": {
"line": 286,
"column": 28
},
"identifierName": "progress"
},
"name": "progress",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 11089,
"end": 11102,
"loc": {
"start": {
"line": 286,
"column": 31
},
"end": {
"line": 286,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 11089,
"end": 11093,
"loc": {
"start": {
"line": 286,
"column": 31
},
"end": {
"line": 286,
"column": 35
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 11094,
"end": 11102,
"loc": {
"start": {
"line": 286,
"column": 36
},
"end": {
"line": 286,
"column": 44
},
"identifierName": "progress"
},
"name": "progress"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentLine",
"value": " Limit the progress to the maximum available space on the next belt (also see #1000)",
"start": 10970,
"end": 11056,
"loc": {
"start": {
"line": 285,
"column": 16
},
"end": {
"line": 285,
"column": 102
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 11121,
"end": 11162,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 11127,
"end": 11161,
"loc": {
"start": {
"line": 287,
"column": 22
},
"end": {
"line": 287,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 11127,
"end": 11139,
"loc": {
"start": {
"line": 287,
"column": 22
},
"end": {
"line": 287,
"column": 34
},
"identifierName": "nextBeltPath"
},
"name": "nextBeltPath"
},
"init": {
"type": "MemberExpression",
"start": 11142,
"end": 11161,
"loc": {
"start": {
"line": 287,
"column": 37
},
"end": {
"line": 287,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 11142,
"end": 11146,
"loc": {
"start": {
"line": 287,
"column": 37
},
"end": {
"line": 287,
"column": 41
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 11147,
"end": 11161,
"loc": {
"start": {
"line": 287,
"column": 42
},
"end": {
"line": 287,
"column": 56
},
"identifierName": "cachedBeltPath"
},
"name": "cachedBeltPath"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 11180,
"end": 13792,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 336,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 11184,
"end": 11196,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 32
},
"identifierName": "nextBeltPath"
},
"name": "nextBeltPath"
},
"consequent": {
"type": "BlockStatement",
"start": 11198,
"end": 13792,
"loc": {
"start": {
"line": 288,
"column": 34
},
"end": {
"line": 336,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 13585,
"end": 13708,
"loc": {
"start": {
"line": 333,
"column": 20
},
"end": {
"line": 334,
"column": 102
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 13591,
"end": 13707,
"loc": {
"start": {
"line": 333,
"column": 26
},
"end": {
"line": 334,
"column": 101
}
},
"id": {
"type": "Identifier",
"start": 13591,
"end": 13602,
"loc": {
"start": {
"line": 333,
"column": 26
},
"end": {
"line": 333,
"column": 37
},
"identifierName": "maxProgress"
},
"name": "maxProgress",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 13630,
"end": 13707,
"loc": {
"start": {
"line": 334,
"column": 24
},
"end": {
"line": 334,
"column": 101
}
},
"left": {
"type": "BinaryExpression",
"start": 13631,
"end": 13702,
"loc": {
"start": {
"line": 334,
"column": 25
},
"end": {
"line": 334,
"column": 96
}
},
"left": {
"type": "BinaryExpression",
"start": 13631,
"end": 13668,
"loc": {
"start": {
"line": 334,
"column": 25
},
"end": {
"line": 334,
"column": 62
}
},
"left": {
"type": "NumericLiteral",
"start": 13631,
"end": 13634,
"loc": {
"start": {
"line": 334,
"column": 25
},
"end": {
"line": 334,
"column": 28
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 13637,
"end": 13668,
"loc": {
"start": {
"line": 334,
"column": 31
},
"end": {
"line": 334,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 13637,
"end": 13649,
"loc": {
"start": {
"line": 334,
"column": 31
},
"end": {
"line": 334,
"column": 43
},
"identifierName": "nextBeltPath"
},
"name": "nextBeltPath"
},
"property": {
"type": "Identifier",
"start": 13650,
"end": 13668,
"loc": {
"start": {
"line": 334,
"column": 44
},
"end": {
"line": 334,
"column": 62
},
"identifierName": "spacingToFirstItem"
},
"name": "spacingToFirstItem"
},
"computed": false
}
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 13671,
"end": 13702,
"loc": {
"start": {
"line": 334,
"column": 65
},
"end": {
"line": 334,
"column": 96
}
},
"object": {
"type": "Identifier",
"start": 13671,
"end": 13683,
"loc": {
"start": {
"line": 334,
"column": 65
},
"end": {
"line": 334,
"column": 77
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 13684,
"end": 13702,
"loc": {
"start": {
"line": 334,
"column": 78
},
"end": {
"line": 334,
"column": 96
},
"identifierName": "itemSpacingOnBelts"
},
"name": "itemSpacingOnBelts"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 13630
}
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 13706,
"end": 13707,
"loc": {
"start": {
"line": 334,
"column": 100
},
"end": {
"line": 334,
"column": 101
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "\r\n If you imagine the track between the center of the building and the center of the first belt as\r\n a range from 0 to 1:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n\r\n And for example the first item on belt has a distance of 0.4 to the beginning of the belt:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ item\r\n\r\n Then the space towards this first item is always 0.5 (the distance from the center of the building to the beginning of the belt)\r\n PLUS the spacing to the item, so in this case 0.5 + 0.4 = 0.9:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ item @ 0.9\r\n\r\n Since items must not get clashed, we need to substract some spacing (lets assume it is 0.6, exact value see globalConfig.itemSpacingOnBelts),\r\n So we do 0.9 - globalConfig.itemSpacingOnBelts = 0.3\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ ^ item @ 0.9\r\n ^ max progress = 0.3\r\n\r\n Because now our range actually only goes to the end of the building, and not towards the center of the building, we need to multiply\r\n all values by 2:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0.........1.........2 |\r\n ^ ^ item @ 1.8\r\n ^ max progress = 0.6\r\n\r\n And that's it! If you summarize the calculations from above into a formula, you get the one below.\r\n ",
"start": 11221,
"end": 13561,
"loc": {
"start": {
"line": 289,
"column": 20
},
"end": {
"line": 331,
"column": 22
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 13730,
"end": 13773,
"loc": {
"start": {
"line": 335,
"column": 20
},
"end": {
"line": 335,
"column": 63
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13730,
"end": 13772,
"loc": {
"start": {
"line": 335,
"column": 20
},
"end": {
"line": 335,
"column": 62
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 13730,
"end": 13738,
"loc": {
"start": {
"line": 335,
"column": 20
},
"end": {
"line": 335,
"column": 28
},
"identifierName": "progress"
},
"name": "progress"
},
"right": {
"type": "CallExpression",
"start": 13741,
"end": 13772,
"loc": {
"start": {
"line": 335,
"column": 31
},
"end": {
"line": 335,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 13741,
"end": 13749,
"loc": {
"start": {
"line": 335,
"column": 31
},
"end": {
"line": 335,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 13741,
"end": 13745,
"loc": {
"start": {
"line": 335,
"column": 31
},
"end": {
"line": 335,
"column": 35
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 13746,
"end": 13749,
"loc": {
"start": {
"line": 335,
"column": 36
},
"end": {
"line": 335,
"column": 39
},
"identifierName": "min"
},
"name": "min"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13750,
"end": 13761,
"loc": {
"start": {
"line": 335,
"column": 40
},
"end": {
"line": 335,
"column": 51
},
"identifierName": "maxProgress"
},
"name": "maxProgress"
},
{
"type": "Identifier",
"start": 13763,
"end": 13771,
"loc": {
"start": {
"line": 335,
"column": 53
},
"end": {
"line": 335,
"column": 61
},
"identifierName": "progress"
},
"name": "progress"
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Skip if the item would barely be visible",
"start": 13812,
"end": 13855,
"loc": {
"start": {
"line": 338,
"column": 16
},
"end": {
"line": 338,
"column": 59
}
}
}
]
},
{
"type": "IfStatement",
"start": 13873,
"end": 13945,
"loc": {
"start": {
"line": 339,
"column": 16
},
"end": {
"line": 341,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 13877,
"end": 13892,
"loc": {
"start": {
"line": 339,
"column": 20
},
"end": {
"line": 339,
"column": 35
}
},
"left": {
"type": "Identifier",
"start": 13877,
"end": 13885,
"loc": {
"start": {
"line": 339,
"column": 20
},
"end": {
"line": 339,
"column": 28
},
"identifierName": "progress"
},
"name": "progress",
"leadingComments": null
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 13888,
"end": 13892,
"loc": {
"start": {
"line": 339,
"column": 31
},
"end": {
"line": 339,
"column": 35
}
},
"extra": {
"rawValue": 0.05,
"raw": "0.05"
},
"value": 0.05
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 13894,
"end": 13945,
"loc": {
"start": {
"line": 339,
"column": 37
},
"end": {
"line": 341,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 13917,
"end": 13926,
"loc": {
"start": {
"line": 340,
"column": 20
},
"end": {
"line": 340,
"column": 29
}
},
"label": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Skip if the item would barely be visible",
"start": 13812,
"end": 13855,
"loc": {
"start": {
"line": 338,
"column": 16
},
"end": {
"line": 338,
"column": 59
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 13965,
"end": 14024,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 13971,
"end": 14023,
"loc": {
"start": {
"line": 343,
"column": 22
},
"end": {
"line": 343,
"column": 74
}
},
"id": {
"type": "Identifier",
"start": 13971,
"end": 13983,
"loc": {
"start": {
"line": 343,
"column": 22
},
"end": {
"line": 343,
"column": 34
},
"identifierName": "realPosition"
},
"name": "realPosition"
},
"init": {
"type": "CallExpression",
"start": 13986,
"end": 14023,
"loc": {
"start": {
"line": 343,
"column": 37
},
"end": {
"line": 343,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 13986,
"end": 14013,
"loc": {
"start": {
"line": 343,
"column": 37
},
"end": {
"line": 343,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 13986,
"end": 13996,
"loc": {
"start": {
"line": 343,
"column": 37
},
"end": {
"line": 343,
"column": 47
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 13997,
"end": 14013,
"loc": {
"start": {
"line": 343,
"column": 48
},
"end": {
"line": 343,
"column": 64
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 14014,
"end": 14022,
"loc": {
"start": {
"line": 343,
"column": 65
},
"end": {
"line": 343,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 14014,
"end": 14018,
"loc": {
"start": {
"line": 343,
"column": 65
},
"end": {
"line": 343,
"column": 69
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 14019,
"end": 14022,
"loc": {
"start": {
"line": 343,
"column": 70
},
"end": {
"line": 343,
"column": 73
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 14042,
"end": 14216,
"loc": {
"start": {
"line": 344,
"column": 16
},
"end": {
"line": 347,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 14046,
"end": 14117,
"loc": {
"start": {
"line": 344,
"column": 20
},
"end": {
"line": 344,
"column": 91
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 14047,
"end": 14117,
"loc": {
"start": {
"line": 344,
"column": 21
},
"end": {
"line": 344,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 14047,
"end": 14085,
"loc": {
"start": {
"line": 344,
"column": 21
},
"end": {
"line": 344,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 14047,
"end": 14071,
"loc": {
"start": {
"line": 344,
"column": 21
},
"end": {
"line": 344,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 14047,
"end": 14052,
"loc": {
"start": {
"line": 344,
"column": 21
},
"end": {
"line": 344,
"column": 26
},
"identifierName": "chunk"
},
"name": "chunk"
},
"property": {
"type": "Identifier",
"start": 14053,
"end": 14071,
"loc": {
"start": {
"line": 344,
"column": 27
},
"end": {
"line": 344,
"column": 45
},
"identifierName": "tileSpaceRectangle"
},
"name": "tileSpaceRectangle"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 14072,
"end": 14085,
"loc": {
"start": {
"line": 344,
"column": 46
},
"end": {
"line": 344,
"column": 59
},
"identifierName": "containsPoint"
},
"name": "containsPoint"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 14086,
"end": 14100,
"loc": {
"start": {
"line": 344,
"column": 60
},
"end": {
"line": 344,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 14086,
"end": 14098,
"loc": {
"start": {
"line": 344,
"column": 60
},
"end": {
"line": 344,
"column": 72
},
"identifierName": "realPosition"
},
"name": "realPosition"
},
"property": {
"type": "Identifier",
"start": 14099,
"end": 14100,
"loc": {
"start": {
"line": 344,
"column": 73
},
"end": {
"line": 344,
"column": 74
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 14102,
"end": 14116,
"loc": {
"start": {
"line": 344,
"column": 76
},
"end": {
"line": 344,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 14102,
"end": 14114,
"loc": {
"start": {
"line": 344,
"column": 76
},
"end": {
"line": 344,
"column": 88
},
"identifierName": "realPosition"
},
"name": "realPosition"
},
"property": {
"type": "Identifier",
"start": 14115,
"end": 14116,
"loc": {
"start": {
"line": 344,
"column": 89
},
"end": {
"line": 344,
"column": 90
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 14119,
"end": 14216,
"loc": {
"start": {
"line": 344,
"column": 93
},
"end": {
"line": 347,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 14188,
"end": 14197,
"loc": {
"start": {
"line": 346,
"column": 20
},
"end": {
"line": 346,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not within this chunk",
"start": 14142,
"end": 14166,
"loc": {
"start": {
"line": 345,
"column": 20
},
"end": {
"line": 345,
"column": 44
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 14236,
"end": 14307,
"loc": {
"start": {
"line": 349,
"column": 16
},
"end": {
"line": 349,
"column": 87
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 14242,
"end": 14306,
"loc": {
"start": {
"line": 349,
"column": 22
},
"end": {
"line": 349,
"column": 86
}
},
"id": {
"type": "Identifier",
"start": 14242,
"end": 14255,
"loc": {
"start": {
"line": 349,
"column": 22
},
"end": {
"line": 349,
"column": 35
},
"identifierName": "realDirection"
},
"name": "realDirection"
},
"init": {
"type": "CallExpression",
"start": 14258,
"end": 14306,
"loc": {
"start": {
"line": 349,
"column": 38
},
"end": {
"line": 349,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 14258,
"end": 14290,
"loc": {
"start": {
"line": 349,
"column": 38
},
"end": {
"line": 349,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 14258,
"end": 14268,
"loc": {
"start": {
"line": 349,
"column": 38
},
"end": {
"line": 349,
"column": 48
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 14269,
"end": 14290,
"loc": {
"start": {
"line": 349,
"column": 49
},
"end": {
"line": 349,
"column": 70
},
"identifierName": "localDirectionToWorld"
},
"name": "localDirectionToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 14291,
"end": 14305,
"loc": {
"start": {
"line": 349,
"column": 71
},
"end": {
"line": 349,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 14291,
"end": 14295,
"loc": {
"start": {
"line": 349,
"column": 71
},
"end": {
"line": 349,
"column": 75
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 14296,
"end": 14305,
"loc": {
"start": {
"line": 349,
"column": 76
},
"end": {
"line": 349,
"column": 85
},
"identifierName": "direction"
},
"name": "direction"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 14325,
"end": 14390,
"loc": {
"start": {
"line": 350,
"column": 16
},
"end": {
"line": 350,
"column": 81
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 14331,
"end": 14389,
"loc": {
"start": {
"line": 350,
"column": 22
},
"end": {
"line": 350,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 14331,
"end": 14350,
"loc": {
"start": {
"line": 350,
"column": 22
},
"end": {
"line": 350,
"column": 41
},
"identifierName": "realDirectionVector"
},
"name": "realDirectionVector"
},
"init": {
"type": "MemberExpression",
"start": 14353,
"end": 14389,
"loc": {
"start": {
"line": 350,
"column": 44
},
"end": {
"line": 350,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 14353,
"end": 14374,
"loc": {
"start": {
"line": 350,
"column": 44
},
"end": {
"line": 350,
"column": 65
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
},
"property": {
"type": "Identifier",
"start": 14375,
"end": 14388,
"loc": {
"start": {
"line": 350,
"column": 66
},
"end": {
"line": 350,
"column": 79
},
"identifierName": "realDirection"
},
"name": "realDirection"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 14410,
"end": 14486,
"loc": {
"start": {
"line": 352,
"column": 16
},
"end": {
"line": 352,
"column": 92
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 14416,
"end": 14485,
"loc": {
"start": {
"line": 352,
"column": 22
},
"end": {
"line": 352,
"column": 91
}
},
"id": {
"type": "Identifier",
"start": 14416,
"end": 14421,
"loc": {
"start": {
"line": 352,
"column": 22
},
"end": {
"line": 352,
"column": 27
},
"identifierName": "tileX"
},
"name": "tileX"
},
"init": {
"type": "BinaryExpression",
"start": 14424,
"end": 14485,
"loc": {
"start": {
"line": 352,
"column": 30
},
"end": {
"line": 352,
"column": 91
}
},
"left": {
"type": "BinaryExpression",
"start": 14424,
"end": 14444,
"loc": {
"start": {
"line": 352,
"column": 30
},
"end": {
"line": 352,
"column": 50
}
},
"left": {
"type": "MemberExpression",
"start": 14424,
"end": 14438,
"loc": {
"start": {
"line": 352,
"column": 30
},
"end": {
"line": 352,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 14424,
"end": 14436,
"loc": {
"start": {
"line": 352,
"column": 30
},
"end": {
"line": 352,
"column": 42
},
"identifierName": "realPosition"
},
"name": "realPosition"
},
"property": {
"type": "Identifier",
"start": 14437,
"end": 14438,
"loc": {
"start": {
"line": 352,
"column": 43
},
"end": {
"line": 352,
"column": 44
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 14441,
"end": 14444,
"loc": {
"start": {
"line": 352,
"column": 47
},
"end": {
"line": 352,
"column": 50
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 14447,
"end": 14485,
"loc": {
"start": {
"line": 352,
"column": 53
},
"end": {
"line": 352,
"column": 91
}
},
"left": {
"type": "BinaryExpression",
"start": 14447,
"end": 14474,
"loc": {
"start": {
"line": 352,
"column": 53
},
"end": {
"line": 352,
"column": 80
}
},
"left": {
"type": "MemberExpression",
"start": 14447,
"end": 14468,
"loc": {
"start": {
"line": 352,
"column": 53
},
"end": {
"line": 352,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 14447,
"end": 14466,
"loc": {
"start": {
"line": 352,
"column": 53
},
"end": {
"line": 352,
"column": 72
},
"identifierName": "realDirectionVector"
},
"name": "realDirectionVector"
},
"property": {
"type": "Identifier",
"start": 14467,
"end": 14468,
"loc": {
"start": {
"line": 352,
"column": 73
},
"end": {
"line": 352,
"column": 74
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 14471,
"end": 14474,
"loc": {
"start": {
"line": 352,
"column": 77
},
"end": {
"line": 352,
"column": 80
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 14477,
"end": 14485,
"loc": {
"start": {
"line": 352,
"column": 83
},
"end": {
"line": 352,
"column": 91
},
"identifierName": "progress"
},
"name": "progress"
}
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 14504,
"end": 14580,
"loc": {
"start": {
"line": 353,
"column": 16
},
"end": {
"line": 353,
"column": 92
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 14510,
"end": 14579,
"loc": {
"start": {
"line": 353,
"column": 22
},
"end": {
"line": 353,
"column": 91
}
},
"id": {
"type": "Identifier",
"start": 14510,
"end": 14515,
"loc": {
"start": {
"line": 353,
"column": 22
},
"end": {
"line": 353,
"column": 27
},
"identifierName": "tileY"
},
"name": "tileY"
},
"init": {
"type": "BinaryExpression",
"start": 14518,
"end": 14579,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 91
}
},
"left": {
"type": "BinaryExpression",
"start": 14518,
"end": 14538,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 50
}
},
"left": {
"type": "MemberExpression",
"start": 14518,
"end": 14532,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 14518,
"end": 14530,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 42
},
"identifierName": "realPosition"
},
"name": "realPosition"
},
"property": {
"type": "Identifier",
"start": 14531,
"end": 14532,
"loc": {
"start": {
"line": 353,
"column": 43
},
"end": {
"line": 353,
"column": 44
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 14535,
"end": 14538,
"loc": {
"start": {
"line": 353,
"column": 47
},
"end": {
"line": 353,
"column": 50
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 14541,
"end": 14579,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 91
}
},
"left": {
"type": "BinaryExpression",
"start": 14541,
"end": 14568,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 80
}
},
"left": {
"type": "MemberExpression",
"start": 14541,
"end": 14562,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 14541,
"end": 14560,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 72
},
"identifierName": "realDirectionVector"
},
"name": "realDirectionVector"
},
"property": {
"type": "Identifier",
"start": 14561,
"end": 14562,
"loc": {
"start": {
"line": 353,
"column": 73
},
"end": {
"line": 353,
"column": 74
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 14565,
"end": 14568,
"loc": {
"start": {
"line": 353,
"column": 77
},
"end": {
"line": 353,
"column": 80
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 14571,
"end": 14579,
"loc": {
"start": {
"line": 353,
"column": 83
},
"end": {
"line": 353,
"column": 91
},
"identifierName": "progress"
},
"name": "progress"
}
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 14600,
"end": 14645,
"loc": {
"start": {
"line": 355,
"column": 16
},
"end": {
"line": 355,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 14606,
"end": 14644,
"loc": {
"start": {
"line": 355,
"column": 22
},
"end": {
"line": 355,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 14606,
"end": 14612,
"loc": {
"start": {
"line": 355,
"column": 22
},
"end": {
"line": 355,
"column": 28
},
"identifierName": "worldX"
},
"name": "worldX"
},
"init": {
"type": "BinaryExpression",
"start": 14615,
"end": 14644,
"loc": {
"start": {
"line": 355,
"column": 31
},
"end": {
"line": 355,
"column": 60
}
},
"left": {
"type": "Identifier",
"start": 14615,
"end": 14620,
"loc": {
"start": {
"line": 355,
"column": 31
},
"end": {
"line": 355,
"column": 36
},
"identifierName": "tileX"
},
"name": "tileX"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 14623,
"end": 14644,
"loc": {
"start": {
"line": 355,
"column": 39
},
"end": {
"line": 355,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 14623,
"end": 14635,
"loc": {
"start": {
"line": 355,
"column": 39
},
"end": {
"line": 355,
"column": 51
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 14636,
"end": 14644,
"loc": {
"start": {
"line": 355,
"column": 52
},
"end": {
"line": 355,
"column": 60
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 14663,
"end": 14708,
"loc": {
"start": {
"line": 356,
"column": 16
},
"end": {
"line": 356,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 14669,
"end": 14707,
"loc": {
"start": {
"line": 356,
"column": 22
},
"end": {
"line": 356,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 14669,
"end": 14675,
"loc": {
"start": {
"line": 356,
"column": 22
},
"end": {
"line": 356,
"column": 28
},
"identifierName": "worldY"
},
"name": "worldY"
},
"init": {
"type": "BinaryExpression",
"start": 14678,
"end": 14707,
"loc": {
"start": {
"line": 356,
"column": 31
},
"end": {
"line": 356,
"column": 60
}
},
"left": {
"type": "Identifier",
"start": 14678,
"end": 14683,
"loc": {
"start": {
"line": 356,
"column": 31
},
"end": {
"line": 356,
"column": 36
},
"identifierName": "tileY"
},
"name": "tileY"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 14686,
"end": 14707,
"loc": {
"start": {
"line": 356,
"column": 39
},
"end": {
"line": 356,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 14686,
"end": 14698,
"loc": {
"start": {
"line": 356,
"column": 39
},
"end": {
"line": 356,
"column": 51
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 14699,
"end": 14707,
"loc": {
"start": {
"line": 356,
"column": 52
},
"end": {
"line": 356,
"column": 60
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 14728,
"end": 14929,
"loc": {
"start": {
"line": 358,
"column": 16
},
"end": {
"line": 363,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 14728,
"end": 14928,
"loc": {
"start": {
"line": 358,
"column": 16
},
"end": {
"line": 363,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 14728,
"end": 14763,
"loc": {
"start": {
"line": 358,
"column": 16
},
"end": {
"line": 358,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 14728,
"end": 14739,
"loc": {
"start": {
"line": 358,
"column": 16
},
"end": {
"line": 358,
"column": 27
},
"identifierName": "ejectedItem"
},
"name": "ejectedItem"
},
"property": {
"type": "Identifier",
"start": 14740,
"end": 14763,
"loc": {
"start": {
"line": 358,
"column": 28
},
"end": {
"line": 358,
"column": 51
},
"identifierName": "drawItemCenteredClipped"
},
"name": "drawItemCenteredClipped"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 14786,
"end": 14792,
"loc": {
"start": {
"line": 359,
"column": 20
},
"end": {
"line": 359,
"column": 26
},
"identifierName": "worldX"
},
"name": "worldX"
},
{
"type": "Identifier",
"start": 14815,
"end": 14821,
"loc": {
"start": {
"line": 360,
"column": 20
},
"end": {
"line": 360,
"column": 26
},
"identifierName": "worldY"
},
"name": "worldY"
},
{
"type": "Identifier",
"start": 14844,
"end": 14854,
"loc": {
"start": {
"line": 361,
"column": 20
},
"end": {
"line": 361,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 14877,
"end": 14909,
"loc": {
"start": {
"line": 362,
"column": 20
},
"end": {
"line": 362,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 14877,
"end": 14889,
"loc": {
"start": {
"line": 362,
"column": 20
},
"end": {
"line": 362,
"column": 32
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 14890,
"end": 14909,
"loc": {
"start": {
"line": 362,
"column": 33
},
"end": {
"line": 362,
"column": 52
},
"identifierName": "defaultItemDiameter"
},
"name": "defaultItemDiameter"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 9804,
"end": 9895,
"loc": {
"start": {
"line": 250,
"column": 4
},
"end": {
"line": 253,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExpressionStatement",
"start": 14969,
"end": 16796,
"loc": {
"start": {
"line": 369,
"column": 0
},
"end": {
"line": 422,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14969,
"end": 16795,
"loc": {
"start": {
"line": 369,
"column": 0
},
"end": {
"line": 422,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14969,
"end": 15012,
"loc": {
"start": {
"line": 369,
"column": 0
},
"end": {
"line": 369,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 14969,
"end": 14986,
"loc": {
"start": {
"line": 369,
"column": 0
},
"end": {
"line": 369,
"column": 17
},
"identifierName": "ItemEjectorSystem"
},
"name": "ItemEjectorSystem"
},
"property": {
"type": "Identifier",
"start": 14987,
"end": 15012,
"loc": {
"start": {
"line": 369,
"column": 18
},
"end": {
"line": 369,
"column": 43
},
"identifierName": "tryPassOverItemComponents"
},
"name": "tryPassOverItemComponents"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 15015,
"end": 16795,
"loc": {
"start": {
"line": 369,
"column": 46
},
"end": {
"line": 422,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 15022,
"end": 15310,
"loc": {
"start": {
"line": 370,
"column": 4
},
"end": {
"line": 378,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 15022,
"end": 15026,
"loc": {
"start": {
"line": 370,
"column": 4
},
"end": {
"line": 370,
"column": 8
},
"identifierName": "Belt"
},
"name": "Belt"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 15028,
"end": 15310,
"loc": {
"start": {
"line": 370,
"column": 10
},
"end": {
"line": 378,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 15029,
"end": 15033,
"loc": {
"start": {
"line": 370,
"column": 11
},
"end": {
"line": 370,
"column": 15
},
"identifierName": "comp"
},
"name": "comp"
},
{
"type": "Identifier",
"start": 15035,
"end": 15039,
"loc": {
"start": {
"line": 370,
"column": 17
},
"end": {
"line": 370,
"column": 21
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 15041,
"end": 15049,
"loc": {
"start": {
"line": 370,
"column": 23
},
"end": {
"line": 370,
"column": 31
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 15051,
"end": 15060,
"loc": {
"start": {
"line": 370,
"column": 33
},
"end": {
"line": 370,
"column": 42
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "Identifier",
"start": 15062,
"end": 15073,
"loc": {
"start": {
"line": 370,
"column": 44
},
"end": {
"line": 370,
"column": 55
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
}
],
"body": {
"type": "BlockStatement",
"start": 15078,
"end": 15310,
"loc": {
"start": {
"line": 370,
"column": 60
},
"end": {
"line": 378,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 15089,
"end": 15120,
"loc": {
"start": {
"line": 371,
"column": 8
},
"end": {
"line": 371,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 15095,
"end": 15119,
"loc": {
"start": {
"line": 371,
"column": 14
},
"end": {
"line": 371,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 15095,
"end": 15099,
"loc": {
"start": {
"line": 371,
"column": 14
},
"end": {
"line": 371,
"column": 18
},
"identifierName": "path"
},
"name": "path"
},
"init": {
"type": "MemberExpression",
"start": 15102,
"end": 15119,
"loc": {
"start": {
"line": 371,
"column": 21
},
"end": {
"line": 371,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 15102,
"end": 15106,
"loc": {
"start": {
"line": 371,
"column": 21
},
"end": {
"line": 371,
"column": 25
},
"identifierName": "comp"
},
"name": "comp"
},
"property": {
"type": "Identifier",
"start": 15107,
"end": 15119,
"loc": {
"start": {
"line": 371,
"column": 26
},
"end": {
"line": 371,
"column": 38
},
"identifierName": "assignedPath"
},
"name": "assignedPath"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 15130,
"end": 15163,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 15130,
"end": 15162,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 15130,
"end": 15136,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 15137,
"end": 15141,
"loc": {
"start": {
"line": 372,
"column": 15
},
"end": {
"line": 372,
"column": 19
},
"identifierName": "path"
},
"name": "path"
},
{
"type": "StringLiteral",
"start": 15143,
"end": 15161,
"loc": {
"start": {
"line": 372,
"column": 21
},
"end": {
"line": 372,
"column": 39
}
},
"extra": {
"rawValue": "belt has no path",
"raw": "\"belt has no path\""
},
"value": "belt has no path"
}
]
}
},
{
"type": "IfStatement",
"start": 15173,
"end": 15241,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 375,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 15177,
"end": 15201,
"loc": {
"start": {
"line": 373,
"column": 12
},
"end": {
"line": 373,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 15177,
"end": 15195,
"loc": {
"start": {
"line": 373,
"column": 12
},
"end": {
"line": 373,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 15177,
"end": 15181,
"loc": {
"start": {
"line": 373,
"column": 12
},
"end": {
"line": 373,
"column": 16
},
"identifierName": "path"
},
"name": "path"
},
"property": {
"type": "Identifier",
"start": 15182,
"end": 15195,
"loc": {
"start": {
"line": 373,
"column": 17
},
"end": {
"line": 373,
"column": 30
},
"identifierName": "tryAcceptItem"
},
"name": "tryAcceptItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 15196,
"end": 15200,
"loc": {
"start": {
"line": 373,
"column": 31
},
"end": {
"line": 373,
"column": 35
},
"identifierName": "item"
},
"name": "item"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 15203,
"end": 15241,
"loc": {
"start": {
"line": 373,
"column": 38
},
"end": {
"line": 375,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 15218,
"end": 15230,
"loc": {
"start": {
"line": 374,
"column": 12
},
"end": {
"line": 374,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 15225,
"end": 15229,
"loc": {
"start": {
"line": 374,
"column": 19
},
"end": {
"line": 374,
"column": 23
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Belt can have nothing else",
"start": 15251,
"end": 15280,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 37
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 15290,
"end": 15303,
"loc": {
"start": {
"line": 377,
"column": 8
},
"end": {
"line": 377,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 15297,
"end": 15302,
"loc": {
"start": {
"line": 377,
"column": 15
},
"end": {
"line": 377,
"column": 20
}
},
"value": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Belt can have nothing else",
"start": 15251,
"end": 15280,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 37
}
}
}
]
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 15319,
"end": 15779,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 392,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 15319,
"end": 15332,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 380,
"column": 17
},
"identifierName": "ItemProcessor"
},
"name": "ItemProcessor"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 15334,
"end": 15779,
"loc": {
"start": {
"line": 380,
"column": 19
},
"end": {
"line": 392,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 15335,
"end": 15339,
"loc": {
"start": {
"line": 380,
"column": 20
},
"end": {
"line": 380,
"column": 24
},
"identifierName": "comp"
},
"name": "comp"
},
{
"type": "Identifier",
"start": 15341,
"end": 15345,
"loc": {
"start": {
"line": 380,
"column": 26
},
"end": {
"line": 380,
"column": 30
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 15347,
"end": 15355,
"loc": {
"start": {
"line": 380,
"column": 32
},
"end": {
"line": 380,
"column": 40
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 15357,
"end": 15366,
"loc": {
"start": {
"line": 380,
"column": 42
},
"end": {
"line": 380,
"column": 51
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "Identifier",
"start": 15368,
"end": 15379,
"loc": {
"start": {
"line": 380,
"column": 53
},
"end": {
"line": 380,
"column": 64
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
}
],
"body": {
"type": "BlockStatement",
"start": 15384,
"end": 15779,
"loc": {
"start": {
"line": 380,
"column": 69
},
"end": {
"line": 392,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 15435,
"end": 15574,
"loc": {
"start": {
"line": 382,
"column": 8
},
"end": {
"line": 384,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 15439,
"end": 15533,
"loc": {
"start": {
"line": 382,
"column": 12
},
"end": {
"line": 382,
"column": 106
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 15440,
"end": 15533,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 106
}
},
"callee": {
"type": "MemberExpression",
"start": 15440,
"end": 15506,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 15440,
"end": 15488,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 15440,
"end": 15474,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 15440,
"end": 15466,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 15440,
"end": 15456,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 15440,
"end": 15451,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 24
},
"identifierName": "itemEjector"
},
"name": "itemEjector",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15452,
"end": 15456,
"loc": {
"start": {
"line": 382,
"column": 25
},
"end": {
"line": 382,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15457,
"end": 15466,
"loc": {
"start": {
"line": 382,
"column": 30
},
"end": {
"line": 382,
"column": 39
},
"identifierName": "systemMgr"
},
"name": "systemMgr"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15467,
"end": 15474,
"loc": {
"start": {
"line": 382,
"column": 40
},
"end": {
"line": 382,
"column": 47
},
"identifierName": "systems"
},
"name": "systems"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15475,
"end": 15488,
"loc": {
"start": {
"line": 382,
"column": 48
},
"end": {
"line": 382,
"column": 61
},
"identifierName": "itemProcessor"
},
"name": "itemProcessor"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15489,
"end": 15506,
"loc": {
"start": {
"line": 382,
"column": 62
},
"end": {
"line": 382,
"column": 79
},
"identifierName": "checkRequirements"
},
"name": "checkRequirements"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 15507,
"end": 15515,
"loc": {
"start": {
"line": 382,
"column": 80
},
"end": {
"line": 382,
"column": 88
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 15517,
"end": 15521,
"loc": {
"start": {
"line": 382,
"column": 90
},
"end": {
"line": 382,
"column": 94
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 15523,
"end": 15532,
"loc": {
"start": {
"line": 382,
"column": 96
},
"end": {
"line": 382,
"column": 105
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
}
],
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 15535,
"end": 15574,
"loc": {
"start": {
"line": 382,
"column": 108
},
"end": {
"line": 384,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 15550,
"end": 15563,
"loc": {
"start": {
"line": 383,
"column": 12
},
"end": {
"line": 383,
"column": 25
}
},
"argument": {
"type": "BooleanLiteral",
"start": 15557,
"end": 15562,
"loc": {
"start": {
"line": 383,
"column": 19
},
"end": {
"line": 383,
"column": 24
}
},
"value": false
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for potential filters",
"start": 15395,
"end": 15425,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 38
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Its an item processor ..",
"start": 15586,
"end": 15613,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 35
}
}
}
]
},
{
"type": "IfStatement",
"start": 15623,
"end": 15700,
"loc": {
"start": {
"line": 387,
"column": 8
},
"end": {
"line": 389,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 15627,
"end": 15660,
"loc": {
"start": {
"line": 387,
"column": 12
},
"end": {
"line": 387,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 15627,
"end": 15643,
"loc": {
"start": {
"line": 387,
"column": 12
},
"end": {
"line": 387,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 15627,
"end": 15631,
"loc": {
"start": {
"line": 387,
"column": 12
},
"end": {
"line": 387,
"column": 16
},
"identifierName": "comp"
},
"name": "comp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15632,
"end": 15643,
"loc": {
"start": {
"line": 387,
"column": 17
},
"end": {
"line": 387,
"column": 28
},
"identifierName": "tryTakeItem"
},
"name": "tryTakeItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 15644,
"end": 15648,
"loc": {
"start": {
"line": 387,
"column": 29
},
"end": {
"line": 387,
"column": 33
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 15650,
"end": 15659,
"loc": {
"start": {
"line": 387,
"column": 35
},
"end": {
"line": 387,
"column": 44
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 15662,
"end": 15700,
"loc": {
"start": {
"line": 387,
"column": 47
},
"end": {
"line": 389,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 15677,
"end": 15689,
"loc": {
"start": {
"line": 388,
"column": 12
},
"end": {
"line": 388,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 15684,
"end": 15688,
"loc": {
"start": {
"line": 388,
"column": 19
},
"end": {
"line": 388,
"column": 23
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Its an item processor ..",
"start": 15586,
"end": 15613,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 35
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Item processor can have nothing else",
"start": 15710,
"end": 15749,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 47
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 15759,
"end": 15772,
"loc": {
"start": {
"line": 391,
"column": 8
},
"end": {
"line": 391,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 15766,
"end": 15771,
"loc": {
"start": {
"line": 391,
"column": 15
},
"end": {
"line": 391,
"column": 20
}
},
"value": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Item processor can have nothing else",
"start": 15710,
"end": 15749,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 47
}
}
}
]
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 15788,
"end": 16124,
"loc": {
"start": {
"line": 394,
"column": 4
},
"end": {
"line": 402,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 15788,
"end": 15803,
"loc": {
"start": {
"line": 394,
"column": 4
},
"end": {
"line": 394,
"column": 19
},
"identifierName": "UndergroundBelt"
},
"name": "UndergroundBelt"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 15805,
"end": 16124,
"loc": {
"start": {
"line": 394,
"column": 21
},
"end": {
"line": 402,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 15806,
"end": 15810,
"loc": {
"start": {
"line": 394,
"column": 22
},
"end": {
"line": 394,
"column": 26
},
"identifierName": "comp"
},
"name": "comp"
},
{
"type": "Identifier",
"start": 15812,
"end": 15816,
"loc": {
"start": {
"line": 394,
"column": 28
},
"end": {
"line": 394,
"column": 32
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 15818,
"end": 15826,
"loc": {
"start": {
"line": 394,
"column": 34
},
"end": {
"line": 394,
"column": 42
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 15828,
"end": 15837,
"loc": {
"start": {
"line": 394,
"column": 44
},
"end": {
"line": 394,
"column": 53
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "Identifier",
"start": 15839,
"end": 15850,
"loc": {
"start": {
"line": 394,
"column": 55
},
"end": {
"line": 394,
"column": 66
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
}
],
"body": {
"type": "BlockStatement",
"start": 15855,
"end": 16124,
"loc": {
"start": {
"line": 394,
"column": 71
},
"end": {
"line": 402,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 15908,
"end": 16041,
"loc": {
"start": {
"line": 396,
"column": 8
},
"end": {
"line": 398,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 15912,
"end": 16001,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 101
}
},
"callee": {
"type": "MemberExpression",
"start": 15912,
"end": 15938,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 15912,
"end": 15916,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 16
},
"identifierName": "comp"
},
"name": "comp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 15917,
"end": 15938,
"loc": {
"start": {
"line": 396,
"column": 17
},
"end": {
"line": 396,
"column": 38
},
"identifierName": "tryAcceptExternalItem"
},
"name": "tryAcceptExternalItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 15939,
"end": 15943,
"loc": {
"start": {
"line": 396,
"column": 39
},
"end": {
"line": 396,
"column": 43
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "CallExpression",
"start": 15945,
"end": 16000,
"loc": {
"start": {
"line": 396,
"column": 45
},
"end": {
"line": 396,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 15945,
"end": 15998,
"loc": {
"start": {
"line": 396,
"column": 45
},
"end": {
"line": 396,
"column": 98
}
},
"object": {
"type": "MemberExpression",
"start": 15945,
"end": 15970,
"loc": {
"start": {
"line": 396,
"column": 45
},
"end": {
"line": 396,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 15945,
"end": 15961,
"loc": {
"start": {
"line": 396,
"column": 45
},
"end": {
"line": 396,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 15945,
"end": 15956,
"loc": {
"start": {
"line": 396,
"column": 45
},
"end": {
"line": 396,
"column": 56
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
},
"property": {
"type": "Identifier",
"start": 15957,
"end": 15961,
"loc": {
"start": {
"line": 396,
"column": 57
},
"end": {
"line": 396,
"column": 61
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 15962,
"end": 15970,
"loc": {
"start": {
"line": 396,
"column": 62
},
"end": {
"line": 396,
"column": 70
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 15971,
"end": 15998,
"loc": {
"start": {
"line": 396,
"column": 71
},
"end": {
"line": 396,
"column": 98
},
"identifierName": "getUndergroundBeltBaseSpeed"
},
"name": "getUndergroundBeltBaseSpeed"
},
"computed": false
},
"arguments": []
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 16003,
"end": 16041,
"loc": {
"start": {
"line": 396,
"column": 103
},
"end": {
"line": 398,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 16018,
"end": 16030,
"loc": {
"start": {
"line": 397,
"column": 12
},
"end": {
"line": 397,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 16025,
"end": 16029,
"loc": {
"start": {
"line": 397,
"column": 19
},
"end": {
"line": 397,
"column": 23
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Its an underground belt. yay.",
"start": 15866,
"end": 15898,
"loc": {
"start": {
"line": 395,
"column": 8
},
"end": {
"line": 395,
"column": 40
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Underground belt can have nothing else",
"start": 16053,
"end": 16094,
"loc": {
"start": {
"line": 400,
"column": 8
},
"end": {
"line": 400,
"column": 49
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 16104,
"end": 16117,
"loc": {
"start": {
"line": 401,
"column": 8
},
"end": {
"line": 401,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 16111,
"end": 16116,
"loc": {
"start": {
"line": 401,
"column": 15
},
"end": {
"line": 401,
"column": 20
}
},
"value": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Underground belt can have nothing else",
"start": 16053,
"end": 16094,
"loc": {
"start": {
"line": 400,
"column": 8
},
"end": {
"line": 400,
"column": 49
}
}
}
]
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 16133,
"end": 16409,
"loc": {
"start": {
"line": 404,
"column": 4
},
"end": {
"line": 413,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 16133,
"end": 16140,
"loc": {
"start": {
"line": 404,
"column": 4
},
"end": {
"line": 404,
"column": 11
},
"identifierName": "Storage"
},
"name": "Storage"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 16142,
"end": 16409,
"loc": {
"start": {
"line": 404,
"column": 13
},
"end": {
"line": 413,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 16143,
"end": 16147,
"loc": {
"start": {
"line": 404,
"column": 14
},
"end": {
"line": 404,
"column": 18
},
"identifierName": "comp"
},
"name": "comp"
},
{
"type": "Identifier",
"start": 16149,
"end": 16153,
"loc": {
"start": {
"line": 404,
"column": 20
},
"end": {
"line": 404,
"column": 24
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 16155,
"end": 16163,
"loc": {
"start": {
"line": 404,
"column": 26
},
"end": {
"line": 404,
"column": 34
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 16165,
"end": 16174,
"loc": {
"start": {
"line": 404,
"column": 36
},
"end": {
"line": 404,
"column": 45
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "Identifier",
"start": 16176,
"end": 16187,
"loc": {
"start": {
"line": 404,
"column": 47
},
"end": {
"line": 404,
"column": 58
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
}
],
"body": {
"type": "BlockStatement",
"start": 16192,
"end": 16409,
"loc": {
"start": {
"line": 404,
"column": 63
},
"end": {
"line": 413,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 16230,
"end": 16332,
"loc": {
"start": {
"line": 406,
"column": 8
},
"end": {
"line": 409,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 16234,
"end": 16258,
"loc": {
"start": {
"line": 406,
"column": 12
},
"end": {
"line": 406,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 16234,
"end": 16252,
"loc": {
"start": {
"line": 406,
"column": 12
},
"end": {
"line": 406,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 16234,
"end": 16238,
"loc": {
"start": {
"line": 406,
"column": 12
},
"end": {
"line": 406,
"column": 16
},
"identifierName": "comp"
},
"name": "comp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 16239,
"end": 16252,
"loc": {
"start": {
"line": 406,
"column": 17
},
"end": {
"line": 406,
"column": 30
},
"identifierName": "canAcceptItem"
},
"name": "canAcceptItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 16253,
"end": 16257,
"loc": {
"start": {
"line": 406,
"column": 31
},
"end": {
"line": 406,
"column": 35
},
"identifierName": "item"
},
"name": "item"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 16260,
"end": 16332,
"loc": {
"start": {
"line": 406,
"column": 38
},
"end": {
"line": 409,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 16275,
"end": 16295,
"loc": {
"start": {
"line": 407,
"column": 12
},
"end": {
"line": 407,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 16275,
"end": 16294,
"loc": {
"start": {
"line": 407,
"column": 12
},
"end": {
"line": 407,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 16275,
"end": 16288,
"loc": {
"start": {
"line": 407,
"column": 12
},
"end": {
"line": 407,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 16275,
"end": 16279,
"loc": {
"start": {
"line": 407,
"column": 12
},
"end": {
"line": 407,
"column": 16
},
"identifierName": "comp"
},
"name": "comp"
},
"property": {
"type": "Identifier",
"start": 16280,
"end": 16288,
"loc": {
"start": {
"line": 407,
"column": 17
},
"end": {
"line": 407,
"column": 25
},
"identifierName": "takeItem"
},
"name": "takeItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 16289,
"end": 16293,
"loc": {
"start": {
"line": 407,
"column": 26
},
"end": {
"line": 407,
"column": 30
},
"identifierName": "item"
},
"name": "item"
}
]
}
},
{
"type": "ReturnStatement",
"start": 16309,
"end": 16321,
"loc": {
"start": {
"line": 408,
"column": 12
},
"end": {
"line": 408,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 16316,
"end": 16320,
"loc": {
"start": {
"line": 408,
"column": 19
},
"end": {
"line": 408,
"column": 23
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " It's a storage",
"start": 16203,
"end": 16220,
"loc": {
"start": {
"line": 405,
"column": 8
},
"end": {
"line": 405,
"column": 25
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Storage can't have anything else",
"start": 16344,
"end": 16379,
"loc": {
"start": {
"line": 411,
"column": 8
},
"end": {
"line": 411,
"column": 43
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 16389,
"end": 16402,
"loc": {
"start": {
"line": 412,
"column": 8
},
"end": {
"line": 412,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 16396,
"end": 16401,
"loc": {
"start": {
"line": 412,
"column": 15
},
"end": {
"line": 412,
"column": 20
}
},
"value": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Storage can't have anything else",
"start": 16344,
"end": 16379,
"loc": {
"start": {
"line": 411,
"column": 8
},
"end": {
"line": 411,
"column": 43
}
}
}
]
}
],
"directives": []
}
}
},
{
"type": "ObjectProperty",
"start": 16418,
"end": 16791,
"loc": {
"start": {
"line": 415,
"column": 4
},
"end": {
"line": 421,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 16418,
"end": 16424,
"loc": {
"start": {
"line": 415,
"column": 4
},
"end": {
"line": 415,
"column": 10
},
"identifierName": "Filter"
},
"name": "Filter"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 16426,
"end": 16791,
"loc": {
"start": {
"line": 415,
"column": 12
},
"end": {
"line": 421,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 16427,
"end": 16431,
"loc": {
"start": {
"line": 415,
"column": 13
},
"end": {
"line": 415,
"column": 17
},
"identifierName": "comp"
},
"name": "comp"
},
{
"type": "Identifier",
"start": 16433,
"end": 16437,
"loc": {
"start": {
"line": 415,
"column": 19
},
"end": {
"line": 415,
"column": 23
},
"identifierName": "item"
},
"name": "item"
},
{
"type": "Identifier",
"start": 16439,
"end": 16447,
"loc": {
"start": {
"line": 415,
"column": 25
},
"end": {
"line": 415,
"column": 33
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 16449,
"end": 16458,
"loc": {
"start": {
"line": 415,
"column": 35
},
"end": {
"line": 415,
"column": 44
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "Identifier",
"start": 16460,
"end": 16471,
"loc": {
"start": {
"line": 415,
"column": 46
},
"end": {
"line": 415,
"column": 57
},
"identifierName": "itemEjector"
},
"name": "itemEjector"
}
],
"body": {
"type": "BlockStatement",
"start": 16476,
"end": 16791,
"loc": {
"start": {
"line": 415,
"column": 62
},
"end": {
"line": 421,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 16658,
"end": 16784,
"loc": {
"start": {
"line": 418,
"column": 8
},
"end": {
"line": 420,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 16662,
"end": 16744,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 94
}
},
"callee": {
"type": "MemberExpression",
"start": 16662,
"end": 16717,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 16662,
"end": 16703,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 16662,
"end": 16696,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 16662,
"end": 16688,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 16662,
"end": 16678,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 16662,
"end": 16673,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 23
},
"identifierName": "itemEjector"
},
"name": "itemEjector",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 16674,
"end": 16678,
"loc": {
"start": {
"line": 418,
"column": 24
},
"end": {
"line": 418,
"column": 28
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 16679,
"end": 16688,
"loc": {
"start": {
"line": 418,
"column": 29
},
"end": {
"line": 418,
"column": 38
},
"identifierName": "systemMgr"
},
"name": "systemMgr"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 16689,
"end": 16696,
"loc": {
"start": {
"line": 418,
"column": 39
},
"end": {
"line": 418,
"column": 46
},
"identifierName": "systems"
},
"name": "systems"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 16697,
"end": 16703,
"loc": {
"start": {
"line": 418,
"column": 47
},
"end": {
"line": 418,
"column": 53
},
"identifierName": "filter"
},
"name": "filter"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 16704,
"end": 16717,
"loc": {
"start": {
"line": 418,
"column": 54
},
"end": {
"line": 418,
"column": 67
},
"identifierName": "tryAcceptItem"
},
"name": "tryAcceptItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 16718,
"end": 16726,
"loc": {
"start": {
"line": 418,
"column": 68
},
"end": {
"line": 418,
"column": 76
},
"identifierName": "receiver"
},
"name": "receiver"
},
{
"type": "Identifier",
"start": 16728,
"end": 16737,
"loc": {
"start": {
"line": 418,
"column": 78
},
"end": {
"line": 418,
"column": 87
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
{
"type": "Identifier",
"start": 16739,
"end": 16743,
"loc": {
"start": {
"line": 418,
"column": 89
},
"end": {
"line": 418,
"column": 93
},
"identifierName": "item"
},
"name": "item"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 16746,
"end": 16784,
"loc": {
"start": {
"line": 418,
"column": 96
},
"end": {
"line": 420,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 16761,
"end": 16773,
"loc": {
"start": {
"line": 419,
"column": 12
},
"end": {
"line": 419,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 16768,
"end": 16772,
"loc": {
"start": {
"line": 419,
"column": 19
},
"end": {
"line": 419,
"column": 23
}
},
"value": true
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " It's a filter! Unfortunately the filter has to know a lot about it's",
"start": 16487,
"end": 16558,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 79
}
}
},
{
"type": "CommentLine",
"value": " surrounding state and components, so it can't be within the component itself.",
"start": 16568,
"end": 16648,
"loc": {
"start": {
"line": 417,
"column": 8
},
"end": {
"line": 417,
"column": 88
}
}
}
]
}
],
"directives": []
}
}
}
]
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes an area after it changed\r\n * @param {Rectangle} area\r\n ",
"start": 1454,
"end": 1542,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 42,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Set<number>} ",
"start": 1579,
"end": 1605,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " @NOTICE: Item ejector currently only supports regular layer",
"start": 1838,
"end": 1900,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 78
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes the whole cache after the game has loaded\r\n ",
"start": 2320,
"end": 2393,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n ",
"start": 2674,
"end": 2717,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Clear the old cache.",
"start": 3049,
"end": 3072,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " Figure out where and into which direction we eject items",
"start": 3236,
"end": 3295,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " Try to find the given acceptor component to take the item",
"start": 3678,
"end": 3738,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Since there can be cross layer dependencies, check on all layers",
"start": 3752,
"end": 3819,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 79
}
}
},
{
"type": "CommentLine",
"value": " Check for belts (special case)",
"start": 4294,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " Check for item acceptors",
"start": 4802,
"end": 4829,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 43
}
}
},
{
"type": "CommentLine",
"value": " Entity doesn't accept items",
"start": 4977,
"end": 5007,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " No matching slot found",
"start": 5377,
"end": 5402,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 45
}
}
},
{
"type": "CommentLine",
"value": " A slot can always be connected to one other slot only",
"start": 5472,
"end": 5528,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Precompute effective belt speed",
"start": 5781,
"end": 5815,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Go over all cache entries",
"start": 6007,
"end": 6035,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " No item available to be ejected",
"start": 6480,
"end": 6514,
"loc": {
"start": {
"line": 162,
"column": 20
},
"end": {
"line": 162,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " Advance items on the slot",
"start": 6584,
"end": 6612,
"loc": {
"start": {
"line": 166,
"column": 16
},
"end": {
"line": 166,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Check if we are still in the process of ejecting, can't proceed then",
"start": 7089,
"end": 7160,
"loc": {
"start": {
"line": 179,
"column": 16
},
"end": {
"line": 179,
"column": 87
}
}
},
{
"type": "CommentLine",
"value": " Check if we are ejecting to a belt path",
"start": 7280,
"end": 7322,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 58
}
}
},
{
"type": "CommentLine",
"value": " Try passing the item over",
"start": 7438,
"end": 7466,
"loc": {
"start": {
"line": 187,
"column": 20
},
"end": {
"line": 187,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Always stop here, since there can *either* be a belt path *or*",
"start": 7619,
"end": 7684,
"loc": {
"start": {
"line": 192,
"column": 20
},
"end": {
"line": 192,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " a slot",
"start": 7706,
"end": 7715,
"loc": {
"start": {
"line": 193,
"column": 20
},
"end": {
"line": 193,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Check if the target acceptor can actually accept this item",
"start": 7785,
"end": 7846,
"loc": {
"start": {
"line": 197,
"column": 16
},
"end": {
"line": 197,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " Try to hand over the item",
"start": 8257,
"end": 8285,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 206,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Handover successful, clear slot",
"start": 8394,
"end": 8428,
"loc": {
"start": {
"line": 208,
"column": 24
},
"end": {
"line": 208,
"column": 58
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {BaseItem} item\r\n * @param {Entity} receiver\r\n * @param {number} slotIndex\r\n ",
"start": 8955,
"end": 9073,
"loc": {
"start": {
"line": 224,
"column": 4
},
"end": {
"line": 229,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Try figuring out how what to do with the item",
"start": 9133,
"end": 9181,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 231,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " @TODO: Kinda hacky. How to solve this properly? Don't want to go through inheritance hell.",
"start": 9191,
"end": 9284,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 101
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 9804,
"end": 9895,
"loc": {
"start": {
"line": 250,
"column": 4
},
"end": {
"line": 253,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Disabled in potato mode",
"start": 10040,
"end": 10066,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": " No item",
"start": 10699,
"end": 10709,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " Not connected to any building",
"start": 10868,
"end": 10900,
"loc": {
"start": {
"line": 281,
"column": 20
},
"end": {
"line": 281,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " Limit the progress to the maximum available space on the next belt (also see #1000)",
"start": 10970,
"end": 11056,
"loc": {
"start": {
"line": 285,
"column": 16
},
"end": {
"line": 285,
"column": 102
}
}
},
{
"type": "CommentBlock",
"value": "\r\n If you imagine the track between the center of the building and the center of the first belt as\r\n a range from 0 to 1:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n\r\n And for example the first item on belt has a distance of 0.4 to the beginning of the belt:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ item\r\n\r\n Then the space towards this first item is always 0.5 (the distance from the center of the building to the beginning of the belt)\r\n PLUS the spacing to the item, so in this case 0.5 + 0.4 = 0.9:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ item @ 0.9\r\n\r\n Since items must not get clashed, we need to substract some spacing (lets assume it is 0.6, exact value see globalConfig.itemSpacingOnBelts),\r\n So we do 0.9 - globalConfig.itemSpacingOnBelts = 0.3\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ ^ item @ 0.9\r\n ^ max progress = 0.3\r\n\r\n Because now our range actually only goes to the end of the building, and not towards the center of the building, we need to multiply\r\n all values by 2:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0.........1.........2 |\r\n ^ ^ item @ 1.8\r\n ^ max progress = 0.6\r\n\r\n And that's it! If you summarize the calculations from above into a formula, you get the one below.\r\n ",
"start": 11221,
"end": 13561,
"loc": {
"start": {
"line": 289,
"column": 20
},
"end": {
"line": 331,
"column": 22
}
}
},
{
"type": "CommentLine",
"value": " Skip if the item would barely be visible",
"start": 13812,
"end": 13855,
"loc": {
"start": {
"line": 338,
"column": 16
},
"end": {
"line": 338,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " Not within this chunk",
"start": 14142,
"end": 14166,
"loc": {
"start": {
"line": 345,
"column": 20
},
"end": {
"line": 345,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Belt can have nothing else",
"start": 15251,
"end": 15280,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 37
}
}
},
{
"type": "CommentLine",
"value": " Check for potential filters",
"start": 15395,
"end": 15425,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": " Its an item processor ..",
"start": 15586,
"end": 15613,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " Item processor can have nothing else",
"start": 15710,
"end": 15749,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Its an underground belt. yay.",
"start": 15866,
"end": 15898,
"loc": {
"start": {
"line": 395,
"column": 8
},
"end": {
"line": 395,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " Underground belt can have nothing else",
"start": 16053,
"end": 16094,
"loc": {
"start": {
"line": 400,
"column": 8
},
"end": {
"line": 400,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " It's a storage",
"start": 16203,
"end": 16220,
"loc": {
"start": {
"line": 405,
"column": 8
},
"end": {
"line": 405,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Storage can't have anything else",
"start": 16344,
"end": 16379,
"loc": {
"start": {
"line": 411,
"column": 8
},
"end": {
"line": 411,
"column": 43
}
}
},
{
"type": "CommentLine",
"value": " It's a filter! Unfortunately the filter has to know a lot about it's",
"start": 16487,
"end": 16558,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 79
}
}
},
{
"type": "CommentLine",
"value": " surrounding state and components, so it can't be within the component itself.",
"start": 16568,
"end": 16648,
"loc": {
"start": {
"line": 417,
"column": 8
},
"end": {
"line": 417,
"column": 88
}
}
}
],
"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": "globalConfig",
"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/config",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 48,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 49
}
}
},
{
"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": 51,
"end": 57,
"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": 58,
"end": 59,
"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": "DrawParameters",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 75,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 77,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/draw_parameters",
"start": 82,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 110,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 59
},
"end": {
"line": 2,
"column": 60
}
}
},
{
"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": 113,
"end": 119,
"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": 120,
"end": 121,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 122,
"end": 134,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 135,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 22
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 137,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/logging",
"start": 142,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 162,
"end": 163,
"loc": {
"start": {
"line": 3,
"column": 49
},
"end": {
"line": 3,
"column": 50
}
}
},
{
"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": 165,
"end": 171,
"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": 172,
"end": 173,
"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": "Rectangle",
"start": 174,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 184,
"end": 185,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 186,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/rectangle",
"start": 191,
"end": 213,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 213,
"end": 214,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 49
}
}
},
{
"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": 216,
"end": 222,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 223,
"end": 224,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaleAreaDetector",
"start": 225,
"end": 242,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 243,
"end": 244,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 245,
"end": 249,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/stale_area_detector",
"start": 250,
"end": 282,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 282,
"end": 283,
"loc": {
"start": {
"line": 5,
"column": 66
},
"end": {
"line": 5,
"column": 67
}
}
},
{
"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": 285,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 292,
"end": 293,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 294,
"end": 307,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 307,
"end": 308,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirectionToVector",
"start": 309,
"end": 330,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 6,
"column": 46
},
"end": {
"line": 6,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 333,
"end": 337,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/vector",
"start": 338,
"end": 357,
"loc": {
"start": {
"line": 6,
"column": 53
},
"end": {
"line": 6,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 357,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 72
},
"end": {
"line": 6,
"column": 73
}
}
},
{
"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": 360,
"end": 366,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 367,
"end": 368,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseItem",
"start": 369,
"end": 377,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 378,
"end": 379,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 380,
"end": 384,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../base_item",
"start": 385,
"end": 399,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 399,
"end": 400,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
"line": 7,
"column": 40
}
}
},
{
"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": 402,
"end": 408,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 409,
"end": 410,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BeltComponent",
"start": 411,
"end": 424,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 425,
"end": 426,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 427,
"end": 431,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/belt",
"start": 432,
"end": 452,
"loc": {
"start": {
"line": 8,
"column": 30
},
"end": {
"line": 8,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 8,
"column": 50
},
"end": {
"line": 8,
"column": 51
}
}
},
{
"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": 455,
"end": 461,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemAcceptorComponent",
"start": 464,
"end": 485,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 486,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 488,
"end": 492,
"loc": {
"start": {
"line": 9,
"column": 33
},
"end": {
"line": 9,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/item_acceptor",
"start": 493,
"end": 522,
"loc": {
"start": {
"line": 9,
"column": 38
},
"end": {
"line": 9,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 522,
"end": 523,
"loc": {
"start": {
"line": 9,
"column": 67
},
"end": {
"line": 9,
"column": 68
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 525,
"end": 531,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 532,
"end": 533,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorComponent",
"start": 534,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 555,
"end": 556,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 557,
"end": 561,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/item_ejector",
"start": 562,
"end": 590,
"loc": {
"start": {
"line": 10,
"column": 37
},
"end": {
"line": 10,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 590,
"end": 591,
"loc": {
"start": {
"line": 10,
"column": 65
},
"end": {
"line": 10,
"column": 66
}
}
},
{
"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": 593,
"end": 599,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 600,
"end": 601,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Entity",
"start": 602,
"end": 608,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 611,
"end": 615,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../entity",
"start": 616,
"end": 627,
"loc": {
"start": {
"line": 11,
"column": 23
},
"end": {
"line": 11,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 627,
"end": 628,
"loc": {
"start": {
"line": 11,
"column": 34
},
"end": {
"line": 11,
"column": 35
}
}
},
{
"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": 630,
"end": 636,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 639,
"end": 659,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 662,
"end": 666,
"loc": {
"start": {
"line": 12,
"column": 32
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game_system_with_filter",
"start": 667,
"end": 695,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 12,
"column": 65
},
"end": {
"line": 12,
"column": 66
}
}
},
{
"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": 698,
"end": 704,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 707,
"end": 719,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 722,
"end": 726,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../map_chunk_view",
"start": 727,
"end": 746,
"loc": {
"start": {
"line": 13,
"column": 29
},
"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": 746,
"end": 747,
"loc": {
"start": {
"line": 13,
"column": 48
},
"end": {
"line": 13,
"column": 49
}
}
},
{
"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": 751,
"end": 756,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 757,
"end": 763,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 764,
"end": 765,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 766,
"end": 778,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 15,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 15,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "systems/ejector",
"start": 779,
"end": 796,
"loc": {
"start": {
"line": 15,
"column": 28
},
"end": {
"line": 15,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 796,
"end": 797,
"loc": {
"start": {
"line": 15,
"column": 45
},
"end": {
"line": 15,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 797,
"end": 798,
"loc": {
"start": {
"line": 15,
"column": 46
},
"end": {
"line": 15,
"column": 47
}
}
},
{
"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": 802,
"end": 808,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"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": 809,
"end": 814,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorSystem",
"start": 815,
"end": 832,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"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": 833,
"end": 840,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 841,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 862,
"end": 863,
"loc": {
"start": {
"line": 17,
"column": 60
},
"end": {
"line": 17,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 869,
"end": 880,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 880,
"end": 881,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 881,
"end": 885,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 885,
"end": 886,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 898,
"end": 903,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 904,
"end": 908,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 908,
"end": 909,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 910,
"end": 911,
"loc": {
"start": {
"line": 19,
"column": 20
},
"end": {
"line": 19,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorComponent",
"start": 911,
"end": 931,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 41
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 19,
"column": 42
},
"end": {
"line": 19,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 933,
"end": 934,
"loc": {
"start": {
"line": 19,
"column": 43
},
"end": {
"line": 19,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 946,
"end": 950,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 950,
"end": 951,
"loc": {
"start": {
"line": 21,
"column": 12
},
"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": "staleAreaDetector",
"start": 951,
"end": 968,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"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": 971,
"end": 974,
"loc": {
"start": {
"line": 21,
"column": 33
},
"end": {
"line": 21,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaleAreaDetector",
"start": 975,
"end": 992,
"loc": {
"start": {
"line": 21,
"column": 37
},
"end": {
"line": 21,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 992,
"end": 993,
"loc": {
"start": {
"line": 21,
"column": 54
},
"end": {
"line": 21,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 993,
"end": 994,
"loc": {
"start": {
"line": 21,
"column": 55
},
"end": {
"line": 21,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1008,
"end": 1012,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1012,
"end": 1013,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1014,
"end": 1018,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1018,
"end": 1019,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1019,
"end": 1023,
"loc": {
"start": {
"line": 22,
"column": 23
},
"end": {
"line": 22,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1023,
"end": 1024,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 22,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 1038,
"end": 1042,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1042,
"end": 1043,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "item-ejector",
"start": 1044,
"end": 1058,
"loc": {
"start": {
"line": 23,
"column": 18
},
"end": {
"line": 23,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1058,
"end": 1059,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeMethod",
"start": 1073,
"end": 1088,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1088,
"end": 1089,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"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": 1090,
"end": 1094,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 24,
"column": 33
},
"end": {
"line": 24,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeArea",
"start": 1095,
"end": 1108,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 24,
"column": 47
},
"end": {
"line": 24,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1109,
"end": 1113,
"loc": {
"start": {
"line": 24,
"column": 48
},
"end": {
"line": 24,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 24,
"column": 52
},
"end": {
"line": 24,
"column": 53
}
}
},
{
"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": 1114,
"end": 1118,
"loc": {
"start": {
"line": 24,
"column": 53
},
"end": {
"line": 24,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1118,
"end": 1119,
"loc": {
"start": {
"line": 24,
"column": 57
},
"end": {
"line": 24,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1119,
"end": 1120,
"loc": {
"start": {
"line": 24,
"column": 58
},
"end": {
"line": 24,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1131,
"end": 1132,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1132,
"end": 1133,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 11
}
}
},
{
"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": 1145,
"end": 1149,
"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": 1149,
"end": 1150,
"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": "staleAreaDetector",
"start": 1150,
"end": 1167,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1167,
"end": 1168,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeOnComponentsChanged",
"start": 1168,
"end": 1196,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1196,
"end": 1197,
"loc": {
"start": {
"line": 27,
"column": 59
},
"end": {
"line": 27,
"column": 60
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1211,
"end": 1212,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorComponent",
"start": 1212,
"end": 1232,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1232,
"end": 1233,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemAcceptorComponent",
"start": 1234,
"end": 1255,
"loc": {
"start": {
"line": 28,
"column": 35
},
"end": {
"line": 28,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1255,
"end": 1256,
"loc": {
"start": {
"line": 28,
"column": 56
},
"end": {
"line": 28,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BeltComponent",
"start": 1257,
"end": 1270,
"loc": {
"start": {
"line": 28,
"column": 58
},
"end": {
"line": 28,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1270,
"end": 1271,
"loc": {
"start": {
"line": 28,
"column": 71
},
"end": {
"line": 28,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 28,
"column": 72
},
"end": {
"line": 28,
"column": 73
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1298,
"end": 1299,
"loc": {
"start": {
"line": 30,
"column": 9
},
"end": {
"line": 30,
"column": 10
}
}
},
{
"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": 1311,
"end": 1315,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1315,
"end": 1316,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1316,
"end": 1320,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1320,
"end": 1321,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1321,
"end": 1328,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1328,
"end": 1329,
"loc": {
"start": {
"line": 32,
"column": 25
},
"end": {
"line": 32,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "postLoadHook",
"start": 1329,
"end": 1341,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1341,
"end": 1342,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1342,
"end": 1345,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1345,
"end": 1346,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 43
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1346,
"end": 1350,
"loc": {
"start": {
"line": 32,
"column": 43
},
"end": {
"line": 32,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1350,
"end": 1351,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeCacheFull",
"start": 1351,
"end": 1369,
"loc": {
"start": {
"line": 32,
"column": 48
},
"end": {
"line": 32,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 32,
"column": 66
},
"end": {
"line": 32,
"column": 67
}
}
},
{
"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": 1371,
"end": 1375,
"loc": {
"start": {
"line": 32,
"column": 68
},
"end": {
"line": 32,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1375,
"end": 1376,
"loc": {
"start": {
"line": 32,
"column": 72
},
"end": {
"line": 32,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1376,
"end": 1377,
"loc": {
"start": {
"line": 32,
"column": 73
},
"end": {
"line": 32,
"column": 74
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 1392,
"end": 1398,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 1399,
"end": 1404,
"loc": {
"start": {
"line": 35,
"column": 11
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1404,
"end": 1405,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1405,
"end": 1406,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"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": 1418,
"end": 1424,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "itemEjector",
"start": 1425,
"end": 1438,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1438,
"end": 1439,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1445,
"end": 1446,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes an area after it changed\r\n * @param {Rectangle} area\r\n ",
"start": 1454,
"end": 1542,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 42,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeArea",
"start": 1548,
"end": 1561,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1561,
"end": 1562,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "area",
"start": 1562,
"end": 1566,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1566,
"end": 1567,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1568,
"end": 1569,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Set<number>} ",
"start": 1579,
"end": 1605,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"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": 1615,
"end": 1620,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 1621,
"end": 1629,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1630,
"end": 1631,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"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": 1632,
"end": 1635,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Set",
"start": 1636,
"end": 1639,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1639,
"end": 1640,
"loc": {
"start": {
"line": 45,
"column": 32
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1640,
"end": 1641,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1641,
"end": 1642,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"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": 1652,
"end": 1655,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1656,
"end": 1657,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"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": 1657,
"end": 1660,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1661,
"end": 1662,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1663,
"end": 1664,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"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": 1665,
"end": 1666,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1666,
"end": 1667,
"loc": {
"start": {
"line": 46,
"column": 22
},
"end": {
"line": 46,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1668,
"end": 1669,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1670,
"end": 1671,
"loc": {
"start": {
"line": 46,
"column": 26
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "area",
"start": 1672,
"end": 1676,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1676,
"end": 1677,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 1677,
"end": 1678,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1678,
"end": 1679,
"loc": {
"start": {
"line": 46,
"column": 34
},
"end": {
"line": 46,
"column": 35
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1680,
"end": 1682,
"loc": {
"start": {
"line": 46,
"column": 36
},
"end": {
"line": 46,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1682,
"end": 1683,
"loc": {
"start": {
"line": 46,
"column": 38
},
"end": {
"line": 46,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1683,
"end": 1684,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1685,
"end": 1686,
"loc": {
"start": {
"line": 46,
"column": 41
},
"end": {
"line": 46,
"column": 42
}
}
},
{
"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": 1700,
"end": 1703,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1704,
"end": 1705,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 17
}
}
},
{
"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": 1705,
"end": 1708,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1709,
"end": 1710,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1711,
"end": 1712,
"loc": {
"start": {
"line": 47,
"column": 23
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1713,
"end": 1714,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1714,
"end": 1715,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1718,
"end": 1719,
"loc": {
"start": {
"line": 47,
"column": 30
},
"end": {
"line": 47,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "area",
"start": 1720,
"end": 1724,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1724,
"end": 1725,
"loc": {
"start": {
"line": 47,
"column": 36
},
"end": {
"line": 47,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 1725,
"end": 1726,
"loc": {
"start": {
"line": 47,
"column": 37
},
"end": {
"line": 47,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1726,
"end": 1727,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 39
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1728,
"end": 1730,
"loc": {
"start": {
"line": 47,
"column": 40
},
"end": {
"line": 47,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1730,
"end": 1731,
"loc": {
"start": {
"line": 47,
"column": 42
},
"end": {
"line": 47,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1731,
"end": 1732,
"loc": {
"start": {
"line": 47,
"column": 43
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1733,
"end": 1734,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 46
}
}
},
{
"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": 1752,
"end": 1757,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileX",
"start": 1758,
"end": 1763,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1764,
"end": 1765,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "area",
"start": 1766,
"end": 1770,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1770,
"end": 1771,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1771,
"end": 1772,
"loc": {
"start": {
"line": 48,
"column": 35
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1773,
"end": 1774,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1775,
"end": 1776,
"loc": {
"start": {
"line": 48,
"column": 39
},
"end": {
"line": 48,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1776,
"end": 1777,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 41
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1795,
"end": 1800,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileY",
"start": 1801,
"end": 1806,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "area",
"start": 1809,
"end": 1813,
"loc": {
"start": {
"line": 49,
"column": 30
},
"end": {
"line": 49,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1813,
"end": 1814,
"loc": {
"start": {
"line": 49,
"column": 34
},
"end": {
"line": 49,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1814,
"end": 1815,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 36
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1816,
"end": 1817,
"loc": {
"start": {
"line": 49,
"column": 37
},
"end": {
"line": 49,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1818,
"end": 1819,
"loc": {
"start": {
"line": 49,
"column": 39
},
"end": {
"line": 49,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1819,
"end": 1820,
"loc": {
"start": {
"line": 49,
"column": 40
},
"end": {
"line": 49,
"column": 41
}
}
},
{
"type": "CommentLine",
"value": " @NOTICE: Item ejector currently only supports regular layer",
"start": 1838,
"end": 1900,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 78
}
}
},
{
"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": 1918,
"end": 1923,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1924,
"end": 1932,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1933,
"end": 1934,
"loc": {
"start": {
"line": 51,
"column": 31
},
"end": {
"line": 51,
"column": 32
}
}
},
{
"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": 1935,
"end": 1939,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 51,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1940,
"end": 1944,
"loc": {
"start": {
"line": 51,
"column": 38
},
"end": {
"line": 51,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1944,
"end": 1945,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 1945,
"end": 1948,
"loc": {
"start": {
"line": 51,
"column": 43
},
"end": {
"line": 51,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1948,
"end": 1949,
"loc": {
"start": {
"line": 51,
"column": 46
},
"end": {
"line": 51,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayerContentXY",
"start": 1949,
"end": 1966,
"loc": {
"start": {
"line": 51,
"column": 47
},
"end": {
"line": 51,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1966,
"end": 1967,
"loc": {
"start": {
"line": 51,
"column": 64
},
"end": {
"line": 51,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileX",
"start": 1967,
"end": 1972,
"loc": {
"start": {
"line": 51,
"column": 65
},
"end": {
"line": 51,
"column": 70
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1972,
"end": 1973,
"loc": {
"start": {
"line": 51,
"column": 70
},
"end": {
"line": 51,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileY",
"start": 1974,
"end": 1979,
"loc": {
"start": {
"line": 51,
"column": 72
},
"end": {
"line": 51,
"column": 77
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1979,
"end": 1980,
"loc": {
"start": {
"line": 51,
"column": 77
},
"end": {
"line": 51,
"column": 78
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 1981,
"end": 1990,
"loc": {
"start": {
"line": 51,
"column": 79
},
"end": {
"line": 51,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1990,
"end": 1991,
"loc": {
"start": {
"line": 51,
"column": 88
},
"end": {
"line": 51,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1991,
"end": 1992,
"loc": {
"start": {
"line": 51,
"column": 89
},
"end": {
"line": 51,
"column": 90
}
}
},
{
"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": 2010,
"end": 2012,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 18
}
}
},
{
"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": 52,
"column": 19
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2014,
"end": 2022,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 28
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 2023,
"end": 2025,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2026,
"end": 2034,
"loc": {
"start": {
"line": 52,
"column": 32
},
"end": {
"line": 52,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2034,
"end": 2035,
"loc": {
"start": {
"line": 52,
"column": 40
},
"end": {
"line": 52,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2035,
"end": 2045,
"loc": {
"start": {
"line": 52,
"column": 41
},
"end": {
"line": 52,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2045,
"end": 2046,
"loc": {
"start": {
"line": 52,
"column": 51
},
"end": {
"line": 52,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 2046,
"end": 2057,
"loc": {
"start": {
"line": 52,
"column": 52
},
"end": {
"line": 52,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2057,
"end": 2058,
"loc": {
"start": {
"line": 52,
"column": 63
},
"end": {
"line": 52,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2059,
"end": 2060,
"loc": {
"start": {
"line": 52,
"column": 65
},
"end": {
"line": 52,
"column": 66
}
}
},
{
"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": 2082,
"end": 2084,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2085,
"end": 2086,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2086,
"end": 2087,
"loc": {
"start": {
"line": 53,
"column": 24
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 2087,
"end": 2095,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2095,
"end": 2096,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 2096,
"end": 2099,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2099,
"end": 2100,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2100,
"end": 2108,
"loc": {
"start": {
"line": 53,
"column": 38
},
"end": {
"line": 53,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2108,
"end": 2109,
"loc": {
"start": {
"line": 53,
"column": 46
},
"end": {
"line": 53,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2109,
"end": 2112,
"loc": {
"start": {
"line": 53,
"column": 47
},
"end": {
"line": 53,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2112,
"end": 2113,
"loc": {
"start": {
"line": 53,
"column": 50
},
"end": {
"line": 53,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2113,
"end": 2114,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2115,
"end": 2116,
"loc": {
"start": {
"line": 53,
"column": 53
},
"end": {
"line": 53,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 2142,
"end": 2150,
"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,
"updateContext": null
},
"start": 2150,
"end": 2151,
"loc": {
"start": {
"line": 54,
"column": 32
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2151,
"end": 2154,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2154,
"end": 2155,
"loc": {
"start": {
"line": 54,
"column": 36
},
"end": {
"line": 54,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2155,
"end": 2163,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2163,
"end": 2164,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2164,
"end": 2167,
"loc": {
"start": {
"line": 54,
"column": 46
},
"end": {
"line": 54,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2167,
"end": 2168,
"loc": {
"start": {
"line": 54,
"column": 49
},
"end": {
"line": 54,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2168,
"end": 2169,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 51
}
}
},
{
"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": 2195,
"end": 2199,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2199,
"end": 2200,
"loc": {
"start": {
"line": 55,
"column": 28
},
"end": {
"line": 55,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeSingleEntityCache",
"start": 2200,
"end": 2226,
"loc": {
"start": {
"line": 55,
"column": 29
},
"end": {
"line": 55,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2226,
"end": 2227,
"loc": {
"start": {
"line": 55,
"column": 55
},
"end": {
"line": 55,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2227,
"end": 2235,
"loc": {
"start": {
"line": 55,
"column": 56
},
"end": {
"line": 55,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2235,
"end": 2236,
"loc": {
"start": {
"line": 55,
"column": 64
},
"end": {
"line": 55,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 55,
"column": 65
},
"end": {
"line": 55,
"column": 66
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2259,
"end": 2260,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2278,
"end": 2279,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2293,
"end": 2294,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2304,
"end": 2305,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2311,
"end": 2312,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Recomputes the whole cache after the game has loaded\r\n ",
"start": 2320,
"end": 2393,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeCacheFull",
"start": 2399,
"end": 2417,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2417,
"end": 2418,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2418,
"end": 2419,
"loc": {
"start": {
"line": 65,
"column": 23
},
"end": {
"line": 65,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2420,
"end": 2421,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 65,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 2431,
"end": 2437,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2437,
"end": 2438,
"loc": {
"start": {
"line": 66,
"column": 14
},
"end": {
"line": 66,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 2438,
"end": 2441,
"loc": {
"start": {
"line": 66,
"column": 15
},
"end": {
"line": 66,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2441,
"end": 2442,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 19
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Full cache recompute in post load hook",
"start": 2442,
"end": 2482,
"loc": {
"start": {
"line": 66,
"column": 19
},
"end": {
"line": 66,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2482,
"end": 2483,
"loc": {
"start": {
"line": 66,
"column": 59
},
"end": {
"line": 66,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2483,
"end": 2484,
"loc": {
"start": {
"line": 66,
"column": 60
},
"end": {
"line": 66,
"column": 61
}
}
},
{
"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": 2494,
"end": 2497,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"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": 2499,
"end": 2502,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2503,
"end": 2504,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2505,
"end": 2506,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"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": 2507,
"end": 2508,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 67,
"column": 22
},
"end": {
"line": 67,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2510,
"end": 2511,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2512,
"end": 2513,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 27
}
}
},
{
"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": 2514,
"end": 2518,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2518,
"end": 2519,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 2519,
"end": 2530,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2530,
"end": 2531,
"loc": {
"start": {
"line": 67,
"column": 44
},
"end": {
"line": 67,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2531,
"end": 2537,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2537,
"end": 2538,
"loc": {
"start": {
"line": 67,
"column": 51
},
"end": {
"line": 67,
"column": 52
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2539,
"end": 2541,
"loc": {
"start": {
"line": 67,
"column": 53
},
"end": {
"line": 67,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2541,
"end": 2542,
"loc": {
"start": {
"line": 67,
"column": 55
},
"end": {
"line": 67,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2542,
"end": 2543,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2544,
"end": 2545,
"loc": {
"start": {
"line": 67,
"column": 58
},
"end": {
"line": 67,
"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": 2559,
"end": 2564,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2565,
"end": 2571,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2572,
"end": 2573,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2574,
"end": 2578,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2578,
"end": 2579,
"loc": {
"start": {
"line": 68,
"column": 31
},
"end": {
"line": 68,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 2579,
"end": 2590,
"loc": {
"start": {
"line": 68,
"column": 32
},
"end": {
"line": 68,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2590,
"end": 2591,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2591,
"end": 2592,
"loc": {
"start": {
"line": 68,
"column": 44
},
"end": {
"line": 68,
"column": 45
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2592,
"end": 2593,
"loc": {
"start": {
"line": 68,
"column": 45
},
"end": {
"line": 68,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2593,
"end": 2594,
"loc": {
"start": {
"line": 68,
"column": 46
},
"end": {
"line": 68,
"column": 47
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2608,
"end": 2612,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2612,
"end": 2613,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeSingleEntityCache",
"start": 2613,
"end": 2639,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2639,
"end": 2640,
"loc": {
"start": {
"line": 69,
"column": 43
},
"end": {
"line": 69,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2640,
"end": 2646,
"loc": {
"start": {
"line": 69,
"column": 44
},
"end": {
"line": 69,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2646,
"end": 2647,
"loc": {
"start": {
"line": 69,
"column": 50
},
"end": {
"line": 69,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2647,
"end": 2648,
"loc": {
"start": {
"line": 69,
"column": 51
},
"end": {
"line": 69,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2658,
"end": 2659,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2665,
"end": 2666,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n ",
"start": 2674,
"end": 2717,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeSingleEntityCache",
"start": 2723,
"end": 2749,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2749,
"end": 2750,
"loc": {
"start": {
"line": 76,
"column": 30
},
"end": {
"line": 76,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2750,
"end": 2756,
"loc": {
"start": {
"line": 76,
"column": 31
},
"end": {
"line": 76,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2756,
"end": 2757,
"loc": {
"start": {
"line": 76,
"column": 37
},
"end": {
"line": 76,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2758,
"end": 2759,
"loc": {
"start": {
"line": 76,
"column": 39
},
"end": {
"line": 76,
"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": 2769,
"end": 2774,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 2775,
"end": 2786,
"loc": {
"start": {
"line": 77,
"column": 14
},
"end": {
"line": 77,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2787,
"end": 2788,
"loc": {
"start": {
"line": 77,
"column": 26
},
"end": {
"line": 77,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2789,
"end": 2795,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2795,
"end": 2796,
"loc": {
"start": {
"line": 77,
"column": 34
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2796,
"end": 2806,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2806,
"end": 2807,
"loc": {
"start": {
"line": 77,
"column": 45
},
"end": {
"line": 77,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 2807,
"end": 2818,
"loc": {
"start": {
"line": 77,
"column": 46
},
"end": {
"line": 77,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2818,
"end": 2819,
"loc": {
"start": {
"line": 77,
"column": 57
},
"end": {
"line": 77,
"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": 2829,
"end": 2834,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2835,
"end": 2845,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2846,
"end": 2847,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2848,
"end": 2854,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2854,
"end": 2855,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2855,
"end": 2865,
"loc": {
"start": {
"line": 78,
"column": 34
},
"end": {
"line": 78,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2865,
"end": 2866,
"loc": {
"start": {
"line": 78,
"column": 44
},
"end": {
"line": 78,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 2866,
"end": 2881,
"loc": {
"start": {
"line": 78,
"column": 45
},
"end": {
"line": 78,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 78,
"column": 60
},
"end": {
"line": 78,
"column": 61
}
}
},
{
"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": 2894,
"end": 2897,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2898,
"end": 2899,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"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": 2899,
"end": 2902,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 2903,
"end": 2912,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2913,
"end": 2914,
"loc": {
"start": {
"line": 80,
"column": 27
},
"end": {
"line": 80,
"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": 2915,
"end": 2916,
"loc": {
"start": {
"line": 80,
"column": 29
},
"end": {
"line": 80,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2916,
"end": 2917,
"loc": {
"start": {
"line": 80,
"column": 30
},
"end": {
"line": 80,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 2918,
"end": 2927,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 41
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2928,
"end": 2929,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 2930,
"end": 2941,
"loc": {
"start": {
"line": 80,
"column": 44
},
"end": {
"line": 80,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2941,
"end": 2942,
"loc": {
"start": {
"line": 80,
"column": 55
},
"end": {
"line": 80,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 2942,
"end": 2947,
"loc": {
"start": {
"line": 80,
"column": 56
},
"end": {
"line": 80,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2947,
"end": 2948,
"loc": {
"start": {
"line": 80,
"column": 61
},
"end": {
"line": 80,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2948,
"end": 2954,
"loc": {
"start": {
"line": 80,
"column": 62
},
"end": {
"line": 80,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2954,
"end": 2955,
"loc": {
"start": {
"line": 80,
"column": 68
},
"end": {
"line": 80,
"column": 69
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2956,
"end": 2958,
"loc": {
"start": {
"line": 80,
"column": 70
},
"end": {
"line": 80,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 2958,
"end": 2967,
"loc": {
"start": {
"line": 80,
"column": 72
},
"end": {
"line": 80,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2967,
"end": 2968,
"loc": {
"start": {
"line": 80,
"column": 81
},
"end": {
"line": 80,
"column": 82
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2969,
"end": 2970,
"loc": {
"start": {
"line": 80,
"column": 83
},
"end": {
"line": 80,
"column": 84
}
}
},
{
"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": 2984,
"end": 2989,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 2990,
"end": 3001,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3002,
"end": 3003,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 3004,
"end": 3015,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3015,
"end": 3016,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 3016,
"end": 3021,
"loc": {
"start": {
"line": 81,
"column": 44
},
"end": {
"line": 81,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3021,
"end": 3022,
"loc": {
"start": {
"line": 81,
"column": 49
},
"end": {
"line": 81,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 3022,
"end": 3031,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 59
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3031,
"end": 3032,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3032,
"end": 3033,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": " Clear the old cache.",
"start": 3049,
"end": 3072,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 3086,
"end": 3097,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3097,
"end": 3098,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedDestSlot",
"start": 3098,
"end": 3112,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3113,
"end": 3114,
"loc": {
"start": {
"line": 84,
"column": 39
},
"end": {
"line": 84,
"column": 40
}
}
},
{
"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": 3115,
"end": 3119,
"loc": {
"start": {
"line": 84,
"column": 41
},
"end": {
"line": 84,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3119,
"end": 3120,
"loc": {
"start": {
"line": 84,
"column": 45
},
"end": {
"line": 84,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 3134,
"end": 3145,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"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": 23
},
"end": {
"line": 85,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedTargetEntity",
"start": 3146,
"end": 3164,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 42
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3165,
"end": 3166,
"loc": {
"start": {
"line": 85,
"column": 43
},
"end": {
"line": 85,
"column": 44
}
}
},
{
"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": 3167,
"end": 3171,
"loc": {
"start": {
"line": 85,
"column": 45
},
"end": {
"line": 85,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3171,
"end": 3172,
"loc": {
"start": {
"line": 85,
"column": 49
},
"end": {
"line": 85,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 3186,
"end": 3197,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3197,
"end": 3198,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBeltPath",
"start": 3198,
"end": 3212,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3213,
"end": 3214,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 40
}
}
},
{
"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": 3215,
"end": 3219,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3219,
"end": 3220,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " Figure out where and into which direction we eject items",
"start": 3236,
"end": 3295,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 71
}
}
},
{
"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": 3309,
"end": 3314,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsTile",
"start": 3315,
"end": 3330,
"loc": {
"start": {
"line": 89,
"column": 18
},
"end": {
"line": 89,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3331,
"end": 3332,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 3333,
"end": 3343,
"loc": {
"start": {
"line": 89,
"column": 36
},
"end": {
"line": 89,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3343,
"end": 3344,
"loc": {
"start": {
"line": 89,
"column": 46
},
"end": {
"line": 89,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 3344,
"end": 3360,
"loc": {
"start": {
"line": 89,
"column": 47
},
"end": {
"line": 89,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3360,
"end": 3361,
"loc": {
"start": {
"line": 89,
"column": 63
},
"end": {
"line": 89,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 3361,
"end": 3372,
"loc": {
"start": {
"line": 89,
"column": 64
},
"end": {
"line": 89,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3372,
"end": 3373,
"loc": {
"start": {
"line": 89,
"column": 75
},
"end": {
"line": 89,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 3373,
"end": 3376,
"loc": {
"start": {
"line": 89,
"column": 76
},
"end": {
"line": 89,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3376,
"end": 3377,
"loc": {
"start": {
"line": 89,
"column": 79
},
"end": {
"line": 89,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3377,
"end": 3378,
"loc": {
"start": {
"line": 89,
"column": 80
},
"end": {
"line": 89,
"column": 81
}
}
},
{
"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": 3392,
"end": 3397,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsDirection",
"start": 3398,
"end": 3418,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3419,
"end": 3420,
"loc": {
"start": {
"line": 90,
"column": 39
},
"end": {
"line": 90,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 3421,
"end": 3431,
"loc": {
"start": {
"line": 90,
"column": 41
},
"end": {
"line": 90,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3431,
"end": 3432,
"loc": {
"start": {
"line": 90,
"column": 51
},
"end": {
"line": 90,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localDirectionToWorld",
"start": 3432,
"end": 3453,
"loc": {
"start": {
"line": 90,
"column": 52
},
"end": {
"line": 90,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3453,
"end": 3454,
"loc": {
"start": {
"line": 90,
"column": 73
},
"end": {
"line": 90,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 3454,
"end": 3465,
"loc": {
"start": {
"line": 90,
"column": 74
},
"end": {
"line": 90,
"column": 85
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3465,
"end": 3466,
"loc": {
"start": {
"line": 90,
"column": 85
},
"end": {
"line": 90,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 3466,
"end": 3475,
"loc": {
"start": {
"line": 90,
"column": 86
},
"end": {
"line": 90,
"column": 95
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3475,
"end": 3476,
"loc": {
"start": {
"line": 90,
"column": 95
},
"end": {
"line": 90,
"column": 96
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3476,
"end": 3477,
"loc": {
"start": {
"line": 90,
"column": 96
},
"end": {
"line": 90,
"column": 97
}
}
},
{
"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": 3491,
"end": 3496,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsDirectionVector",
"start": 3497,
"end": 3523,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3524,
"end": 3525,
"loc": {
"start": {
"line": 91,
"column": 45
},
"end": {
"line": 91,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirectionToVector",
"start": 3526,
"end": 3547,
"loc": {
"start": {
"line": 91,
"column": 47
},
"end": {
"line": 91,
"column": 68
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3547,
"end": 3548,
"loc": {
"start": {
"line": 91,
"column": 68
},
"end": {
"line": 91,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsDirection",
"start": 3548,
"end": 3568,
"loc": {
"start": {
"line": 91,
"column": 69
},
"end": {
"line": 91,
"column": 89
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3568,
"end": 3569,
"loc": {
"start": {
"line": 91,
"column": 89
},
"end": {
"line": 91,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3569,
"end": 3570,
"loc": {
"start": {
"line": 91,
"column": 90
},
"end": {
"line": 91,
"column": 91
}
}
},
{
"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": 3584,
"end": 3589,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotTargetWsTile",
"start": 3590,
"end": 3611,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3612,
"end": 3613,
"loc": {
"start": {
"line": 92,
"column": 40
},
"end": {
"line": 92,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsTile",
"start": 3614,
"end": 3629,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3629,
"end": 3630,
"loc": {
"start": {
"line": 92,
"column": 57
},
"end": {
"line": 92,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 3630,
"end": 3633,
"loc": {
"start": {
"line": 92,
"column": 58
},
"end": {
"line": 92,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3633,
"end": 3634,
"loc": {
"start": {
"line": 92,
"column": 61
},
"end": {
"line": 92,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsDirectionVector",
"start": 3634,
"end": 3660,
"loc": {
"start": {
"line": 92,
"column": 62
},
"end": {
"line": 92,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3660,
"end": 3661,
"loc": {
"start": {
"line": 92,
"column": 88
},
"end": {
"line": 92,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3661,
"end": 3662,
"loc": {
"start": {
"line": 92,
"column": 89
},
"end": {
"line": 92,
"column": 90
}
}
},
{
"type": "CommentLine",
"value": " Try to find the given acceptor component to take the item",
"start": 3678,
"end": 3738,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Since there can be cross layer dependencies, check on all layers",
"start": 3752,
"end": 3819,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 79
}
}
},
{
"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": 3833,
"end": 3838,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntities",
"start": 3839,
"end": 3853,
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 96,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3854,
"end": 3855,
"loc": {
"start": {
"line": 96,
"column": 33
},
"end": {
"line": 96,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3856,
"end": 3860,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3860,
"end": 3861,
"loc": {
"start": {
"line": 96,
"column": 39
},
"end": {
"line": 96,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3861,
"end": 3865,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3865,
"end": 3866,
"loc": {
"start": {
"line": 96,
"column": 44
},
"end": {
"line": 96,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 3866,
"end": 3869,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3869,
"end": 3870,
"loc": {
"start": {
"line": 96,
"column": 48
},
"end": {
"line": 96,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayersContentsMultipleXY",
"start": 3870,
"end": 3897,
"loc": {
"start": {
"line": 96,
"column": 49
},
"end": {
"line": 96,
"column": 76
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3897,
"end": 3898,
"loc": {
"start": {
"line": 96,
"column": 76
},
"end": {
"line": 96,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotTargetWsTile",
"start": 3916,
"end": 3937,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3937,
"end": 3938,
"loc": {
"start": {
"line": 97,
"column": 37
},
"end": {
"line": 97,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3938,
"end": 3939,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3939,
"end": 3940,
"loc": {
"start": {
"line": 97,
"column": 39
},
"end": {
"line": 97,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotTargetWsTile",
"start": 3958,
"end": 3979,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3979,
"end": 3980,
"loc": {
"start": {
"line": 98,
"column": 37
},
"end": {
"line": 98,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3980,
"end": 3981,
"loc": {
"start": {
"line": 98,
"column": 38
},
"end": {
"line": 98,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3995,
"end": 3996,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3996,
"end": 3997,
"loc": {
"start": {
"line": 99,
"column": 13
},
"end": {
"line": 99,
"column": 14
}
}
},
{
"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": 4013,
"end": 4016,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4017,
"end": 4018,
"loc": {
"start": {
"line": 101,
"column": 16
},
"end": {
"line": 101,
"column": 17
}
}
},
{
"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": 4018,
"end": 4021,
"loc": {
"start": {
"line": 101,
"column": 17
},
"end": {
"line": 101,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4022,
"end": 4023,
"loc": {
"start": {
"line": 101,
"column": 21
},
"end": {
"line": 101,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4024,
"end": 4025,
"loc": {
"start": {
"line": 101,
"column": 23
},
"end": {
"line": 101,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4026,
"end": 4027,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4027,
"end": 4028,
"loc": {
"start": {
"line": 101,
"column": 26
},
"end": {
"line": 101,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4029,
"end": 4030,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 4031,
"end": 4032,
"loc": {
"start": {
"line": 101,
"column": 30
},
"end": {
"line": 101,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntities",
"start": 4033,
"end": 4047,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4047,
"end": 4048,
"loc": {
"start": {
"line": 101,
"column": 46
},
"end": {
"line": 101,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4048,
"end": 4054,
"loc": {
"start": {
"line": 101,
"column": 47
},
"end": {
"line": 101,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4054,
"end": 4055,
"loc": {
"start": {
"line": 101,
"column": 53
},
"end": {
"line": 101,
"column": 54
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 4056,
"end": 4058,
"loc": {
"start": {
"line": 101,
"column": 55
},
"end": {
"line": 101,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4058,
"end": 4059,
"loc": {
"start": {
"line": 101,
"column": 57
},
"end": {
"line": 101,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4059,
"end": 4060,
"loc": {
"start": {
"line": 101,
"column": 58
},
"end": {
"line": 101,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4061,
"end": 4062,
"loc": {
"start": {
"line": 101,
"column": 60
},
"end": {
"line": 101,
"column": 61
}
}
},
{
"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": 4080,
"end": 4085,
"loc": {
"start": {
"line": 102,
"column": 16
},
"end": {
"line": 102,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 4086,
"end": 4098,
"loc": {
"start": {
"line": 102,
"column": 22
},
"end": {
"line": 102,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4099,
"end": 4100,
"loc": {
"start": {
"line": 102,
"column": 35
},
"end": {
"line": 102,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntities",
"start": 4101,
"end": 4115,
"loc": {
"start": {
"line": 102,
"column": 37
},
"end": {
"line": 102,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4115,
"end": 4116,
"loc": {
"start": {
"line": 102,
"column": 51
},
"end": {
"line": 102,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4116,
"end": 4117,
"loc": {
"start": {
"line": 102,
"column": 52
},
"end": {
"line": 102,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4117,
"end": 4118,
"loc": {
"start": {
"line": 102,
"column": 53
},
"end": {
"line": 102,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4118,
"end": 4119,
"loc": {
"start": {
"line": 102,
"column": 54
},
"end": {
"line": 102,
"column": 55
}
}
},
{
"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": 4139,
"end": 4144,
"loc": {
"start": {
"line": 104,
"column": 16
},
"end": {
"line": 104,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetStaticComp",
"start": 4145,
"end": 4161,
"loc": {
"start": {
"line": 104,
"column": 22
},
"end": {
"line": 104,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4162,
"end": 4163,
"loc": {
"start": {
"line": 104,
"column": 39
},
"end": {
"line": 104,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 4164,
"end": 4176,
"loc": {
"start": {
"line": 104,
"column": 41
},
"end": {
"line": 104,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4176,
"end": 4177,
"loc": {
"start": {
"line": 104,
"column": 53
},
"end": {
"line": 104,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4177,
"end": 4187,
"loc": {
"start": {
"line": 104,
"column": 54
},
"end": {
"line": 104,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4187,
"end": 4188,
"loc": {
"start": {
"line": 104,
"column": 64
},
"end": {
"line": 104,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 4188,
"end": 4203,
"loc": {
"start": {
"line": 104,
"column": 65
},
"end": {
"line": 104,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4203,
"end": 4204,
"loc": {
"start": {
"line": 104,
"column": 80
},
"end": {
"line": 104,
"column": 81
}
}
},
{
"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": 4222,
"end": 4227,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetBeltComp",
"start": 4228,
"end": 4242,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4243,
"end": 4244,
"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": "targetEntity",
"start": 4245,
"end": 4257,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4257,
"end": 4258,
"loc": {
"start": {
"line": 105,
"column": 51
},
"end": {
"line": 105,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4258,
"end": 4268,
"loc": {
"start": {
"line": 105,
"column": 52
},
"end": {
"line": 105,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4268,
"end": 4269,
"loc": {
"start": {
"line": 105,
"column": 62
},
"end": {
"line": 105,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Belt",
"start": 4269,
"end": 4273,
"loc": {
"start": {
"line": 105,
"column": 63
},
"end": {
"line": 105,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4273,
"end": 4274,
"loc": {
"start": {
"line": 105,
"column": 67
},
"end": {
"line": 105,
"column": 68
}
}
},
{
"type": "CommentLine",
"value": " Check for belts (special case)",
"start": 4294,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 49
}
}
},
{
"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": 4345,
"end": 4347,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4348,
"end": 4349,
"loc": {
"start": {
"line": 108,
"column": 19
},
"end": {
"line": 108,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetBeltComp",
"start": 4349,
"end": 4363,
"loc": {
"start": {
"line": 108,
"column": 20
},
"end": {
"line": 108,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4363,
"end": 4364,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4365,
"end": 4366,
"loc": {
"start": {
"line": 108,
"column": 36
},
"end": {
"line": 108,
"column": 37
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4388,
"end": 4393,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beltAcceptingDirection",
"start": 4394,
"end": 4416,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 48
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4417,
"end": 4418,
"loc": {
"start": {
"line": 109,
"column": 49
},
"end": {
"line": 109,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetStaticComp",
"start": 4419,
"end": 4435,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4435,
"end": 4436,
"loc": {
"start": {
"line": 109,
"column": 67
},
"end": {
"line": 109,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localDirectionToWorld",
"start": 4436,
"end": 4457,
"loc": {
"start": {
"line": 109,
"column": 68
},
"end": {
"line": 109,
"column": 89
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4457,
"end": 4458,
"loc": {
"start": {
"line": 109,
"column": 89
},
"end": {
"line": 109,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 4458,
"end": 4471,
"loc": {
"start": {
"line": 109,
"column": 90
},
"end": {
"line": 109,
"column": 103
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4471,
"end": 4472,
"loc": {
"start": {
"line": 109,
"column": 103
},
"end": {
"line": 109,
"column": 104
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 4472,
"end": 4475,
"loc": {
"start": {
"line": 109,
"column": 104
},
"end": {
"line": 109,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4475,
"end": 4476,
"loc": {
"start": {
"line": 109,
"column": 107
},
"end": {
"line": 109,
"column": 108
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4476,
"end": 4477,
"loc": {
"start": {
"line": 109,
"column": 108
},
"end": {
"line": 109,
"column": 109
}
}
},
{
"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": 4499,
"end": 4501,
"loc": {
"start": {
"line": 110,
"column": 20
},
"end": {
"line": 110,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4502,
"end": 4503,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsDirection",
"start": 4503,
"end": 4523,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 44
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4524,
"end": 4527,
"loc": {
"start": {
"line": 110,
"column": 45
},
"end": {
"line": 110,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beltAcceptingDirection",
"start": 4528,
"end": 4550,
"loc": {
"start": {
"line": 110,
"column": 49
},
"end": {
"line": 110,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4550,
"end": 4551,
"loc": {
"start": {
"line": 110,
"column": 71
},
"end": {
"line": 110,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4552,
"end": 4553,
"loc": {
"start": {
"line": 110,
"column": 73
},
"end": {
"line": 110,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 4579,
"end": 4590,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4590,
"end": 4591,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedTargetEntity",
"start": 4591,
"end": 4609,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 54
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4610,
"end": 4611,
"loc": {
"start": {
"line": 111,
"column": 55
},
"end": {
"line": 111,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 4612,
"end": 4624,
"loc": {
"start": {
"line": 111,
"column": 57
},
"end": {
"line": 111,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4624,
"end": 4625,
"loc": {
"start": {
"line": 111,
"column": 69
},
"end": {
"line": 111,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 4651,
"end": 4662,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4662,
"end": 4663,
"loc": {
"start": {
"line": 112,
"column": 35
},
"end": {
"line": 112,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBeltPath",
"start": 4663,
"end": 4677,
"loc": {
"start": {
"line": 112,
"column": 36
},
"end": {
"line": 112,
"column": 50
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4678,
"end": 4679,
"loc": {
"start": {
"line": 112,
"column": 51
},
"end": {
"line": 112,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetBeltComp",
"start": 4680,
"end": 4694,
"loc": {
"start": {
"line": 112,
"column": 53
},
"end": {
"line": 112,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4694,
"end": 4695,
"loc": {
"start": {
"line": 112,
"column": 67
},
"end": {
"line": 112,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assignedPath",
"start": 4695,
"end": 4707,
"loc": {
"start": {
"line": 112,
"column": 68
},
"end": {
"line": 112,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4707,
"end": 4708,
"loc": {
"start": {
"line": 112,
"column": 80
},
"end": {
"line": 112,
"column": 81
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 4734,
"end": 4739,
"loc": {
"start": {
"line": 113,
"column": 24
},
"end": {
"line": 113,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4739,
"end": 4740,
"loc": {
"start": {
"line": 113,
"column": 29
},
"end": {
"line": 113,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4762,
"end": 4763,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4781,
"end": 4782,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Check for item acceptors",
"start": 4802,
"end": 4829,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 43
}
}
},
{
"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": 4847,
"end": 4852,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetAcceptorComp",
"start": 4853,
"end": 4871,
"loc": {
"start": {
"line": 118,
"column": 22
},
"end": {
"line": 118,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4872,
"end": 4873,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 4874,
"end": 4886,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4886,
"end": 4887,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4887,
"end": 4897,
"loc": {
"start": {
"line": 118,
"column": 56
},
"end": {
"line": 118,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4897,
"end": 4898,
"loc": {
"start": {
"line": 118,
"column": 66
},
"end": {
"line": 118,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemAcceptor",
"start": 4898,
"end": 4910,
"loc": {
"start": {
"line": 118,
"column": 67
},
"end": {
"line": 118,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4910,
"end": 4911,
"loc": {
"start": {
"line": 118,
"column": 79
},
"end": {
"line": 118,
"column": 80
}
}
},
{
"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": 4929,
"end": 4931,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4932,
"end": 4933,
"loc": {
"start": {
"line": 119,
"column": 19
},
"end": {
"line": 119,
"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": 4933,
"end": 4934,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetAcceptorComp",
"start": 4934,
"end": 4952,
"loc": {
"start": {
"line": 119,
"column": 21
},
"end": {
"line": 119,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4952,
"end": 4953,
"loc": {
"start": {
"line": 119,
"column": 39
},
"end": {
"line": 119,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4954,
"end": 4955,
"loc": {
"start": {
"line": 119,
"column": 41
},
"end": {
"line": 119,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Entity doesn't accept items",
"start": 4977,
"end": 5007,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 50
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 5029,
"end": 5037,
"loc": {
"start": {
"line": 121,
"column": 20
},
"end": {
"line": 121,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5037,
"end": 5038,
"loc": {
"start": {
"line": 121,
"column": 28
},
"end": {
"line": 121,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5056,
"end": 5057,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"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": 5077,
"end": 5082,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matchingSlot",
"start": 5083,
"end": 5095,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 124,
"column": 34
}
}
},
{
"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": 124,
"column": 35
},
"end": {
"line": 124,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetAcceptorComp",
"start": 5098,
"end": 5116,
"loc": {
"start": {
"line": 124,
"column": 37
},
"end": {
"line": 124,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5116,
"end": 5117,
"loc": {
"start": {
"line": 124,
"column": 55
},
"end": {
"line": 124,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findMatchingSlot",
"start": 5117,
"end": 5133,
"loc": {
"start": {
"line": 124,
"column": 56
},
"end": {
"line": 124,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5133,
"end": 5134,
"loc": {
"start": {
"line": 124,
"column": 72
},
"end": {
"line": 124,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetStaticComp",
"start": 5156,
"end": 5172,
"loc": {
"start": {
"line": 125,
"column": 20
},
"end": {
"line": 125,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5172,
"end": 5173,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldToLocalTile",
"start": 5173,
"end": 5189,
"loc": {
"start": {
"line": 125,
"column": 37
},
"end": {
"line": 125,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5189,
"end": 5190,
"loc": {
"start": {
"line": 125,
"column": 53
},
"end": {
"line": 125,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotTargetWsTile",
"start": 5190,
"end": 5211,
"loc": {
"start": {
"line": 125,
"column": 54
},
"end": {
"line": 125,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5211,
"end": 5212,
"loc": {
"start": {
"line": 125,
"column": 75
},
"end": {
"line": 125,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5212,
"end": 5213,
"loc": {
"start": {
"line": 125,
"column": 76
},
"end": {
"line": 125,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetStaticComp",
"start": 5235,
"end": 5251,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 126,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5251,
"end": 5252,
"loc": {
"start": {
"line": 126,
"column": 36
},
"end": {
"line": 126,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldDirectionToLocal",
"start": 5252,
"end": 5273,
"loc": {
"start": {
"line": 126,
"column": 37
},
"end": {
"line": 126,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5273,
"end": 5274,
"loc": {
"start": {
"line": 126,
"column": 58
},
"end": {
"line": 126,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectSlotWsDirection",
"start": 5274,
"end": 5294,
"loc": {
"start": {
"line": 126,
"column": 59
},
"end": {
"line": 126,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5294,
"end": 5295,
"loc": {
"start": {
"line": 126,
"column": 79
},
"end": {
"line": 126,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5313,
"end": 5314,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5314,
"end": 5315,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5335,
"end": 5337,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5338,
"end": 5339,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"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": 5339,
"end": 5340,
"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": "matchingSlot",
"start": 5340,
"end": 5352,
"loc": {
"start": {
"line": 129,
"column": 21
},
"end": {
"line": 129,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5352,
"end": 5353,
"loc": {
"start": {
"line": 129,
"column": 33
},
"end": {
"line": 129,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5354,
"end": 5355,
"loc": {
"start": {
"line": 129,
"column": 35
},
"end": {
"line": 129,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " No matching slot found",
"start": 5377,
"end": 5402,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 45
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 5424,
"end": 5432,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5432,
"end": 5433,
"loc": {
"start": {
"line": 131,
"column": 28
},
"end": {
"line": 131,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5451,
"end": 5452,
"loc": {
"start": {
"line": 132,
"column": 16
},
"end": {
"line": 132,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " A slot can always be connected to one other slot only",
"start": 5472,
"end": 5528,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 5546,
"end": 5557,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 135,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5557,
"end": 5558,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 135,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedTargetEntity",
"start": 5558,
"end": 5576,
"loc": {
"start": {
"line": 135,
"column": 28
},
"end": {
"line": 135,
"column": 46
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5577,
"end": 5578,
"loc": {
"start": {
"line": 135,
"column": 47
},
"end": {
"line": 135,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 5579,
"end": 5591,
"loc": {
"start": {
"line": 135,
"column": 49
},
"end": {
"line": 135,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5591,
"end": 5592,
"loc": {
"start": {
"line": 135,
"column": 61
},
"end": {
"line": 135,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorSlot",
"start": 5610,
"end": 5621,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5621,
"end": 5622,
"loc": {
"start": {
"line": 136,
"column": 27
},
"end": {
"line": 136,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedDestSlot",
"start": 5622,
"end": 5636,
"loc": {
"start": {
"line": 136,
"column": 28
},
"end": {
"line": 136,
"column": 42
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5637,
"end": 5638,
"loc": {
"start": {
"line": 136,
"column": 43
},
"end": {
"line": 136,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matchingSlot",
"start": 5639,
"end": 5651,
"loc": {
"start": {
"line": 136,
"column": 45
},
"end": {
"line": 136,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5651,
"end": 5652,
"loc": {
"start": {
"line": 136,
"column": 57
},
"end": {
"line": 136,
"column": 58
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 5670,
"end": 5675,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5675,
"end": 5676,
"loc": {
"start": {
"line": 137,
"column": 21
},
"end": {
"line": 137,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5690,
"end": 5691,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5701,
"end": 5702,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5708,
"end": 5709,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 5717,
"end": 5723,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 142,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5723,
"end": 5724,
"loc": {
"start": {
"line": 142,
"column": 10
},
"end": {
"line": 142,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5724,
"end": 5725,
"loc": {
"start": {
"line": 142,
"column": 11
},
"end": {
"line": 142,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5726,
"end": 5727,
"loc": {
"start": {
"line": 142,
"column": 13
},
"end": {
"line": 142,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5737,
"end": 5741,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5741,
"end": 5742,
"loc": {
"start": {
"line": 143,
"column": 12
},
"end": {
"line": 143,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staleAreaDetector",
"start": 5742,
"end": 5759,
"loc": {
"start": {
"line": 143,
"column": 13
},
"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": 5759,
"end": 5760,
"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": "update",
"start": 5760,
"end": 5766,
"loc": {
"start": {
"line": 143,
"column": 31
},
"end": {
"line": 143,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5766,
"end": 5767,
"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": 5767,
"end": 5768,
"loc": {
"start": {
"line": 143,
"column": 38
},
"end": {
"line": 143,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5768,
"end": 5769,
"loc": {
"start": {
"line": 143,
"column": 39
},
"end": {
"line": 143,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " Precompute effective belt speed",
"start": 5781,
"end": 5815,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 42
}
}
},
{
"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": 5825,
"end": 5828,
"loc": {
"start": {
"line": 146,
"column": 8
},
"end": {
"line": 146,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progressGrowth",
"start": 5829,
"end": 5843,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5844,
"end": 5845,
"loc": {
"start": {
"line": 146,
"column": 27
},
"end": {
"line": 146,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 5846,
"end": 5847,
"loc": {
"start": {
"line": 146,
"column": 29
},
"end": {
"line": 146,
"column": 30
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 5848,
"end": 5849,
"loc": {
"start": {
"line": 146,
"column": 31
},
"end": {
"line": 146,
"column": 32
}
}
},
{
"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": 5850,
"end": 5854,
"loc": {
"start": {
"line": 146,
"column": 33
},
"end": {
"line": 146,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5854,
"end": 5855,
"loc": {
"start": {
"line": 146,
"column": 37
},
"end": {
"line": 146,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5855,
"end": 5859,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5859,
"end": 5860,
"loc": {
"start": {
"line": 146,
"column": 42
},
"end": {
"line": 146,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 5860,
"end": 5875,
"loc": {
"start": {
"line": 146,
"column": 43
},
"end": {
"line": 146,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5875,
"end": 5876,
"loc": {
"start": {
"line": 146,
"column": 58
},
"end": {
"line": 146,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaSeconds",
"start": 5876,
"end": 5888,
"loc": {
"start": {
"line": 146,
"column": 59
},
"end": {
"line": 146,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5888,
"end": 5889,
"loc": {
"start": {
"line": 146,
"column": 71
},
"end": {
"line": 146,
"column": 72
}
}
},
{
"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": 5901,
"end": 5903,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5904,
"end": 5905,
"loc": {
"start": {
"line": 148,
"column": 11
},
"end": {
"line": 148,
"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": 5905,
"end": 5913,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 20
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 5914,
"end": 5916,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 5917,
"end": 5929,
"loc": {
"start": {
"line": 148,
"column": 24
},
"end": {
"line": 148,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5929,
"end": 5930,
"loc": {
"start": {
"line": 148,
"column": 36
},
"end": {
"line": 148,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 5930,
"end": 5935,
"loc": {
"start": {
"line": 148,
"column": 37
},
"end": {
"line": 148,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5935,
"end": 5936,
"loc": {
"start": {
"line": 148,
"column": 42
},
"end": {
"line": 148,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "instantBelts",
"start": 5936,
"end": 5948,
"loc": {
"start": {
"line": 148,
"column": 43
},
"end": {
"line": 148,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5948,
"end": 5949,
"loc": {
"start": {
"line": 148,
"column": 55
},
"end": {
"line": 148,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5950,
"end": 5951,
"loc": {
"start": {
"line": 148,
"column": 57
},
"end": {
"line": 148,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progressGrowth",
"start": 5965,
"end": 5979,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5980,
"end": 5981,
"loc": {
"start": {
"line": 149,
"column": 27
},
"end": {
"line": 149,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 149,
"column": 29
},
"end": {
"line": 149,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5983,
"end": 5984,
"loc": {
"start": {
"line": 149,
"column": 30
},
"end": {
"line": 149,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5994,
"end": 5995,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Go over all cache entries",
"start": 6007,
"end": 6035,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 36
}
}
},
{
"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": 6045,
"end": 6048,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6049,
"end": 6050,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 153,
"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": 6050,
"end": 6053,
"loc": {
"start": {
"line": 153,
"column": 13
},
"end": {
"line": 153,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6054,
"end": 6055,
"loc": {
"start": {
"line": 153,
"column": 17
},
"end": {
"line": 153,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6056,
"end": 6057,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"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": 6058,
"end": 6059,
"loc": {
"start": {
"line": 153,
"column": 21
},
"end": {
"line": 153,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6059,
"end": 6060,
"loc": {
"start": {
"line": 153,
"column": 22
},
"end": {
"line": 153,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6061,
"end": 6062,
"loc": {
"start": {
"line": 153,
"column": 24
},
"end": {
"line": 153,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 6063,
"end": 6064,
"loc": {
"start": {
"line": 153,
"column": 26
},
"end": {
"line": 153,
"column": 27
}
}
},
{
"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": 6065,
"end": 6069,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6069,
"end": 6070,
"loc": {
"start": {
"line": 153,
"column": 32
},
"end": {
"line": 153,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 6070,
"end": 6081,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6081,
"end": 6082,
"loc": {
"start": {
"line": 153,
"column": 44
},
"end": {
"line": 153,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6082,
"end": 6088,
"loc": {
"start": {
"line": 153,
"column": 45
},
"end": {
"line": 153,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6088,
"end": 6089,
"loc": {
"start": {
"line": 153,
"column": 51
},
"end": {
"line": 153,
"column": 52
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6090,
"end": 6092,
"loc": {
"start": {
"line": 153,
"column": 53
},
"end": {
"line": 153,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6092,
"end": 6093,
"loc": {
"start": {
"line": 153,
"column": 55
},
"end": {
"line": 153,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6093,
"end": 6094,
"loc": {
"start": {
"line": 153,
"column": 56
},
"end": {
"line": 153,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6095,
"end": 6096,
"loc": {
"start": {
"line": 153,
"column": 58
},
"end": {
"line": 153,
"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": 6110,
"end": 6115,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceEntity",
"start": 6116,
"end": 6128,
"loc": {
"start": {
"line": 154,
"column": 18
},
"end": {
"line": 154,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6129,
"end": 6130,
"loc": {
"start": {
"line": 154,
"column": 31
},
"end": {
"line": 154,
"column": 32
}
}
},
{
"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": 6131,
"end": 6135,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6135,
"end": 6136,
"loc": {
"start": {
"line": 154,
"column": 37
},
"end": {
"line": 154,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 6136,
"end": 6147,
"loc": {
"start": {
"line": 154,
"column": 38
},
"end": {
"line": 154,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6147,
"end": 6148,
"loc": {
"start": {
"line": 154,
"column": 49
},
"end": {
"line": 154,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6148,
"end": 6149,
"loc": {
"start": {
"line": 154,
"column": 50
},
"end": {
"line": 154,
"column": 51
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6149,
"end": 6150,
"loc": {
"start": {
"line": 154,
"column": 51
},
"end": {
"line": 154,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6150,
"end": 6151,
"loc": {
"start": {
"line": 154,
"column": 52
},
"end": {
"line": 154,
"column": 53
}
}
},
{
"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": 6165,
"end": 6170,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceEjectorComp",
"start": 6171,
"end": 6188,
"loc": {
"start": {
"line": 155,
"column": 18
},
"end": {
"line": 155,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6189,
"end": 6190,
"loc": {
"start": {
"line": 155,
"column": 36
},
"end": {
"line": 155,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceEntity",
"start": 6191,
"end": 6203,
"loc": {
"start": {
"line": 155,
"column": 38
},
"end": {
"line": 155,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6203,
"end": 6204,
"loc": {
"start": {
"line": 155,
"column": 50
},
"end": {
"line": 155,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 6204,
"end": 6214,
"loc": {
"start": {
"line": 155,
"column": 51
},
"end": {
"line": 155,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6214,
"end": 6215,
"loc": {
"start": {
"line": 155,
"column": 61
},
"end": {
"line": 155,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 6215,
"end": 6226,
"loc": {
"start": {
"line": 155,
"column": 62
},
"end": {
"line": 155,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6226,
"end": 6227,
"loc": {
"start": {
"line": 155,
"column": 73
},
"end": {
"line": 155,
"column": 74
}
}
},
{
"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": 6243,
"end": 6248,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 6249,
"end": 6254,
"loc": {
"start": {
"line": 157,
"column": 18
},
"end": {
"line": 157,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6255,
"end": 6256,
"loc": {
"start": {
"line": 157,
"column": 24
},
"end": {
"line": 157,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceEjectorComp",
"start": 6257,
"end": 6274,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6274,
"end": 6275,
"loc": {
"start": {
"line": 157,
"column": 43
},
"end": {
"line": 157,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 6275,
"end": 6280,
"loc": {
"start": {
"line": 157,
"column": 44
},
"end": {
"line": 157,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6280,
"end": 6281,
"loc": {
"start": {
"line": 157,
"column": 49
},
"end": {
"line": 157,
"column": 50
}
}
},
{
"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": 6295,
"end": 6298,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6299,
"end": 6300,
"loc": {
"start": {
"line": 158,
"column": 16
},
"end": {
"line": 158,
"column": 17
}
}
},
{
"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": 6300,
"end": 6303,
"loc": {
"start": {
"line": 158,
"column": 17
},
"end": {
"line": 158,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 6304,
"end": 6305,
"loc": {
"start": {
"line": 158,
"column": 21
},
"end": {
"line": 158,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6306,
"end": 6307,
"loc": {
"start": {
"line": 158,
"column": 23
},
"end": {
"line": 158,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6308,
"end": 6309,
"loc": {
"start": {
"line": 158,
"column": 25
},
"end": {
"line": 158,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6309,
"end": 6310,
"loc": {
"start": {
"line": 158,
"column": 26
},
"end": {
"line": 158,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 6311,
"end": 6312,
"loc": {
"start": {
"line": 158,
"column": 28
},
"end": {
"line": 158,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 6313,
"end": 6314,
"loc": {
"start": {
"line": 158,
"column": 30
},
"end": {
"line": 158,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 6315,
"end": 6320,
"loc": {
"start": {
"line": 158,
"column": 32
},
"end": {
"line": 158,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6320,
"end": 6321,
"loc": {
"start": {
"line": 158,
"column": 37
},
"end": {
"line": 158,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6321,
"end": 6327,
"loc": {
"start": {
"line": 158,
"column": 38
},
"end": {
"line": 158,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6327,
"end": 6328,
"loc": {
"start": {
"line": 158,
"column": 44
},
"end": {
"line": 158,
"column": 45
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6329,
"end": 6331,
"loc": {
"start": {
"line": 158,
"column": 46
},
"end": {
"line": 158,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 6331,
"end": 6332,
"loc": {
"start": {
"line": 158,
"column": 48
},
"end": {
"line": 158,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6332,
"end": 6333,
"loc": {
"start": {
"line": 158,
"column": 49
},
"end": {
"line": 158,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6334,
"end": 6335,
"loc": {
"start": {
"line": 158,
"column": 51
},
"end": {
"line": 158,
"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": 6353,
"end": 6358,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 6359,
"end": 6369,
"loc": {
"start": {
"line": 159,
"column": 22
},
"end": {
"line": 159,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6370,
"end": 6371,
"loc": {
"start": {
"line": 159,
"column": 33
},
"end": {
"line": 159,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 6372,
"end": 6377,
"loc": {
"start": {
"line": 159,
"column": 35
},
"end": {
"line": 159,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6377,
"end": 6378,
"loc": {
"start": {
"line": 159,
"column": 40
},
"end": {
"line": 159,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 6378,
"end": 6379,
"loc": {
"start": {
"line": 159,
"column": 41
},
"end": {
"line": 159,
"column": 42
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6379,
"end": 6380,
"loc": {
"start": {
"line": 159,
"column": 42
},
"end": {
"line": 159,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6380,
"end": 6381,
"loc": {
"start": {
"line": 159,
"column": 43
},
"end": {
"line": 159,
"column": 44
}
}
},
{
"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": 6399,
"end": 6404,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6405,
"end": 6409,
"loc": {
"start": {
"line": 160,
"column": 22
},
"end": {
"line": 160,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6410,
"end": 6411,
"loc": {
"start": {
"line": 160,
"column": 27
},
"end": {
"line": 160,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 6412,
"end": 6422,
"loc": {
"start": {
"line": 160,
"column": 29
},
"end": {
"line": 160,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6422,
"end": 6423,
"loc": {
"start": {
"line": 160,
"column": 39
},
"end": {
"line": 160,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6423,
"end": 6427,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 160,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6427,
"end": 6428,
"loc": {
"start": {
"line": 160,
"column": 44
},
"end": {
"line": 160,
"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": 6446,
"end": 6448,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6449,
"end": 6450,
"loc": {
"start": {
"line": 161,
"column": 19
},
"end": {
"line": 161,
"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": 6450,
"end": 6451,
"loc": {
"start": {
"line": 161,
"column": 20
},
"end": {
"line": 161,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6451,
"end": 6455,
"loc": {
"start": {
"line": 161,
"column": 21
},
"end": {
"line": 161,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6455,
"end": 6456,
"loc": {
"start": {
"line": 161,
"column": 25
},
"end": {
"line": 161,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6457,
"end": 6458,
"loc": {
"start": {
"line": 161,
"column": 27
},
"end": {
"line": 161,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " No item available to be ejected",
"start": 6480,
"end": 6514,
"loc": {
"start": {
"line": 162,
"column": 20
},
"end": {
"line": 162,
"column": 54
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 6536,
"end": 6544,
"loc": {
"start": {
"line": 163,
"column": 20
},
"end": {
"line": 163,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6544,
"end": 6545,
"loc": {
"start": {
"line": 163,
"column": 28
},
"end": {
"line": 163,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6563,
"end": 6564,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Advance items on the slot",
"start": 6584,
"end": 6612,
"loc": {
"start": {
"line": 166,
"column": 16
},
"end": {
"line": 166,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 6630,
"end": 6640,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6640,
"end": 6641,
"loc": {
"start": {
"line": 167,
"column": 26
},
"end": {
"line": 167,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 6641,
"end": 6649,
"loc": {
"start": {
"line": 167,
"column": 27
},
"end": {
"line": 167,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6650,
"end": 6651,
"loc": {
"start": {
"line": 167,
"column": 36
},
"end": {
"line": 167,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 6652,
"end": 6656,
"loc": {
"start": {
"line": 167,
"column": 38
},
"end": {
"line": 167,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 167,
"column": 42
},
"end": {
"line": 167,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 6657,
"end": 6660,
"loc": {
"start": {
"line": 167,
"column": 43
},
"end": {
"line": 167,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6660,
"end": 6661,
"loc": {
"start": {
"line": 167,
"column": 46
},
"end": {
"line": 167,
"column": 47
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 6683,
"end": 6684,
"loc": {
"start": {
"line": 168,
"column": 20
},
"end": {
"line": 168,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6684,
"end": 6685,
"loc": {
"start": {
"line": 168,
"column": 21
},
"end": {
"line": 168,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 6707,
"end": 6717,
"loc": {
"start": {
"line": 169,
"column": 20
},
"end": {
"line": 169,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6717,
"end": 6718,
"loc": {
"start": {
"line": 169,
"column": 30
},
"end": {
"line": 169,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 6718,
"end": 6726,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 169,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6727,
"end": 6728,
"loc": {
"start": {
"line": 169,
"column": 40
},
"end": {
"line": 169,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progressGrowth",
"start": 6754,
"end": 6768,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 170,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6769,
"end": 6770,
"loc": {
"start": {
"line": 170,
"column": 39
},
"end": {
"line": 170,
"column": 40
}
}
},
{
"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": 6800,
"end": 6804,
"loc": {
"start": {
"line": 171,
"column": 28
},
"end": {
"line": 171,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6804,
"end": 6805,
"loc": {
"start": {
"line": 171,
"column": 32
},
"end": {
"line": 171,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6805,
"end": 6809,
"loc": {
"start": {
"line": 171,
"column": 33
},
"end": {
"line": 171,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6809,
"end": 6810,
"loc": {
"start": {
"line": 171,
"column": 37
},
"end": {
"line": 171,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 6810,
"end": 6818,
"loc": {
"start": {
"line": 171,
"column": 38
},
"end": {
"line": 171,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6818,
"end": 6819,
"loc": {
"start": {
"line": 171,
"column": 46
},
"end": {
"line": 171,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBeltBaseSpeed",
"start": 6819,
"end": 6835,
"loc": {
"start": {
"line": 171,
"column": 47
},
"end": {
"line": 171,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6835,
"end": 6836,
"loc": {
"start": {
"line": 171,
"column": 63
},
"end": {
"line": 171,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6836,
"end": 6837,
"loc": {
"start": {
"line": 171,
"column": 64
},
"end": {
"line": 171,
"column": 65
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6838,
"end": 6839,
"loc": {
"start": {
"line": 171,
"column": 66
},
"end": {
"line": 171,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6869,
"end": 6881,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6881,
"end": 6882,
"loc": {
"start": {
"line": 172,
"column": 40
},
"end": {
"line": 172,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemSpacingOnBelts",
"start": 6882,
"end": 6900,
"loc": {
"start": {
"line": 172,
"column": 41
},
"end": {
"line": 172,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6918,
"end": 6919,
"loc": {
"start": {
"line": 173,
"column": 16
},
"end": {
"line": 173,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6919,
"end": 6920,
"loc": {
"start": {
"line": 173,
"column": 17
},
"end": {
"line": 173,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6940,
"end": 6942,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 175,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6943,
"end": 6944,
"loc": {
"start": {
"line": 175,
"column": 19
},
"end": {
"line": 175,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 6944,
"end": 6952,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 28
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 6953,
"end": 6955,
"loc": {
"start": {
"line": 175,
"column": 29
},
"end": {
"line": 175,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6956,
"end": 6968,
"loc": {
"start": {
"line": 175,
"column": 32
},
"end": {
"line": 175,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6968,
"end": 6969,
"loc": {
"start": {
"line": 175,
"column": 44
},
"end": {
"line": 175,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 6969,
"end": 6974,
"loc": {
"start": {
"line": 175,
"column": 45
},
"end": {
"line": 175,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6974,
"end": 6975,
"loc": {
"start": {
"line": 175,
"column": 50
},
"end": {
"line": 175,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "disableEjectorProcessing",
"start": 6975,
"end": 6999,
"loc": {
"start": {
"line": 175,
"column": 51
},
"end": {
"line": 175,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6999,
"end": 7000,
"loc": {
"start": {
"line": 175,
"column": 75
},
"end": {
"line": 175,
"column": 76
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7001,
"end": 7002,
"loc": {
"start": {
"line": 175,
"column": 77
},
"end": {
"line": 175,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 7024,
"end": 7034,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7034,
"end": 7035,
"loc": {
"start": {
"line": 176,
"column": 30
},
"end": {
"line": 176,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 7035,
"end": 7043,
"loc": {
"start": {
"line": 176,
"column": 31
},
"end": {
"line": 176,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7044,
"end": 7045,
"loc": {
"start": {
"line": 176,
"column": 40
},
"end": {
"line": 176,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 7046,
"end": 7049,
"loc": {
"start": {
"line": 176,
"column": 42
},
"end": {
"line": 176,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7049,
"end": 7050,
"loc": {
"start": {
"line": 176,
"column": 45
},
"end": {
"line": 176,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7068,
"end": 7069,
"loc": {
"start": {
"line": 177,
"column": 16
},
"end": {
"line": 177,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Check if we are still in the process of ejecting, can't proceed then",
"start": 7089,
"end": 7160,
"loc": {
"start": {
"line": 179,
"column": 16
},
"end": {
"line": 179,
"column": 87
}
}
},
{
"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": 7178,
"end": 7180,
"loc": {
"start": {
"line": 180,
"column": 16
},
"end": {
"line": 180,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7181,
"end": 7182,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 7182,
"end": 7192,
"loc": {
"start": {
"line": 180,
"column": 20
},
"end": {
"line": 180,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7192,
"end": 7193,
"loc": {
"start": {
"line": 180,
"column": 30
},
"end": {
"line": 180,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 7193,
"end": 7201,
"loc": {
"start": {
"line": 180,
"column": 31
},
"end": {
"line": 180,
"column": 39
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 7202,
"end": 7203,
"loc": {
"start": {
"line": 180,
"column": 40
},
"end": {
"line": 180,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 7204,
"end": 7207,
"loc": {
"start": {
"line": 180,
"column": 42
},
"end": {
"line": 180,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7207,
"end": 7208,
"loc": {
"start": {
"line": 180,
"column": 45
},
"end": {
"line": 180,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7209,
"end": 7210,
"loc": {
"start": {
"line": 180,
"column": 47
},
"end": {
"line": 180,
"column": 48
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 7232,
"end": 7240,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7240,
"end": 7241,
"loc": {
"start": {
"line": 181,
"column": 28
},
"end": {
"line": 181,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7259,
"end": 7260,
"loc": {
"start": {
"line": 182,
"column": 16
},
"end": {
"line": 182,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Check if we are ejecting to a belt path",
"start": 7280,
"end": 7322,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"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": 7340,
"end": 7345,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destPath",
"start": 7346,
"end": 7354,
"loc": {
"start": {
"line": 185,
"column": 22
},
"end": {
"line": 185,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7355,
"end": 7356,
"loc": {
"start": {
"line": 185,
"column": 31
},
"end": {
"line": 185,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 7357,
"end": 7367,
"loc": {
"start": {
"line": 185,
"column": 33
},
"end": {
"line": 185,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7367,
"end": 7368,
"loc": {
"start": {
"line": 185,
"column": 43
},
"end": {
"line": 185,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBeltPath",
"start": 7368,
"end": 7382,
"loc": {
"start": {
"line": 185,
"column": 44
},
"end": {
"line": 185,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7382,
"end": 7383,
"loc": {
"start": {
"line": 185,
"column": 58
},
"end": {
"line": 185,
"column": 59
}
}
},
{
"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": 7401,
"end": 7403,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 186,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7404,
"end": 7405,
"loc": {
"start": {
"line": 186,
"column": 19
},
"end": {
"line": 186,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destPath",
"start": 7405,
"end": 7413,
"loc": {
"start": {
"line": 186,
"column": 20
},
"end": {
"line": 186,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7413,
"end": 7414,
"loc": {
"start": {
"line": 186,
"column": 28
},
"end": {
"line": 186,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7415,
"end": 7416,
"loc": {
"start": {
"line": 186,
"column": 30
},
"end": {
"line": 186,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Try passing the item over",
"start": 7438,
"end": 7466,
"loc": {
"start": {
"line": 187,
"column": 20
},
"end": {
"line": 187,
"column": 48
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7488,
"end": 7490,
"loc": {
"start": {
"line": 188,
"column": 20
},
"end": {
"line": 188,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7491,
"end": 7492,
"loc": {
"start": {
"line": 188,
"column": 23
},
"end": {
"line": 188,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destPath",
"start": 7492,
"end": 7500,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7500,
"end": 7501,
"loc": {
"start": {
"line": 188,
"column": 32
},
"end": {
"line": 188,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryAcceptItem",
"start": 7501,
"end": 7514,
"loc": {
"start": {
"line": 188,
"column": 33
},
"end": {
"line": 188,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7514,
"end": 7515,
"loc": {
"start": {
"line": 188,
"column": 46
},
"end": {
"line": 188,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 7515,
"end": 7519,
"loc": {
"start": {
"line": 188,
"column": 47
},
"end": {
"line": 188,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7519,
"end": 7520,
"loc": {
"start": {
"line": 188,
"column": 51
},
"end": {
"line": 188,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7520,
"end": 7521,
"loc": {
"start": {
"line": 188,
"column": 52
},
"end": {
"line": 188,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7522,
"end": 7523,
"loc": {
"start": {
"line": 188,
"column": 54
},
"end": {
"line": 188,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 7549,
"end": 7559,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7559,
"end": 7560,
"loc": {
"start": {
"line": 189,
"column": 34
},
"end": {
"line": 189,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 7560,
"end": 7564,
"loc": {
"start": {
"line": 189,
"column": 35
},
"end": {
"line": 189,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7565,
"end": 7566,
"loc": {
"start": {
"line": 189,
"column": 40
},
"end": {
"line": 189,
"column": 41
}
}
},
{
"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": 7567,
"end": 7571,
"loc": {
"start": {
"line": 189,
"column": 42
},
"end": {
"line": 189,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7571,
"end": 7572,
"loc": {
"start": {
"line": 189,
"column": 46
},
"end": {
"line": 189,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7594,
"end": 7595,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 190,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " Always stop here, since there can *either* be a belt path *or*",
"start": 7619,
"end": 7684,
"loc": {
"start": {
"line": 192,
"column": 20
},
"end": {
"line": 192,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " a slot",
"start": 7706,
"end": 7715,
"loc": {
"start": {
"line": 193,
"column": 20
},
"end": {
"line": 193,
"column": 29
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 7737,
"end": 7745,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7745,
"end": 7746,
"loc": {
"start": {
"line": 194,
"column": 28
},
"end": {
"line": 194,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7764,
"end": 7765,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Check if the target acceptor can actually accept this item",
"start": 7785,
"end": 7846,
"loc": {
"start": {
"line": 197,
"column": 16
},
"end": {
"line": 197,
"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": 7864,
"end": 7869,
"loc": {
"start": {
"line": 198,
"column": 16
},
"end": {
"line": 198,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destEntity",
"start": 7870,
"end": 7880,
"loc": {
"start": {
"line": 198,
"column": 22
},
"end": {
"line": 198,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7881,
"end": 7882,
"loc": {
"start": {
"line": 198,
"column": 33
},
"end": {
"line": 198,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 7883,
"end": 7893,
"loc": {
"start": {
"line": 198,
"column": 35
},
"end": {
"line": 198,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7893,
"end": 7894,
"loc": {
"start": {
"line": 198,
"column": 45
},
"end": {
"line": 198,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedTargetEntity",
"start": 7894,
"end": 7912,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7912,
"end": 7913,
"loc": {
"start": {
"line": 198,
"column": 64
},
"end": {
"line": 198,
"column": 65
}
}
},
{
"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": 7931,
"end": 7936,
"loc": {
"start": {
"line": 199,
"column": 16
},
"end": {
"line": 199,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destSlot",
"start": 7937,
"end": 7945,
"loc": {
"start": {
"line": 199,
"column": 22
},
"end": {
"line": 199,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7946,
"end": 7947,
"loc": {
"start": {
"line": 199,
"column": 31
},
"end": {
"line": 199,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 7948,
"end": 7958,
"loc": {
"start": {
"line": 199,
"column": 33
},
"end": {
"line": 199,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7958,
"end": 7959,
"loc": {
"start": {
"line": 199,
"column": 43
},
"end": {
"line": 199,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedDestSlot",
"start": 7959,
"end": 7973,
"loc": {
"start": {
"line": 199,
"column": 44
},
"end": {
"line": 199,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7973,
"end": 7974,
"loc": {
"start": {
"line": 199,
"column": 58
},
"end": {
"line": 199,
"column": 59
}
}
},
{
"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": 7992,
"end": 7994,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 200,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7995,
"end": 7996,
"loc": {
"start": {
"line": 200,
"column": 19
},
"end": {
"line": 200,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destSlot",
"start": 7996,
"end": 8004,
"loc": {
"start": {
"line": 200,
"column": 20
},
"end": {
"line": 200,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8004,
"end": 8005,
"loc": {
"start": {
"line": 200,
"column": 28
},
"end": {
"line": 200,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8006,
"end": 8007,
"loc": {
"start": {
"line": 200,
"column": 30
},
"end": {
"line": 200,
"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": 8029,
"end": 8034,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetAcceptorComp",
"start": 8035,
"end": 8053,
"loc": {
"start": {
"line": 201,
"column": 26
},
"end": {
"line": 201,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8054,
"end": 8055,
"loc": {
"start": {
"line": 201,
"column": 45
},
"end": {
"line": 201,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destEntity",
"start": 8056,
"end": 8066,
"loc": {
"start": {
"line": 201,
"column": 47
},
"end": {
"line": 201,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8066,
"end": 8067,
"loc": {
"start": {
"line": 201,
"column": 57
},
"end": {
"line": 201,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 8067,
"end": 8077,
"loc": {
"start": {
"line": 201,
"column": 58
},
"end": {
"line": 201,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8077,
"end": 8078,
"loc": {
"start": {
"line": 201,
"column": 68
},
"end": {
"line": 201,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemAcceptor",
"start": 8078,
"end": 8090,
"loc": {
"start": {
"line": 201,
"column": 69
},
"end": {
"line": 201,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8090,
"end": 8091,
"loc": {
"start": {
"line": 201,
"column": 81
},
"end": {
"line": 201,
"column": 82
}
}
},
{
"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": 8113,
"end": 8115,
"loc": {
"start": {
"line": 202,
"column": 20
},
"end": {
"line": 202,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8116,
"end": 8117,
"loc": {
"start": {
"line": 202,
"column": 23
},
"end": {
"line": 202,
"column": 24
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8117,
"end": 8118,
"loc": {
"start": {
"line": 202,
"column": 24
},
"end": {
"line": 202,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetAcceptorComp",
"start": 8118,
"end": 8136,
"loc": {
"start": {
"line": 202,
"column": 25
},
"end": {
"line": 202,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8136,
"end": 8137,
"loc": {
"start": {
"line": 202,
"column": 43
},
"end": {
"line": 202,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canAcceptItem",
"start": 8137,
"end": 8150,
"loc": {
"start": {
"line": 202,
"column": 44
},
"end": {
"line": 202,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8150,
"end": 8151,
"loc": {
"start": {
"line": 202,
"column": 57
},
"end": {
"line": 202,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destSlot",
"start": 8151,
"end": 8159,
"loc": {
"start": {
"line": 202,
"column": 58
},
"end": {
"line": 202,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8159,
"end": 8160,
"loc": {
"start": {
"line": 202,
"column": 66
},
"end": {
"line": 202,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 8160,
"end": 8165,
"loc": {
"start": {
"line": 202,
"column": 67
},
"end": {
"line": 202,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8165,
"end": 8166,
"loc": {
"start": {
"line": 202,
"column": 72
},
"end": {
"line": 202,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8167,
"end": 8171,
"loc": {
"start": {
"line": 202,
"column": 74
},
"end": {
"line": 202,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8171,
"end": 8172,
"loc": {
"start": {
"line": 202,
"column": 78
},
"end": {
"line": 202,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8172,
"end": 8173,
"loc": {
"start": {
"line": 202,
"column": 79
},
"end": {
"line": 202,
"column": 80
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8174,
"end": 8175,
"loc": {
"start": {
"line": 202,
"column": 81
},
"end": {
"line": 202,
"column": 82
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 8201,
"end": 8209,
"loc": {
"start": {
"line": 203,
"column": 24
},
"end": {
"line": 203,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8209,
"end": 8210,
"loc": {
"start": {
"line": 203,
"column": 32
},
"end": {
"line": 203,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8232,
"end": 8233,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " Try to hand over the item",
"start": 8257,
"end": 8285,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 206,
"column": 48
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8307,
"end": 8309,
"loc": {
"start": {
"line": 207,
"column": 20
},
"end": {
"line": 207,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8310,
"end": 8311,
"loc": {
"start": {
"line": 207,
"column": 23
},
"end": {
"line": 207,
"column": 24
}
}
},
{
"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": 8311,
"end": 8315,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8315,
"end": 8316,
"loc": {
"start": {
"line": 207,
"column": 28
},
"end": {
"line": 207,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPassOverItem",
"start": 8316,
"end": 8331,
"loc": {
"start": {
"line": 207,
"column": 29
},
"end": {
"line": 207,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8331,
"end": 8332,
"loc": {
"start": {
"line": 207,
"column": 44
},
"end": {
"line": 207,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8332,
"end": 8336,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8336,
"end": 8337,
"loc": {
"start": {
"line": 207,
"column": 49
},
"end": {
"line": 207,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destEntity",
"start": 8338,
"end": 8348,
"loc": {
"start": {
"line": 207,
"column": 51
},
"end": {
"line": 207,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8348,
"end": 8349,
"loc": {
"start": {
"line": 207,
"column": 61
},
"end": {
"line": 207,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destSlot",
"start": 8350,
"end": 8358,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8358,
"end": 8359,
"loc": {
"start": {
"line": 207,
"column": 71
},
"end": {
"line": 207,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 8359,
"end": 8364,
"loc": {
"start": {
"line": 207,
"column": 72
},
"end": {
"line": 207,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8364,
"end": 8365,
"loc": {
"start": {
"line": 207,
"column": 77
},
"end": {
"line": 207,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8365,
"end": 8366,
"loc": {
"start": {
"line": 207,
"column": 78
},
"end": {
"line": 207,
"column": 79
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8367,
"end": 8368,
"loc": {
"start": {
"line": 207,
"column": 80
},
"end": {
"line": 207,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " Handover successful, clear slot",
"start": 8394,
"end": 8428,
"loc": {
"start": {
"line": 208,
"column": 24
},
"end": {
"line": 208,
"column": 58
}
}
},
{
"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": 8454,
"end": 8456,
"loc": {
"start": {
"line": 209,
"column": 24
},
"end": {
"line": 209,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8457,
"end": 8458,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 28
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8458,
"end": 8459,
"loc": {
"start": {
"line": 209,
"column": 28
},
"end": {
"line": 209,
"column": 29
}
}
},
{
"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": 8459,
"end": 8463,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8463,
"end": 8464,
"loc": {
"start": {
"line": 209,
"column": 33
},
"end": {
"line": 209,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8464,
"end": 8468,
"loc": {
"start": {
"line": 209,
"column": 34
},
"end": {
"line": 209,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8468,
"end": 8469,
"loc": {
"start": {
"line": 209,
"column": 38
},
"end": {
"line": 209,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 8469,
"end": 8472,
"loc": {
"start": {
"line": 209,
"column": 39
},
"end": {
"line": 209,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8472,
"end": 8473,
"loc": {
"start": {
"line": 209,
"column": 42
},
"end": {
"line": 209,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "settings",
"start": 8473,
"end": 8481,
"loc": {
"start": {
"line": 209,
"column": 43
},
"end": {
"line": 209,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8481,
"end": 8482,
"loc": {
"start": {
"line": 209,
"column": 51
},
"end": {
"line": 209,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAllSettings",
"start": 8482,
"end": 8496,
"loc": {
"start": {
"line": 209,
"column": 52
},
"end": {
"line": 209,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8496,
"end": 8497,
"loc": {
"start": {
"line": 209,
"column": 66
},
"end": {
"line": 209,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8497,
"end": 8498,
"loc": {
"start": {
"line": 209,
"column": 67
},
"end": {
"line": 209,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8498,
"end": 8499,
"loc": {
"start": {
"line": 209,
"column": 68
},
"end": {
"line": 209,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "simplifiedBelts",
"start": 8499,
"end": 8514,
"loc": {
"start": {
"line": 209,
"column": 69
},
"end": {
"line": 209,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8514,
"end": 8515,
"loc": {
"start": {
"line": 209,
"column": 84
},
"end": {
"line": 209,
"column": 85
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8516,
"end": 8517,
"loc": {
"start": {
"line": 209,
"column": 86
},
"end": {
"line": 209,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetAcceptorComp",
"start": 8547,
"end": 8565,
"loc": {
"start": {
"line": 210,
"column": 28
},
"end": {
"line": 210,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8565,
"end": 8566,
"loc": {
"start": {
"line": 210,
"column": 46
},
"end": {
"line": 210,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onItemAccepted",
"start": 8566,
"end": 8580,
"loc": {
"start": {
"line": 210,
"column": 47
},
"end": {
"line": 210,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8580,
"end": 8581,
"loc": {
"start": {
"line": 210,
"column": 61
},
"end": {
"line": 210,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destSlot",
"start": 8615,
"end": 8623,
"loc": {
"start": {
"line": 211,
"column": 32
},
"end": {
"line": 211,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8623,
"end": 8624,
"loc": {
"start": {
"line": 211,
"column": 40
},
"end": {
"line": 211,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 8624,
"end": 8629,
"loc": {
"start": {
"line": 211,
"column": 41
},
"end": {
"line": 211,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8629,
"end": 8630,
"loc": {
"start": {
"line": 211,
"column": 46
},
"end": {
"line": 211,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destSlot",
"start": 8664,
"end": 8672,
"loc": {
"start": {
"line": 212,
"column": 32
},
"end": {
"line": 212,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8672,
"end": 8673,
"loc": {
"start": {
"line": 212,
"column": 40
},
"end": {
"line": 212,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptedDirection",
"start": 8673,
"end": 8690,
"loc": {
"start": {
"line": 212,
"column": 41
},
"end": {
"line": 212,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8690,
"end": 8691,
"loc": {
"start": {
"line": 212,
"column": 58
},
"end": {
"line": 212,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8725,
"end": 8729,
"loc": {
"start": {
"line": 213,
"column": 32
},
"end": {
"line": 213,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8759,
"end": 8760,
"loc": {
"start": {
"line": 214,
"column": 28
},
"end": {
"line": 214,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8760,
"end": 8761,
"loc": {
"start": {
"line": 214,
"column": 29
},
"end": {
"line": 214,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8787,
"end": 8788,
"loc": {
"start": {
"line": 215,
"column": 24
},
"end": {
"line": 215,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sourceSlot",
"start": 8814,
"end": 8824,
"loc": {
"start": {
"line": 216,
"column": 24
},
"end": {
"line": 216,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8824,
"end": 8825,
"loc": {
"start": {
"line": 216,
"column": 34
},
"end": {
"line": 216,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8825,
"end": 8829,
"loc": {
"start": {
"line": 216,
"column": 35
},
"end": {
"line": 216,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8830,
"end": 8831,
"loc": {
"start": {
"line": 216,
"column": 40
},
"end": {
"line": 216,
"column": 41
}
}
},
{
"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": 8832,
"end": 8836,
"loc": {
"start": {
"line": 216,
"column": 42
},
"end": {
"line": 216,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8836,
"end": 8837,
"loc": {
"start": {
"line": 216,
"column": 46
},
"end": {
"line": 216,
"column": 47
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 8863,
"end": 8871,
"loc": {
"start": {
"line": 217,
"column": 24
},
"end": {
"line": 217,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8871,
"end": 8872,
"loc": {
"start": {
"line": 217,
"column": 32
},
"end": {
"line": 217,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8894,
"end": 8895,
"loc": {
"start": {
"line": 218,
"column": 20
},
"end": {
"line": 218,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8913,
"end": 8914,
"loc": {
"start": {
"line": 219,
"column": 16
},
"end": {
"line": 219,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8928,
"end": 8929,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8939,
"end": 8940,
"loc": {
"start": {
"line": 221,
"column": 8
},
"end": {
"line": 221,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8946,
"end": 8947,
"loc": {
"start": {
"line": 222,
"column": 4
},
"end": {
"line": 222,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {BaseItem} item\r\n * @param {Entity} receiver\r\n * @param {number} slotIndex\r\n ",
"start": 8955,
"end": 9073,
"loc": {
"start": {
"line": 224,
"column": 4
},
"end": {
"line": 229,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPassOverItem",
"start": 9079,
"end": 9094,
"loc": {
"start": {
"line": 230,
"column": 4
},
"end": {
"line": 230,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9094,
"end": 9095,
"loc": {
"start": {
"line": 230,
"column": 19
},
"end": {
"line": 230,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 9095,
"end": 9099,
"loc": {
"start": {
"line": 230,
"column": 20
},
"end": {
"line": 230,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9099,
"end": 9100,
"loc": {
"start": {
"line": 230,
"column": 24
},
"end": {
"line": 230,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 9101,
"end": 9109,
"loc": {
"start": {
"line": 230,
"column": 26
},
"end": {
"line": 230,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9109,
"end": 9110,
"loc": {
"start": {
"line": 230,
"column": 34
},
"end": {
"line": 230,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 9111,
"end": 9120,
"loc": {
"start": {
"line": 230,
"column": 36
},
"end": {
"line": 230,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9120,
"end": 9121,
"loc": {
"start": {
"line": 230,
"column": 45
},
"end": {
"line": 230,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9122,
"end": 9123,
"loc": {
"start": {
"line": 230,
"column": 47
},
"end": {
"line": 230,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Try figuring out how what to do with the item",
"start": 9133,
"end": 9181,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 231,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " @TODO: Kinda hacky. How to solve this properly? Don't want to go through inheritance hell.",
"start": 9191,
"end": 9284,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 101
}
}
},
{
"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": 9296,
"end": 9299,
"loc": {
"start": {
"line": 234,
"column": 8
},
"end": {
"line": 234,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9300,
"end": 9301,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"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": 9301,
"end": 9306,
"loc": {
"start": {
"line": 234,
"column": 13
},
"end": {
"line": 234,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compId",
"start": 9307,
"end": 9313,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 25
}
}
},
{
"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": 9314,
"end": 9316,
"loc": {
"start": {
"line": 234,
"column": 26
},
"end": {
"line": 234,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorSystem",
"start": 9317,
"end": 9334,
"loc": {
"start": {
"line": 234,
"column": 29
},
"end": {
"line": 234,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9334,
"end": 9335,
"loc": {
"start": {
"line": 234,
"column": 46
},
"end": {
"line": 234,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPassOverItemComponents",
"start": 9335,
"end": 9360,
"loc": {
"start": {
"line": 234,
"column": 47
},
"end": {
"line": 234,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9360,
"end": 9361,
"loc": {
"start": {
"line": 234,
"column": 72
},
"end": {
"line": 234,
"column": 73
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9362,
"end": 9363,
"loc": {
"start": {
"line": 234,
"column": 74
},
"end": {
"line": 234,
"column": 75
}
}
},
{
"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": 9377,
"end": 9379,
"loc": {
"start": {
"line": 235,
"column": 12
},
"end": {
"line": 235,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9380,
"end": 9381,
"loc": {
"start": {
"line": 235,
"column": 15
},
"end": {
"line": 235,
"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": 9381,
"end": 9382,
"loc": {
"start": {
"line": 235,
"column": 16
},
"end": {
"line": 235,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorSystem",
"start": 9382,
"end": 9399,
"loc": {
"start": {
"line": 235,
"column": 17
},
"end": {
"line": 235,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9399,
"end": 9400,
"loc": {
"start": {
"line": 235,
"column": 34
},
"end": {
"line": 235,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPassOverItemComponents",
"start": 9400,
"end": 9425,
"loc": {
"start": {
"line": 235,
"column": 35
},
"end": {
"line": 235,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9425,
"end": 9426,
"loc": {
"start": {
"line": 235,
"column": 60
},
"end": {
"line": 235,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasOwnProperty",
"start": 9426,
"end": 9440,
"loc": {
"start": {
"line": 235,
"column": 61
},
"end": {
"line": 235,
"column": 75
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9440,
"end": 9441,
"loc": {
"start": {
"line": 235,
"column": 75
},
"end": {
"line": 235,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compId",
"start": 9441,
"end": 9447,
"loc": {
"start": {
"line": 235,
"column": 76
},
"end": {
"line": 235,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9447,
"end": 9448,
"loc": {
"start": {
"line": 235,
"column": 82
},
"end": {
"line": 235,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9448,
"end": 9449,
"loc": {
"start": {
"line": 235,
"column": 83
},
"end": {
"line": 235,
"column": 84
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 9450,
"end": 9458,
"loc": {
"start": {
"line": 235,
"column": 85
},
"end": {
"line": 235,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9458,
"end": 9459,
"loc": {
"start": {
"line": 235,
"column": 93
},
"end": {
"line": 235,
"column": 94
}
}
},
{
"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": 9473,
"end": 9475,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9476,
"end": 9477,
"loc": {
"start": {
"line": 236,
"column": 15
},
"end": {
"line": 236,
"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": 9477,
"end": 9478,
"loc": {
"start": {
"line": 236,
"column": 16
},
"end": {
"line": 236,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 9478,
"end": 9486,
"loc": {
"start": {
"line": 236,
"column": 17
},
"end": {
"line": 236,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9486,
"end": 9487,
"loc": {
"start": {
"line": 236,
"column": 25
},
"end": {
"line": 236,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 9487,
"end": 9497,
"loc": {
"start": {
"line": 236,
"column": 26
},
"end": {
"line": 236,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9497,
"end": 9498,
"loc": {
"start": {
"line": 236,
"column": 36
},
"end": {
"line": 236,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compId",
"start": 9498,
"end": 9504,
"loc": {
"start": {
"line": 236,
"column": 37
},
"end": {
"line": 236,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9504,
"end": 9505,
"loc": {
"start": {
"line": 236,
"column": 43
},
"end": {
"line": 236,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9505,
"end": 9506,
"loc": {
"start": {
"line": 236,
"column": 44
},
"end": {
"line": 236,
"column": 45
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 9507,
"end": 9515,
"loc": {
"start": {
"line": 236,
"column": 46
},
"end": {
"line": 236,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9515,
"end": 9516,
"loc": {
"start": {
"line": 236,
"column": 54
},
"end": {
"line": 236,
"column": 55
}
}
},
{
"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": 9532,
"end": 9538,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorSystem",
"start": 9539,
"end": 9556,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 238,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9556,
"end": 9557,
"loc": {
"start": {
"line": 238,
"column": 36
},
"end": {
"line": 238,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPassOverItemComponents",
"start": 9557,
"end": 9582,
"loc": {
"start": {
"line": 238,
"column": 37
},
"end": {
"line": 238,
"column": 62
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9582,
"end": 9583,
"loc": {
"start": {
"line": 238,
"column": 62
},
"end": {
"line": 238,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compId",
"start": 9583,
"end": 9589,
"loc": {
"start": {
"line": 238,
"column": 63
},
"end": {
"line": 238,
"column": 69
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9589,
"end": 9590,
"loc": {
"start": {
"line": 238,
"column": 69
},
"end": {
"line": 238,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9590,
"end": 9591,
"loc": {
"start": {
"line": 238,
"column": 70
},
"end": {
"line": 238,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 9609,
"end": 9617,
"loc": {
"start": {
"line": 239,
"column": 16
},
"end": {
"line": 239,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9617,
"end": 9618,
"loc": {
"start": {
"line": 239,
"column": 24
},
"end": {
"line": 239,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 9618,
"end": 9628,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9628,
"end": 9629,
"loc": {
"start": {
"line": 239,
"column": 35
},
"end": {
"line": 239,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compId",
"start": 9629,
"end": 9635,
"loc": {
"start": {
"line": 239,
"column": 36
},
"end": {
"line": 239,
"column": 42
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9635,
"end": 9636,
"loc": {
"start": {
"line": 239,
"column": 42
},
"end": {
"line": 239,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9636,
"end": 9637,
"loc": {
"start": {
"line": 239,
"column": 43
},
"end": {
"line": 239,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 9655,
"end": 9659,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9659,
"end": 9660,
"loc": {
"start": {
"line": 240,
"column": 20
},
"end": {
"line": 240,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 9678,
"end": 9686,
"loc": {
"start": {
"line": 241,
"column": 16
},
"end": {
"line": 241,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9686,
"end": 9687,
"loc": {
"start": {
"line": 241,
"column": 24
},
"end": {
"line": 241,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 9705,
"end": 9714,
"loc": {
"start": {
"line": 242,
"column": 16
},
"end": {
"line": 242,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9714,
"end": 9715,
"loc": {
"start": {
"line": 242,
"column": 25
},
"end": {
"line": 242,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9733,
"end": 9737,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9751,
"end": 9752,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9752,
"end": 9753,
"loc": {
"start": {
"line": 244,
"column": 13
},
"end": {
"line": 244,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9763,
"end": 9764,
"loc": {
"start": {
"line": 245,
"column": 8
},
"end": {
"line": 245,
"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": 9776,
"end": 9782,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 9783,
"end": 9788,
"loc": {
"start": {
"line": 247,
"column": 15
},
"end": {
"line": 247,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9788,
"end": 9789,
"loc": {
"start": {
"line": 247,
"column": 20
},
"end": {
"line": 247,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9795,
"end": 9796,
"loc": {
"start": {
"line": 248,
"column": 4
},
"end": {
"line": 248,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 9804,
"end": 9895,
"loc": {
"start": {
"line": 250,
"column": 4
},
"end": {
"line": 253,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawChunk_ForegroundDynamicLayer",
"start": 9901,
"end": 9933,
"loc": {
"start": {
"line": 254,
"column": 4
},
"end": {
"line": 254,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9933,
"end": 9934,
"loc": {
"start": {
"line": 254,
"column": 36
},
"end": {
"line": 254,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9934,
"end": 9944,
"loc": {
"start": {
"line": 254,
"column": 37
},
"end": {
"line": 254,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9944,
"end": 9945,
"loc": {
"start": {
"line": 254,
"column": 47
},
"end": {
"line": 254,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 9946,
"end": 9951,
"loc": {
"start": {
"line": 254,
"column": 49
},
"end": {
"line": 254,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9951,
"end": 9952,
"loc": {
"start": {
"line": 254,
"column": 54
},
"end": {
"line": 254,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9953,
"end": 9954,
"loc": {
"start": {
"line": 254,
"column": 56
},
"end": {
"line": 254,
"column": 57
}
}
},
{
"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": 9964,
"end": 9966,
"loc": {
"start": {
"line": 255,
"column": 8
},
"end": {
"line": 255,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9967,
"end": 9968,
"loc": {
"start": {
"line": 255,
"column": 11
},
"end": {
"line": 255,
"column": 12
}
}
},
{
"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": 9968,
"end": 9972,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9972,
"end": 9973,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 9973,
"end": 9977,
"loc": {
"start": {
"line": 255,
"column": 17
},
"end": {
"line": 255,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9977,
"end": 9978,
"loc": {
"start": {
"line": 255,
"column": 21
},
"end": {
"line": 255,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 9978,
"end": 9981,
"loc": {
"start": {
"line": 255,
"column": 22
},
"end": {
"line": 255,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9981,
"end": 9982,
"loc": {
"start": {
"line": 255,
"column": 25
},
"end": {
"line": 255,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "settings",
"start": 9982,
"end": 9990,
"loc": {
"start": {
"line": 255,
"column": 26
},
"end": {
"line": 255,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9990,
"end": 9991,
"loc": {
"start": {
"line": 255,
"column": 34
},
"end": {
"line": 255,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAllSettings",
"start": 9991,
"end": 10005,
"loc": {
"start": {
"line": 255,
"column": 35
},
"end": {
"line": 255,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10005,
"end": 10006,
"loc": {
"start": {
"line": 255,
"column": 49
},
"end": {
"line": 255,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10006,
"end": 10007,
"loc": {
"start": {
"line": 255,
"column": 50
},
"end": {
"line": 255,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10007,
"end": 10008,
"loc": {
"start": {
"line": 255,
"column": 51
},
"end": {
"line": 255,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "simplifiedBelts",
"start": 10008,
"end": 10023,
"loc": {
"start": {
"line": 255,
"column": 52
},
"end": {
"line": 255,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10023,
"end": 10024,
"loc": {
"start": {
"line": 255,
"column": 67
},
"end": {
"line": 255,
"column": 68
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10025,
"end": 10026,
"loc": {
"start": {
"line": 255,
"column": 69
},
"end": {
"line": 255,
"column": 70
}
}
},
{
"type": "CommentLine",
"value": " Disabled in potato mode",
"start": 10040,
"end": 10066,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 38
}
}
},
{
"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": 10080,
"end": 10086,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10086,
"end": 10087,
"loc": {
"start": {
"line": 257,
"column": 18
},
"end": {
"line": 257,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10097,
"end": 10098,
"loc": {
"start": {
"line": 258,
"column": 8
},
"end": {
"line": 258,
"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": 10110,
"end": 10115,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 10116,
"end": 10124,
"loc": {
"start": {
"line": 260,
"column": 14
},
"end": {
"line": 260,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10125,
"end": 10126,
"loc": {
"start": {
"line": 260,
"column": 23
},
"end": {
"line": 260,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 10127,
"end": 10132,
"loc": {
"start": {
"line": 260,
"column": 25
},
"end": {
"line": 260,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10132,
"end": 10133,
"loc": {
"start": {
"line": 260,
"column": 30
},
"end": {
"line": 260,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containedEntitiesByLayer",
"start": 10133,
"end": 10157,
"loc": {
"start": {
"line": 260,
"column": 31
},
"end": {
"line": 260,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10157,
"end": 10158,
"loc": {
"start": {
"line": 260,
"column": 55
},
"end": {
"line": 260,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "regular",
"start": 10158,
"end": 10165,
"loc": {
"start": {
"line": 260,
"column": 56
},
"end": {
"line": 260,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10165,
"end": 10166,
"loc": {
"start": {
"line": 260,
"column": 63
},
"end": {
"line": 260,
"column": 64
}
}
},
{
"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": 10178,
"end": 10181,
"loc": {
"start": {
"line": 262,
"column": 8
},
"end": {
"line": 262,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10182,
"end": 10183,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"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": 10183,
"end": 10186,
"loc": {
"start": {
"line": 262,
"column": 13
},
"end": {
"line": 262,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10187,
"end": 10188,
"loc": {
"start": {
"line": 262,
"column": 17
},
"end": {
"line": 262,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10189,
"end": 10190,
"loc": {
"start": {
"line": 262,
"column": 19
},
"end": {
"line": 262,
"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": 10191,
"end": 10192,
"loc": {
"start": {
"line": 262,
"column": 21
},
"end": {
"line": 262,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10192,
"end": 10193,
"loc": {
"start": {
"line": 262,
"column": 22
},
"end": {
"line": 262,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10194,
"end": 10195,
"loc": {
"start": {
"line": 262,
"column": 24
},
"end": {
"line": 262,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 10196,
"end": 10197,
"loc": {
"start": {
"line": 262,
"column": 26
},
"end": {
"line": 262,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 10198,
"end": 10206,
"loc": {
"start": {
"line": 262,
"column": 28
},
"end": {
"line": 262,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10206,
"end": 10207,
"loc": {
"start": {
"line": 262,
"column": 36
},
"end": {
"line": 262,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 10207,
"end": 10213,
"loc": {
"start": {
"line": 262,
"column": 37
},
"end": {
"line": 262,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10213,
"end": 10214,
"loc": {
"start": {
"line": 262,
"column": 43
},
"end": {
"line": 262,
"column": 44
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 10215,
"end": 10217,
"loc": {
"start": {
"line": 262,
"column": 45
},
"end": {
"line": 262,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10217,
"end": 10218,
"loc": {
"start": {
"line": 262,
"column": 47
},
"end": {
"line": 262,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10218,
"end": 10219,
"loc": {
"start": {
"line": 262,
"column": 48
},
"end": {
"line": 262,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10220,
"end": 10221,
"loc": {
"start": {
"line": 262,
"column": 50
},
"end": {
"line": 262,
"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": 10235,
"end": 10240,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 10241,
"end": 10247,
"loc": {
"start": {
"line": 263,
"column": 18
},
"end": {
"line": 263,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10248,
"end": 10249,
"loc": {
"start": {
"line": 263,
"column": 25
},
"end": {
"line": 263,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 10250,
"end": 10258,
"loc": {
"start": {
"line": 263,
"column": 27
},
"end": {
"line": 263,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10258,
"end": 10259,
"loc": {
"start": {
"line": 263,
"column": 35
},
"end": {
"line": 263,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10259,
"end": 10260,
"loc": {
"start": {
"line": 263,
"column": 36
},
"end": {
"line": 263,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10260,
"end": 10261,
"loc": {
"start": {
"line": 263,
"column": 37
},
"end": {
"line": 263,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10261,
"end": 10262,
"loc": {
"start": {
"line": 263,
"column": 38
},
"end": {
"line": 263,
"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": 10276,
"end": 10281,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 10282,
"end": 10293,
"loc": {
"start": {
"line": 264,
"column": 18
},
"end": {
"line": 264,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10294,
"end": 10295,
"loc": {
"start": {
"line": 264,
"column": 30
},
"end": {
"line": 264,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 10296,
"end": 10302,
"loc": {
"start": {
"line": 264,
"column": 32
},
"end": {
"line": 264,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10302,
"end": 10303,
"loc": {
"start": {
"line": 264,
"column": 38
},
"end": {
"line": 264,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 10303,
"end": 10313,
"loc": {
"start": {
"line": 264,
"column": 39
},
"end": {
"line": 264,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10313,
"end": 10314,
"loc": {
"start": {
"line": 264,
"column": 49
},
"end": {
"line": 264,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 10314,
"end": 10325,
"loc": {
"start": {
"line": 264,
"column": 50
},
"end": {
"line": 264,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10325,
"end": 10326,
"loc": {
"start": {
"line": 264,
"column": 61
},
"end": {
"line": 264,
"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": 10340,
"end": 10342,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10343,
"end": 10344,
"loc": {
"start": {
"line": 265,
"column": 15
},
"end": {
"line": 265,
"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": 10344,
"end": 10345,
"loc": {
"start": {
"line": 265,
"column": 16
},
"end": {
"line": 265,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 10345,
"end": 10356,
"loc": {
"start": {
"line": 265,
"column": 17
},
"end": {
"line": 265,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10356,
"end": 10357,
"loc": {
"start": {
"line": 265,
"column": 28
},
"end": {
"line": 265,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10358,
"end": 10359,
"loc": {
"start": {
"line": 265,
"column": 30
},
"end": {
"line": 265,
"column": 31
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 10377,
"end": 10385,
"loc": {
"start": {
"line": 266,
"column": 16
},
"end": {
"line": 266,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10385,
"end": 10386,
"loc": {
"start": {
"line": 266,
"column": 24
},
"end": {
"line": 266,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10400,
"end": 10401,
"loc": {
"start": {
"line": 267,
"column": 12
},
"end": {
"line": 267,
"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": 10417,
"end": 10422,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 10423,
"end": 10433,
"loc": {
"start": {
"line": 269,
"column": 18
},
"end": {
"line": 269,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10434,
"end": 10435,
"loc": {
"start": {
"line": 269,
"column": 29
},
"end": {
"line": 269,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 10436,
"end": 10442,
"loc": {
"start": {
"line": 269,
"column": 31
},
"end": {
"line": 269,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10442,
"end": 10443,
"loc": {
"start": {
"line": 269,
"column": 37
},
"end": {
"line": 269,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 10443,
"end": 10453,
"loc": {
"start": {
"line": 269,
"column": 38
},
"end": {
"line": 269,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10453,
"end": 10454,
"loc": {
"start": {
"line": 269,
"column": 48
},
"end": {
"line": 269,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 10454,
"end": 10469,
"loc": {
"start": {
"line": 269,
"column": 49
},
"end": {
"line": 269,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10469,
"end": 10470,
"loc": {
"start": {
"line": 269,
"column": 64
},
"end": {
"line": 269,
"column": 65
}
}
},
{
"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": 10486,
"end": 10489,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 271,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10490,
"end": 10491,
"loc": {
"start": {
"line": 271,
"column": 16
},
"end": {
"line": 271,
"column": 17
}
}
},
{
"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": 10491,
"end": 10494,
"loc": {
"start": {
"line": 271,
"column": 17
},
"end": {
"line": 271,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10495,
"end": 10496,
"loc": {
"start": {
"line": 271,
"column": 21
},
"end": {
"line": 271,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10497,
"end": 10498,
"loc": {
"start": {
"line": 271,
"column": 23
},
"end": {
"line": 271,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10499,
"end": 10500,
"loc": {
"start": {
"line": 271,
"column": 25
},
"end": {
"line": 271,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10500,
"end": 10501,
"loc": {
"start": {
"line": 271,
"column": 26
},
"end": {
"line": 271,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10502,
"end": 10503,
"loc": {
"start": {
"line": 271,
"column": 28
},
"end": {
"line": 271,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 10504,
"end": 10505,
"loc": {
"start": {
"line": 271,
"column": 30
},
"end": {
"line": 271,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 10506,
"end": 10517,
"loc": {
"start": {
"line": 271,
"column": 32
},
"end": {
"line": 271,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10517,
"end": 10518,
"loc": {
"start": {
"line": 271,
"column": 43
},
"end": {
"line": 271,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 10518,
"end": 10523,
"loc": {
"start": {
"line": 271,
"column": 44
},
"end": {
"line": 271,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10523,
"end": 10524,
"loc": {
"start": {
"line": 271,
"column": 49
},
"end": {
"line": 271,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 10524,
"end": 10530,
"loc": {
"start": {
"line": 271,
"column": 50
},
"end": {
"line": 271,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10530,
"end": 10531,
"loc": {
"start": {
"line": 271,
"column": 56
},
"end": {
"line": 271,
"column": 57
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 10532,
"end": 10534,
"loc": {
"start": {
"line": 271,
"column": 58
},
"end": {
"line": 271,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10534,
"end": 10535,
"loc": {
"start": {
"line": 271,
"column": 60
},
"end": {
"line": 271,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10535,
"end": 10536,
"loc": {
"start": {
"line": 271,
"column": 61
},
"end": {
"line": 271,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10537,
"end": 10538,
"loc": {
"start": {
"line": 271,
"column": 63
},
"end": {
"line": 271,
"column": 64
}
}
},
{
"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": 10556,
"end": 10561,
"loc": {
"start": {
"line": 272,
"column": 16
},
"end": {
"line": 272,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 10562,
"end": 10566,
"loc": {
"start": {
"line": 272,
"column": 22
},
"end": {
"line": 272,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10567,
"end": 10568,
"loc": {
"start": {
"line": 272,
"column": 27
},
"end": {
"line": 272,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 10569,
"end": 10580,
"loc": {
"start": {
"line": 272,
"column": 29
},
"end": {
"line": 272,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10580,
"end": 10581,
"loc": {
"start": {
"line": 272,
"column": 40
},
"end": {
"line": 272,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 10581,
"end": 10586,
"loc": {
"start": {
"line": 272,
"column": 41
},
"end": {
"line": 272,
"column": 46
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10586,
"end": 10587,
"loc": {
"start": {
"line": 272,
"column": 46
},
"end": {
"line": 272,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 10587,
"end": 10588,
"loc": {
"start": {
"line": 272,
"column": 47
},
"end": {
"line": 272,
"column": 48
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10588,
"end": 10589,
"loc": {
"start": {
"line": 272,
"column": 48
},
"end": {
"line": 272,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10589,
"end": 10590,
"loc": {
"start": {
"line": 272,
"column": 49
},
"end": {
"line": 272,
"column": 50
}
}
},
{
"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": 10608,
"end": 10613,
"loc": {
"start": {
"line": 273,
"column": 16
},
"end": {
"line": 273,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectedItem",
"start": 10614,
"end": 10625,
"loc": {
"start": {
"line": 273,
"column": 22
},
"end": {
"line": 273,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10626,
"end": 10627,
"loc": {
"start": {
"line": 273,
"column": 34
},
"end": {
"line": 273,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 10628,
"end": 10632,
"loc": {
"start": {
"line": 273,
"column": 36
},
"end": {
"line": 273,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10632,
"end": 10633,
"loc": {
"start": {
"line": 273,
"column": 40
},
"end": {
"line": 273,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 10633,
"end": 10637,
"loc": {
"start": {
"line": 273,
"column": 41
},
"end": {
"line": 273,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10637,
"end": 10638,
"loc": {
"start": {
"line": 273,
"column": 45
},
"end": {
"line": 273,
"column": 46
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10658,
"end": 10660,
"loc": {
"start": {
"line": 275,
"column": 16
},
"end": {
"line": 275,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10661,
"end": 10662,
"loc": {
"start": {
"line": 275,
"column": 19
},
"end": {
"line": 275,
"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": 10662,
"end": 10663,
"loc": {
"start": {
"line": 275,
"column": 20
},
"end": {
"line": 275,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectedItem",
"start": 10663,
"end": 10674,
"loc": {
"start": {
"line": 275,
"column": 21
},
"end": {
"line": 275,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10674,
"end": 10675,
"loc": {
"start": {
"line": 275,
"column": 32
},
"end": {
"line": 275,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10676,
"end": 10677,
"loc": {
"start": {
"line": 275,
"column": 34
},
"end": {
"line": 275,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " No item",
"start": 10699,
"end": 10709,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 30
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 10731,
"end": 10739,
"loc": {
"start": {
"line": 277,
"column": 20
},
"end": {
"line": 277,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10739,
"end": 10740,
"loc": {
"start": {
"line": 277,
"column": 28
},
"end": {
"line": 277,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10758,
"end": 10759,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 17
}
}
},
{
"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": 10779,
"end": 10781,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 280,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10782,
"end": 10783,
"loc": {
"start": {
"line": 280,
"column": 19
},
"end": {
"line": 280,
"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": 10783,
"end": 10784,
"loc": {
"start": {
"line": 280,
"column": 20
},
"end": {
"line": 280,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectorComp",
"start": 10784,
"end": 10795,
"loc": {
"start": {
"line": 280,
"column": 21
},
"end": {
"line": 280,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10795,
"end": 10796,
"loc": {
"start": {
"line": 280,
"column": 32
},
"end": {
"line": 280,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderFloatingItems",
"start": 10796,
"end": 10815,
"loc": {
"start": {
"line": 280,
"column": 33
},
"end": {
"line": 280,
"column": 52
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 10816,
"end": 10818,
"loc": {
"start": {
"line": 280,
"column": 53
},
"end": {
"line": 280,
"column": 55
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 10819,
"end": 10820,
"loc": {
"start": {
"line": 280,
"column": 56
},
"end": {
"line": 280,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 10820,
"end": 10824,
"loc": {
"start": {
"line": 280,
"column": 57
},
"end": {
"line": 280,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10824,
"end": 10825,
"loc": {
"start": {
"line": 280,
"column": 61
},
"end": {
"line": 280,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedTargetEntity",
"start": 10825,
"end": 10843,
"loc": {
"start": {
"line": 280,
"column": 62
},
"end": {
"line": 280,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10843,
"end": 10844,
"loc": {
"start": {
"line": 280,
"column": 80
},
"end": {
"line": 280,
"column": 81
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10845,
"end": 10846,
"loc": {
"start": {
"line": 280,
"column": 82
},
"end": {
"line": 280,
"column": 83
}
}
},
{
"type": "CommentLine",
"value": " Not connected to any building",
"start": 10868,
"end": 10900,
"loc": {
"start": {
"line": 281,
"column": 20
},
"end": {
"line": 281,
"column": 52
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 10922,
"end": 10930,
"loc": {
"start": {
"line": 282,
"column": 20
},
"end": {
"line": 282,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10930,
"end": 10931,
"loc": {
"start": {
"line": 282,
"column": 28
},
"end": {
"line": 282,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10949,
"end": 10950,
"loc": {
"start": {
"line": 283,
"column": 16
},
"end": {
"line": 283,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Limit the progress to the maximum available space on the next belt (also see #1000)",
"start": 10970,
"end": 11056,
"loc": {
"start": {
"line": 285,
"column": 16
},
"end": {
"line": 285,
"column": 102
}
}
},
{
"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": 11074,
"end": 11077,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 11078,
"end": 11086,
"loc": {
"start": {
"line": 286,
"column": 20
},
"end": {
"line": 286,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11087,
"end": 11088,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 286,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 11089,
"end": 11093,
"loc": {
"start": {
"line": 286,
"column": 31
},
"end": {
"line": 286,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11093,
"end": 11094,
"loc": {
"start": {
"line": 286,
"column": 35
},
"end": {
"line": 286,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 11094,
"end": 11102,
"loc": {
"start": {
"line": 286,
"column": 36
},
"end": {
"line": 286,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11102,
"end": 11103,
"loc": {
"start": {
"line": 286,
"column": 44
},
"end": {
"line": 286,
"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": 11121,
"end": 11126,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nextBeltPath",
"start": 11127,
"end": 11139,
"loc": {
"start": {
"line": 287,
"column": 22
},
"end": {
"line": 287,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11140,
"end": 11141,
"loc": {
"start": {
"line": 287,
"column": 35
},
"end": {
"line": 287,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 11142,
"end": 11146,
"loc": {
"start": {
"line": 287,
"column": 37
},
"end": {
"line": 287,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11146,
"end": 11147,
"loc": {
"start": {
"line": 287,
"column": 41
},
"end": {
"line": 287,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBeltPath",
"start": 11147,
"end": 11161,
"loc": {
"start": {
"line": 287,
"column": 42
},
"end": {
"line": 287,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11161,
"end": 11162,
"loc": {
"start": {
"line": 287,
"column": 56
},
"end": {
"line": 287,
"column": 57
}
}
},
{
"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": 11180,
"end": 11182,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11183,
"end": 11184,
"loc": {
"start": {
"line": 288,
"column": 19
},
"end": {
"line": 288,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nextBeltPath",
"start": 11184,
"end": 11196,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11196,
"end": 11197,
"loc": {
"start": {
"line": 288,
"column": 32
},
"end": {
"line": 288,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11198,
"end": 11199,
"loc": {
"start": {
"line": 288,
"column": 34
},
"end": {
"line": 288,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "\r\n If you imagine the track between the center of the building and the center of the first belt as\r\n a range from 0 to 1:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n\r\n And for example the first item on belt has a distance of 0.4 to the beginning of the belt:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ item\r\n\r\n Then the space towards this first item is always 0.5 (the distance from the center of the building to the beginning of the belt)\r\n PLUS the spacing to the item, so in this case 0.5 + 0.4 = 0.9:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ item @ 0.9\r\n\r\n Since items must not get clashed, we need to substract some spacing (lets assume it is 0.6, exact value see globalConfig.itemSpacingOnBelts),\r\n So we do 0.9 - globalConfig.itemSpacingOnBelts = 0.3\r\n\r\n Building Belt\r\n | X | X |\r\n | 0...................1 |\r\n ^ ^ item @ 0.9\r\n ^ max progress = 0.3\r\n\r\n Because now our range actually only goes to the end of the building, and not towards the center of the building, we need to multiply\r\n all values by 2:\r\n\r\n Building Belt\r\n | X | X |\r\n | 0.........1.........2 |\r\n ^ ^ item @ 1.8\r\n ^ max progress = 0.6\r\n\r\n And that's it! If you summarize the calculations from above into a formula, you get the one below.\r\n ",
"start": 11221,
"end": 13561,
"loc": {
"start": {
"line": 289,
"column": 20
},
"end": {
"line": 331,
"column": 22
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 13585,
"end": 13590,
"loc": {
"start": {
"line": 333,
"column": 20
},
"end": {
"line": 333,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxProgress",
"start": 13591,
"end": 13602,
"loc": {
"start": {
"line": 333,
"column": 26
},
"end": {
"line": 333,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13603,
"end": 13604,
"loc": {
"start": {
"line": 333,
"column": 38
},
"end": {
"line": 333,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13630,
"end": 13631,
"loc": {
"start": {
"line": 334,
"column": 24
},
"end": {
"line": 334,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 13631,
"end": 13634,
"loc": {
"start": {
"line": 334,
"column": 25
},
"end": {
"line": 334,
"column": 28
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 13635,
"end": 13636,
"loc": {
"start": {
"line": 334,
"column": 29
},
"end": {
"line": 334,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nextBeltPath",
"start": 13637,
"end": 13649,
"loc": {
"start": {
"line": 334,
"column": 31
},
"end": {
"line": 334,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13649,
"end": 13650,
"loc": {
"start": {
"line": 334,
"column": 43
},
"end": {
"line": 334,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "spacingToFirstItem",
"start": 13650,
"end": 13668,
"loc": {
"start": {
"line": 334,
"column": 44
},
"end": {
"line": 334,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 13669,
"end": 13670,
"loc": {
"start": {
"line": 334,
"column": 63
},
"end": {
"line": 334,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 13671,
"end": 13683,
"loc": {
"start": {
"line": 334,
"column": 65
},
"end": {
"line": 334,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13683,
"end": 13684,
"loc": {
"start": {
"line": 334,
"column": 77
},
"end": {
"line": 334,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemSpacingOnBelts",
"start": 13684,
"end": 13702,
"loc": {
"start": {
"line": 334,
"column": 78
},
"end": {
"line": 334,
"column": 96
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13702,
"end": 13703,
"loc": {
"start": {
"line": 334,
"column": 96
},
"end": {
"line": 334,
"column": 97
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 13704,
"end": 13705,
"loc": {
"start": {
"line": 334,
"column": 98
},
"end": {
"line": 334,
"column": 99
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 13706,
"end": 13707,
"loc": {
"start": {
"line": 334,
"column": 100
},
"end": {
"line": 334,
"column": 101
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13707,
"end": 13708,
"loc": {
"start": {
"line": 334,
"column": 101
},
"end": {
"line": 334,
"column": 102
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 13730,
"end": 13738,
"loc": {
"start": {
"line": 335,
"column": 20
},
"end": {
"line": 335,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13739,
"end": 13740,
"loc": {
"start": {
"line": 335,
"column": 29
},
"end": {
"line": 335,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 13741,
"end": 13745,
"loc": {
"start": {
"line": 335,
"column": 31
},
"end": {
"line": 335,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13745,
"end": 13746,
"loc": {
"start": {
"line": 335,
"column": 35
},
"end": {
"line": 335,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 13746,
"end": 13749,
"loc": {
"start": {
"line": 335,
"column": 36
},
"end": {
"line": 335,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13749,
"end": 13750,
"loc": {
"start": {
"line": 335,
"column": 39
},
"end": {
"line": 335,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxProgress",
"start": 13750,
"end": 13761,
"loc": {
"start": {
"line": 335,
"column": 40
},
"end": {
"line": 335,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13761,
"end": 13762,
"loc": {
"start": {
"line": 335,
"column": 51
},
"end": {
"line": 335,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 13763,
"end": 13771,
"loc": {
"start": {
"line": 335,
"column": 53
},
"end": {
"line": 335,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13771,
"end": 13772,
"loc": {
"start": {
"line": 335,
"column": 61
},
"end": {
"line": 335,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13772,
"end": 13773,
"loc": {
"start": {
"line": 335,
"column": 62
},
"end": {
"line": 335,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13791,
"end": 13792,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Skip if the item would barely be visible",
"start": 13812,
"end": 13855,
"loc": {
"start": {
"line": 338,
"column": 16
},
"end": {
"line": 338,
"column": 59
}
}
},
{
"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": 13873,
"end": 13875,
"loc": {
"start": {
"line": 339,
"column": 16
},
"end": {
"line": 339,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13876,
"end": 13877,
"loc": {
"start": {
"line": 339,
"column": 19
},
"end": {
"line": 339,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 13877,
"end": 13885,
"loc": {
"start": {
"line": 339,
"column": 20
},
"end": {
"line": 339,
"column": 28
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 13886,
"end": 13887,
"loc": {
"start": {
"line": 339,
"column": 29
},
"end": {
"line": 339,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.05,
"start": 13888,
"end": 13892,
"loc": {
"start": {
"line": 339,
"column": 31
},
"end": {
"line": 339,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13892,
"end": 13893,
"loc": {
"start": {
"line": 339,
"column": 35
},
"end": {
"line": 339,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13894,
"end": 13895,
"loc": {
"start": {
"line": 339,
"column": 37
},
"end": {
"line": 339,
"column": 38
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 13917,
"end": 13925,
"loc": {
"start": {
"line": 340,
"column": 20
},
"end": {
"line": 340,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13925,
"end": 13926,
"loc": {
"start": {
"line": 340,
"column": 28
},
"end": {
"line": 340,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13944,
"end": 13945,
"loc": {
"start": {
"line": 341,
"column": 16
},
"end": {
"line": 341,
"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": 13965,
"end": 13970,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realPosition",
"start": 13971,
"end": 13983,
"loc": {
"start": {
"line": 343,
"column": 22
},
"end": {
"line": 343,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13984,
"end": 13985,
"loc": {
"start": {
"line": 343,
"column": 35
},
"end": {
"line": 343,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 13986,
"end": 13996,
"loc": {
"start": {
"line": 343,
"column": 37
},
"end": {
"line": 343,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13996,
"end": 13997,
"loc": {
"start": {
"line": 343,
"column": 47
},
"end": {
"line": 343,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 13997,
"end": 14013,
"loc": {
"start": {
"line": 343,
"column": 48
},
"end": {
"line": 343,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14013,
"end": 14014,
"loc": {
"start": {
"line": 343,
"column": 64
},
"end": {
"line": 343,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 14014,
"end": 14018,
"loc": {
"start": {
"line": 343,
"column": 65
},
"end": {
"line": 343,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14018,
"end": 14019,
"loc": {
"start": {
"line": 343,
"column": 69
},
"end": {
"line": 343,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 14019,
"end": 14022,
"loc": {
"start": {
"line": 343,
"column": 70
},
"end": {
"line": 343,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14022,
"end": 14023,
"loc": {
"start": {
"line": 343,
"column": 73
},
"end": {
"line": 343,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14023,
"end": 14024,
"loc": {
"start": {
"line": 343,
"column": 74
},
"end": {
"line": 343,
"column": 75
}
}
},
{
"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": 14042,
"end": 14044,
"loc": {
"start": {
"line": 344,
"column": 16
},
"end": {
"line": 344,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14045,
"end": 14046,
"loc": {
"start": {
"line": 344,
"column": 19
},
"end": {
"line": 344,
"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": 14046,
"end": 14047,
"loc": {
"start": {
"line": 344,
"column": 20
},
"end": {
"line": 344,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 14047,
"end": 14052,
"loc": {
"start": {
"line": 344,
"column": 21
},
"end": {
"line": 344,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14052,
"end": 14053,
"loc": {
"start": {
"line": 344,
"column": 26
},
"end": {
"line": 344,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSpaceRectangle",
"start": 14053,
"end": 14071,
"loc": {
"start": {
"line": 344,
"column": 27
},
"end": {
"line": 344,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14071,
"end": 14072,
"loc": {
"start": {
"line": 344,
"column": 45
},
"end": {
"line": 344,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsPoint",
"start": 14072,
"end": 14085,
"loc": {
"start": {
"line": 344,
"column": 46
},
"end": {
"line": 344,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14085,
"end": 14086,
"loc": {
"start": {
"line": 344,
"column": 59
},
"end": {
"line": 344,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realPosition",
"start": 14086,
"end": 14098,
"loc": {
"start": {
"line": 344,
"column": 60
},
"end": {
"line": 344,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14098,
"end": 14099,
"loc": {
"start": {
"line": 344,
"column": 72
},
"end": {
"line": 344,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 14099,
"end": 14100,
"loc": {
"start": {
"line": 344,
"column": 73
},
"end": {
"line": 344,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14100,
"end": 14101,
"loc": {
"start": {
"line": 344,
"column": 74
},
"end": {
"line": 344,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realPosition",
"start": 14102,
"end": 14114,
"loc": {
"start": {
"line": 344,
"column": 76
},
"end": {
"line": 344,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14114,
"end": 14115,
"loc": {
"start": {
"line": 344,
"column": 88
},
"end": {
"line": 344,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 14115,
"end": 14116,
"loc": {
"start": {
"line": 344,
"column": 89
},
"end": {
"line": 344,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14116,
"end": 14117,
"loc": {
"start": {
"line": 344,
"column": 90
},
"end": {
"line": 344,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14117,
"end": 14118,
"loc": {
"start": {
"line": 344,
"column": 91
},
"end": {
"line": 344,
"column": 92
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14119,
"end": 14120,
"loc": {
"start": {
"line": 344,
"column": 93
},
"end": {
"line": 344,
"column": 94
}
}
},
{
"type": "CommentLine",
"value": " Not within this chunk",
"start": 14142,
"end": 14166,
"loc": {
"start": {
"line": 345,
"column": 20
},
"end": {
"line": 345,
"column": 44
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 14188,
"end": 14196,
"loc": {
"start": {
"line": 346,
"column": 20
},
"end": {
"line": 346,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14196,
"end": 14197,
"loc": {
"start": {
"line": 346,
"column": 28
},
"end": {
"line": 346,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14215,
"end": 14216,
"loc": {
"start": {
"line": 347,
"column": 16
},
"end": {
"line": 347,
"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": 14236,
"end": 14241,
"loc": {
"start": {
"line": 349,
"column": 16
},
"end": {
"line": 349,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realDirection",
"start": 14242,
"end": 14255,
"loc": {
"start": {
"line": 349,
"column": 22
},
"end": {
"line": 349,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14256,
"end": 14257,
"loc": {
"start": {
"line": 349,
"column": 36
},
"end": {
"line": 349,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 14258,
"end": 14268,
"loc": {
"start": {
"line": 349,
"column": 38
},
"end": {
"line": 349,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14268,
"end": 14269,
"loc": {
"start": {
"line": 349,
"column": 48
},
"end": {
"line": 349,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localDirectionToWorld",
"start": 14269,
"end": 14290,
"loc": {
"start": {
"line": 349,
"column": 49
},
"end": {
"line": 349,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14290,
"end": 14291,
"loc": {
"start": {
"line": 349,
"column": 70
},
"end": {
"line": 349,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 14291,
"end": 14295,
"loc": {
"start": {
"line": 349,
"column": 71
},
"end": {
"line": 349,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14295,
"end": 14296,
"loc": {
"start": {
"line": 349,
"column": 75
},
"end": {
"line": 349,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 14296,
"end": 14305,
"loc": {
"start": {
"line": 349,
"column": 76
},
"end": {
"line": 349,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14305,
"end": 14306,
"loc": {
"start": {
"line": 349,
"column": 85
},
"end": {
"line": 349,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14306,
"end": 14307,
"loc": {
"start": {
"line": 349,
"column": 86
},
"end": {
"line": 349,
"column": 87
}
}
},
{
"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": 14325,
"end": 14330,
"loc": {
"start": {
"line": 350,
"column": 16
},
"end": {
"line": 350,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realDirectionVector",
"start": 14331,
"end": 14350,
"loc": {
"start": {
"line": 350,
"column": 22
},
"end": {
"line": 350,
"column": 41
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14351,
"end": 14352,
"loc": {
"start": {
"line": 350,
"column": 42
},
"end": {
"line": 350,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirectionToVector",
"start": 14353,
"end": 14374,
"loc": {
"start": {
"line": 350,
"column": 44
},
"end": {
"line": 350,
"column": 65
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14374,
"end": 14375,
"loc": {
"start": {
"line": 350,
"column": 65
},
"end": {
"line": 350,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realDirection",
"start": 14375,
"end": 14388,
"loc": {
"start": {
"line": 350,
"column": 66
},
"end": {
"line": 350,
"column": 79
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14388,
"end": 14389,
"loc": {
"start": {
"line": 350,
"column": 79
},
"end": {
"line": 350,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14389,
"end": 14390,
"loc": {
"start": {
"line": 350,
"column": 80
},
"end": {
"line": 350,
"column": 81
}
}
},
{
"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": 14410,
"end": 14415,
"loc": {
"start": {
"line": 352,
"column": 16
},
"end": {
"line": 352,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileX",
"start": 14416,
"end": 14421,
"loc": {
"start": {
"line": 352,
"column": 22
},
"end": {
"line": 352,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14422,
"end": 14423,
"loc": {
"start": {
"line": 352,
"column": 28
},
"end": {
"line": 352,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realPosition",
"start": 14424,
"end": 14436,
"loc": {
"start": {
"line": 352,
"column": 30
},
"end": {
"line": 352,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14436,
"end": 14437,
"loc": {
"start": {
"line": 352,
"column": 42
},
"end": {
"line": 352,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 14437,
"end": 14438,
"loc": {
"start": {
"line": 352,
"column": 43
},
"end": {
"line": 352,
"column": 44
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 14439,
"end": 14440,
"loc": {
"start": {
"line": 352,
"column": 45
},
"end": {
"line": 352,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 14441,
"end": 14444,
"loc": {
"start": {
"line": 352,
"column": 47
},
"end": {
"line": 352,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 14445,
"end": 14446,
"loc": {
"start": {
"line": 352,
"column": 51
},
"end": {
"line": 352,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realDirectionVector",
"start": 14447,
"end": 14466,
"loc": {
"start": {
"line": 352,
"column": 53
},
"end": {
"line": 352,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14466,
"end": 14467,
"loc": {
"start": {
"line": 352,
"column": 72
},
"end": {
"line": 352,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 14467,
"end": 14468,
"loc": {
"start": {
"line": 352,
"column": 73
},
"end": {
"line": 352,
"column": 74
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 14469,
"end": 14470,
"loc": {
"start": {
"line": 352,
"column": 75
},
"end": {
"line": 352,
"column": 76
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 14471,
"end": 14474,
"loc": {
"start": {
"line": 352,
"column": 77
},
"end": {
"line": 352,
"column": 80
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 14475,
"end": 14476,
"loc": {
"start": {
"line": 352,
"column": 81
},
"end": {
"line": 352,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 14477,
"end": 14485,
"loc": {
"start": {
"line": 352,
"column": 83
},
"end": {
"line": 352,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14485,
"end": 14486,
"loc": {
"start": {
"line": 352,
"column": 91
},
"end": {
"line": 352,
"column": 92
}
}
},
{
"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": 14504,
"end": 14509,
"loc": {
"start": {
"line": 353,
"column": 16
},
"end": {
"line": 353,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileY",
"start": 14510,
"end": 14515,
"loc": {
"start": {
"line": 353,
"column": 22
},
"end": {
"line": 353,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14516,
"end": 14517,
"loc": {
"start": {
"line": 353,
"column": 28
},
"end": {
"line": 353,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realPosition",
"start": 14518,
"end": 14530,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14530,
"end": 14531,
"loc": {
"start": {
"line": 353,
"column": 42
},
"end": {
"line": 353,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 14531,
"end": 14532,
"loc": {
"start": {
"line": 353,
"column": 43
},
"end": {
"line": 353,
"column": 44
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 14533,
"end": 14534,
"loc": {
"start": {
"line": 353,
"column": 45
},
"end": {
"line": 353,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 14535,
"end": 14538,
"loc": {
"start": {
"line": 353,
"column": 47
},
"end": {
"line": 353,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 14539,
"end": 14540,
"loc": {
"start": {
"line": 353,
"column": 51
},
"end": {
"line": 353,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realDirectionVector",
"start": 14541,
"end": 14560,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14560,
"end": 14561,
"loc": {
"start": {
"line": 353,
"column": 72
},
"end": {
"line": 353,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 14561,
"end": 14562,
"loc": {
"start": {
"line": 353,
"column": 73
},
"end": {
"line": 353,
"column": 74
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 14563,
"end": 14564,
"loc": {
"start": {
"line": 353,
"column": 75
},
"end": {
"line": 353,
"column": 76
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 14565,
"end": 14568,
"loc": {
"start": {
"line": 353,
"column": 77
},
"end": {
"line": 353,
"column": 80
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 14569,
"end": 14570,
"loc": {
"start": {
"line": 353,
"column": 81
},
"end": {
"line": 353,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "progress",
"start": 14571,
"end": 14579,
"loc": {
"start": {
"line": 353,
"column": 83
},
"end": {
"line": 353,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14579,
"end": 14580,
"loc": {
"start": {
"line": 353,
"column": 91
},
"end": {
"line": 353,
"column": 92
}
}
},
{
"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": 14600,
"end": 14605,
"loc": {
"start": {
"line": 355,
"column": 16
},
"end": {
"line": 355,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldX",
"start": 14606,
"end": 14612,
"loc": {
"start": {
"line": 355,
"column": 22
},
"end": {
"line": 355,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14613,
"end": 14614,
"loc": {
"start": {
"line": 355,
"column": 29
},
"end": {
"line": 355,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileX",
"start": 14615,
"end": 14620,
"loc": {
"start": {
"line": 355,
"column": 31
},
"end": {
"line": 355,
"column": 36
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 14621,
"end": 14622,
"loc": {
"start": {
"line": 355,
"column": 37
},
"end": {
"line": 355,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 14623,
"end": 14635,
"loc": {
"start": {
"line": 355,
"column": 39
},
"end": {
"line": 355,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14635,
"end": 14636,
"loc": {
"start": {
"line": 355,
"column": 51
},
"end": {
"line": 355,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 14636,
"end": 14644,
"loc": {
"start": {
"line": 355,
"column": 52
},
"end": {
"line": 355,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14644,
"end": 14645,
"loc": {
"start": {
"line": 355,
"column": 60
},
"end": {
"line": 355,
"column": 61
}
}
},
{
"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": 14663,
"end": 14668,
"loc": {
"start": {
"line": 356,
"column": 16
},
"end": {
"line": 356,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldY",
"start": 14669,
"end": 14675,
"loc": {
"start": {
"line": 356,
"column": 22
},
"end": {
"line": 356,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14676,
"end": 14677,
"loc": {
"start": {
"line": 356,
"column": 29
},
"end": {
"line": 356,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileY",
"start": 14678,
"end": 14683,
"loc": {
"start": {
"line": 356,
"column": 31
},
"end": {
"line": 356,
"column": 36
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 14684,
"end": 14685,
"loc": {
"start": {
"line": 356,
"column": 37
},
"end": {
"line": 356,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 14686,
"end": 14698,
"loc": {
"start": {
"line": 356,
"column": 39
},
"end": {
"line": 356,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14698,
"end": 14699,
"loc": {
"start": {
"line": 356,
"column": 51
},
"end": {
"line": 356,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 14699,
"end": 14707,
"loc": {
"start": {
"line": 356,
"column": 52
},
"end": {
"line": 356,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14707,
"end": 14708,
"loc": {
"start": {
"line": 356,
"column": 60
},
"end": {
"line": 356,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectedItem",
"start": 14728,
"end": 14739,
"loc": {
"start": {
"line": 358,
"column": 16
},
"end": {
"line": 358,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14739,
"end": 14740,
"loc": {
"start": {
"line": 358,
"column": 27
},
"end": {
"line": 358,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawItemCenteredClipped",
"start": 14740,
"end": 14763,
"loc": {
"start": {
"line": 358,
"column": 28
},
"end": {
"line": 358,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14763,
"end": 14764,
"loc": {
"start": {
"line": 358,
"column": 51
},
"end": {
"line": 358,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldX",
"start": 14786,
"end": 14792,
"loc": {
"start": {
"line": 359,
"column": 20
},
"end": {
"line": 359,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14792,
"end": 14793,
"loc": {
"start": {
"line": 359,
"column": 26
},
"end": {
"line": 359,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldY",
"start": 14815,
"end": 14821,
"loc": {
"start": {
"line": 360,
"column": 20
},
"end": {
"line": 360,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14821,
"end": 14822,
"loc": {
"start": {
"line": 360,
"column": 26
},
"end": {
"line": 360,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 14844,
"end": 14854,
"loc": {
"start": {
"line": 361,
"column": 20
},
"end": {
"line": 361,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14854,
"end": 14855,
"loc": {
"start": {
"line": 361,
"column": 30
},
"end": {
"line": 361,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 14877,
"end": 14889,
"loc": {
"start": {
"line": 362,
"column": 20
},
"end": {
"line": 362,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14889,
"end": 14890,
"loc": {
"start": {
"line": 362,
"column": 32
},
"end": {
"line": 362,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultItemDiameter",
"start": 14890,
"end": 14909,
"loc": {
"start": {
"line": 362,
"column": 33
},
"end": {
"line": 362,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14927,
"end": 14928,
"loc": {
"start": {
"line": 363,
"column": 16
},
"end": {
"line": 363,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14928,
"end": 14929,
"loc": {
"start": {
"line": 363,
"column": 17
},
"end": {
"line": 363,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14943,
"end": 14944,
"loc": {
"start": {
"line": 364,
"column": 12
},
"end": {
"line": 364,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14954,
"end": 14955,
"loc": {
"start": {
"line": 365,
"column": 8
},
"end": {
"line": 365,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14961,
"end": 14962,
"loc": {
"start": {
"line": 366,
"column": 4
},
"end": {
"line": 366,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14964,
"end": 14965,
"loc": {
"start": {
"line": 367,
"column": 0
},
"end": {
"line": 367,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjectorSystem",
"start": 14969,
"end": 14986,
"loc": {
"start": {
"line": 369,
"column": 0
},
"end": {
"line": 369,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14986,
"end": 14987,
"loc": {
"start": {
"line": 369,
"column": 17
},
"end": {
"line": 369,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPassOverItemComponents",
"start": 14987,
"end": 15012,
"loc": {
"start": {
"line": 369,
"column": 18
},
"end": {
"line": 369,
"column": 43
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 15013,
"end": 15014,
"loc": {
"start": {
"line": 369,
"column": 44
},
"end": {
"line": 369,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15015,
"end": 15016,
"loc": {
"start": {
"line": 369,
"column": 46
},
"end": {
"line": 369,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Belt",
"start": 15022,
"end": 15026,
"loc": {
"start": {
"line": 370,
"column": 4
},
"end": {
"line": 370,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15026,
"end": 15027,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15028,
"end": 15029,
"loc": {
"start": {
"line": 370,
"column": 10
},
"end": {
"line": 370,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 15029,
"end": 15033,
"loc": {
"start": {
"line": 370,
"column": 11
},
"end": {
"line": 370,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15033,
"end": 15034,
"loc": {
"start": {
"line": 370,
"column": 15
},
"end": {
"line": 370,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15035,
"end": 15039,
"loc": {
"start": {
"line": 370,
"column": 17
},
"end": {
"line": 370,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15039,
"end": 15040,
"loc": {
"start": {
"line": 370,
"column": 21
},
"end": {
"line": 370,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 15041,
"end": 15049,
"loc": {
"start": {
"line": 370,
"column": 23
},
"end": {
"line": 370,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15049,
"end": 15050,
"loc": {
"start": {
"line": 370,
"column": 31
},
"end": {
"line": 370,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 15051,
"end": 15060,
"loc": {
"start": {
"line": 370,
"column": 33
},
"end": {
"line": 370,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15060,
"end": 15061,
"loc": {
"start": {
"line": 370,
"column": 42
},
"end": {
"line": 370,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 15062,
"end": 15073,
"loc": {
"start": {
"line": 370,
"column": 44
},
"end": {
"line": 370,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15073,
"end": 15074,
"loc": {
"start": {
"line": 370,
"column": 55
},
"end": {
"line": 370,
"column": 56
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15075,
"end": 15077,
"loc": {
"start": {
"line": 370,
"column": 57
},
"end": {
"line": 370,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15078,
"end": 15079,
"loc": {
"start": {
"line": 370,
"column": 60
},
"end": {
"line": 370,
"column": 61
}
}
},
{
"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": 15089,
"end": 15094,
"loc": {
"start": {
"line": 371,
"column": 8
},
"end": {
"line": 371,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "path",
"start": 15095,
"end": 15099,
"loc": {
"start": {
"line": 371,
"column": 14
},
"end": {
"line": 371,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 15100,
"end": 15101,
"loc": {
"start": {
"line": 371,
"column": 19
},
"end": {
"line": 371,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 15102,
"end": 15106,
"loc": {
"start": {
"line": 371,
"column": 21
},
"end": {
"line": 371,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15106,
"end": 15107,
"loc": {
"start": {
"line": 371,
"column": 25
},
"end": {
"line": 371,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assignedPath",
"start": 15107,
"end": 15119,
"loc": {
"start": {
"line": 371,
"column": 26
},
"end": {
"line": 371,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15119,
"end": 15120,
"loc": {
"start": {
"line": 371,
"column": 38
},
"end": {
"line": 371,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 15130,
"end": 15136,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15136,
"end": 15137,
"loc": {
"start": {
"line": 372,
"column": 14
},
"end": {
"line": 372,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "path",
"start": 15137,
"end": 15141,
"loc": {
"start": {
"line": 372,
"column": 15
},
"end": {
"line": 372,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15141,
"end": 15142,
"loc": {
"start": {
"line": 372,
"column": 19
},
"end": {
"line": 372,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "belt has no path",
"start": 15143,
"end": 15161,
"loc": {
"start": {
"line": 372,
"column": 21
},
"end": {
"line": 372,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15161,
"end": 15162,
"loc": {
"start": {
"line": 372,
"column": 39
},
"end": {
"line": 372,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15162,
"end": 15163,
"loc": {
"start": {
"line": 372,
"column": 40
},
"end": {
"line": 372,
"column": 41
}
}
},
{
"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": 15173,
"end": 15175,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15176,
"end": 15177,
"loc": {
"start": {
"line": 373,
"column": 11
},
"end": {
"line": 373,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "path",
"start": 15177,
"end": 15181,
"loc": {
"start": {
"line": 373,
"column": 12
},
"end": {
"line": 373,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15181,
"end": 15182,
"loc": {
"start": {
"line": 373,
"column": 16
},
"end": {
"line": 373,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryAcceptItem",
"start": 15182,
"end": 15195,
"loc": {
"start": {
"line": 373,
"column": 17
},
"end": {
"line": 373,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15195,
"end": 15196,
"loc": {
"start": {
"line": 373,
"column": 30
},
"end": {
"line": 373,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15196,
"end": 15200,
"loc": {
"start": {
"line": 373,
"column": 31
},
"end": {
"line": 373,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15200,
"end": 15201,
"loc": {
"start": {
"line": 373,
"column": 35
},
"end": {
"line": 373,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15201,
"end": 15202,
"loc": {
"start": {
"line": 373,
"column": 36
},
"end": {
"line": 373,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15203,
"end": 15204,
"loc": {
"start": {
"line": 373,
"column": 38
},
"end": {
"line": 373,
"column": 39
}
}
},
{
"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": 15218,
"end": 15224,
"loc": {
"start": {
"line": 374,
"column": 12
},
"end": {
"line": 374,
"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": 15225,
"end": 15229,
"loc": {
"start": {
"line": 374,
"column": 19
},
"end": {
"line": 374,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15229,
"end": 15230,
"loc": {
"start": {
"line": 374,
"column": 23
},
"end": {
"line": 374,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15240,
"end": 15241,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Belt can have nothing else",
"start": 15251,
"end": 15280,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"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": 15290,
"end": 15296,
"loc": {
"start": {
"line": 377,
"column": 8
},
"end": {
"line": 377,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 15297,
"end": 15302,
"loc": {
"start": {
"line": 377,
"column": 15
},
"end": {
"line": 377,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15302,
"end": 15303,
"loc": {
"start": {
"line": 377,
"column": 20
},
"end": {
"line": 377,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15309,
"end": 15310,
"loc": {
"start": {
"line": 378,
"column": 4
},
"end": {
"line": 378,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15310,
"end": 15311,
"loc": {
"start": {
"line": 378,
"column": 5
},
"end": {
"line": 378,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemProcessor",
"start": 15319,
"end": 15332,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 380,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15332,
"end": 15333,
"loc": {
"start": {
"line": 380,
"column": 17
},
"end": {
"line": 380,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15334,
"end": 15335,
"loc": {
"start": {
"line": 380,
"column": 19
},
"end": {
"line": 380,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 15335,
"end": 15339,
"loc": {
"start": {
"line": 380,
"column": 20
},
"end": {
"line": 380,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15339,
"end": 15340,
"loc": {
"start": {
"line": 380,
"column": 24
},
"end": {
"line": 380,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15341,
"end": 15345,
"loc": {
"start": {
"line": 380,
"column": 26
},
"end": {
"line": 380,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15345,
"end": 15346,
"loc": {
"start": {
"line": 380,
"column": 30
},
"end": {
"line": 380,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 15347,
"end": 15355,
"loc": {
"start": {
"line": 380,
"column": 32
},
"end": {
"line": 380,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15355,
"end": 15356,
"loc": {
"start": {
"line": 380,
"column": 40
},
"end": {
"line": 380,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 15357,
"end": 15366,
"loc": {
"start": {
"line": 380,
"column": 42
},
"end": {
"line": 380,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15366,
"end": 15367,
"loc": {
"start": {
"line": 380,
"column": 51
},
"end": {
"line": 380,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 15368,
"end": 15379,
"loc": {
"start": {
"line": 380,
"column": 53
},
"end": {
"line": 380,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15379,
"end": 15380,
"loc": {
"start": {
"line": 380,
"column": 64
},
"end": {
"line": 380,
"column": 65
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15381,
"end": 15383,
"loc": {
"start": {
"line": 380,
"column": 66
},
"end": {
"line": 380,
"column": 68
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15384,
"end": 15385,
"loc": {
"start": {
"line": 380,
"column": 69
},
"end": {
"line": 380,
"column": 70
}
}
},
{
"type": "CommentLine",
"value": " Check for potential filters",
"start": 15395,
"end": 15425,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 38
}
}
},
{
"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": 15435,
"end": 15437,
"loc": {
"start": {
"line": 382,
"column": 8
},
"end": {
"line": 382,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15438,
"end": 15439,
"loc": {
"start": {
"line": 382,
"column": 11
},
"end": {
"line": 382,
"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": 15439,
"end": 15440,
"loc": {
"start": {
"line": 382,
"column": 12
},
"end": {
"line": 382,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 15440,
"end": 15451,
"loc": {
"start": {
"line": 382,
"column": 13
},
"end": {
"line": 382,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15451,
"end": 15452,
"loc": {
"start": {
"line": 382,
"column": 24
},
"end": {
"line": 382,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 15452,
"end": 15456,
"loc": {
"start": {
"line": 382,
"column": 25
},
"end": {
"line": 382,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15456,
"end": 15457,
"loc": {
"start": {
"line": 382,
"column": 29
},
"end": {
"line": 382,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemMgr",
"start": 15457,
"end": 15466,
"loc": {
"start": {
"line": 382,
"column": 30
},
"end": {
"line": 382,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15466,
"end": 15467,
"loc": {
"start": {
"line": 382,
"column": 39
},
"end": {
"line": 382,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systems",
"start": 15467,
"end": 15474,
"loc": {
"start": {
"line": 382,
"column": 40
},
"end": {
"line": 382,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15474,
"end": 15475,
"loc": {
"start": {
"line": 382,
"column": 47
},
"end": {
"line": 382,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemProcessor",
"start": 15475,
"end": 15488,
"loc": {
"start": {
"line": 382,
"column": 48
},
"end": {
"line": 382,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15488,
"end": 15489,
"loc": {
"start": {
"line": 382,
"column": 61
},
"end": {
"line": 382,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "checkRequirements",
"start": 15489,
"end": 15506,
"loc": {
"start": {
"line": 382,
"column": 62
},
"end": {
"line": 382,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15506,
"end": 15507,
"loc": {
"start": {
"line": 382,
"column": 79
},
"end": {
"line": 382,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 15507,
"end": 15515,
"loc": {
"start": {
"line": 382,
"column": 80
},
"end": {
"line": 382,
"column": 88
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15515,
"end": 15516,
"loc": {
"start": {
"line": 382,
"column": 88
},
"end": {
"line": 382,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15517,
"end": 15521,
"loc": {
"start": {
"line": 382,
"column": 90
},
"end": {
"line": 382,
"column": 94
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15521,
"end": 15522,
"loc": {
"start": {
"line": 382,
"column": 94
},
"end": {
"line": 382,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 15523,
"end": 15532,
"loc": {
"start": {
"line": 382,
"column": 96
},
"end": {
"line": 382,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15532,
"end": 15533,
"loc": {
"start": {
"line": 382,
"column": 105
},
"end": {
"line": 382,
"column": 106
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15533,
"end": 15534,
"loc": {
"start": {
"line": 382,
"column": 106
},
"end": {
"line": 382,
"column": 107
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15535,
"end": 15536,
"loc": {
"start": {
"line": 382,
"column": 108
},
"end": {
"line": 382,
"column": 109
}
}
},
{
"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": 15550,
"end": 15556,
"loc": {
"start": {
"line": 383,
"column": 12
},
"end": {
"line": 383,
"column": 18
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 15557,
"end": 15562,
"loc": {
"start": {
"line": 383,
"column": 19
},
"end": {
"line": 383,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15562,
"end": 15563,
"loc": {
"start": {
"line": 383,
"column": 24
},
"end": {
"line": 383,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15573,
"end": 15574,
"loc": {
"start": {
"line": 384,
"column": 8
},
"end": {
"line": 384,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Its an item processor ..",
"start": 15586,
"end": 15613,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"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": 15623,
"end": 15625,
"loc": {
"start": {
"line": 387,
"column": 8
},
"end": {
"line": 387,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15626,
"end": 15627,
"loc": {
"start": {
"line": 387,
"column": 11
},
"end": {
"line": 387,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 15627,
"end": 15631,
"loc": {
"start": {
"line": 387,
"column": 12
},
"end": {
"line": 387,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15631,
"end": 15632,
"loc": {
"start": {
"line": 387,
"column": 16
},
"end": {
"line": 387,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryTakeItem",
"start": 15632,
"end": 15643,
"loc": {
"start": {
"line": 387,
"column": 17
},
"end": {
"line": 387,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15643,
"end": 15644,
"loc": {
"start": {
"line": 387,
"column": 28
},
"end": {
"line": 387,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15644,
"end": 15648,
"loc": {
"start": {
"line": 387,
"column": 29
},
"end": {
"line": 387,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15648,
"end": 15649,
"loc": {
"start": {
"line": 387,
"column": 33
},
"end": {
"line": 387,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 15650,
"end": 15659,
"loc": {
"start": {
"line": 387,
"column": 35
},
"end": {
"line": 387,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15659,
"end": 15660,
"loc": {
"start": {
"line": 387,
"column": 44
},
"end": {
"line": 387,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15660,
"end": 15661,
"loc": {
"start": {
"line": 387,
"column": 45
},
"end": {
"line": 387,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15662,
"end": 15663,
"loc": {
"start": {
"line": 387,
"column": 47
},
"end": {
"line": 387,
"column": 48
}
}
},
{
"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": 15677,
"end": 15683,
"loc": {
"start": {
"line": 388,
"column": 12
},
"end": {
"line": 388,
"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": 15684,
"end": 15688,
"loc": {
"start": {
"line": 388,
"column": 19
},
"end": {
"line": 388,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15688,
"end": 15689,
"loc": {
"start": {
"line": 388,
"column": 23
},
"end": {
"line": 388,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15699,
"end": 15700,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 389,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Item processor can have nothing else",
"start": 15710,
"end": 15749,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 47
}
}
},
{
"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": 15759,
"end": 15765,
"loc": {
"start": {
"line": 391,
"column": 8
},
"end": {
"line": 391,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 15766,
"end": 15771,
"loc": {
"start": {
"line": 391,
"column": 15
},
"end": {
"line": 391,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15771,
"end": 15772,
"loc": {
"start": {
"line": 391,
"column": 20
},
"end": {
"line": 391,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15778,
"end": 15779,
"loc": {
"start": {
"line": 392,
"column": 4
},
"end": {
"line": 392,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15779,
"end": 15780,
"loc": {
"start": {
"line": 392,
"column": 5
},
"end": {
"line": 392,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "UndergroundBelt",
"start": 15788,
"end": 15803,
"loc": {
"start": {
"line": 394,
"column": 4
},
"end": {
"line": 394,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15803,
"end": 15804,
"loc": {
"start": {
"line": 394,
"column": 19
},
"end": {
"line": 394,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15805,
"end": 15806,
"loc": {
"start": {
"line": 394,
"column": 21
},
"end": {
"line": 394,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 15806,
"end": 15810,
"loc": {
"start": {
"line": 394,
"column": 22
},
"end": {
"line": 394,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15810,
"end": 15811,
"loc": {
"start": {
"line": 394,
"column": 26
},
"end": {
"line": 394,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15812,
"end": 15816,
"loc": {
"start": {
"line": 394,
"column": 28
},
"end": {
"line": 394,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15816,
"end": 15817,
"loc": {
"start": {
"line": 394,
"column": 32
},
"end": {
"line": 394,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 15818,
"end": 15826,
"loc": {
"start": {
"line": 394,
"column": 34
},
"end": {
"line": 394,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15826,
"end": 15827,
"loc": {
"start": {
"line": 394,
"column": 42
},
"end": {
"line": 394,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 15828,
"end": 15837,
"loc": {
"start": {
"line": 394,
"column": 44
},
"end": {
"line": 394,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15837,
"end": 15838,
"loc": {
"start": {
"line": 394,
"column": 53
},
"end": {
"line": 394,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 15839,
"end": 15850,
"loc": {
"start": {
"line": 394,
"column": 55
},
"end": {
"line": 394,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15850,
"end": 15851,
"loc": {
"start": {
"line": 394,
"column": 66
},
"end": {
"line": 394,
"column": 67
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15852,
"end": 15854,
"loc": {
"start": {
"line": 394,
"column": 68
},
"end": {
"line": 394,
"column": 70
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15855,
"end": 15856,
"loc": {
"start": {
"line": 394,
"column": 71
},
"end": {
"line": 394,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Its an underground belt. yay.",
"start": 15866,
"end": 15898,
"loc": {
"start": {
"line": 395,
"column": 8
},
"end": {
"line": 395,
"column": 40
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 15908,
"end": 15910,
"loc": {
"start": {
"line": 396,
"column": 8
},
"end": {
"line": 396,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15911,
"end": 15912,
"loc": {
"start": {
"line": 396,
"column": 11
},
"end": {
"line": 396,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 15912,
"end": 15916,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15916,
"end": 15917,
"loc": {
"start": {
"line": 396,
"column": 16
},
"end": {
"line": 396,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryAcceptExternalItem",
"start": 15917,
"end": 15938,
"loc": {
"start": {
"line": 396,
"column": 17
},
"end": {
"line": 396,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15938,
"end": 15939,
"loc": {
"start": {
"line": 396,
"column": 38
},
"end": {
"line": 396,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 15939,
"end": 15943,
"loc": {
"start": {
"line": 396,
"column": 39
},
"end": {
"line": 396,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15943,
"end": 15944,
"loc": {
"start": {
"line": 396,
"column": 43
},
"end": {
"line": 396,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 15945,
"end": 15956,
"loc": {
"start": {
"line": 396,
"column": 45
},
"end": {
"line": 396,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15956,
"end": 15957,
"loc": {
"start": {
"line": 396,
"column": 56
},
"end": {
"line": 396,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 15957,
"end": 15961,
"loc": {
"start": {
"line": 396,
"column": 57
},
"end": {
"line": 396,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15961,
"end": 15962,
"loc": {
"start": {
"line": 396,
"column": 61
},
"end": {
"line": 396,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 15962,
"end": 15970,
"loc": {
"start": {
"line": 396,
"column": 62
},
"end": {
"line": 396,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 15970,
"end": 15971,
"loc": {
"start": {
"line": 396,
"column": 70
},
"end": {
"line": 396,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getUndergroundBeltBaseSpeed",
"start": 15971,
"end": 15998,
"loc": {
"start": {
"line": 396,
"column": 71
},
"end": {
"line": 396,
"column": 98
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15998,
"end": 15999,
"loc": {
"start": {
"line": 396,
"column": 98
},
"end": {
"line": 396,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 15999,
"end": 16000,
"loc": {
"start": {
"line": 396,
"column": 99
},
"end": {
"line": 396,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16000,
"end": 16001,
"loc": {
"start": {
"line": 396,
"column": 100
},
"end": {
"line": 396,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16001,
"end": 16002,
"loc": {
"start": {
"line": 396,
"column": 101
},
"end": {
"line": 396,
"column": 102
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16003,
"end": 16004,
"loc": {
"start": {
"line": 396,
"column": 103
},
"end": {
"line": 396,
"column": 104
}
}
},
{
"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": 16018,
"end": 16024,
"loc": {
"start": {
"line": 397,
"column": 12
},
"end": {
"line": 397,
"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": 16025,
"end": 16029,
"loc": {
"start": {
"line": 397,
"column": 19
},
"end": {
"line": 397,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16029,
"end": 16030,
"loc": {
"start": {
"line": 397,
"column": 23
},
"end": {
"line": 397,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16040,
"end": 16041,
"loc": {
"start": {
"line": 398,
"column": 8
},
"end": {
"line": 398,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Underground belt can have nothing else",
"start": 16053,
"end": 16094,
"loc": {
"start": {
"line": 400,
"column": 8
},
"end": {
"line": 400,
"column": 49
}
}
},
{
"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": 16104,
"end": 16110,
"loc": {
"start": {
"line": 401,
"column": 8
},
"end": {
"line": 401,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 16111,
"end": 16116,
"loc": {
"start": {
"line": 401,
"column": 15
},
"end": {
"line": 401,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16116,
"end": 16117,
"loc": {
"start": {
"line": 401,
"column": 20
},
"end": {
"line": 401,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16123,
"end": 16124,
"loc": {
"start": {
"line": 402,
"column": 4
},
"end": {
"line": 402,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16124,
"end": 16125,
"loc": {
"start": {
"line": 402,
"column": 5
},
"end": {
"line": 402,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Storage",
"start": 16133,
"end": 16140,
"loc": {
"start": {
"line": 404,
"column": 4
},
"end": {
"line": 404,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16140,
"end": 16141,
"loc": {
"start": {
"line": 404,
"column": 11
},
"end": {
"line": 404,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16142,
"end": 16143,
"loc": {
"start": {
"line": 404,
"column": 13
},
"end": {
"line": 404,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 16143,
"end": 16147,
"loc": {
"start": {
"line": 404,
"column": 14
},
"end": {
"line": 404,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16147,
"end": 16148,
"loc": {
"start": {
"line": 404,
"column": 18
},
"end": {
"line": 404,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 16149,
"end": 16153,
"loc": {
"start": {
"line": 404,
"column": 20
},
"end": {
"line": 404,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16153,
"end": 16154,
"loc": {
"start": {
"line": 404,
"column": 24
},
"end": {
"line": 404,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 16155,
"end": 16163,
"loc": {
"start": {
"line": 404,
"column": 26
},
"end": {
"line": 404,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16163,
"end": 16164,
"loc": {
"start": {
"line": 404,
"column": 34
},
"end": {
"line": 404,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 16165,
"end": 16174,
"loc": {
"start": {
"line": 404,
"column": 36
},
"end": {
"line": 404,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16174,
"end": 16175,
"loc": {
"start": {
"line": 404,
"column": 45
},
"end": {
"line": 404,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 16176,
"end": 16187,
"loc": {
"start": {
"line": 404,
"column": 47
},
"end": {
"line": 404,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16187,
"end": 16188,
"loc": {
"start": {
"line": 404,
"column": 58
},
"end": {
"line": 404,
"column": 59
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16189,
"end": 16191,
"loc": {
"start": {
"line": 404,
"column": 60
},
"end": {
"line": 404,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16192,
"end": 16193,
"loc": {
"start": {
"line": 404,
"column": 63
},
"end": {
"line": 404,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " It's a storage",
"start": 16203,
"end": 16220,
"loc": {
"start": {
"line": 405,
"column": 8
},
"end": {
"line": 405,
"column": 25
}
}
},
{
"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": 16230,
"end": 16232,
"loc": {
"start": {
"line": 406,
"column": 8
},
"end": {
"line": 406,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16233,
"end": 16234,
"loc": {
"start": {
"line": 406,
"column": 11
},
"end": {
"line": 406,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 16234,
"end": 16238,
"loc": {
"start": {
"line": 406,
"column": 12
},
"end": {
"line": 406,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16238,
"end": 16239,
"loc": {
"start": {
"line": 406,
"column": 16
},
"end": {
"line": 406,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canAcceptItem",
"start": 16239,
"end": 16252,
"loc": {
"start": {
"line": 406,
"column": 17
},
"end": {
"line": 406,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16252,
"end": 16253,
"loc": {
"start": {
"line": 406,
"column": 30
},
"end": {
"line": 406,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 16253,
"end": 16257,
"loc": {
"start": {
"line": 406,
"column": 31
},
"end": {
"line": 406,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16257,
"end": 16258,
"loc": {
"start": {
"line": 406,
"column": 35
},
"end": {
"line": 406,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16258,
"end": 16259,
"loc": {
"start": {
"line": 406,
"column": 36
},
"end": {
"line": 406,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16260,
"end": 16261,
"loc": {
"start": {
"line": 406,
"column": 38
},
"end": {
"line": 406,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 16275,
"end": 16279,
"loc": {
"start": {
"line": 407,
"column": 12
},
"end": {
"line": 407,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16279,
"end": 16280,
"loc": {
"start": {
"line": 407,
"column": 16
},
"end": {
"line": 407,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "takeItem",
"start": 16280,
"end": 16288,
"loc": {
"start": {
"line": 407,
"column": 17
},
"end": {
"line": 407,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16288,
"end": 16289,
"loc": {
"start": {
"line": 407,
"column": 25
},
"end": {
"line": 407,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 16289,
"end": 16293,
"loc": {
"start": {
"line": 407,
"column": 26
},
"end": {
"line": 407,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16293,
"end": 16294,
"loc": {
"start": {
"line": 407,
"column": 30
},
"end": {
"line": 407,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16294,
"end": 16295,
"loc": {
"start": {
"line": 407,
"column": 31
},
"end": {
"line": 407,
"column": 32
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 16309,
"end": 16315,
"loc": {
"start": {
"line": 408,
"column": 12
},
"end": {
"line": 408,
"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": 16316,
"end": 16320,
"loc": {
"start": {
"line": 408,
"column": 19
},
"end": {
"line": 408,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16320,
"end": 16321,
"loc": {
"start": {
"line": 408,
"column": 23
},
"end": {
"line": 408,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16331,
"end": 16332,
"loc": {
"start": {
"line": 409,
"column": 8
},
"end": {
"line": 409,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Storage can't have anything else",
"start": 16344,
"end": 16379,
"loc": {
"start": {
"line": 411,
"column": 8
},
"end": {
"line": 411,
"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": 16389,
"end": 16395,
"loc": {
"start": {
"line": 412,
"column": 8
},
"end": {
"line": 412,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 16396,
"end": 16401,
"loc": {
"start": {
"line": 412,
"column": 15
},
"end": {
"line": 412,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16401,
"end": 16402,
"loc": {
"start": {
"line": 412,
"column": 20
},
"end": {
"line": 412,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16408,
"end": 16409,
"loc": {
"start": {
"line": 413,
"column": 4
},
"end": {
"line": 413,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16409,
"end": 16410,
"loc": {
"start": {
"line": 413,
"column": 5
},
"end": {
"line": 413,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Filter",
"start": 16418,
"end": 16424,
"loc": {
"start": {
"line": 415,
"column": 4
},
"end": {
"line": 415,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16424,
"end": 16425,
"loc": {
"start": {
"line": 415,
"column": 10
},
"end": {
"line": 415,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16426,
"end": 16427,
"loc": {
"start": {
"line": 415,
"column": 12
},
"end": {
"line": 415,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "comp",
"start": 16427,
"end": 16431,
"loc": {
"start": {
"line": 415,
"column": 13
},
"end": {
"line": 415,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16431,
"end": 16432,
"loc": {
"start": {
"line": 415,
"column": 17
},
"end": {
"line": 415,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 16433,
"end": 16437,
"loc": {
"start": {
"line": 415,
"column": 19
},
"end": {
"line": 415,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16437,
"end": 16438,
"loc": {
"start": {
"line": 415,
"column": 23
},
"end": {
"line": 415,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 16439,
"end": 16447,
"loc": {
"start": {
"line": 415,
"column": 25
},
"end": {
"line": 415,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16447,
"end": 16448,
"loc": {
"start": {
"line": 415,
"column": 33
},
"end": {
"line": 415,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 16449,
"end": 16458,
"loc": {
"start": {
"line": 415,
"column": 35
},
"end": {
"line": 415,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16458,
"end": 16459,
"loc": {
"start": {
"line": 415,
"column": 44
},
"end": {
"line": 415,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 16460,
"end": 16471,
"loc": {
"start": {
"line": 415,
"column": 46
},
"end": {
"line": 415,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16471,
"end": 16472,
"loc": {
"start": {
"line": 415,
"column": 57
},
"end": {
"line": 415,
"column": 58
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16473,
"end": 16475,
"loc": {
"start": {
"line": 415,
"column": 59
},
"end": {
"line": 415,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16476,
"end": 16477,
"loc": {
"start": {
"line": 415,
"column": 62
},
"end": {
"line": 415,
"column": 63
}
}
},
{
"type": "CommentLine",
"value": " It's a filter! Unfortunately the filter has to know a lot about it's",
"start": 16487,
"end": 16558,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 79
}
}
},
{
"type": "CommentLine",
"value": " surrounding state and components, so it can't be within the component itself.",
"start": 16568,
"end": 16648,
"loc": {
"start": {
"line": 417,
"column": 8
},
"end": {
"line": 417,
"column": 88
}
}
},
{
"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": 16658,
"end": 16660,
"loc": {
"start": {
"line": 418,
"column": 8
},
"end": {
"line": 418,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16661,
"end": 16662,
"loc": {
"start": {
"line": 418,
"column": 11
},
"end": {
"line": 418,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemEjector",
"start": 16662,
"end": 16673,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16673,
"end": 16674,
"loc": {
"start": {
"line": 418,
"column": 23
},
"end": {
"line": 418,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 16674,
"end": 16678,
"loc": {
"start": {
"line": 418,
"column": 24
},
"end": {
"line": 418,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16678,
"end": 16679,
"loc": {
"start": {
"line": 418,
"column": 28
},
"end": {
"line": 418,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemMgr",
"start": 16679,
"end": 16688,
"loc": {
"start": {
"line": 418,
"column": 29
},
"end": {
"line": 418,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16688,
"end": 16689,
"loc": {
"start": {
"line": 418,
"column": 38
},
"end": {
"line": 418,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systems",
"start": 16689,
"end": 16696,
"loc": {
"start": {
"line": 418,
"column": 39
},
"end": {
"line": 418,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16696,
"end": 16697,
"loc": {
"start": {
"line": 418,
"column": 46
},
"end": {
"line": 418,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 16697,
"end": 16703,
"loc": {
"start": {
"line": 418,
"column": 47
},
"end": {
"line": 418,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16703,
"end": 16704,
"loc": {
"start": {
"line": 418,
"column": 53
},
"end": {
"line": 418,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryAcceptItem",
"start": 16704,
"end": 16717,
"loc": {
"start": {
"line": 418,
"column": 54
},
"end": {
"line": 418,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16717,
"end": 16718,
"loc": {
"start": {
"line": 418,
"column": 67
},
"end": {
"line": 418,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receiver",
"start": 16718,
"end": 16726,
"loc": {
"start": {
"line": 418,
"column": 68
},
"end": {
"line": 418,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16726,
"end": 16727,
"loc": {
"start": {
"line": 418,
"column": 76
},
"end": {
"line": 418,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 16728,
"end": 16737,
"loc": {
"start": {
"line": 418,
"column": 78
},
"end": {
"line": 418,
"column": 87
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16737,
"end": 16738,
"loc": {
"start": {
"line": 418,
"column": 87
},
"end": {
"line": 418,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 16739,
"end": 16743,
"loc": {
"start": {
"line": 418,
"column": 89
},
"end": {
"line": 418,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16743,
"end": 16744,
"loc": {
"start": {
"line": 418,
"column": 93
},
"end": {
"line": 418,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16744,
"end": 16745,
"loc": {
"start": {
"line": 418,
"column": 94
},
"end": {
"line": 418,
"column": 95
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16746,
"end": 16747,
"loc": {
"start": {
"line": 418,
"column": 96
},
"end": {
"line": 418,
"column": 97
}
}
},
{
"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": 16761,
"end": 16767,
"loc": {
"start": {
"line": 419,
"column": 12
},
"end": {
"line": 419,
"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": 16768,
"end": 16772,
"loc": {
"start": {
"line": 419,
"column": 19
},
"end": {
"line": 419,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16772,
"end": 16773,
"loc": {
"start": {
"line": 419,
"column": 23
},
"end": {
"line": 419,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16783,
"end": 16784,
"loc": {
"start": {
"line": 420,
"column": 8
},
"end": {
"line": 420,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16790,
"end": 16791,
"loc": {
"start": {
"line": 421,
"column": 4
},
"end": {
"line": 421,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16791,
"end": 16792,
"loc": {
"start": {
"line": 421,
"column": 5
},
"end": {
"line": 421,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16794,
"end": 16795,
"loc": {
"start": {
"line": 422,
"column": 0
},
"end": {
"line": 422,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16795,
"end": 16796,
"loc": {
"start": {
"line": 422,
"column": 1
},
"end": {
"line": 422,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 16798,
"end": 16798,
"loc": {
"start": {
"line": 423,
"column": 0
},
"end": {
"line": 423,
"column": 0
}
}
}
]
}