{ "type": "File", "start": 0, "end": 13734, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 352, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 13734, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 352, "column": 1 } }, "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": 94, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 60, "end": 66, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 15 } }, "imported": { "type": "Identifier", "start": 60, "end": 66, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" }, "local": { "type": "Identifier", "start": 60, "end": 66, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" } } ], "source": { "type": "StringLiteral", "start": 74, "end": 93, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 42 } }, "extra": { "rawValue": "../../core/loader", "raw": "\"../../core/loader\"" }, "value": "../../core/loader" } }, { "type": "ImportDeclaration", "start": 96, "end": 146, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 105, "end": 117, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } }, "imported": { "type": "Identifier", "start": 105, "end": 117, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 105, "end": 117, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 125, "end": 145, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 49 } }, "extra": { "rawValue": "../../core/logging", "raw": "\"../../core/logging\"" }, "value": "../../core/logging" } }, { "type": "ImportDeclaration", "start": 148, "end": 197, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 157, "end": 166, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 } }, "imported": { "type": "Identifier", "start": 157, "end": 166, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "local": { "type": "Identifier", "start": 157, "end": 166, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" } } ], "source": { "type": "StringLiteral", "start": 174, "end": 196, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 48 } }, "extra": { "rawValue": "../../core/rectangle", "raw": "\"../../core/rectangle\"" }, "value": "../../core/rectangle" } }, { "type": "ImportDeclaration", "start": 199, "end": 266, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 67 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 208, "end": 225, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 } }, "imported": { "type": "Identifier", "start": 208, "end": 225, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 }, "identifierName": "StaleAreaDetector" }, "name": "StaleAreaDetector" }, "local": { "type": "Identifier", "start": 208, "end": 225, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 }, "identifierName": "StaleAreaDetector" }, "name": "StaleAreaDetector" } } ], "source": { "type": "StringLiteral", "start": 233, "end": 265, "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": 268, "end": 319, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 277, "end": 292, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 24 } }, "imported": { "type": "Identifier", "start": 277, "end": 292, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 24 }, "identifierName": "fastArrayDelete" }, "name": "fastArrayDelete" }, "local": { "type": "Identifier", "start": 277, "end": 292, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 24 }, "identifierName": "fastArrayDelete" }, "name": "fastArrayDelete" } } ], "source": { "type": "StringLiteral", "start": 300, "end": 318, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 50 } }, "extra": { "rawValue": "../../core/utils", "raw": "\"../../core/utils\"" }, "value": "../../core/utils" } }, { "type": "ImportDeclaration", "start": 321, "end": 489, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 13, "column": 27 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 335, "end": 355, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 24 } }, "imported": { "type": "Identifier", "start": 335, "end": 355, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 24 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" }, "local": { "type": "Identifier", "start": 335, "end": 355, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 24 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" } }, { "type": "ImportSpecifier", "start": 362, "end": 375, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 17 } }, "imported": { "type": "Identifier", "start": 362, "end": 375, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 17 }, "identifierName": "enumDirection" }, "name": "enumDirection" }, "local": { "type": "Identifier", "start": 362, "end": 375, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 17 }, "identifierName": "enumDirection" }, "name": "enumDirection" } }, { "type": "ImportSpecifier", "start": 382, "end": 402, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 } }, "imported": { "type": "Identifier", "start": 382, "end": 402, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 }, "identifierName": "enumDirectionToAngle" }, "name": "enumDirectionToAngle" }, "local": { "type": "Identifier", "start": 382, "end": 402, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 }, "identifierName": "enumDirectionToAngle" }, "name": "enumDirectionToAngle" } }, { "type": "ImportSpecifier", "start": 409, "end": 430, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 25 } }, "imported": { "type": "Identifier", "start": 409, "end": 430, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 25 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" }, "local": { "type": "Identifier", "start": 409, "end": 430, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 25 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" } }, { "type": "ImportSpecifier", "start": 437, "end": 459, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 26 } }, "imported": { "type": "Identifier", "start": 437, "end": 459, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 26 }, "identifierName": "enumInvertedDirections" }, "name": "enumInvertedDirections" }, "local": { "type": "Identifier", "start": 437, "end": 459, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 26 }, "identifierName": "enumInvertedDirections" }, "name": "enumInvertedDirections" } } ], "source": { "type": "StringLiteral", "start": 469, "end": 488, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 26 } }, "extra": { "rawValue": "../../core/vector", "raw": "\"../../core/vector\"" }, "value": "../../core/vector" } }, { "type": "ImportDeclaration", "start": 491, "end": 590, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 99 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 500, "end": 523, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 } }, "imported": { "type": "Identifier", "start": 500, "end": 523, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "local": { "type": "Identifier", "start": 500, "end": 523, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" } }, { "type": "ImportSpecifier", "start": 525, "end": 549, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 58 } }, "imported": { "type": "Identifier", "start": 525, "end": 549, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 58 }, "identifierName": "UndergroundBeltComponent" }, "name": "UndergroundBeltComponent" }, "local": { "type": "Identifier", "start": 525, "end": 549, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 58 }, "identifierName": "UndergroundBeltComponent" }, "name": "UndergroundBeltComponent" } } ], "source": { "type": "StringLiteral", "start": 557, "end": 589, "loc": { "start": { "line": 14, "column": 66 }, "end": { "line": 14, "column": 98 } }, "extra": { "rawValue": "../components/underground_belt", "raw": "\"../components/underground_belt\"" }, "value": "../components/underground_belt" } }, { "type": "ImportDeclaration", "start": 592, "end": 627, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 35 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 601, "end": 607, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 15 } }, "imported": { "type": "Identifier", "start": 601, "end": 607, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" }, "local": { "type": "Identifier", "start": 601, "end": 607, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" } } ], "source": { "type": "StringLiteral", "start": 615, "end": 626, "loc": { "start": { "line": 15, "column": 23 }, "end": { "line": 15, "column": 34 } }, "extra": { "rawValue": "../entity", "raw": "\"../entity\"" }, "value": "../entity" } }, { "type": "ImportDeclaration", "start": 629, "end": 695, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 66 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 638, "end": 658, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 29 } }, "imported": { "type": "Identifier", "start": 638, "end": 658, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "local": { "type": "Identifier", "start": 638, "end": 658, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" } } ], "source": { "type": "StringLiteral", "start": 666, "end": 694, "loc": { "start": { "line": 16, "column": 37 }, "end": { "line": 16, "column": 65 } }, "extra": { "rawValue": "../game_system_with_filter", "raw": "\"../game_system_with_filter\"" }, "value": "../game_system_with_filter" } }, { "type": "VariableDeclaration", "start": 699, "end": 738, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 705, "end": 737, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 38 } }, "id": { "type": "Identifier", "start": 705, "end": 711, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 714, "end": 737, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 38 } }, "callee": { "type": "Identifier", "start": 714, "end": 726, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 727, "end": 736, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 37 } }, "extra": { "rawValue": "tunnels", "raw": "\"tunnels\"" }, "value": "tunnels" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 742, "end": 13734, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 352, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 749, "end": 13734, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 352, "column": 1 } }, "id": { "type": "Identifier", "start": 755, "end": 776, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 34 }, "identifierName": "UndergroundBeltSystem" }, "name": "UndergroundBeltSystem" }, "superClass": { "type": "Identifier", "start": 785, "end": 805, "loc": { "start": { "line": 20, "column": 43 }, "end": { "line": 20, "column": 63 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "body": { "type": "ClassBody", "start": 806, "end": 13734, "loc": { "start": { "line": 20, "column": 64 }, "end": { "line": 352, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 813, "end": 1859, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 47, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 813, "end": 824, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 825, "end": 829, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 831, "end": 1859, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 47, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 842, "end": 882, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 48 } }, "expression": { "type": "CallExpression", "start": 842, "end": 881, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 47 } }, "callee": { "type": "Super", "start": 842, "end": 847, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 848, "end": 852, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 18 }, "identifierName": "root" }, "name": "root" }, { "type": "ArrayExpression", "start": 854, "end": 880, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 46 } }, "elements": [ { "type": "Identifier", "start": 855, "end": 879, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 45 }, "identifierName": "UndergroundBeltComponent" }, "name": "UndergroundBeltComponent" } ] } ] } }, { "type": "ExpressionStatement", "start": 894, "end": 1217, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 31, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 894, "end": 1216, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 31, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 894, "end": 910, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 24 } }, "object": { "type": "ThisExpression", "start": 894, "end": 898, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, "property": { "type": "Identifier", "start": 899, "end": 910, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 24 }, "identifierName": "beltSprites" }, "name": "beltSprites" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 913, "end": 1216, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 31, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 928, "end": 1058, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 27, "column": 13 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 929, "end": 959, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 43 } }, "object": { "type": "Identifier", "start": 929, "end": 952, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 36 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 953, "end": 959, "loc": { "start": { "line": 25, "column": 37 }, "end": { "line": 25, "column": 43 }, "identifierName": "sender" }, "name": "sender" }, "computed": false }, "value": { "type": "CallExpression", "start": 962, "end": 1058, "loc": { "start": { "line": 25, "column": 46 }, "end": { "line": 27, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 962, "end": 978, "loc": { "start": { "line": 25, "column": 46 }, "end": { "line": 25, "column": 62 } }, "object": { "type": "Identifier", "start": 962, "end": 968, "loc": { "start": { "line": 25, "column": 46 }, "end": { "line": 25, "column": 52 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 969, "end": 978, "loc": { "start": { "line": 25, "column": 53 }, "end": { "line": 25, "column": 62 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 997, "end": 1043, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 62 } }, "extra": { "rawValue": "sprites/buildings/underground_belt_entry.png", "raw": "\"sprites/buildings/underground_belt_entry.png\"" }, "value": "sprites/buildings/underground_belt_entry.png" } ] } }, { "type": "ObjectProperty", "start": 1073, "end": 1204, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 30, "column": 13 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1074, "end": 1106, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 45 } }, "object": { "type": "Identifier", "start": 1074, "end": 1097, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 36 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 1098, "end": 1106, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 45 }, "identifierName": "receiver" }, "name": "receiver" }, "computed": false }, "value": { "type": "CallExpression", "start": 1109, "end": 1204, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 30, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 1109, "end": 1125, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 64 } }, "object": { "type": "Identifier", "start": 1109, "end": 1115, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 54 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 1116, "end": 1125, "loc": { "start": { "line": 28, "column": 55 }, "end": { "line": 28, "column": 64 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1144, "end": 1189, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 61 } }, "extra": { "rawValue": "sprites/buildings/underground_belt_exit.png", "raw": "\"sprites/buildings/underground_belt_exit.png\"" }, "value": "sprites/buildings/underground_belt_exit.png" } ] } } ] } } }, { "type": "ExpressionStatement", "start": 1229, "end": 1419, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 37, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 1229, "end": 1418, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 37, "column": 10 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1229, "end": 1250, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 29 } }, "object": { "type": "ThisExpression", "start": 1229, "end": 1233, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 12 } } }, "property": { "type": "Identifier", "start": 1234, "end": 1250, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 29 }, "identifierName": "staleAreaWatcher" }, "name": "staleAreaWatcher" }, "computed": false }, "right": { "type": "NewExpression", "start": 1253, "end": 1418, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 37, "column": 10 } }, "callee": { "type": "Identifier", "start": 1257, "end": 1274, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 53 }, "identifierName": "StaleAreaDetector" }, "name": "StaleAreaDetector" }, "arguments": [ { "type": "ObjectExpression", "start": 1275, "end": 1417, "loc": { "start": { "line": 33, "column": 54 }, "end": { "line": 37, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 1290, "end": 1305, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1290, "end": 1294, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 16 }, "identifierName": "root" }, "name": "root" }, "value": { "type": "MemberExpression", "start": 1296, "end": 1305, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1296, "end": 1300, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 22 } } }, "property": { "type": "Identifier", "start": 1301, "end": 1305, "loc": { "start": { "line": 34, "column": 23 }, "end": { "line": 34, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false } }, { "type": "ObjectProperty", "start": 1320, "end": 1344, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 36 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1320, "end": 1324, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 16 }, "identifierName": "name" }, "name": "name" }, "value": { "type": "StringLiteral", "start": 1326, "end": 1344, "loc": { "start": { "line": 35, "column": 18 }, "end": { "line": 35, "column": 36 } }, "extra": { "rawValue": "underground-belt", "raw": "\"underground-belt\"" }, "value": "underground-belt" } }, { "type": "ObjectProperty", "start": 1359, "end": 1405, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 58 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1359, "end": 1374, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 27 }, "identifierName": "recomputeMethod" }, "name": "recomputeMethod" }, "value": { "type": "CallExpression", "start": 1376, "end": 1405, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 1376, "end": 1399, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 52 } }, "object": { "type": "MemberExpression", "start": 1376, "end": 1394, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 47 } }, "object": { "type": "ThisExpression", "start": 1376, "end": 1380, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 33 } } }, "property": { "type": "Identifier", "start": 1381, "end": 1394, "loc": { "start": { "line": 36, "column": 34 }, "end": { "line": 36, "column": 47 }, "identifierName": "recomputeArea" }, "name": "recomputeArea" }, "computed": false }, "property": { "type": "Identifier", "start": 1395, "end": 1399, "loc": { "start": { "line": 36, "column": 48 }, "end": { "line": 36, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1400, "end": 1404, "loc": { "start": { "line": 36, "column": 53 }, "end": { "line": 36, "column": 57 } } } ] } } ] } ] } } }, { "type": "ExpressionStatement", "start": 1431, "end": 1509, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 86 } }, "expression": { "type": "CallExpression", "start": 1431, "end": 1508, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 1431, "end": 1473, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 50 } }, "object": { "type": "MemberExpression", "start": 1431, "end": 1469, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 46 } }, "object": { "type": "MemberExpression", "start": 1431, "end": 1448, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 25 } }, "object": { "type": "MemberExpression", "start": 1431, "end": 1440, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1431, "end": 1435, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 12 } } }, "property": { "type": "Identifier", "start": 1436, "end": 1440, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1441, "end": 1448, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 25 }, "identifierName": "signals" }, "name": "signals" }, "computed": false }, "property": { "type": "Identifier", "start": 1449, "end": 1469, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 46 }, "identifierName": "entityManuallyPlaced" }, "name": "entityManuallyPlaced" }, "computed": false }, "property": { "type": "Identifier", "start": 1470, "end": 1473, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 50 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1474, "end": 1501, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 78 } }, "object": { "type": "ThisExpression", "start": 1474, "end": 1478, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 55 } } }, "property": { "type": "Identifier", "start": 1479, "end": 1501, "loc": { "start": { "line": 39, "column": 56 }, "end": { "line": 39, "column": 78 }, "identifierName": "onEntityManuallyPlaced" }, "name": "onEntityManuallyPlaced" }, "computed": false }, { "type": "ThisExpression", "start": 1503, "end": 1507, "loc": { "start": { "line": 39, "column": 80 }, "end": { "line": 39, "column": 84 } } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " NOTICE: Once we remove a tunnel, we need to update the whole area to", "start": 1521, "end": 1592, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 79 } } }, { "type": "CommentLine", "value": " clear outdated handles", "start": 1602, "end": 1627, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 33 } } } ] }, { "type": "ExpressionStatement", "start": 1637, "end": 1852, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 46, "column": 10 } }, "expression": { "type": "CallExpression", "start": 1637, "end": 1851, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 46, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 1637, "end": 1687, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 58 } }, "object": { "type": "MemberExpression", "start": 1637, "end": 1658, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 29 } }, "object": { "type": "ThisExpression", "start": 1637, "end": 1641, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1642, "end": 1658, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 29 }, "identifierName": "staleAreaWatcher" }, "name": "staleAreaWatcher" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1659, "end": 1687, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 58 }, "identifierName": "recomputeOnComponentsChanged" }, "name": "recomputeOnComponentsChanged" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrayExpression", "start": 1702, "end": 1728, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 38 } }, "elements": [ { "type": "Identifier", "start": 1703, "end": 1727, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 37 }, "identifierName": "UndergroundBeltComponent" }, "name": "UndergroundBeltComponent" } ] }, { "type": "MemberExpression", "start": 1743, "end": 1840, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 109 } }, "object": { "type": "MemberExpression", "start": 1743, "end": 1785, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 54 } }, "object": { "type": "Identifier", "start": 1743, "end": 1755, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 24 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1756, "end": 1785, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 54 }, "identifierName": "undergroundBeltMaxTilesByTier" }, "name": "undergroundBeltMaxTilesByTier" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 1786, "end": 1839, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 108 } }, "left": { "type": "MemberExpression", "start": 1786, "end": 1835, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 104 } }, "object": { "type": "MemberExpression", "start": 1786, "end": 1828, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 97 } }, "object": { "type": "Identifier", "start": 1786, "end": 1798, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 67 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1799, "end": 1828, "loc": { "start": { "line": 45, "column": 68 }, "end": { "line": 45, "column": 97 }, "identifierName": "undergroundBeltMaxTilesByTier" }, "name": "undergroundBeltMaxTilesByTier" }, "computed": false }, "property": { "type": "Identifier", "start": 1829, "end": 1835, "loc": { "start": { "line": 45, "column": 98 }, "end": { "line": 45, "column": 104 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 1838, "end": 1839, "loc": { "start": { "line": 45, "column": 107 }, "end": { "line": 45, "column": 108 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " NOTICE: Once we remove a tunnel, we need to update the whole area to", "start": 1521, "end": 1592, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 79 } } }, { "type": "CommentLine", "value": " clear outdated handles", "start": 1602, "end": 1627, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 33 } } } ] } ], "directives": [] } }, { "type": "ClassMethod", "start": 1867, "end": 1925, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 51, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 1874, "end": 1879, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 49, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1882, "end": 1925, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 51, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1893, "end": 1918, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 33 } }, "argument": { "type": "StringLiteral", "start": 1900, "end": 1917, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 32 } }, "extra": { "rawValue": "undergroundBelt", "raw": "\"undergroundBelt\"" }, "value": "undergroundBelt" } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Callback when an entity got placed, used to remove belts between underground belts\r\n * @param {Entity} entity\r\n ", "start": 1933, "end": 2067, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2073, "end": 8287, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 206, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2073, "end": 2095, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 26 }, "identifierName": "onEntityManuallyPlaced" }, "name": "onEntityManuallyPlaced", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2096, "end": 2102, "loc": { "start": { "line": 57, "column": 27 }, "end": { "line": 57, "column": 33 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 2104, "end": 8287, "loc": { "start": { "line": 57, "column": 35 }, "end": { "line": 206, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 2115, "end": 2254, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 61, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 2119, "end": 2182, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 75 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2120, "end": 2182, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 75 } }, "object": { "type": "CallExpression", "start": 2120, "end": 2159, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 2120, "end": 2157, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 50 } }, "object": { "type": "MemberExpression", "start": 2120, "end": 2142, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 35 } }, "object": { "type": "MemberExpression", "start": 2120, "end": 2133, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 26 } }, "object": { "type": "MemberExpression", "start": 2120, "end": 2129, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2120, "end": 2124, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 17 } } }, "property": { "type": "Identifier", "start": 2125, "end": 2129, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 22 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2130, "end": 2133, "loc": { "start": { "line": 58, "column": 23 }, "end": { "line": 58, "column": 26 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 2134, "end": 2142, "loc": { "start": { "line": 58, "column": 27 }, "end": { "line": 58, "column": 35 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 2143, "end": 2157, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 50 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 2160, "end": 2182, "loc": { "start": { "line": 58, "column": 53 }, "end": { "line": 58, "column": 75 }, "identifierName": "enableTunnelSmartplace" }, "name": "enableTunnelSmartplace" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2184, "end": 2254, "loc": { "start": { "line": 58, "column": 77 }, "end": { "line": 61, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 2236, "end": 2243, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Smart-place disabled", "start": 2199, "end": 2222, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 35 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 2266, "end": 2324, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2272, "end": 2323, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 63, "column": 65 } }, "id": { "type": "Identifier", "start": 2272, "end": 2287, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 63, "column": 29 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "init": { "type": "MemberExpression", "start": 2290, "end": 2323, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2290, "end": 2307, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 49 } }, "object": { "type": "Identifier", "start": 2290, "end": 2296, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 38 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2297, "end": 2307, "loc": { "start": { "line": 63, "column": 39 }, "end": { "line": 63, "column": 49 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2308, "end": 2323, "loc": { "start": { "line": 63, "column": 50 }, "end": { "line": 63, "column": 65 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 2334, "end": 8280, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 205, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 2338, "end": 2414, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 88 } }, "left": { "type": "Identifier", "start": 2338, "end": 2353, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 27 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 2357, "end": 2414, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 88 } }, "left": { "type": "MemberExpression", "start": 2357, "end": 2377, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 51 } }, "object": { "type": "Identifier", "start": 2357, "end": 2372, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 46 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 2373, "end": 2377, "loc": { "start": { "line": 64, "column": 47 }, "end": { "line": 64, "column": 51 }, "identifierName": "mode" }, "name": "mode" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 2382, "end": 2414, "loc": { "start": { "line": 64, "column": 56 }, "end": { "line": 64, "column": 88 } }, "object": { "type": "Identifier", "start": 2382, "end": 2405, "loc": { "start": { "line": 64, "column": 56 }, "end": { "line": 64, "column": 79 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 2406, "end": 2414, "loc": { "start": { "line": 64, "column": 80 }, "end": { "line": 64, "column": 88 }, "identifierName": "receiver" }, "name": "receiver" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 2416, "end": 8280, "loc": { "start": { "line": 64, "column": 90 }, "end": { "line": 205, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2431, "end": 2484, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2437, "end": 2483, "loc": { "start": { "line": 65, "column": 18 }, "end": { "line": 65, "column": 64 } }, "id": { "type": "Identifier", "start": 2437, "end": 2447, "loc": { "start": { "line": 65, "column": 18 }, "end": { "line": 65, "column": 28 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 2450, "end": 2483, "loc": { "start": { "line": 65, "column": 31 }, "end": { "line": 65, "column": 64 } }, "object": { "type": "MemberExpression", "start": 2450, "end": 2467, "loc": { "start": { "line": 65, "column": 31 }, "end": { "line": 65, "column": 48 } }, "object": { "type": "Identifier", "start": 2450, "end": 2456, "loc": { "start": { "line": 65, "column": 31 }, "end": { "line": 65, "column": 37 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2457, "end": 2467, "loc": { "start": { "line": 65, "column": 38 }, "end": { "line": 65, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2468, "end": 2483, "loc": { "start": { "line": 65, "column": 49 }, "end": { "line": 65, "column": 64 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2498, "end": 2529, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2504, "end": 2528, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 42 } }, "id": { "type": "Identifier", "start": 2504, "end": 2508, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 22 }, "identifierName": "tile" }, "name": "tile" }, "init": { "type": "MemberExpression", "start": 2511, "end": 2528, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 42 } }, "object": { "type": "Identifier", "start": 2511, "end": 2521, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 35 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2522, "end": 2528, "loc": { "start": { "line": 66, "column": 36 }, "end": { "line": 66, "column": 42 }, "identifierName": "origin" }, "name": "origin" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2545, "end": 2605, "loc": { "start": { "line": 68, "column": 12 }, "end": { "line": 68, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2551, "end": 2604, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 71 } }, "id": { "type": "Identifier", "start": 2551, "end": 2560, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 27 }, "identifierName": "direction" }, "name": "direction" }, "init": { "type": "MemberExpression", "start": 2563, "end": 2604, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 71 } }, "object": { "type": "Identifier", "start": 2563, "end": 2583, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 50 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" }, "property": { "type": "MemberExpression", "start": 2584, "end": 2603, "loc": { "start": { "line": 68, "column": 51 }, "end": { "line": 68, "column": 70 } }, "object": { "type": "Identifier", "start": 2584, "end": 2594, "loc": { "start": { "line": 68, "column": 51 }, "end": { "line": 68, "column": 61 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2595, "end": 2603, "loc": { "start": { "line": 68, "column": 62 }, "end": { "line": 68, "column": 70 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2619, "end": 2678, "loc": { "start": { "line": 69, "column": 12 }, "end": { "line": 69, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2625, "end": 2677, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 70 } }, "id": { "type": "Identifier", "start": 2625, "end": 2641, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 34 }, "identifierName": "inverseDirection" }, "name": "inverseDirection" }, "init": { "type": "MemberExpression", "start": 2644, "end": 2677, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 70 } }, "object": { "type": "Identifier", "start": 2644, "end": 2666, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 59 }, "identifierName": "enumInvertedDirections" }, "name": "enumInvertedDirections" }, "property": { "type": "Identifier", "start": 2667, "end": 2676, "loc": { "start": { "line": 69, "column": 60 }, "end": { "line": 69, "column": 69 }, "identifierName": "direction" }, "name": "direction" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2692, "end": 2747, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2698, "end": 2746, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 66 } }, "id": { "type": "Identifier", "start": 2698, "end": 2704, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 24 }, "identifierName": "offset" }, "name": "offset" }, "init": { "type": "MemberExpression", "start": 2707, "end": 2746, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 66 } }, "object": { "type": "Identifier", "start": 2707, "end": 2728, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 48 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" }, "property": { "type": "Identifier", "start": 2729, "end": 2745, "loc": { "start": { "line": 70, "column": 49 }, "end": { "line": 70, "column": 65 }, "identifierName": "inverseDirection" }, "name": "inverseDirection" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2763, "end": 2792, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2767, "end": 2791, "loc": { "start": { "line": 72, "column": 16 }, "end": { "line": 72, "column": 40 } }, "id": { "type": "Identifier", "start": 2767, "end": 2777, "loc": { "start": { "line": 72, "column": 16 }, "end": { "line": 72, "column": 26 }, "identifierName": "currentPos" }, "name": "currentPos" }, "init": { "type": "CallExpression", "start": 2780, "end": 2791, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 2780, "end": 2789, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 38 } }, "object": { "type": "Identifier", "start": 2780, "end": 2784, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 33 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 2785, "end": 2789, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 2808, "end": 2842, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2814, "end": 2841, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 45 } }, "id": { "type": "Identifier", "start": 2814, "end": 2818, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 22 }, "identifierName": "tier" }, "name": "tier" }, "init": { "type": "MemberExpression", "start": 2821, "end": 2841, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 45 } }, "object": { "type": "Identifier", "start": 2821, "end": 2836, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 40 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 2837, "end": 2841, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 74, "column": 45 }, "identifierName": "tier" }, "name": "tier" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2856, "end": 2919, "loc": { "start": { "line": 75, "column": 12 }, "end": { "line": 75, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2862, "end": 2918, "loc": { "start": { "line": 75, "column": 18 }, "end": { "line": 75, "column": 74 } }, "id": { "type": "Identifier", "start": 2862, "end": 2867, "loc": { "start": { "line": 75, "column": 18 }, "end": { "line": 75, "column": 23 }, "identifierName": "range" }, "name": "range" }, "init": { "type": "MemberExpression", "start": 2870, "end": 2918, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 74 } }, "object": { "type": "MemberExpression", "start": 2870, "end": 2912, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 68 } }, "object": { "type": "Identifier", "start": 2870, "end": 2882, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 38 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2883, "end": 2912, "loc": { "start": { "line": 75, "column": 39 }, "end": { "line": 75, "column": 68 }, "identifierName": "undergroundBeltMaxTilesByTier" }, "name": "undergroundBeltMaxTilesByTier" }, "computed": false }, "property": { "type": "Identifier", "start": 2913, "end": 2917, "loc": { "start": { "line": 75, "column": 69 }, "end": { "line": 75, "column": 73 }, "identifierName": "tier" }, "name": "tier" }, "computed": true } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " FIND ENTRANCE", "start": 2935, "end": 2951, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 28 } } }, { "type": "CommentLine", "value": " Search for the entrance which is farthest apart (this is why we can't reuse logic here)", "start": 2965, "end": 3055, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 102 } } } ] }, { "type": "VariableDeclaration", "start": 3069, "end": 3097, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3073, "end": 3096, "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 39 } }, "id": { "type": "Identifier", "start": 3073, "end": 3089, "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 32 }, "identifierName": "matchingEntrance" }, "name": "matchingEntrance", "leadingComments": null }, "init": { "type": "NullLiteral", "start": 3092, "end": 3096, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 39 } } }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " FIND ENTRANCE", "start": 2935, "end": 2951, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 28 } } }, { "type": "CommentLine", "value": " Search for the entrance which is farthest apart (this is why we can't reuse logic here)", "start": 2965, "end": 3055, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 102 } } } ] }, { "type": "ForStatement", "start": 3111, "end": 4055, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 100, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 3116, "end": 3125, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3120, "end": 3125, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 26 } }, "id": { "type": "Identifier", "start": 3120, "end": 3121, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 22 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 3124, "end": 3125, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 3127, "end": 3136, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 37 } }, "left": { "type": "Identifier", "start": 3127, "end": 3128, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "Identifier", "start": 3131, "end": 3136, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 37 }, "identifierName": "range" }, "name": "range" } }, "update": { "type": "UpdateExpression", "start": 3138, "end": 3141, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 42 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3140, "end": 3141, "loc": { "start": { "line": 80, "column": 41 }, "end": { "line": 80, "column": 42 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3143, "end": 4055, "loc": { "start": { "line": 80, "column": 44 }, "end": { "line": 100, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3162, "end": 3192, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 46 } }, "expression": { "type": "CallExpression", "start": 3162, "end": 3191, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 3162, "end": 3183, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "Identifier", "start": 3162, "end": 3172, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 26 }, "identifierName": "currentPos" }, "name": "currentPos" }, "property": { "type": "Identifier", "start": 3173, "end": 3183, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 37 }, "identifierName": "addInplace" }, "name": "addInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3184, "end": 3190, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 44 }, "identifierName": "offset" }, "name": "offset" } ] } }, { "type": "VariableDeclaration", "start": 3210, "end": 3282, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3216, "end": 3281, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 87 } }, "id": { "type": "Identifier", "start": 3216, "end": 3224, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 30 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "CallExpression", "start": 3227, "end": 3281, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 3227, "end": 3255, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 61 } }, "object": { "type": "MemberExpression", "start": 3227, "end": 3240, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 46 } }, "object": { "type": "MemberExpression", "start": 3227, "end": 3236, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 42 } }, "object": { "type": "ThisExpression", "start": 3227, "end": 3231, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 37 } } }, "property": { "type": "Identifier", "start": 3232, "end": 3236, "loc": { "start": { "line": 82, "column": 38 }, "end": { "line": 82, "column": 42 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3237, "end": 3240, "loc": { "start": { "line": 82, "column": 43 }, "end": { "line": 82, "column": 46 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 3241, "end": 3255, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 61 }, "identifierName": "getTileContent" }, "name": "getTileContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3256, "end": 3266, "loc": { "start": { "line": 82, "column": 62 }, "end": { "line": 82, "column": 72 }, "identifierName": "currentPos" }, "name": "currentPos" }, { "type": "MemberExpression", "start": 3268, "end": 3280, "loc": { "start": { "line": 82, "column": 74 }, "end": { "line": 82, "column": 86 } }, "object": { "type": "Identifier", "start": 3268, "end": 3274, "loc": { "start": { "line": 82, "column": 74 }, "end": { "line": 82, "column": 80 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 3275, "end": 3280, "loc": { "start": { "line": 82, "column": 81 }, "end": { "line": 82, "column": 86 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 3300, "end": 3366, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 85, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 3304, "end": 3313, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 3305, "end": 3313, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 29 }, "identifierName": "contents" }, "name": "contents" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3315, "end": 3366, "loc": { "start": { "line": 83, "column": 31 }, "end": { "line": 85, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 3338, "end": 3347, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 29 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3386, "end": 3454, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 84 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3392, "end": 3453, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 83 } }, "id": { "type": "Identifier", "start": 3392, "end": 3415, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 45 }, "identifierName": "contentsUndergroundComp" }, "name": "contentsUndergroundComp" }, "init": { "type": "MemberExpression", "start": 3418, "end": 3453, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 83 } }, "object": { "type": "MemberExpression", "start": 3418, "end": 3437, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 67 } }, "object": { "type": "Identifier", "start": 3418, "end": 3426, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 56 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 3427, "end": 3437, "loc": { "start": { "line": 87, "column": 57 }, "end": { "line": 87, "column": 67 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 3438, "end": 3453, "loc": { "start": { "line": 87, "column": 68 }, "end": { "line": 87, "column": 83 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3472, "end": 3535, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3478, "end": 3534, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 78 } }, "id": { "type": "Identifier", "start": 3478, "end": 3496, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 40 }, "identifierName": "contentsStaticComp" }, "name": "contentsStaticComp" }, "init": { "type": "MemberExpression", "start": 3499, "end": 3534, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 78 } }, "object": { "type": "MemberExpression", "start": 3499, "end": 3518, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 62 } }, "object": { "type": "Identifier", "start": 3499, "end": 3507, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 51 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 3508, "end": 3518, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 62 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 3519, "end": 3534, "loc": { "start": { "line": 88, "column": 63 }, "end": { "line": 88, "column": 78 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 3553, "end": 4040, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 99, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 3579, "end": 3856, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 93, "column": 83 } }, "left": { "type": "LogicalExpression", "start": 3579, "end": 3768, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 92, "column": 83 } }, "left": { "type": "LogicalExpression", "start": 3579, "end": 3680, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 91, "column": 73 } }, "left": { "type": "Identifier", "start": 3579, "end": 3602, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 43 }, "identifierName": "contentsUndergroundComp" }, "name": "contentsUndergroundComp" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3627, "end": 3680, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 73 } }, "left": { "type": "MemberExpression", "start": 3627, "end": 3655, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 48 } }, "object": { "type": "Identifier", "start": 3627, "end": 3650, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 43 }, "identifierName": "contentsUndergroundComp" }, "name": "contentsUndergroundComp" }, "property": { "type": "Identifier", "start": 3651, "end": 3655, "loc": { "start": { "line": 91, "column": 44 }, "end": { "line": 91, "column": 48 }, "identifierName": "tier" }, "name": "tier" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 3660, "end": 3680, "loc": { "start": { "line": 91, "column": 53 }, "end": { "line": 91, "column": 73 } }, "object": { "type": "Identifier", "start": 3660, "end": 3675, "loc": { "start": { "line": 91, "column": 53 }, "end": { "line": 91, "column": 68 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 3676, "end": 3680, "loc": { "start": { "line": 91, "column": 69 }, "end": { "line": 91, "column": 73 }, "identifierName": "tier" }, "name": "tier" }, "computed": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3705, "end": 3768, "loc": { "start": { "line": 92, "column": 20 }, "end": { "line": 92, "column": 83 } }, "left": { "type": "MemberExpression", "start": 3705, "end": 3733, "loc": { "start": { "line": 92, "column": 20 }, "end": { "line": 92, "column": 48 } }, "object": { "type": "Identifier", "start": 3705, "end": 3728, "loc": { "start": { "line": 92, "column": 20 }, "end": { "line": 92, "column": 43 }, "identifierName": "contentsUndergroundComp" }, "name": "contentsUndergroundComp" }, "property": { "type": "Identifier", "start": 3729, "end": 3733, "loc": { "start": { "line": 92, "column": 44 }, "end": { "line": 92, "column": 48 }, "identifierName": "mode" }, "name": "mode" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 3738, "end": 3768, "loc": { "start": { "line": 92, "column": 53 }, "end": { "line": 92, "column": 83 } }, "object": { "type": "Identifier", "start": 3738, "end": 3761, "loc": { "start": { "line": 92, "column": 53 }, "end": { "line": 92, "column": 76 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 3762, "end": 3768, "loc": { "start": { "line": 92, "column": 77 }, "end": { "line": 92, "column": 83 }, "identifierName": "sender" }, "name": "sender" }, "computed": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3793, "end": 3856, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 83 } }, "left": { "type": "MemberExpression", "start": 3793, "end": 3842, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 69 } }, "object": { "type": "Identifier", "start": 3793, "end": 3813, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 40 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" }, "property": { "type": "MemberExpression", "start": 3814, "end": 3841, "loc": { "start": { "line": 93, "column": 41 }, "end": { "line": 93, "column": 68 } }, "object": { "type": "Identifier", "start": 3814, "end": 3832, "loc": { "start": { "line": 93, "column": 41 }, "end": { "line": 93, "column": 59 }, "identifierName": "contentsStaticComp" }, "name": "contentsStaticComp" }, "property": { "type": "Identifier", "start": 3833, "end": 3841, "loc": { "start": { "line": 93, "column": 60 }, "end": { "line": 93, "column": 68 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "computed": true }, "operator": "===", "right": { "type": "Identifier", "start": 3847, "end": 3856, "loc": { "start": { "line": 93, "column": 74 }, "end": { "line": 93, "column": 83 }, "identifierName": "direction" }, "name": "direction" } } }, "consequent": { "type": "BlockStatement", "start": 3876, "end": 4040, "loc": { "start": { "line": 94, "column": 18 }, "end": { "line": 99, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3899, "end": 4021, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 98, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 3899, "end": 4020, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 98, "column": 21 } }, "operator": "=", "left": { "type": "Identifier", "start": 3899, "end": 3915, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 36 }, "identifierName": "matchingEntrance" }, "name": "matchingEntrance" }, "right": { "type": "ObjectExpression", "start": 3918, "end": 4020, "loc": { "start": { "line": 95, "column": 39 }, "end": { "line": 98, "column": 21 } }, "properties": [ { "type": "ObjectProperty", "start": 3945, "end": 3961, "loc": { "start": { "line": 96, "column": 24 }, "end": { "line": 96, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3945, "end": 3951, "loc": { "start": { "line": 96, "column": 24 }, "end": { "line": 96, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "value": { "type": "Identifier", "start": 3953, "end": 3961, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 40 }, "identifierName": "contents" }, "name": "contents" } }, { "type": "ObjectProperty", "start": 3988, "end": 3996, "loc": { "start": { "line": 97, "column": 24 }, "end": { "line": 97, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3988, "end": 3993, "loc": { "start": { "line": 97, "column": 24 }, "end": { "line": 97, "column": 29 }, "identifierName": "range" }, "name": "range" }, "value": { "type": "Identifier", "start": 3995, "end": 3996, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 32 }, "identifierName": "i" }, "name": "i" } } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "IfStatement", "start": 4071, "end": 4169, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 105, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 4075, "end": 4092, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 4076, "end": 4092, "loc": { "start": { "line": 102, "column": 17 }, "end": { "line": 102, "column": 33 }, "identifierName": "matchingEntrance" }, "name": "matchingEntrance" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4094, "end": 4169, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 105, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 4147, "end": 4154, "loc": { "start": { "line": 104, "column": 16 }, "end": { "line": 104, "column": 23 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Nothing found", "start": 4113, "end": 4129, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 32 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " DETECT OBSOLETE BELTS BETWEEN", "start": 4185, "end": 4217, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 44 } } }, { "type": "CommentLine", "value": " Remove any belts between entrance and exit which have the same direction,", "start": 4231, "end": 4307, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 88 } } }, { "type": "CommentLine", "value": " but only if they *all* have the right direction", "start": 4321, "end": 4371, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 62 } } } ] }, { "type": "ExpressionStatement", "start": 4385, "end": 4410, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 4385, "end": 4409, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 4385, "end": 4395, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 22 }, "identifierName": "currentPos" }, "name": "currentPos", "leadingComments": null }, "right": { "type": "CallExpression", "start": 4398, "end": 4409, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 4398, "end": 4407, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 34 } }, "object": { "type": "Identifier", "start": 4398, "end": 4402, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 29 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 4403, "end": 4407, "loc": { "start": { "line": 110, "column": 30 }, "end": { "line": 110, "column": 34 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " DETECT OBSOLETE BELTS BETWEEN", "start": 4185, "end": 4217, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 44 } } }, { "type": "CommentLine", "value": " Remove any belts between entrance and exit which have the same direction,", "start": 4231, "end": 4307, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 88 } } }, { "type": "CommentLine", "value": " but only if they *all* have the right direction", "start": 4321, "end": 4371, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 62 } } } ] }, { "type": "VariableDeclaration", "start": 4424, "end": 4449, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4428, "end": 4448, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 36 } }, "id": { "type": "Identifier", "start": 4428, "end": 4441, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 29 }, "identifierName": "allBeltsMatch" }, "name": "allBeltsMatch" }, "init": { "type": "BooleanLiteral", "start": 4444, "end": 4448, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 36 } }, "value": true } } ], "kind": "let" }, { "type": "ForStatement", "start": 4463, "end": 5403, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 136, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 4468, "end": 4477, "loc": { "start": { "line": 112, "column": 17 }, "end": { "line": 112, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4472, "end": 4477, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 26 } }, "id": { "type": "Identifier", "start": 4472, "end": 4473, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 22 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 4476, "end": 4477, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4479, "end": 4505, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 54 } }, "left": { "type": "Identifier", "start": 4479, "end": 4480, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4483, "end": 4505, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 54 } }, "object": { "type": "Identifier", "start": 4483, "end": 4499, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 48 }, "identifierName": "matchingEntrance" }, "name": "matchingEntrance" }, "property": { "type": "Identifier", "start": 4500, "end": 4505, "loc": { "start": { "line": 112, "column": 49 }, "end": { "line": 112, "column": 54 }, "identifierName": "range" }, "name": "range" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4507, "end": 4510, "loc": { "start": { "line": 112, "column": 56 }, "end": { "line": 112, "column": 59 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4509, "end": 4510, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 59 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4512, "end": 5403, "loc": { "start": { "line": 112, "column": 61 }, "end": { "line": 136, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4531, "end": 4561, "loc": { "start": { "line": 113, "column": 16 }, "end": { "line": 113, "column": 46 } }, "expression": { "type": "CallExpression", "start": 4531, "end": 4560, "loc": { "start": { "line": 113, "column": 16 }, "end": { "line": 113, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 4531, "end": 4552, "loc": { "start": { "line": 113, "column": 16 }, "end": { "line": 113, "column": 37 } }, "object": { "type": "Identifier", "start": 4531, "end": 4541, "loc": { "start": { "line": 113, "column": 16 }, "end": { "line": 113, "column": 26 }, "identifierName": "currentPos" }, "name": "currentPos" }, "property": { "type": "Identifier", "start": 4542, "end": 4552, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 37 }, "identifierName": "addInplace" }, "name": "addInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4553, "end": 4559, "loc": { "start": { "line": 113, "column": 38 }, "end": { "line": 113, "column": 44 }, "identifierName": "offset" }, "name": "offset" } ] } }, { "type": "VariableDeclaration", "start": 4581, "end": 4653, "loc": { "start": { "line": 115, "column": 16 }, "end": { "line": 115, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4587, "end": 4652, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 87 } }, "id": { "type": "Identifier", "start": 4587, "end": 4595, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 30 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "CallExpression", "start": 4598, "end": 4652, "loc": { "start": { "line": 115, "column": 33 }, "end": { "line": 115, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 4598, "end": 4626, "loc": { "start": { "line": 115, "column": 33 }, "end": { "line": 115, "column": 61 } }, "object": { "type": "MemberExpression", "start": 4598, "end": 4611, "loc": { "start": { "line": 115, "column": 33 }, "end": { "line": 115, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4598, "end": 4607, "loc": { "start": { "line": 115, "column": 33 }, "end": { "line": 115, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4598, "end": 4602, "loc": { "start": { "line": 115, "column": 33 }, "end": { "line": 115, "column": 37 } } }, "property": { "type": "Identifier", "start": 4603, "end": 4607, "loc": { "start": { "line": 115, "column": 38 }, "end": { "line": 115, "column": 42 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4608, "end": 4611, "loc": { "start": { "line": 115, "column": 43 }, "end": { "line": 115, "column": 46 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 4612, "end": 4626, "loc": { "start": { "line": 115, "column": 47 }, "end": { "line": 115, "column": 61 }, "identifierName": "getTileContent" }, "name": "getTileContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4627, "end": 4637, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 72 }, "identifierName": "currentPos" }, "name": "currentPos" }, { "type": "MemberExpression", "start": 4639, "end": 4651, "loc": { "start": { "line": 115, "column": 74 }, "end": { "line": 115, "column": 86 } }, "object": { "type": "Identifier", "start": 4639, "end": 4645, "loc": { "start": { "line": 115, "column": 74 }, "end": { "line": 115, "column": 80 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 4646, "end": 4651, "loc": { "start": { "line": 115, "column": 81 }, "end": { "line": 115, "column": 86 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 4671, "end": 4778, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 119, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 4675, "end": 4684, "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 4676, "end": 4684, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 29 }, "identifierName": "contents" }, "name": "contents" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4686, "end": 4778, "loc": { "start": { "line": 116, "column": 31 }, "end": { "line": 119, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4709, "end": 4731, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 4709, "end": 4730, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", "start": 4709, "end": 4722, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 33 }, "identifierName": "allBeltsMatch" }, "name": "allBeltsMatch" }, "right": { "type": "BooleanLiteral", "start": 4725, "end": 4730, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 41 } }, "value": false } } }, { "type": "BreakStatement", "start": 4753, "end": 4759, "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 26 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4798, "end": 4861, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4804, "end": 4860, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 78 } }, "id": { "type": "Identifier", "start": 4804, "end": 4822, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 40 }, "identifierName": "contentsStaticComp" }, "name": "contentsStaticComp" }, "init": { "type": "MemberExpression", "start": 4825, "end": 4860, "loc": { "start": { "line": 121, "column": 43 }, "end": { "line": 121, "column": 78 } }, "object": { "type": "MemberExpression", "start": 4825, "end": 4844, "loc": { "start": { "line": 121, "column": 43 }, "end": { "line": 121, "column": 62 } }, "object": { "type": "Identifier", "start": 4825, "end": 4833, "loc": { "start": { "line": 121, "column": 43 }, "end": { "line": 121, "column": 51 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 4834, "end": 4844, "loc": { "start": { "line": 121, "column": 52 }, "end": { "line": 121, "column": 62 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 4845, "end": 4860, "loc": { "start": { "line": 121, "column": 63 }, "end": { "line": 121, "column": 78 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4879, "end": 4929, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4885, "end": 4928, "loc": { "start": { "line": 122, "column": 22 }, "end": { "line": 122, "column": 65 } }, "id": { "type": "Identifier", "start": 4885, "end": 4901, "loc": { "start": { "line": 122, "column": 22 }, "end": { "line": 122, "column": 38 }, "identifierName": "contentsBeltComp" }, "name": "contentsBeltComp" }, "init": { "type": "MemberExpression", "start": 4904, "end": 4928, "loc": { "start": { "line": 122, "column": 41 }, "end": { "line": 122, "column": 65 } }, "object": { "type": "MemberExpression", "start": 4904, "end": 4923, "loc": { "start": { "line": 122, "column": 41 }, "end": { "line": 122, "column": 60 } }, "object": { "type": "Identifier", "start": 4904, "end": 4912, "loc": { "start": { "line": 122, "column": 41 }, "end": { "line": 122, "column": 49 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 4913, "end": 4923, "loc": { "start": { "line": 122, "column": 50 }, "end": { "line": 122, "column": 60 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 4924, "end": 4928, "loc": { "start": { "line": 122, "column": 61 }, "end": { "line": 122, "column": 65 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 4947, "end": 5062, "loc": { "start": { "line": 123, "column": 16 }, "end": { "line": 126, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 4951, "end": 4968, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 37 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 4952, "end": 4968, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 37 }, "identifierName": "contentsBeltComp" }, "name": "contentsBeltComp" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4970, "end": 5062, "loc": { "start": { "line": 123, "column": 39 }, "end": { "line": 126, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4993, "end": 5015, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 4993, "end": 5014, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", "start": 4993, "end": 5006, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 33 }, "identifierName": "allBeltsMatch" }, "name": "allBeltsMatch" }, "right": { "type": "BooleanLiteral", "start": 5009, "end": 5014, "loc": { "start": { "line": 124, "column": 36 }, "end": { "line": 124, "column": 41 } }, "value": false } } }, { "type": "BreakStatement", "start": 5037, "end": 5043, "loc": { "start": { "line": 125, "column": 20 }, "end": { "line": 125, "column": 26 } }, "label": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " It's a belt", "start": 5082, "end": 5096, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 30 } } } ] }, { "type": "IfStatement", "start": 5114, "end": 5388, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 135, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 5140, "end": 5276, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 131, "column": 83 } }, "left": { "type": "BinaryExpression", "start": 5140, "end": 5188, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 68 } }, "left": { "type": "MemberExpression", "start": 5140, "end": 5166, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 46 } }, "object": { "type": "Identifier", "start": 5140, "end": 5156, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 36 }, "identifierName": "contentsBeltComp" }, "name": "contentsBeltComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 5157, "end": 5166, "loc": { "start": { "line": 130, "column": 37 }, "end": { "line": 130, "column": 46 }, "identifierName": "direction" }, "name": "direction" }, "computed": false, "leadingComments": null }, "operator": "!==", "right": { "type": "MemberExpression", "start": 5171, "end": 5188, "loc": { "start": { "line": 130, "column": 51 }, "end": { "line": 130, "column": 68 } }, "object": { "type": "Identifier", "start": 5171, "end": 5184, "loc": { "start": { "line": 130, "column": 51 }, "end": { "line": 130, "column": 64 }, "identifierName": "enumDirection" }, "name": "enumDirection" }, "property": { "type": "Identifier", "start": 5185, "end": 5188, "loc": { "start": { "line": 130, "column": 65 }, "end": { "line": 130, "column": 68 }, "identifierName": "top" }, "name": "top" }, "computed": false }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 5213, "end": 5276, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 83 } }, "left": { "type": "MemberExpression", "start": 5213, "end": 5262, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 69 } }, "object": { "type": "Identifier", "start": 5213, "end": 5233, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 40 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" }, "property": { "type": "MemberExpression", "start": 5234, "end": 5261, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 68 } }, "object": { "type": "Identifier", "start": 5234, "end": 5252, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 59 }, "identifierName": "contentsStaticComp" }, "name": "contentsStaticComp" }, "property": { "type": "Identifier", "start": 5253, "end": 5261, "loc": { "start": { "line": 131, "column": 60 }, "end": { "line": 131, "column": 68 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 5267, "end": 5276, "loc": { "start": { "line": 131, "column": 74 }, "end": { "line": 131, "column": 83 }, "identifierName": "direction" }, "name": "direction" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5296, "end": 5388, "loc": { "start": { "line": 132, "column": 18 }, "end": { "line": 135, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 5319, "end": 5341, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 5319, "end": 5340, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", "start": 5319, "end": 5332, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 33 }, "identifierName": "allBeltsMatch" }, "name": "allBeltsMatch" }, "right": { "type": "BooleanLiteral", "start": 5335, "end": 5340, "loc": { "start": { "line": 133, "column": 36 }, "end": { "line": 133, "column": 41 } }, "value": false } } }, { "type": "BreakStatement", "start": 5363, "end": 5369, "loc": { "start": { "line": 134, "column": 20 }, "end": { "line": 134, "column": 26 } }, "label": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " It's a belt", "start": 5082, "end": 5096, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 30 } } } ] } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 5419, "end": 5444, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 5419, "end": 5443, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 5419, "end": 5429, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 22 }, "identifierName": "currentPos" }, "name": "currentPos" }, "right": { "type": "CallExpression", "start": 5432, "end": 5443, "loc": { "start": { "line": 138, "column": 25 }, "end": { "line": 138, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 5432, "end": 5441, "loc": { "start": { "line": 138, "column": 25 }, "end": { "line": 138, "column": 34 } }, "object": { "type": "Identifier", "start": 5432, "end": 5436, "loc": { "start": { "line": 138, "column": 25 }, "end": { "line": 138, "column": 29 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 5437, "end": 5441, "loc": { "start": { "line": 138, "column": 30 }, "end": { "line": 138, "column": 34 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] } } }, { "type": "IfStatement", "start": 5458, "end": 5941, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 147, "column": 13 } }, "test": { "type": "Identifier", "start": 5462, "end": 5475, "loc": { "start": { "line": 139, "column": 16 }, "end": { "line": 139, "column": 29 }, "identifierName": "allBeltsMatch" }, "name": "allBeltsMatch" }, "consequent": { "type": "BlockStatement", "start": 5477, "end": 5941, "loc": { "start": { "line": 139, "column": 31 }, "end": { "line": 147, "column": 13 } }, "body": [ { "type": "ForStatement", "start": 5566, "end": 5926, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 146, "column": 17 } }, "init": { "type": "VariableDeclaration", "start": 5571, "end": 5580, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5575, "end": 5580, "loc": { "start": { "line": 141, "column": 25 }, "end": { "line": 141, "column": 30 } }, "id": { "type": "Identifier", "start": 5575, "end": 5576, "loc": { "start": { "line": 141, "column": 25 }, "end": { "line": 141, "column": 26 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 5579, "end": 5580, "loc": { "start": { "line": 141, "column": 29 }, "end": { "line": 141, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 5582, "end": 5608, "loc": { "start": { "line": 141, "column": 32 }, "end": { "line": 141, "column": 58 } }, "left": { "type": "Identifier", "start": 5582, "end": 5583, "loc": { "start": { "line": 141, "column": 32 }, "end": { "line": 141, "column": 33 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 5586, "end": 5608, "loc": { "start": { "line": 141, "column": 36 }, "end": { "line": 141, "column": 58 } }, "object": { "type": "Identifier", "start": 5586, "end": 5602, "loc": { "start": { "line": 141, "column": 36 }, "end": { "line": 141, "column": 52 }, "identifierName": "matchingEntrance" }, "name": "matchingEntrance" }, "property": { "type": "Identifier", "start": 5603, "end": 5608, "loc": { "start": { "line": 141, "column": 53 }, "end": { "line": 141, "column": 58 }, "identifierName": "range" }, "name": "range" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 5610, "end": 5613, "loc": { "start": { "line": 141, "column": 60 }, "end": { "line": 141, "column": 63 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 5612, "end": 5613, "loc": { "start": { "line": 141, "column": 62 }, "end": { "line": 141, "column": 63 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 5615, "end": 5926, "loc": { "start": { "line": 141, "column": 65 }, "end": { "line": 146, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 5638, "end": 5668, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 50 } }, "expression": { "type": "CallExpression", "start": 5638, "end": 5667, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 5638, "end": 5659, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 41 } }, "object": { "type": "Identifier", "start": 5638, "end": 5648, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 30 }, "identifierName": "currentPos" }, "name": "currentPos" }, "property": { "type": "Identifier", "start": 5649, "end": 5659, "loc": { "start": { "line": 142, "column": 31 }, "end": { "line": 142, "column": 41 }, "identifierName": "addInplace" }, "name": "addInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5660, "end": 5666, "loc": { "start": { "line": 142, "column": 42 }, "end": { "line": 142, "column": 48 }, "identifierName": "offset" }, "name": "offset" } ] } }, { "type": "VariableDeclaration", "start": 5690, "end": 5762, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 92 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5696, "end": 5761, "loc": { "start": { "line": 143, "column": 26 }, "end": { "line": 143, "column": 91 } }, "id": { "type": "Identifier", "start": 5696, "end": 5704, "loc": { "start": { "line": 143, "column": 26 }, "end": { "line": 143, "column": 34 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "CallExpression", "start": 5707, "end": 5761, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 91 } }, "callee": { "type": "MemberExpression", "start": 5707, "end": 5735, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 65 } }, "object": { "type": "MemberExpression", "start": 5707, "end": 5720, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5707, "end": 5716, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 46 } }, "object": { "type": "ThisExpression", "start": 5707, "end": 5711, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 41 } } }, "property": { "type": "Identifier", "start": 5712, "end": 5716, "loc": { "start": { "line": 143, "column": 42 }, "end": { "line": 143, "column": 46 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 5717, "end": 5720, "loc": { "start": { "line": 143, "column": 47 }, "end": { "line": 143, "column": 50 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 5721, "end": 5735, "loc": { "start": { "line": 143, "column": 51 }, "end": { "line": 143, "column": 65 }, "identifierName": "getTileContent" }, "name": "getTileContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5736, "end": 5746, "loc": { "start": { "line": 143, "column": 66 }, "end": { "line": 143, "column": 76 }, "identifierName": "currentPos" }, "name": "currentPos" }, { "type": "MemberExpression", "start": 5748, "end": 5760, "loc": { "start": { "line": 143, "column": 78 }, "end": { "line": 143, "column": 90 } }, "object": { "type": "Identifier", "start": 5748, "end": 5754, "loc": { "start": { "line": 143, "column": 78 }, "end": { "line": 143, "column": 84 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 5755, "end": 5760, "loc": { "start": { "line": 143, "column": 85 }, "end": { "line": 143, "column": 90 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5784, "end": 5841, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 77 } }, "expression": { "type": "CallExpression", "start": 5784, "end": 5840, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 76 } }, "callee": { "type": "Identifier", "start": 5784, "end": 5790, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 26 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "Identifier", "start": 5791, "end": 5799, "loc": { "start": { "line": 144, "column": 27 }, "end": { "line": 144, "column": 35 }, "identifierName": "contents" }, "name": "contents" }, { "type": "StringLiteral", "start": 5801, "end": 5839, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 75 } }, "extra": { "rawValue": "Invalid smart underground belt logic", "raw": "\"Invalid smart underground belt logic\"" }, "value": "Invalid smart underground belt logic" } ] } }, { "type": "ExpressionStatement", "start": 5863, "end": 5907, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 64 } }, "expression": { "type": "CallExpression", "start": 5863, "end": 5906, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 5863, "end": 5896, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 53 } }, "object": { "type": "MemberExpression", "start": 5863, "end": 5878, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 35 } }, "object": { "type": "MemberExpression", "start": 5863, "end": 5872, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5863, "end": 5867, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 24 } } }, "property": { "type": "Identifier", "start": 5868, "end": 5872, "loc": { "start": { "line": 145, "column": 25 }, "end": { "line": 145, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 5873, "end": 5878, "loc": { "start": { "line": 145, "column": 30 }, "end": { "line": 145, "column": 35 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 5879, "end": 5896, "loc": { "start": { "line": 145, "column": 36 }, "end": { "line": 145, "column": 53 }, "identifierName": "tryDeleteBuilding" }, "name": "tryDeleteBuilding" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5897, "end": 5905, "loc": { "start": { "line": 145, "column": 54 }, "end": { "line": 145, "column": 62 }, "identifierName": "contents" }, "name": "contents" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " All belts between this are obsolete, so drop them", "start": 5496, "end": 5548, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 68 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " REMOVE OBSOLETE TUNNELS", "start": 5957, "end": 5983, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 38 } } }, { "type": "CommentLine", "value": " Remove any double tunnels, by checking the tile plus the tile above", "start": 5997, "end": 6067, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 82 } } } ] }, { "type": "ExpressionStatement", "start": 6081, "end": 6118, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 6081, "end": 6117, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", "start": 6081, "end": 6091, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 22 }, "identifierName": "currentPos" }, "name": "currentPos", "leadingComments": null }, "right": { "type": "CallExpression", "start": 6094, "end": 6117, "loc": { "start": { "line": 151, "column": 25 }, "end": { "line": 151, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 6094, "end": 6109, "loc": { "start": { "line": 151, "column": 25 }, "end": { "line": 151, "column": 40 } }, "object": { "type": "CallExpression", "start": 6094, "end": 6105, "loc": { "start": { "line": 151, "column": 25 }, "end": { "line": 151, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 6094, "end": 6103, "loc": { "start": { "line": 151, "column": 25 }, "end": { "line": 151, "column": 34 } }, "object": { "type": "Identifier", "start": 6094, "end": 6098, "loc": { "start": { "line": 151, "column": 25 }, "end": { "line": 151, "column": 29 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 6099, "end": 6103, "loc": { "start": { "line": 151, "column": 30 }, "end": { "line": 151, "column": 34 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 6106, "end": 6109, "loc": { "start": { "line": 151, "column": 37 }, "end": { "line": 151, "column": 40 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6110, "end": 6116, "loc": { "start": { "line": 151, "column": 41 }, "end": { "line": 151, "column": 47 }, "identifierName": "offset" }, "name": "offset" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " REMOVE OBSOLETE TUNNELS", "start": 5957, "end": 5983, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 38 } } }, { "type": "CommentLine", "value": " Remove any double tunnels, by checking the tile plus the tile above", "start": 5997, "end": 6067, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 82 } } } ] }, { "type": "ForStatement", "start": 6132, "end": 8269, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 204, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 6137, "end": 6146, "loc": { "start": { "line": 152, "column": 17 }, "end": { "line": 152, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6141, "end": 6146, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 26 } }, "id": { "type": "Identifier", "start": 6141, "end": 6142, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 22 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 6145, "end": 6146, "loc": { "start": { "line": 152, "column": 25 }, "end": { "line": 152, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6148, "end": 6178, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 58 } }, "left": { "type": "Identifier", "start": 6148, "end": 6149, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "BinaryExpression", "start": 6152, "end": 6178, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 58 } }, "left": { "type": "MemberExpression", "start": 6152, "end": 6174, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 54 } }, "object": { "type": "Identifier", "start": 6152, "end": 6168, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 48 }, "identifierName": "matchingEntrance" }, "name": "matchingEntrance" }, "property": { "type": "Identifier", "start": 6169, "end": 6174, "loc": { "start": { "line": 152, "column": 49 }, "end": { "line": 152, "column": 54 }, "identifierName": "range" }, "name": "range" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 6177, "end": 6178, "loc": { "start": { "line": 152, "column": 57 }, "end": { "line": 152, "column": 58 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, "update": { "type": "UpdateExpression", "start": 6180, "end": 6183, "loc": { "start": { "line": 152, "column": 60 }, "end": { "line": 152, "column": 63 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 6182, "end": 6183, "loc": { "start": { "line": 152, "column": 62 }, "end": { "line": 152, "column": 63 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 6185, "end": 8269, "loc": { "start": { "line": 152, "column": 65 }, "end": { "line": 204, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 6204, "end": 6240, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6210, "end": 6239, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 51 } }, "id": { "type": "Identifier", "start": 6210, "end": 6219, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 31 }, "identifierName": "posBefore" }, "name": "posBefore" }, "init": { "type": "CallExpression", "start": 6222, "end": 6239, "loc": { "start": { "line": 153, "column": 34 }, "end": { "line": 153, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 6222, "end": 6237, "loc": { "start": { "line": 153, "column": 34 }, "end": { "line": 153, "column": 49 } }, "object": { "type": "Identifier", "start": 6222, "end": 6232, "loc": { "start": { "line": 153, "column": 34 }, "end": { "line": 153, "column": 44 }, "identifierName": "currentPos" }, "name": "currentPos" }, "property": { "type": "Identifier", "start": 6233, "end": 6237, "loc": { "start": { "line": 153, "column": 45 }, "end": { "line": 153, "column": 49 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6258, "end": 6288, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 46 } }, "expression": { "type": "CallExpression", "start": 6258, "end": 6287, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 6258, "end": 6279, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 37 } }, "object": { "type": "Identifier", "start": 6258, "end": 6268, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 26 }, "identifierName": "currentPos" }, "name": "currentPos" }, "property": { "type": "Identifier", "start": 6269, "end": 6279, "loc": { "start": { "line": 154, "column": 27 }, "end": { "line": 154, "column": 37 }, "identifierName": "addInplace" }, "name": "addInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6280, "end": 6286, "loc": { "start": { "line": 154, "column": 38 }, "end": { "line": 154, "column": 44 }, "identifierName": "offset" }, "name": "offset" } ] } }, { "type": "VariableDeclaration", "start": 6308, "end": 6383, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6314, "end": 6382, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 90 } }, "id": { "type": "Identifier", "start": 6314, "end": 6326, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 34 }, "identifierName": "entityBefore" }, "name": "entityBefore" }, "init": { "type": "CallExpression", "start": 6329, "end": 6382, "loc": { "start": { "line": 156, "column": 37 }, "end": { "line": 156, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 6329, "end": 6357, "loc": { "start": { "line": 156, "column": 37 }, "end": { "line": 156, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6329, "end": 6342, "loc": { "start": { "line": 156, "column": 37 }, "end": { "line": 156, "column": 50 } }, "object": { "type": "MemberExpression", "start": 6329, "end": 6338, "loc": { "start": { "line": 156, "column": 37 }, "end": { "line": 156, "column": 46 } }, "object": { "type": "ThisExpression", "start": 6329, "end": 6333, "loc": { "start": { "line": 156, "column": 37 }, "end": { "line": 156, "column": 41 } } }, "property": { "type": "Identifier", "start": 6334, "end": 6338, "loc": { "start": { "line": 156, "column": 42 }, "end": { "line": 156, "column": 46 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 6339, "end": 6342, "loc": { "start": { "line": 156, "column": 47 }, "end": { "line": 156, "column": 50 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 6343, "end": 6357, "loc": { "start": { "line": 156, "column": 51 }, "end": { "line": 156, "column": 65 }, "identifierName": "getTileContent" }, "name": "getTileContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6358, "end": 6367, "loc": { "start": { "line": 156, "column": 66 }, "end": { "line": 156, "column": 75 }, "identifierName": "posBefore" }, "name": "posBefore" }, { "type": "MemberExpression", "start": 6369, "end": 6381, "loc": { "start": { "line": 156, "column": 77 }, "end": { "line": 156, "column": 89 } }, "object": { "type": "Identifier", "start": 6369, "end": 6375, "loc": { "start": { "line": 156, "column": 77 }, "end": { "line": 156, "column": 83 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 6376, "end": 6381, "loc": { "start": { "line": 156, "column": 84 }, "end": { "line": 156, "column": 89 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6401, "end": 6476, "loc": { "start": { "line": 157, "column": 16 }, "end": { "line": 157, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6407, "end": 6475, "loc": { "start": { "line": 157, "column": 22 }, "end": { "line": 157, "column": 90 } }, "id": { "type": "Identifier", "start": 6407, "end": 6418, "loc": { "start": { "line": 157, "column": 22 }, "end": { "line": 157, "column": 33 }, "identifierName": "entityAfter" }, "name": "entityAfter" }, "init": { "type": "CallExpression", "start": 6421, "end": 6475, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 6421, "end": 6449, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 64 } }, "object": { "type": "MemberExpression", "start": 6421, "end": 6434, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 49 } }, "object": { "type": "MemberExpression", "start": 6421, "end": 6430, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 45 } }, "object": { "type": "ThisExpression", "start": 6421, "end": 6425, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 40 } } }, "property": { "type": "Identifier", "start": 6426, "end": 6430, "loc": { "start": { "line": 157, "column": 41 }, "end": { "line": 157, "column": 45 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 6431, "end": 6434, "loc": { "start": { "line": 157, "column": 46 }, "end": { "line": 157, "column": 49 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 6435, "end": 6449, "loc": { "start": { "line": 157, "column": 50 }, "end": { "line": 157, "column": 64 }, "identifierName": "getTileContent" }, "name": "getTileContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6450, "end": 6460, "loc": { "start": { "line": 157, "column": 65 }, "end": { "line": 157, "column": 75 }, "identifierName": "currentPos" }, "name": "currentPos" }, { "type": "MemberExpression", "start": 6462, "end": 6474, "loc": { "start": { "line": 157, "column": 77 }, "end": { "line": 157, "column": 89 } }, "object": { "type": "Identifier", "start": 6462, "end": 6468, "loc": { "start": { "line": 157, "column": 77 }, "end": { "line": 157, "column": 83 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 6469, "end": 6474, "loc": { "start": { "line": 157, "column": 84 }, "end": { "line": 157, "column": 89 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 6496, "end": 6582, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 161, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 6500, "end": 6529, "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 6500, "end": 6513, "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6501, "end": 6513, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 33 }, "identifierName": "entityBefore" }, "name": "entityBefore" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 6517, "end": 6529, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6518, "end": 6529, "loc": { "start": { "line": 159, "column": 38 }, "end": { "line": 159, "column": 49 }, "identifierName": "entityAfter" }, "name": "entityAfter" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 6531, "end": 6582, "loc": { "start": { "line": 159, "column": 51 }, "end": { "line": 161, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 6554, "end": 6563, "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 160, "column": 29 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 6602, "end": 6668, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6608, "end": 6667, "loc": { "start": { "line": 163, "column": 22 }, "end": { "line": 163, "column": 81 } }, "id": { "type": "Identifier", "start": 6608, "end": 6625, "loc": { "start": { "line": 163, "column": 22 }, "end": { "line": 163, "column": 39 }, "identifierName": "undergroundBefore" }, "name": "undergroundBefore" }, "init": { "type": "MemberExpression", "start": 6628, "end": 6667, "loc": { "start": { "line": 163, "column": 42 }, "end": { "line": 163, "column": 81 } }, "object": { "type": "MemberExpression", "start": 6628, "end": 6651, "loc": { "start": { "line": 163, "column": 42 }, "end": { "line": 163, "column": 65 } }, "object": { "type": "Identifier", "start": 6628, "end": 6640, "loc": { "start": { "line": 163, "column": 42 }, "end": { "line": 163, "column": 54 }, "identifierName": "entityBefore" }, "name": "entityBefore" }, "property": { "type": "Identifier", "start": 6641, "end": 6651, "loc": { "start": { "line": 163, "column": 55 }, "end": { "line": 163, "column": 65 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 6652, "end": 6667, "loc": { "start": { "line": 163, "column": 66 }, "end": { "line": 163, "column": 81 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6686, "end": 6750, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6692, "end": 6749, "loc": { "start": { "line": 164, "column": 22 }, "end": { "line": 164, "column": 79 } }, "id": { "type": "Identifier", "start": 6692, "end": 6708, "loc": { "start": { "line": 164, "column": 22 }, "end": { "line": 164, "column": 38 }, "identifierName": "undergroundAfter" }, "name": "undergroundAfter" }, "init": { "type": "MemberExpression", "start": 6711, "end": 6749, "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 79 } }, "object": { "type": "MemberExpression", "start": 6711, "end": 6733, "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 63 } }, "object": { "type": "Identifier", "start": 6711, "end": 6722, "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 52 }, "identifierName": "entityAfter" }, "name": "entityAfter" }, "property": { "type": "Identifier", "start": 6723, "end": 6733, "loc": { "start": { "line": 164, "column": 53 }, "end": { "line": 164, "column": 63 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 6734, "end": 6749, "loc": { "start": { "line": 164, "column": 64 }, "end": { "line": 164, "column": 79 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 6770, "end": 6914, "loc": { "start": { "line": 166, "column": 16 }, "end": { "line": 169, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 6774, "end": 6813, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 59 } }, "left": { "type": "UnaryExpression", "start": 6774, "end": 6792, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6775, "end": 6792, "loc": { "start": { "line": 166, "column": 21 }, "end": { "line": 166, "column": 38 }, "identifierName": "undergroundBefore" }, "name": "undergroundBefore" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 6796, "end": 6813, "loc": { "start": { "line": 166, "column": 42 }, "end": { "line": 166, "column": 59 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6797, "end": 6813, "loc": { "start": { "line": 166, "column": 43 }, "end": { "line": 166, "column": 59 }, "identifierName": "undergroundAfter" }, "name": "undergroundAfter" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 6815, "end": 6914, "loc": { "start": { "line": 166, "column": 61 }, "end": { "line": 169, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 6886, "end": 6895, "loc": { "start": { "line": 168, "column": 20 }, "end": { "line": 168, "column": 29 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Not an underground belt", "start": 6838, "end": 6864, "loc": { "start": { "line": 167, "column": 20 }, "end": { "line": 167, "column": 46 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6934, "end": 7292, "loc": { "start": { "line": 171, "column": 16 }, "end": { "line": 179, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 6999, "end": 7180, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 175, "column": 67 } }, "left": { "type": "BinaryExpression", "start": 6999, "end": 7047, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 68 } }, "left": { "type": "MemberExpression", "start": 6999, "end": 7021, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 42 } }, "object": { "type": "Identifier", "start": 6999, "end": 7016, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 37 }, "identifierName": "undergroundBefore" }, "name": "undergroundBefore", "leadingComments": null }, "property": { "type": "Identifier", "start": 7017, "end": 7021, "loc": { "start": { "line": 173, "column": 38 }, "end": { "line": 173, "column": 42 }, "identifierName": "tier" }, "name": "tier" }, "computed": false, "leadingComments": null }, "operator": "!==", "right": { "type": "MemberExpression", "start": 7026, "end": 7047, "loc": { "start": { "line": 173, "column": 47 }, "end": { "line": 173, "column": 68 } }, "object": { "type": "Identifier", "start": 7026, "end": 7042, "loc": { "start": { "line": 173, "column": 47 }, "end": { "line": 173, "column": 63 }, "identifierName": "undergroundAfter" }, "name": "undergroundAfter" }, "property": { "type": "Identifier", "start": 7043, "end": 7047, "loc": { "start": { "line": 173, "column": 64 }, "end": { "line": 173, "column": 68 }, "identifierName": "tier" }, "name": "tier" }, "computed": false }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 7133, "end": 7180, "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 175, "column": 67 } }, "left": { "type": "MemberExpression", "start": 7133, "end": 7155, "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 175, "column": 42 } }, "object": { "type": "Identifier", "start": 7133, "end": 7150, "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 175, "column": 37 }, "identifierName": "undergroundBefore" }, "name": "undergroundBefore", "leadingComments": null }, "property": { "type": "Identifier", "start": 7151, "end": 7155, "loc": { "start": { "line": 175, "column": 38 }, "end": { "line": 175, "column": 42 }, "identifierName": "tier" }, "name": "tier" }, "computed": false, "leadingComments": null }, "operator": "!==", "right": { "type": "MemberExpression", "start": 7160, "end": 7180, "loc": { "start": { "line": 175, "column": 47 }, "end": { "line": 175, "column": 67 } }, "object": { "type": "Identifier", "start": 7160, "end": 7175, "loc": { "start": { "line": 175, "column": 47 }, "end": { "line": 175, "column": 62 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 7176, "end": 7180, "loc": { "start": { "line": 175, "column": 63 }, "end": { "line": 175, "column": 67 }, "identifierName": "tier" }, "name": "tier" }, "computed": false }, "leadingComments": [ { "type": "CommentLine", "value": " And same tier as our original entity", "start": 7072, "end": 7111, "loc": { "start": { "line": 174, "column": 20 }, "end": { "line": 174, "column": 59 } } } ] }, "leadingComments": [ { "type": "CommentLine", "value": " Both same tier", "start": 6960, "end": 6977, "loc": { "start": { "line": 172, "column": 20 }, "end": { "line": 172, "column": 37 } } } ] }, "consequent": { "type": "BlockStatement", "start": 7200, "end": 7292, "loc": { "start": { "line": 176, "column": 18 }, "end": { "line": 179, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 7264, "end": 7273, "loc": { "start": { "line": 178, "column": 20 }, "end": { "line": 178, "column": 29 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Mismatching tier", "start": 7223, "end": 7242, "loc": { "start": { "line": 177, "column": 20 }, "end": { "line": 177, "column": 39 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7312, "end": 7592, "loc": { "start": { "line": 181, "column": 16 }, "end": { "line": 187, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 7338, "end": 7478, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 183, "column": 78 } }, "left": { "type": "BinaryExpression", "start": 7338, "end": 7395, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 182, "column": 77 } }, "left": { "type": "MemberExpression", "start": 7338, "end": 7360, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 182, "column": 42 } }, "object": { "type": "Identifier", "start": 7338, "end": 7355, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 182, "column": 37 }, "identifierName": "undergroundBefore" }, "name": "undergroundBefore" }, "property": { "type": "Identifier", "start": 7356, "end": 7360, "loc": { "start": { "line": 182, "column": 38 }, "end": { "line": 182, "column": 42 }, "identifierName": "mode" }, "name": "mode" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 7365, "end": 7395, "loc": { "start": { "line": 182, "column": 47 }, "end": { "line": 182, "column": 77 } }, "object": { "type": "Identifier", "start": 7365, "end": 7388, "loc": { "start": { "line": 182, "column": 47 }, "end": { "line": 182, "column": 70 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 7389, "end": 7395, "loc": { "start": { "line": 182, "column": 71 }, "end": { "line": 182, "column": 77 }, "identifierName": "sender" }, "name": "sender" }, "computed": false } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 7420, "end": 7478, "loc": { "start": { "line": 183, "column": 20 }, "end": { "line": 183, "column": 78 } }, "left": { "type": "MemberExpression", "start": 7420, "end": 7441, "loc": { "start": { "line": 183, "column": 20 }, "end": { "line": 183, "column": 41 } }, "object": { "type": "Identifier", "start": 7420, "end": 7436, "loc": { "start": { "line": 183, "column": 20 }, "end": { "line": 183, "column": 36 }, "identifierName": "undergroundAfter" }, "name": "undergroundAfter" }, "property": { "type": "Identifier", "start": 7437, "end": 7441, "loc": { "start": { "line": 183, "column": 37 }, "end": { "line": 183, "column": 41 }, "identifierName": "mode" }, "name": "mode" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 7446, "end": 7478, "loc": { "start": { "line": 183, "column": 46 }, "end": { "line": 183, "column": 78 } }, "object": { "type": "Identifier", "start": 7446, "end": 7469, "loc": { "start": { "line": 183, "column": 46 }, "end": { "line": 183, "column": 69 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 7470, "end": 7478, "loc": { "start": { "line": 183, "column": 70 }, "end": { "line": 183, "column": 78 }, "identifierName": "receiver" }, "name": "receiver" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 7498, "end": 7592, "loc": { "start": { "line": 184, "column": 18 }, "end": { "line": 187, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 7564, "end": 7573, "loc": { "start": { "line": 186, "column": 20 }, "end": { "line": 186, "column": 29 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Not the right mode", "start": 7521, "end": 7542, "loc": { "start": { "line": 185, "column": 20 }, "end": { "line": 185, "column": 41 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check rotations", "start": 7612, "end": 7630, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 34 } } } ] }, { "type": "VariableDeclaration", "start": 7648, "end": 7709, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7654, "end": 7708, "loc": { "start": { "line": 190, "column": 22 }, "end": { "line": 190, "column": 76 } }, "id": { "type": "Identifier", "start": 7654, "end": 7666, "loc": { "start": { "line": 190, "column": 22 }, "end": { "line": 190, "column": 34 }, "identifierName": "staticBefore" }, "name": "staticBefore", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 7669, "end": 7708, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 76 } }, "object": { "type": "MemberExpression", "start": 7669, "end": 7692, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 60 } }, "object": { "type": "Identifier", "start": 7669, "end": 7681, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 49 }, "identifierName": "entityBefore" }, "name": "entityBefore" }, "property": { "type": "Identifier", "start": 7682, "end": 7692, "loc": { "start": { "line": 190, "column": 50 }, "end": { "line": 190, "column": 60 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 7693, "end": 7708, "loc": { "start": { "line": 190, "column": 61 }, "end": { "line": 190, "column": 76 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check rotations", "start": 7612, "end": 7630, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 34 } } } ] }, { "type": "VariableDeclaration", "start": 7727, "end": 7786, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7733, "end": 7785, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 74 } }, "id": { "type": "Identifier", "start": 7733, "end": 7744, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 33 }, "identifierName": "staticAfter" }, "name": "staticAfter" }, "init": { "type": "MemberExpression", "start": 7747, "end": 7785, "loc": { "start": { "line": 191, "column": 36 }, "end": { "line": 191, "column": 74 } }, "object": { "type": "MemberExpression", "start": 7747, "end": 7769, "loc": { "start": { "line": 191, "column": 36 }, "end": { "line": 191, "column": 58 } }, "object": { "type": "Identifier", "start": 7747, "end": 7758, "loc": { "start": { "line": 191, "column": 36 }, "end": { "line": 191, "column": 47 }, "identifierName": "entityAfter" }, "name": "entityAfter" }, "property": { "type": "Identifier", "start": 7759, "end": 7769, "loc": { "start": { "line": 191, "column": 48 }, "end": { "line": 191, "column": 58 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 7770, "end": 7785, "loc": { "start": { "line": 191, "column": 59 }, "end": { "line": 191, "column": 74 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 7806, "end": 8080, "loc": { "start": { "line": 193, "column": 16 }, "end": { "line": 199, "column": 17 } }, "test": { "type": "LogicalExpression", "start": 7832, "end": 7970, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 195, "column": 76 } }, "left": { "type": "BinaryExpression", "start": 7832, "end": 7889, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 77 } }, "left": { "type": "MemberExpression", "start": 7832, "end": 7875, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 63 } }, "object": { "type": "Identifier", "start": 7832, "end": 7852, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 40 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" }, "property": { "type": "MemberExpression", "start": 7853, "end": 7874, "loc": { "start": { "line": 194, "column": 41 }, "end": { "line": 194, "column": 62 } }, "object": { "type": "Identifier", "start": 7853, "end": 7865, "loc": { "start": { "line": 194, "column": 41 }, "end": { "line": 194, "column": 53 }, "identifierName": "staticBefore" }, "name": "staticBefore" }, "property": { "type": "Identifier", "start": 7866, "end": 7874, "loc": { "start": { "line": 194, "column": 54 }, "end": { "line": 194, "column": 62 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 7880, "end": 7889, "loc": { "start": { "line": 194, "column": 68 }, "end": { "line": 194, "column": 77 }, "identifierName": "direction" }, "name": "direction" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 7914, "end": 7970, "loc": { "start": { "line": 195, "column": 20 }, "end": { "line": 195, "column": 76 } }, "left": { "type": "MemberExpression", "start": 7914, "end": 7956, "loc": { "start": { "line": 195, "column": 20 }, "end": { "line": 195, "column": 62 } }, "object": { "type": "Identifier", "start": 7914, "end": 7934, "loc": { "start": { "line": 195, "column": 20 }, "end": { "line": 195, "column": 40 }, "identifierName": "enumAngleToDirection" }, "name": "enumAngleToDirection" }, "property": { "type": "MemberExpression", "start": 7935, "end": 7955, "loc": { "start": { "line": 195, "column": 41 }, "end": { "line": 195, "column": 61 } }, "object": { "type": "Identifier", "start": 7935, "end": 7946, "loc": { "start": { "line": 195, "column": 41 }, "end": { "line": 195, "column": 52 }, "identifierName": "staticAfter" }, "name": "staticAfter" }, "property": { "type": "Identifier", "start": 7947, "end": 7955, "loc": { "start": { "line": 195, "column": 53 }, "end": { "line": 195, "column": 61 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 7961, "end": 7970, "loc": { "start": { "line": 195, "column": 67 }, "end": { "line": 195, "column": 76 }, "identifierName": "direction" }, "name": "direction" } } }, "consequent": { "type": "BlockStatement", "start": 7990, "end": 8080, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 199, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 8052, "end": 8061, "loc": { "start": { "line": 198, "column": 20 }, "end": { "line": 198, "column": 29 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Wrong rotation", "start": 8013, "end": 8030, "loc": { "start": { "line": 197, "column": 20 }, "end": { "line": 197, "column": 37 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " All good, can remove", "start": 8100, "end": 8123, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 8141, "end": 8189, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 64 } }, "expression": { "type": "CallExpression", "start": 8141, "end": 8188, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 8141, "end": 8174, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 49 } }, "object": { "type": "MemberExpression", "start": 8141, "end": 8156, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8141, "end": 8150, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 } }, "object": { "type": "ThisExpression", "start": 8141, "end": 8145, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8146, "end": 8150, "loc": { "start": { "line": 202, "column": 21 }, "end": { "line": 202, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8151, "end": 8156, "loc": { "start": { "line": 202, "column": 26 }, "end": { "line": 202, "column": 31 }, "identifierName": "logic" }, "name": "logic" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8157, "end": 8174, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 49 }, "identifierName": "tryDeleteBuilding" }, "name": "tryDeleteBuilding" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 8175, "end": 8187, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 62 }, "identifierName": "entityBefore" }, "name": "entityBefore" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " All good, can remove", "start": 8100, "end": 8123, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 8207, "end": 8254, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 63 } }, "expression": { "type": "CallExpression", "start": 8207, "end": 8253, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 8207, "end": 8240, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 49 } }, "object": { "type": "MemberExpression", "start": 8207, "end": 8222, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8207, "end": 8216, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 25 } }, "object": { "type": "ThisExpression", "start": 8207, "end": 8211, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 20 } } }, "property": { "type": "Identifier", "start": 8212, "end": 8216, "loc": { "start": { "line": 203, "column": 21 }, "end": { "line": 203, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 8217, "end": 8222, "loc": { "start": { "line": 203, "column": 26 }, "end": { "line": 203, "column": 31 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 8223, "end": 8240, "loc": { "start": { "line": 203, "column": 32 }, "end": { "line": 203, "column": 49 }, "identifierName": "tryDeleteBuilding" }, "name": "tryDeleteBuilding" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8241, "end": 8252, "loc": { "start": { "line": 203, "column": 50 }, "end": { "line": 203, "column": 61 }, "identifierName": "entityAfter" }, "name": "entityAfter" } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Callback when an entity got placed, used to remove belts between underground belts\r\n * @param {Entity} entity\r\n ", "start": 1933, "end": 2067, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Recomputes the cache in the given area, invalidating all entries there\r\n * @param {Rectangle} area\r\n ", "start": 8295, "end": 8418, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 211, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8424, "end": 9052, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 226, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8424, "end": 8437, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 17 }, "identifierName": "recomputeArea" }, "name": "recomputeArea", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8438, "end": 8442, "loc": { "start": { "line": 212, "column": 18 }, "end": { "line": 212, "column": 22 }, "identifierName": "area" }, "name": "area" } ], "body": { "type": "BlockStatement", "start": 8444, "end": 9052, "loc": { "start": { "line": 212, "column": 24 }, "end": { "line": 226, "column": 5 } }, "body": [ { "type": "ForStatement", "start": 8455, "end": 9045, "loc": { "start": { "line": 213, "column": 8 }, "end": { "line": 225, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 8460, "end": 8474, "loc": { "start": { "line": 213, "column": 13 }, "end": { "line": 213, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8464, "end": 8474, "loc": { "start": { "line": 213, "column": 17 }, "end": { "line": 213, "column": 27 } }, "id": { "type": "Identifier", "start": 8464, "end": 8465, "loc": { "start": { "line": 213, "column": 17 }, "end": { "line": 213, "column": 18 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "MemberExpression", "start": 8468, "end": 8474, "loc": { "start": { "line": 213, "column": 21 }, "end": { "line": 213, "column": 27 } }, "object": { "type": "Identifier", "start": 8468, "end": 8472, "loc": { "start": { "line": 213, "column": 21 }, "end": { "line": 213, "column": 25 }, "identifierName": "area" }, "name": "area" }, "property": { "type": "Identifier", "start": 8473, "end": 8474, "loc": { "start": { "line": 213, "column": 26 }, "end": { "line": 213, "column": 27 }, "identifierName": "x" }, "name": "x" }, "computed": false } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 8476, "end": 8492, "loc": { "start": { "line": 213, "column": 29 }, "end": { "line": 213, "column": 45 } }, "left": { "type": "Identifier", "start": 8476, "end": 8477, "loc": { "start": { "line": 213, "column": 29 }, "end": { "line": 213, "column": 30 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "CallExpression", "start": 8480, "end": 8492, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 8480, "end": 8490, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 43 } }, "object": { "type": "Identifier", "start": 8480, "end": 8484, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 37 }, "identifierName": "area" }, "name": "area" }, "property": { "type": "Identifier", "start": 8485, "end": 8490, "loc": { "start": { "line": 213, "column": 38 }, "end": { "line": 213, "column": 43 }, "identifierName": "right" }, "name": "right" }, "computed": false }, "arguments": [] } }, "update": { "type": "UpdateExpression", "start": 8494, "end": 8497, "loc": { "start": { "line": 213, "column": 47 }, "end": { "line": 213, "column": 50 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 8496, "end": 8497, "loc": { "start": { "line": 213, "column": 49 }, "end": { "line": 213, "column": 50 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 8499, "end": 9045, "loc": { "start": { "line": 213, "column": 52 }, "end": { "line": 225, "column": 9 } }, "body": [ { "type": "ForStatement", "start": 8514, "end": 9034, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 224, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 8519, "end": 8533, "loc": { "start": { "line": 214, "column": 17 }, "end": { "line": 214, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8523, "end": 8533, "loc": { "start": { "line": 214, "column": 21 }, "end": { "line": 214, "column": 31 } }, "id": { "type": "Identifier", "start": 8523, "end": 8524, "loc": { "start": { "line": 214, "column": 21 }, "end": { "line": 214, "column": 22 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "MemberExpression", "start": 8527, "end": 8533, "loc": { "start": { "line": 214, "column": 25 }, "end": { "line": 214, "column": 31 } }, "object": { "type": "Identifier", "start": 8527, "end": 8531, "loc": { "start": { "line": 214, "column": 25 }, "end": { "line": 214, "column": 29 }, "identifierName": "area" }, "name": "area" }, "property": { "type": "Identifier", "start": 8532, "end": 8533, "loc": { "start": { "line": 214, "column": 30 }, "end": { "line": 214, "column": 31 }, "identifierName": "y" }, "name": "y" }, "computed": false } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 8535, "end": 8552, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 50 } }, "left": { "type": "Identifier", "start": 8535, "end": 8536, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 34 }, "identifierName": "y" }, "name": "y" }, "operator": "<", "right": { "type": "CallExpression", "start": 8539, "end": 8552, "loc": { "start": { "line": 214, "column": 37 }, "end": { "line": 214, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 8539, "end": 8550, "loc": { "start": { "line": 214, "column": 37 }, "end": { "line": 214, "column": 48 } }, "object": { "type": "Identifier", "start": 8539, "end": 8543, "loc": { "start": { "line": 214, "column": 37 }, "end": { "line": 214, "column": 41 }, "identifierName": "area" }, "name": "area" }, "property": { "type": "Identifier", "start": 8544, "end": 8550, "loc": { "start": { "line": 214, "column": 42 }, "end": { "line": 214, "column": 48 }, "identifierName": "bottom" }, "name": "bottom" }, "computed": false }, "arguments": [] } }, "update": { "type": "UpdateExpression", "start": 8554, "end": 8557, "loc": { "start": { "line": 214, "column": 52 }, "end": { "line": 214, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 8556, "end": 8557, "loc": { "start": { "line": 214, "column": 54 }, "end": { "line": 214, "column": 55 }, "identifierName": "y" }, "name": "y" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 8559, "end": 9034, "loc": { "start": { "line": 214, "column": 57 }, "end": { "line": 224, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 8578, "end": 8643, "loc": { "start": { "line": 215, "column": 16 }, "end": { "line": 215, "column": 81 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8584, "end": 8642, "loc": { "start": { "line": 215, "column": 22 }, "end": { "line": 215, "column": 80 } }, "id": { "type": "Identifier", "start": 8584, "end": 8592, "loc": { "start": { "line": 215, "column": 22 }, "end": { "line": 215, "column": 30 }, "identifierName": "entities" }, "name": "entities" }, "init": { "type": "CallExpression", "start": 8595, "end": 8642, "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 8595, "end": 8636, "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 74 } }, "object": { "type": "MemberExpression", "start": 8595, "end": 8608, "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 46 } }, "object": { "type": "MemberExpression", "start": 8595, "end": 8604, "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8595, "end": 8599, "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 37 } } }, "property": { "type": "Identifier", "start": 8600, "end": 8604, "loc": { "start": { "line": 215, "column": 38 }, "end": { "line": 215, "column": 42 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 8605, "end": 8608, "loc": { "start": { "line": 215, "column": 43 }, "end": { "line": 215, "column": 46 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 8609, "end": 8636, "loc": { "start": { "line": 215, "column": 47 }, "end": { "line": 215, "column": 74 }, "identifierName": "getLayersContentsMultipleXY" }, "name": "getLayersContentsMultipleXY" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8637, "end": 8638, "loc": { "start": { "line": 215, "column": 75 }, "end": { "line": 215, "column": 76 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 8640, "end": 8641, "loc": { "start": { "line": 215, "column": 78 }, "end": { "line": 215, "column": 79 }, "identifierName": "y" }, "name": "y" } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 8661, "end": 9019, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 223, "column": 17 } }, "init": { "type": "VariableDeclaration", "start": 8666, "end": 8675, "loc": { "start": { "line": 216, "column": 21 }, "end": { "line": 216, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8670, "end": 8675, "loc": { "start": { "line": 216, "column": 25 }, "end": { "line": 216, "column": 30 } }, "id": { "type": "Identifier", "start": 8670, "end": 8671, "loc": { "start": { "line": 216, "column": 25 }, "end": { "line": 216, "column": 26 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 8674, "end": 8675, "loc": { "start": { "line": 216, "column": 29 }, "end": { "line": 216, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 8677, "end": 8696, "loc": { "start": { "line": 216, "column": 32 }, "end": { "line": 216, "column": 51 } }, "left": { "type": "Identifier", "start": 8677, "end": 8678, "loc": { "start": { "line": 216, "column": 32 }, "end": { "line": 216, "column": 33 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 8681, "end": 8696, "loc": { "start": { "line": 216, "column": 36 }, "end": { "line": 216, "column": 51 } }, "object": { "type": "Identifier", "start": 8681, "end": 8689, "loc": { "start": { "line": 216, "column": 36 }, "end": { "line": 216, "column": 44 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 8690, "end": 8696, "loc": { "start": { "line": 216, "column": 45 }, "end": { "line": 216, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 8698, "end": 8701, "loc": { "start": { "line": 216, "column": 53 }, "end": { "line": 216, "column": 56 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 8700, "end": 8701, "loc": { "start": { "line": 216, "column": 55 }, "end": { "line": 216, "column": 56 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 8703, "end": 9019, "loc": { "start": { "line": 216, "column": 58 }, "end": { "line": 223, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 8726, "end": 8753, "loc": { "start": { "line": 217, "column": 20 }, "end": { "line": 217, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8732, "end": 8752, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 46 } }, "id": { "type": "Identifier", "start": 8732, "end": 8738, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 32 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 8741, "end": 8752, "loc": { "start": { "line": 217, "column": 35 }, "end": { "line": 217, "column": 46 } }, "object": { "type": "Identifier", "start": 8741, "end": 8749, "loc": { "start": { "line": 217, "column": 35 }, "end": { "line": 217, "column": 43 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 8750, "end": 8751, "loc": { "start": { "line": 217, "column": 44 }, "end": { "line": 217, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 8775, "end": 8833, "loc": { "start": { "line": 218, "column": 20 }, "end": { "line": 218, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8781, "end": 8832, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 77 } }, "id": { "type": "Identifier", "start": 8781, "end": 8796, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 41 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "init": { "type": "MemberExpression", "start": 8799, "end": 8832, "loc": { "start": { "line": 218, "column": 44 }, "end": { "line": 218, "column": 77 } }, "object": { "type": "MemberExpression", "start": 8799, "end": 8816, "loc": { "start": { "line": 218, "column": 44 }, "end": { "line": 218, "column": 61 } }, "object": { "type": "Identifier", "start": 8799, "end": 8805, "loc": { "start": { "line": 218, "column": 44 }, "end": { "line": 218, "column": 50 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 8806, "end": 8816, "loc": { "start": { "line": 218, "column": 51 }, "end": { "line": 218, "column": 61 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 8817, "end": 8832, "loc": { "start": { "line": 218, "column": 62 }, "end": { "line": 218, "column": 77 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 8855, "end": 8936, "loc": { "start": { "line": 219, "column": 20 }, "end": { "line": 221, "column": 21 } }, "test": { "type": "UnaryExpression", "start": 8859, "end": 8875, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 40 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 8860, "end": 8875, "loc": { "start": { "line": 219, "column": 25 }, "end": { "line": 219, "column": 40 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 8877, "end": 8936, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 221, "column": 21 } }, "body": [ { "type": "ContinueStatement", "start": 8904, "end": 8913, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 33 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 8958, "end": 9000, "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 8958, "end": 8999, "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8958, "end": 8992, "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 54 } }, "object": { "type": "Identifier", "start": 8958, "end": 8973, "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 35 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 8974, "end": 8992, "loc": { "start": { "line": 222, "column": 36 }, "end": { "line": 222, "column": 54 }, "identifierName": "cachedLinkedEntity" }, "name": "cachedLinkedEntity" }, "computed": false }, "right": { "type": "NullLiteral", "start": 8995, "end": 8999, "loc": { "start": { "line": 222, "column": 57 }, "end": { "line": 222, "column": 61 } } } } } ], "directives": [] } } ], "directives": [] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Recomputes the cache in the given area, invalidating all entries there\r\n * @param {Rectangle} area\r\n ", "start": 8295, "end": 8418, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 211, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9060, "end": 9516, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 240, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9060, "end": 9066, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 10 }, "identifierName": "update" }, "name": "update" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9069, "end": 9516, "loc": { "start": { "line": 228, "column": 13 }, "end": { "line": 240, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9080, "end": 9111, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 39 } }, "expression": { "type": "CallExpression", "start": 9080, "end": 9110, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 9080, "end": 9108, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 36 } }, "object": { "type": "MemberExpression", "start": 9080, "end": 9101, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9080, "end": 9084, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 12 } } }, "property": { "type": "Identifier", "start": 9085, "end": 9101, "loc": { "start": { "line": 229, "column": 13 }, "end": { "line": 229, "column": 29 }, "identifierName": "staleAreaWatcher" }, "name": "staleAreaWatcher" }, "computed": false }, "property": { "type": "Identifier", "start": 9102, "end": 9108, "loc": { "start": { "line": 229, "column": 30 }, "end": { "line": 229, "column": 36 }, "identifierName": "update" }, "name": "update" }, "computed": false }, "arguments": [] } }, { "type": "ForStatement", "start": 9123, "end": 9509, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 239, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 9128, "end": 9137, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9132, "end": 9137, "loc": { "start": { "line": 231, "column": 17 }, "end": { "line": 231, "column": 22 } }, "id": { "type": "Identifier", "start": 9132, "end": 9133, "loc": { "start": { "line": 231, "column": 17 }, "end": { "line": 231, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 9136, "end": 9137, "loc": { "start": { "line": 231, "column": 21 }, "end": { "line": 231, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 9139, "end": 9166, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 51 } }, "left": { "type": "Identifier", "start": 9139, "end": 9140, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 9143, "end": 9166, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 231, "column": 51 } }, "object": { "type": "MemberExpression", "start": 9143, "end": 9159, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 231, "column": 44 } }, "object": { "type": "ThisExpression", "start": 9143, "end": 9147, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 231, "column": 32 } } }, "property": { "type": "Identifier", "start": 9148, "end": 9159, "loc": { "start": { "line": 231, "column": 33 }, "end": { "line": 231, "column": 44 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 9160, "end": 9166, "loc": { "start": { "line": 231, "column": 45 }, "end": { "line": 231, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 9168, "end": 9171, "loc": { "start": { "line": 231, "column": 53 }, "end": { "line": 231, "column": 56 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 9170, "end": 9171, "loc": { "start": { "line": 231, "column": 55 }, "end": { "line": 231, "column": 56 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 9173, "end": 9509, "loc": { "start": { "line": 231, "column": 58 }, "end": { "line": 239, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 9188, "end": 9223, "loc": { "start": { "line": 232, "column": 12 }, "end": { "line": 232, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9194, "end": 9222, "loc": { "start": { "line": 232, "column": 18 }, "end": { "line": 232, "column": 46 } }, "id": { "type": "Identifier", "start": 9194, "end": 9200, "loc": { "start": { "line": 232, "column": 18 }, "end": { "line": 232, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 9203, "end": 9222, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 46 } }, "object": { "type": "MemberExpression", "start": 9203, "end": 9219, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 43 } }, "object": { "type": "ThisExpression", "start": 9203, "end": 9207, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 31 } } }, "property": { "type": "Identifier", "start": 9208, "end": 9219, "loc": { "start": { "line": 232, "column": 32 }, "end": { "line": 232, "column": 43 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 9220, "end": 9221, "loc": { "start": { "line": 232, "column": 44 }, "end": { "line": 232, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9237, "end": 9295, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9243, "end": 9294, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 69 } }, "id": { "type": "Identifier", "start": 9243, "end": 9258, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 33 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "init": { "type": "MemberExpression", "start": 9261, "end": 9294, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 69 } }, "object": { "type": "MemberExpression", "start": 9261, "end": 9278, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 53 } }, "object": { "type": "Identifier", "start": 9261, "end": 9267, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 42 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 9268, "end": 9278, "loc": { "start": { "line": 233, "column": 43 }, "end": { "line": 233, "column": 53 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 9279, "end": 9294, "loc": { "start": { "line": 233, "column": 54 }, "end": { "line": 233, "column": 69 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 9309, "end": 9498, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 238, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 9313, "end": 9368, "loc": { "start": { "line": 234, "column": 16 }, "end": { "line": 234, "column": 71 } }, "left": { "type": "MemberExpression", "start": 9313, "end": 9333, "loc": { "start": { "line": 234, "column": 16 }, "end": { "line": 234, "column": 36 } }, "object": { "type": "Identifier", "start": 9313, "end": 9328, "loc": { "start": { "line": 234, "column": 16 }, "end": { "line": 234, "column": 31 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 9329, "end": 9333, "loc": { "start": { "line": 234, "column": 32 }, "end": { "line": 234, "column": 36 }, "identifierName": "mode" }, "name": "mode" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 9338, "end": 9368, "loc": { "start": { "line": 234, "column": 41 }, "end": { "line": 234, "column": 71 } }, "object": { "type": "Identifier", "start": 9338, "end": 9361, "loc": { "start": { "line": 234, "column": 41 }, "end": { "line": 234, "column": 64 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 9362, "end": 9368, "loc": { "start": { "line": 234, "column": 65 }, "end": { "line": 234, "column": 71 }, "identifierName": "sender" }, "name": "sender" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 9370, "end": 9430, "loc": { "start": { "line": 234, "column": 73 }, "end": { "line": 236, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 9389, "end": 9415, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 42 } }, "expression": { "type": "CallExpression", "start": 9389, "end": 9414, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 9389, "end": 9406, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 33 } }, "object": { "type": "ThisExpression", "start": 9389, "end": 9393, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 20 } } }, "property": { "type": "Identifier", "start": 9394, "end": 9406, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 33 }, "identifierName": "handleSender" }, "name": "handleSender" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9407, "end": 9413, "loc": { "start": { "line": 235, "column": 34 }, "end": { "line": 235, "column": 40 }, "identifierName": "entity" }, "name": "entity" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9436, "end": 9498, "loc": { "start": { "line": 236, "column": 19 }, "end": { "line": 238, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 9455, "end": 9483, "loc": { "start": { "line": 237, "column": 16 }, "end": { "line": 237, "column": 44 } }, "expression": { "type": "CallExpression", "start": 9455, "end": 9482, "loc": { "start": { "line": 237, "column": 16 }, "end": { "line": 237, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 9455, "end": 9474, "loc": { "start": { "line": 237, "column": 16 }, "end": { "line": 237, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9455, "end": 9459, "loc": { "start": { "line": 237, "column": 16 }, "end": { "line": 237, "column": 20 } } }, "property": { "type": "Identifier", "start": 9460, "end": 9474, "loc": { "start": { "line": 237, "column": 21 }, "end": { "line": 237, "column": 35 }, "identifierName": "handleReceiver" }, "name": "handleReceiver" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9475, "end": 9481, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 42 }, "identifierName": "entity" }, "name": "entity" } ] } } ], "directives": [] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds the receiver for a given sender\r\n * @param {Entity} entity\r\n * @returns {import(\"../components/underground_belt\").LinkedUndergroundBelt}\r\n ", "start": 9524, "end": 9695, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 246, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9701, "end": 11539, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 289, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9701, "end": 9722, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 247, "column": 25 }, "identifierName": "findRecieverForSender" }, "name": "findRecieverForSender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9723, "end": 9729, "loc": { "start": { "line": 247, "column": 26 }, "end": { "line": 247, "column": 32 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 9731, "end": 11539, "loc": { "start": { "line": 247, "column": 34 }, "end": { "line": 289, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9742, "end": 9795, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9748, "end": 9794, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 60 } }, "id": { "type": "Identifier", "start": 9748, "end": 9758, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 24 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 9761, "end": 9794, "loc": { "start": { "line": 248, "column": 27 }, "end": { "line": 248, "column": 60 } }, "object": { "type": "MemberExpression", "start": 9761, "end": 9778, "loc": { "start": { "line": 248, "column": 27 }, "end": { "line": 248, "column": 44 } }, "object": { "type": "Identifier", "start": 9761, "end": 9767, "loc": { "start": { "line": 248, "column": 27 }, "end": { "line": 248, "column": 33 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 9768, "end": 9778, "loc": { "start": { "line": 248, "column": 34 }, "end": { "line": 248, "column": 44 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 9779, "end": 9794, "loc": { "start": { "line": 248, "column": 45 }, "end": { "line": 248, "column": 60 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9805, "end": 9863, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9811, "end": 9862, "loc": { "start": { "line": 249, "column": 14 }, "end": { "line": 249, "column": 65 } }, "id": { "type": "Identifier", "start": 9811, "end": 9826, "loc": { "start": { "line": 249, "column": 14 }, "end": { "line": 249, "column": 29 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "init": { "type": "MemberExpression", "start": 9829, "end": 9862, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 65 } }, "object": { "type": "MemberExpression", "start": 9829, "end": 9846, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 49 } }, "object": { "type": "Identifier", "start": 9829, "end": 9835, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 38 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 9836, "end": 9846, "loc": { "start": { "line": 249, "column": 39 }, "end": { "line": 249, "column": 49 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 9847, "end": 9862, "loc": { "start": { "line": 249, "column": 50 }, "end": { "line": 249, "column": 65 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9873, "end": 9949, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 84 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9879, "end": 9948, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 83 } }, "id": { "type": "Identifier", "start": 9879, "end": 9894, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 29 }, "identifierName": "searchDirection" }, "name": "searchDirection" }, "init": { "type": "CallExpression", "start": 9897, "end": 9948, "loc": { "start": { "line": 250, "column": 32 }, "end": { "line": 250, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 9897, "end": 9929, "loc": { "start": { "line": 250, "column": 32 }, "end": { "line": 250, "column": 64 } }, "object": { "type": "Identifier", "start": 9897, "end": 9907, "loc": { "start": { "line": 250, "column": 32 }, "end": { "line": 250, "column": 42 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 9908, "end": 9929, "loc": { "start": { "line": 250, "column": 43 }, "end": { "line": 250, "column": 64 }, "identifierName": "localDirectionToWorld" }, "name": "localDirectionToWorld" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9930, "end": 9947, "loc": { "start": { "line": 250, "column": 65 }, "end": { "line": 250, "column": 82 } }, "object": { "type": "Identifier", "start": 9930, "end": 9943, "loc": { "start": { "line": 250, "column": 65 }, "end": { "line": 250, "column": 78 }, "identifierName": "enumDirection" }, "name": "enumDirection" }, "property": { "type": "Identifier", "start": 9944, "end": 9947, "loc": { "start": { "line": 250, "column": 79 }, "end": { "line": 250, "column": 82 }, "identifierName": "top" }, "name": "top" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9959, "end": 10019, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9965, "end": 10018, "loc": { "start": { "line": 251, "column": 14 }, "end": { "line": 251, "column": 67 } }, "id": { "type": "Identifier", "start": 9965, "end": 9977, "loc": { "start": { "line": 251, "column": 14 }, "end": { "line": 251, "column": 26 }, "identifierName": "searchVector" }, "name": "searchVector" }, "init": { "type": "MemberExpression", "start": 9980, "end": 10018, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 67 } }, "object": { "type": "Identifier", "start": 9980, "end": 10001, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 50 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" }, "property": { "type": "Identifier", "start": 10002, "end": 10017, "loc": { "start": { "line": 251, "column": 51 }, "end": { "line": 251, "column": 66 }, "identifierName": "searchDirection" }, "name": "searchDirection" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 10029, "end": 10090, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10035, "end": 10089, "loc": { "start": { "line": 252, "column": 14 }, "end": { "line": 252, "column": 68 } }, "id": { "type": "Identifier", "start": 10035, "end": 10049, "loc": { "start": { "line": 252, "column": 14 }, "end": { "line": 252, "column": 28 }, "identifierName": "targetRotation" }, "name": "targetRotation" }, "init": { "type": "MemberExpression", "start": 10052, "end": 10089, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "column": 68 } }, "object": { "type": "Identifier", "start": 10052, "end": 10072, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "column": 51 }, "identifierName": "enumDirectionToAngle" }, "name": "enumDirectionToAngle" }, "property": { "type": "Identifier", "start": 10073, "end": 10088, "loc": { "start": { "line": 252, "column": 52 }, "end": { "line": 252, "column": 67 }, "identifierName": "searchDirection" }, "name": "searchDirection" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 10100, "end": 10136, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10104, "end": 10135, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 43 } }, "id": { "type": "Identifier", "start": 10104, "end": 10115, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 23 }, "identifierName": "currentTile" }, "name": "currentTile" }, "init": { "type": "MemberExpression", "start": 10118, "end": 10135, "loc": { "start": { "line": 253, "column": 26 }, "end": { "line": 253, "column": 43 } }, "object": { "type": "Identifier", "start": 10118, "end": 10128, "loc": { "start": { "line": 253, "column": 26 }, "end": { "line": 253, "column": 36 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 10129, "end": 10135, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 43 }, "identifierName": "origin" }, "name": "origin" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " Search in the direction of the tunnel", "start": 10148, "end": 10188, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 48 } } } ] }, { "type": "ForStatement", "start": 10198, "end": 11460, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 285, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 10217, "end": 10237, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10221, "end": 10237, "loc": { "start": { "line": 257, "column": 16 }, "end": { "line": 257, "column": 32 } }, "id": { "type": "Identifier", "start": 10221, "end": 10233, "loc": { "start": { "line": 257, "column": 16 }, "end": { "line": 257, "column": 28 }, "identifierName": "searchOffset" }, "name": "searchOffset", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 10236, "end": 10237, "loc": { "start": { "line": 257, "column": 31 }, "end": { "line": 257, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 10239, "end": 10318, "loc": { "start": { "line": 257, "column": 34 }, "end": { "line": 257, "column": 113 } }, "left": { "type": "Identifier", "start": 10239, "end": 10251, "loc": { "start": { "line": 257, "column": 34 }, "end": { "line": 257, "column": 46 }, "identifierName": "searchOffset" }, "name": "searchOffset" }, "operator": "<", "right": { "type": "MemberExpression", "start": 10254, "end": 10318, "loc": { "start": { "line": 257, "column": 49 }, "end": { "line": 257, "column": 113 } }, "object": { "type": "MemberExpression", "start": 10254, "end": 10296, "loc": { "start": { "line": 257, "column": 49 }, "end": { "line": 257, "column": 91 } }, "object": { "type": "Identifier", "start": 10254, "end": 10266, "loc": { "start": { "line": 257, "column": 49 }, "end": { "line": 257, "column": 61 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 10267, "end": 10296, "loc": { "start": { "line": 257, "column": 62 }, "end": { "line": 257, "column": 91 }, "identifierName": "undergroundBeltMaxTilesByTier" }, "name": "undergroundBeltMaxTilesByTier" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10297, "end": 10317, "loc": { "start": { "line": 257, "column": 92 }, "end": { "line": 257, "column": 112 } }, "object": { "type": "Identifier", "start": 10297, "end": 10312, "loc": { "start": { "line": 257, "column": 92 }, "end": { "line": 257, "column": 107 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 10313, "end": 10317, "loc": { "start": { "line": 257, "column": 108 }, "end": { "line": 257, "column": 112 }, "identifierName": "tier" }, "name": "tier" }, "computed": false }, "computed": true } }, "update": { "type": "UpdateExpression", "start": 10333, "end": 10347, "loc": { "start": { "line": 258, "column": 12 }, "end": { "line": 258, "column": 26 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 10335, "end": 10347, "loc": { "start": { "line": 258, "column": 14 }, "end": { "line": 258, "column": 26 }, "identifierName": "searchOffset" }, "name": "searchOffset" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 10359, "end": 11460, "loc": { "start": { "line": 259, "column": 10 }, "end": { "line": 285, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10374, "end": 10418, "loc": { "start": { "line": 260, "column": 12 }, "end": { "line": 260, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 10374, "end": 10417, "loc": { "start": { "line": 260, "column": 12 }, "end": { "line": 260, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", "start": 10374, "end": 10385, "loc": { "start": { "line": 260, "column": 12 }, "end": { "line": 260, "column": 23 }, "identifierName": "currentTile" }, "name": "currentTile" }, "right": { "type": "CallExpression", "start": 10388, "end": 10417, "loc": { "start": { "line": 260, "column": 26 }, "end": { "line": 260, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 10388, "end": 10403, "loc": { "start": { "line": 260, "column": 26 }, "end": { "line": 260, "column": 41 } }, "object": { "type": "Identifier", "start": 10388, "end": 10399, "loc": { "start": { "line": 260, "column": 26 }, "end": { "line": 260, "column": 37 }, "identifierName": "currentTile" }, "name": "currentTile" }, "property": { "type": "Identifier", "start": 10400, "end": 10403, "loc": { "start": { "line": 260, "column": 38 }, "end": { "line": 260, "column": 41 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10404, "end": 10416, "loc": { "start": { "line": 260, "column": 42 }, "end": { "line": 260, "column": 54 }, "identifierName": "searchVector" }, "name": "searchVector" } ] } } }, { "type": "VariableDeclaration", "start": 10434, "end": 10513, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10440, "end": 10512, "loc": { "start": { "line": 262, "column": 18 }, "end": { "line": 262, "column": 90 } }, "id": { "type": "Identifier", "start": 10440, "end": 10457, "loc": { "start": { "line": 262, "column": 18 }, "end": { "line": 262, "column": 35 }, "identifierName": "potentialReceiver" }, "name": "potentialReceiver" }, "init": { "type": "CallExpression", "start": 10460, "end": 10512, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 10460, "end": 10488, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 66 } }, "object": { "type": "MemberExpression", "start": 10460, "end": 10473, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10460, "end": 10469, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 47 } }, "object": { "type": "ThisExpression", "start": 10460, "end": 10464, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 42 } } }, "property": { "type": "Identifier", "start": 10465, "end": 10469, "loc": { "start": { "line": 262, "column": 43 }, "end": { "line": 262, "column": 47 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10470, "end": 10473, "loc": { "start": { "line": 262, "column": 48 }, "end": { "line": 262, "column": 51 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 10474, "end": 10488, "loc": { "start": { "line": 262, "column": 52 }, "end": { "line": 262, "column": 66 }, "identifierName": "getTileContent" }, "name": "getTileContent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10489, "end": 10500, "loc": { "start": { "line": 262, "column": 67 }, "end": { "line": 262, "column": 78 }, "identifierName": "currentTile" }, "name": "currentTile" }, { "type": "StringLiteral", "start": 10502, "end": 10511, "loc": { "start": { "line": 262, "column": 80 }, "end": { "line": 262, "column": 89 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 10527, "end": 10625, "loc": { "start": { "line": 263, "column": 12 }, "end": { "line": 266, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 10531, "end": 10549, "loc": { "start": { "line": 263, "column": 16 }, "end": { "line": 263, "column": 34 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10532, "end": 10549, "loc": { "start": { "line": 263, "column": 17 }, "end": { "line": 263, "column": 34 }, "identifierName": "potentialReceiver" }, "name": "potentialReceiver" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10551, "end": 10625, "loc": { "start": { "line": 263, "column": 36 }, "end": { "line": 266, "column": 13 } }, "body": [ { "type": "ContinueStatement", "start": 10601, "end": 10610, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 265, "column": 25 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Empty tile", "start": 10570, "end": 10583, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 29 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 10639, "end": 10716, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "column": 89 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10645, "end": 10715, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 88 } }, "id": { "type": "Identifier", "start": 10645, "end": 10668, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 41 }, "identifierName": "receiverUndergroundComp" }, "name": "receiverUndergroundComp" }, "init": { "type": "MemberExpression", "start": 10671, "end": 10715, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 88 } }, "object": { "type": "MemberExpression", "start": 10671, "end": 10699, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 72 } }, "object": { "type": "Identifier", "start": 10671, "end": 10688, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 61 }, "identifierName": "potentialReceiver" }, "name": "potentialReceiver" }, "property": { "type": "Identifier", "start": 10689, "end": 10699, "loc": { "start": { "line": 267, "column": 62 }, "end": { "line": 267, "column": 72 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 10700, "end": 10715, "loc": { "start": { "line": 267, "column": 73 }, "end": { "line": 267, "column": 88 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 10730, "end": 10918, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 271, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 10734, "end": 10815, "loc": { "start": { "line": 268, "column": 16 }, "end": { "line": 268, "column": 97 } }, "left": { "type": "UnaryExpression", "start": 10734, "end": 10758, "loc": { "start": { "line": 268, "column": 16 }, "end": { "line": 268, "column": 40 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10735, "end": 10758, "loc": { "start": { "line": 268, "column": 17 }, "end": { "line": 268, "column": 40 }, "identifierName": "receiverUndergroundComp" }, "name": "receiverUndergroundComp" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 10762, "end": 10815, "loc": { "start": { "line": 268, "column": 44 }, "end": { "line": 268, "column": 97 } }, "left": { "type": "MemberExpression", "start": 10762, "end": 10790, "loc": { "start": { "line": 268, "column": 44 }, "end": { "line": 268, "column": 72 } }, "object": { "type": "Identifier", "start": 10762, "end": 10785, "loc": { "start": { "line": 268, "column": 44 }, "end": { "line": 268, "column": 67 }, "identifierName": "receiverUndergroundComp" }, "name": "receiverUndergroundComp" }, "property": { "type": "Identifier", "start": 10786, "end": 10790, "loc": { "start": { "line": 268, "column": 68 }, "end": { "line": 268, "column": 72 }, "identifierName": "tier" }, "name": "tier" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 10795, "end": 10815, "loc": { "start": { "line": 268, "column": 77 }, "end": { "line": 268, "column": 97 } }, "object": { "type": "Identifier", "start": 10795, "end": 10810, "loc": { "start": { "line": 268, "column": 77 }, "end": { "line": 268, "column": 92 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 10811, "end": 10815, "loc": { "start": { "line": 268, "column": 93 }, "end": { "line": 268, "column": 97 }, "identifierName": "tier" }, "name": "tier" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 10817, "end": 10918, "loc": { "start": { "line": 268, "column": 99 }, "end": { "line": 271, "column": 13 } }, "body": [ { "type": "ContinueStatement", "start": 10894, "end": 10903, "loc": { "start": { "line": 270, "column": 16 }, "end": { "line": 270, "column": 25 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Not a tunnel, or not on the same tier", "start": 10836, "end": 10876, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 56 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 10934, "end": 11006, "loc": { "start": { "line": 273, "column": 12 }, "end": { "line": 273, "column": 84 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10940, "end": 11005, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 83 } }, "id": { "type": "Identifier", "start": 10940, "end": 10958, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 36 }, "identifierName": "receiverStaticComp" }, "name": "receiverStaticComp" }, "init": { "type": "MemberExpression", "start": 10961, "end": 11005, "loc": { "start": { "line": 273, "column": 39 }, "end": { "line": 273, "column": 83 } }, "object": { "type": "MemberExpression", "start": 10961, "end": 10989, "loc": { "start": { "line": 273, "column": 39 }, "end": { "line": 273, "column": 67 } }, "object": { "type": "Identifier", "start": 10961, "end": 10978, "loc": { "start": { "line": 273, "column": 39 }, "end": { "line": 273, "column": 56 }, "identifierName": "potentialReceiver" }, "name": "potentialReceiver" }, "property": { "type": "Identifier", "start": 10979, "end": 10989, "loc": { "start": { "line": 273, "column": 57 }, "end": { "line": 273, "column": 67 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 10990, "end": 11005, "loc": { "start": { "line": 273, "column": 68 }, "end": { "line": 273, "column": 83 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 11020, "end": 11150, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 277, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 11024, "end": 11070, "loc": { "start": { "line": 274, "column": 16 }, "end": { "line": 274, "column": 62 } }, "left": { "type": "MemberExpression", "start": 11024, "end": 11051, "loc": { "start": { "line": 274, "column": 16 }, "end": { "line": 274, "column": 43 } }, "object": { "type": "Identifier", "start": 11024, "end": 11042, "loc": { "start": { "line": 274, "column": 16 }, "end": { "line": 274, "column": 34 }, "identifierName": "receiverStaticComp" }, "name": "receiverStaticComp" }, "property": { "type": "Identifier", "start": 11043, "end": 11051, "loc": { "start": { "line": 274, "column": 35 }, "end": { "line": 274, "column": 43 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", "start": 11056, "end": 11070, "loc": { "start": { "line": 274, "column": 48 }, "end": { "line": 274, "column": 62 }, "identifierName": "targetRotation" }, "name": "targetRotation" } }, "consequent": { "type": "BlockStatement", "start": 11072, "end": 11150, "loc": { "start": { "line": 274, "column": 64 }, "end": { "line": 277, "column": 13 } }, "body": [ { "type": "ContinueStatement", "start": 11126, "end": 11135, "loc": { "start": { "line": 276, "column": 16 }, "end": { "line": 276, "column": 25 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Wrong rotation", "start": 11091, "end": 11108, "loc": { "start": { "line": 275, "column": 16 }, "end": { "line": 275, "column": 33 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 11166, "end": 11372, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 282, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 11170, "end": 11235, "loc": { "start": { "line": 279, "column": 16 }, "end": { "line": 279, "column": 81 } }, "left": { "type": "MemberExpression", "start": 11170, "end": 11198, "loc": { "start": { "line": 279, "column": 16 }, "end": { "line": 279, "column": 44 } }, "object": { "type": "Identifier", "start": 11170, "end": 11193, "loc": { "start": { "line": 279, "column": 16 }, "end": { "line": 279, "column": 39 }, "identifierName": "receiverUndergroundComp" }, "name": "receiverUndergroundComp" }, "property": { "type": "Identifier", "start": 11194, "end": 11198, "loc": { "start": { "line": 279, "column": 40 }, "end": { "line": 279, "column": 44 }, "identifierName": "mode" }, "name": "mode" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 11203, "end": 11235, "loc": { "start": { "line": 279, "column": 49 }, "end": { "line": 279, "column": 81 } }, "object": { "type": "Identifier", "start": 11203, "end": 11226, "loc": { "start": { "line": 279, "column": 49 }, "end": { "line": 279, "column": 72 }, "identifierName": "enumUndergroundBeltMode" }, "name": "enumUndergroundBeltMode" }, "property": { "type": "Identifier", "start": 11227, "end": 11235, "loc": { "start": { "line": 279, "column": 73 }, "end": { "line": 279, "column": 81 }, "identifierName": "receiver" }, "name": "receiver" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 11237, "end": 11372, "loc": { "start": { "line": 279, "column": 83 }, "end": { "line": 282, "column": 13 } }, "body": [ { "type": "BreakStatement", "start": 11351, "end": 11357, "loc": { "start": { "line": 281, "column": 16 }, "end": { "line": 281, "column": 22 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Not a receiver, but a sender -> Abort to make sure we don't deliver double", "start": 11256, "end": 11333, "loc": { "start": { "line": 280, "column": 16 }, "end": { "line": 280, "column": 93 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 11388, "end": 11449, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 73 } }, "argument": { "type": "ObjectExpression", "start": 11395, "end": 11448, "loc": { "start": { "line": 284, "column": 19 }, "end": { "line": 284, "column": 72 } }, "properties": [ { "type": "ObjectProperty", "start": 11397, "end": 11422, "loc": { "start": { "line": 284, "column": 21 }, "end": { "line": 284, "column": 46 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11397, "end": 11403, "loc": { "start": { "line": 284, "column": 21 }, "end": { "line": 284, "column": 27 }, "identifierName": "entity" }, "name": "entity" }, "value": { "type": "Identifier", "start": 11405, "end": 11422, "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 46 }, "identifierName": "potentialReceiver" }, "name": "potentialReceiver" } }, { "type": "ObjectProperty", "start": 11424, "end": 11446, "loc": { "start": { "line": 284, "column": 48 }, "end": { "line": 284, "column": 70 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11424, "end": 11432, "loc": { "start": { "line": 284, "column": 48 }, "end": { "line": 284, "column": 56 }, "identifierName": "distance" }, "name": "distance" }, "value": { "type": "Identifier", "start": 11434, "end": 11446, "loc": { "start": { "line": 284, "column": 58 }, "end": { "line": 284, "column": 70 }, "identifierName": "searchOffset" }, "name": "searchOffset" } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Search in the direction of the tunnel", "start": 10148, "end": 10188, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 48 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " None found", "start": 11472, "end": 11485, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 21 } } } ] }, { "type": "ReturnStatement", "start": 11495, "end": 11532, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 45 } }, "argument": { "type": "ObjectExpression", "start": 11502, "end": 11531, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 44 } }, "properties": [ { "type": "ObjectProperty", "start": 11504, "end": 11516, "loc": { "start": { "line": 288, "column": 17 }, "end": { "line": 288, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11504, "end": 11510, "loc": { "start": { "line": 288, "column": 17 }, "end": { "line": 288, "column": 23 }, "identifierName": "entity" }, "name": "entity", "leadingComments": null }, "value": { "type": "NullLiteral", "start": 11512, "end": 11516, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 29 } } }, "leadingComments": null }, { "type": "ObjectProperty", "start": 11518, "end": 11529, "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 42 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11518, "end": 11526, "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 39 }, "identifierName": "distance" }, "name": "distance" }, "value": { "type": "NumericLiteral", "start": 11528, "end": 11529, "loc": { "start": { "line": 288, "column": 41 }, "end": { "line": 288, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " None found", "start": 11472, "end": 11485, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 21 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds the receiver for a given sender\r\n * @param {Entity} entity\r\n * @returns {import(\"../components/underground_belt\").LinkedUndergroundBelt}\r\n ", "start": 9524, "end": 9695, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 246, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 11547, "end": 11598, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 294, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11604, "end": 12887, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 328, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11604, "end": 11616, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 16 }, "identifierName": "handleSender" }, "name": "handleSender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11617, "end": 11623, "loc": { "start": { "line": 295, "column": 17 }, "end": { "line": 295, "column": 23 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 11625, "end": 12887, "loc": { "start": { "line": 295, "column": 25 }, "end": { "line": 328, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 11636, "end": 11694, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11642, "end": 11693, "loc": { "start": { "line": 296, "column": 14 }, "end": { "line": 296, "column": 65 } }, "id": { "type": "Identifier", "start": 11642, "end": 11657, "loc": { "start": { "line": 296, "column": 14 }, "end": { "line": 296, "column": 29 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "init": { "type": "MemberExpression", "start": 11660, "end": 11693, "loc": { "start": { "line": 296, "column": 32 }, "end": { "line": 296, "column": 65 } }, "object": { "type": "MemberExpression", "start": 11660, "end": 11677, "loc": { "start": { "line": 296, "column": 32 }, "end": { "line": 296, "column": 49 } }, "object": { "type": "Identifier", "start": 11660, "end": 11666, "loc": { "start": { "line": 296, "column": 32 }, "end": { "line": 296, "column": 38 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 11667, "end": 11677, "loc": { "start": { "line": 296, "column": 39 }, "end": { "line": 296, "column": 49 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 11678, "end": 11693, "loc": { "start": { "line": 296, "column": 50 }, "end": { "line": 296, "column": 65 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Find the current receiver", "start": 11706, "end": 11734, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 36 } } } ] }, { "type": "VariableDeclaration", "start": 11744, "end": 11796, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11748, "end": 11795, "loc": { "start": { "line": 299, "column": 12 }, "end": { "line": 299, "column": 59 } }, "id": { "type": "Identifier", "start": 11748, "end": 11758, "loc": { "start": { "line": 299, "column": 12 }, "end": { "line": 299, "column": 22 }, "identifierName": "cacheEntry" }, "name": "cacheEntry", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 11761, "end": 11795, "loc": { "start": { "line": 299, "column": 25 }, "end": { "line": 299, "column": 59 } }, "object": { "type": "Identifier", "start": 11761, "end": 11776, "loc": { "start": { "line": 299, "column": 25 }, "end": { "line": 299, "column": 40 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 11777, "end": 11795, "loc": { "start": { "line": 299, "column": 41 }, "end": { "line": 299, "column": 59 }, "identifierName": "cachedLinkedEntity" }, "name": "cachedLinkedEntity" }, "computed": false }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Find the current receiver", "start": 11706, "end": 11734, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 36 } } } ] }, { "type": "IfStatement", "start": 11806, "end": 11974, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 303, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11810, "end": 11821, "loc": { "start": { "line": 300, "column": 12 }, "end": { "line": 300, "column": 23 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 11811, "end": 11821, "loc": { "start": { "line": 300, "column": 13 }, "end": { "line": 300, "column": 23 }, "identifierName": "cacheEntry" }, "name": "cacheEntry" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11823, "end": 11974, "loc": { "start": { "line": 300, "column": 25 }, "end": { "line": 303, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11878, "end": 11963, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 97 } }, "expression": { "type": "AssignmentExpression", "start": 11878, "end": 11962, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 96 } }, "operator": "=", "left": { "type": "Identifier", "start": 11878, "end": 11888, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 22 }, "identifierName": "cacheEntry" }, "name": "cacheEntry", "leadingComments": null }, "right": { "type": "AssignmentExpression", "start": 11891, "end": 11962, "loc": { "start": { "line": 302, "column": 25 }, "end": { "line": 302, "column": 96 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11891, "end": 11925, "loc": { "start": { "line": 302, "column": 25 }, "end": { "line": 302, "column": 59 } }, "object": { "type": "Identifier", "start": 11891, "end": 11906, "loc": { "start": { "line": 302, "column": 25 }, "end": { "line": 302, "column": 40 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 11907, "end": 11925, "loc": { "start": { "line": 302, "column": 41 }, "end": { "line": 302, "column": 59 }, "identifierName": "cachedLinkedEntity" }, "name": "cachedLinkedEntity" }, "computed": false }, "right": { "type": "CallExpression", "start": 11928, "end": 11962, "loc": { "start": { "line": 302, "column": 62 }, "end": { "line": 302, "column": 96 } }, "callee": { "type": "MemberExpression", "start": 11928, "end": 11954, "loc": { "start": { "line": 302, "column": 62 }, "end": { "line": 302, "column": 88 } }, "object": { "type": "ThisExpression", "start": 11928, "end": 11932, "loc": { "start": { "line": 302, "column": 62 }, "end": { "line": 302, "column": 66 } } }, "property": { "type": "Identifier", "start": 11933, "end": 11954, "loc": { "start": { "line": 302, "column": 67 }, "end": { "line": 302, "column": 88 }, "identifierName": "findRecieverForSender" }, "name": "findRecieverForSender" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11955, "end": 11961, "loc": { "start": { "line": 302, "column": 89 }, "end": { "line": 302, "column": 95 }, "identifierName": "entity" }, "name": "entity" } ] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Need to recompute cache", "start": 11838, "end": 11864, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 38 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 11986, "end": 12116, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 308, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11990, "end": 12008, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 11991, "end": 12008, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 30 } }, "object": { "type": "Identifier", "start": 11991, "end": 12001, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 23 }, "identifierName": "cacheEntry" }, "name": "cacheEntry" }, "property": { "type": "Identifier", "start": 12002, "end": 12008, "loc": { "start": { "line": 305, "column": 24 }, "end": { "line": 305, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12010, "end": 12116, "loc": { "start": { "line": 305, "column": 32 }, "end": { "line": 308, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 12098, "end": 12105, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " If there is no connection to a receiver, ignore this one", "start": 12025, "end": 12084, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "column": 71 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check if we have any items to eject", "start": 12128, "end": 12166, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 46 } } } ] }, { "type": "VariableDeclaration", "start": 12176, "end": 12236, "loc": { "start": { "line": 311, "column": 8 }, "end": { "line": 311, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12182, "end": 12235, "loc": { "start": { "line": 311, "column": 14 }, "end": { "line": 311, "column": 67 } }, "id": { "type": "Identifier", "start": 12182, "end": 12201, "loc": { "start": { "line": 311, "column": 14 }, "end": { "line": 311, "column": 33 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 12204, "end": 12235, "loc": { "start": { "line": 311, "column": 36 }, "end": { "line": 311, "column": 67 } }, "object": { "type": "MemberExpression", "start": 12204, "end": 12232, "loc": { "start": { "line": 311, "column": 36 }, "end": { "line": 311, "column": 64 } }, "object": { "type": "Identifier", "start": 12204, "end": 12219, "loc": { "start": { "line": 311, "column": 36 }, "end": { "line": 311, "column": 51 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 12220, "end": 12232, "loc": { "start": { "line": 311, "column": 52 }, "end": { "line": 311, "column": 64 }, "identifierName": "pendingItems" }, "name": "pendingItems" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 12233, "end": 12234, "loc": { "start": { "line": 311, "column": 65 }, "end": { "line": 311, "column": 66 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check if we have any items to eject", "start": 12128, "end": 12166, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 46 } } } ] }, { "type": "IfStatement", "start": 12246, "end": 12880, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 327, "column": 9 } }, "test": { "type": "Identifier", "start": 12250, "end": 12269, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 31 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration" }, "consequent": { "type": "BlockStatement", "start": 12271, "end": 12880, "loc": { "start": { "line": 312, "column": 33 }, "end": { "line": 327, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12286, "end": 12359, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 85 } }, "expression": { "type": "CallExpression", "start": 12286, "end": 12358, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 84 } }, "callee": { "type": "Identifier", "start": 12286, "end": 12292, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 18 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 12293, "end": 12334, "loc": { "start": { "line": 313, "column": 19 }, "end": { "line": 313, "column": 60 } }, "left": { "type": "MemberExpression", "start": 12293, "end": 12328, "loc": { "start": { "line": 313, "column": 19 }, "end": { "line": 313, "column": 54 } }, "object": { "type": "MemberExpression", "start": 12293, "end": 12321, "loc": { "start": { "line": 313, "column": 19 }, "end": { "line": 313, "column": 47 } }, "object": { "type": "Identifier", "start": 12293, "end": 12308, "loc": { "start": { "line": 313, "column": 19 }, "end": { "line": 313, "column": 34 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 12309, "end": 12321, "loc": { "start": { "line": 313, "column": 35 }, "end": { "line": 313, "column": 47 }, "identifierName": "pendingItems" }, "name": "pendingItems" }, "computed": false }, "property": { "type": "Identifier", "start": 12322, "end": 12328, "loc": { "start": { "line": 313, "column": 48 }, "end": { "line": 313, "column": 54 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 12333, "end": 12334, "loc": { "start": { "line": 313, "column": 59 }, "end": { "line": 313, "column": 60 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, { "type": "StringLiteral", "start": 12336, "end": 12357, "loc": { "start": { "line": 313, "column": 62 }, "end": { "line": 313, "column": 83 } }, "extra": { "rawValue": "more than 1 pending", "raw": "\"more than 1 pending\"" }, "value": "more than 1 pending" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Check if the receiver can accept it", "start": 12375, "end": 12413, "loc": { "start": { "line": 315, "column": 12 }, "end": { "line": 315, "column": 50 } } } ] }, { "type": "IfStatement", "start": 12427, "end": 12869, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 326, "column": 13 } }, "test": { "type": "CallExpression", "start": 12449, "end": 12735, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 322, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12449, "end": 12515, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 82 } }, "object": { "type": "MemberExpression", "start": 12449, "end": 12493, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 60 } }, "object": { "type": "MemberExpression", "start": 12449, "end": 12477, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 44 } }, "object": { "type": "MemberExpression", "start": 12449, "end": 12466, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 33 } }, "object": { "type": "Identifier", "start": 12449, "end": 12459, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 26 }, "identifierName": "cacheEntry" }, "name": "cacheEntry", "leadingComments": null }, "property": { "type": "Identifier", "start": 12460, "end": 12466, "loc": { "start": { "line": 317, "column": 27 }, "end": { "line": 317, "column": 33 }, "identifierName": "entity" }, "name": "entity" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12467, "end": 12477, "loc": { "start": { "line": 317, "column": 34 }, "end": { "line": 317, "column": 44 }, "identifierName": "components" }, "name": "components" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12478, "end": 12493, "loc": { "start": { "line": 317, "column": 45 }, "end": { "line": 317, "column": 60 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12494, "end": 12515, "loc": { "start": { "line": 317, "column": 61 }, "end": { "line": 317, "column": 82 }, "identifierName": "tryAcceptTunneledItem" }, "name": "tryAcceptTunneledItem" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 12538, "end": 12560, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 42 } }, "object": { "type": "Identifier", "start": 12538, "end": 12557, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 39 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration" }, "property": { "type": "NumericLiteral", "start": 12558, "end": 12559, "loc": { "start": { "line": 318, "column": 40 }, "end": { "line": 318, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, { "type": "MemberExpression", "start": 12583, "end": 12602, "loc": { "start": { "line": 319, "column": 20 }, "end": { "line": 319, "column": 39 } }, "object": { "type": "Identifier", "start": 12583, "end": 12593, "loc": { "start": { "line": 319, "column": 20 }, "end": { "line": 319, "column": 30 }, "identifierName": "cacheEntry" }, "name": "cacheEntry" }, "property": { "type": "Identifier", "start": 12594, "end": 12602, "loc": { "start": { "line": 319, "column": 31 }, "end": { "line": 319, "column": 39 }, "identifierName": "distance" }, "name": "distance" }, "computed": false }, { "type": "CallExpression", "start": 12625, "end": 12673, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 12625, "end": 12671, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 66 } }, "object": { "type": "MemberExpression", "start": 12625, "end": 12643, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12625, "end": 12634, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12625, "end": 12629, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 24 } } }, "property": { "type": "Identifier", "start": 12630, "end": 12634, "loc": { "start": { "line": 320, "column": 25 }, "end": { "line": 320, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12635, "end": 12643, "loc": { "start": { "line": 320, "column": 30 }, "end": { "line": 320, "column": 38 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 12644, "end": 12671, "loc": { "start": { "line": 320, "column": 39 }, "end": { "line": 320, "column": 66 }, "identifierName": "getUndergroundBeltBaseSpeed" }, "name": "getUndergroundBeltBaseSpeed" }, "computed": false }, "arguments": [] }, { "type": "CallExpression", "start": 12696, "end": 12716, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 12696, "end": 12714, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12696, "end": 12710, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 34 } }, "object": { "type": "MemberExpression", "start": 12696, "end": 12705, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12696, "end": 12700, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 24 } } }, "property": { "type": "Identifier", "start": 12701, "end": 12705, "loc": { "start": { "line": 321, "column": 25 }, "end": { "line": 321, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12706, "end": 12710, "loc": { "start": { "line": 321, "column": 30 }, "end": { "line": 321, "column": 34 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 12711, "end": 12714, "loc": { "start": { "line": 321, "column": 35 }, "end": { "line": 321, "column": 38 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } ], "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12751, "end": 12869, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 326, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 12805, "end": 12854, "loc": { "start": { "line": 325, "column": 16 }, "end": { "line": 325, "column": 65 } }, "expression": { "type": "CallExpression", "start": 12805, "end": 12853, "loc": { "start": { "line": 325, "column": 16 }, "end": { "line": 325, "column": 64 } }, "callee": { "type": "Identifier", "start": 12805, "end": 12820, "loc": { "start": { "line": 325, "column": 16 }, "end": { "line": 325, "column": 31 }, "identifierName": "fastArrayDelete" }, "name": "fastArrayDelete", "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 12821, "end": 12849, "loc": { "start": { "line": 325, "column": 32 }, "end": { "line": 325, "column": 60 } }, "object": { "type": "Identifier", "start": 12821, "end": 12836, "loc": { "start": { "line": 325, "column": 32 }, "end": { "line": 325, "column": 47 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 12837, "end": 12849, "loc": { "start": { "line": 325, "column": 48 }, "end": { "line": 325, "column": 60 }, "identifierName": "pendingItems" }, "name": "pendingItems" }, "computed": false }, { "type": "NumericLiteral", "start": 12851, "end": 12852, "loc": { "start": { "line": 325, "column": 62 }, "end": { "line": 325, "column": 63 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Drop this item", "start": 12770, "end": 12787, "loc": { "start": { "line": 324, "column": 16 }, "end": { "line": 324, "column": 33 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check if the receiver can accept it", "start": 12375, "end": 12413, "loc": { "start": { "line": 315, "column": 12 }, "end": { "line": 315, "column": 50 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 11547, "end": 11598, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 294, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 12895, "end": 12946, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 333, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12952, "end": 13731, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 351, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12952, "end": 12966, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 18 }, "identifierName": "handleReceiver" }, "name": "handleReceiver", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12967, "end": 12973, "loc": { "start": { "line": 334, "column": 19 }, "end": { "line": 334, "column": 25 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 12975, "end": 13731, "loc": { "start": { "line": 334, "column": 27 }, "end": { "line": 351, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12986, "end": 13044, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12992, "end": 13043, "loc": { "start": { "line": 335, "column": 14 }, "end": { "line": 335, "column": 65 } }, "id": { "type": "Identifier", "start": 12992, "end": 13007, "loc": { "start": { "line": 335, "column": 14 }, "end": { "line": 335, "column": 29 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "init": { "type": "MemberExpression", "start": 13010, "end": 13043, "loc": { "start": { "line": 335, "column": 32 }, "end": { "line": 335, "column": 65 } }, "object": { "type": "MemberExpression", "start": 13010, "end": 13027, "loc": { "start": { "line": 335, "column": 32 }, "end": { "line": 335, "column": 49 } }, "object": { "type": "Identifier", "start": 13010, "end": 13016, "loc": { "start": { "line": 335, "column": 32 }, "end": { "line": 335, "column": 38 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 13017, "end": 13027, "loc": { "start": { "line": 335, "column": 39 }, "end": { "line": 335, "column": 49 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 13028, "end": 13043, "loc": { "start": { "line": 335, "column": 50 }, "end": { "line": 335, "column": 65 }, "identifierName": "UndergroundBelt" }, "name": "UndergroundBelt" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Try to eject items, we only check the first one because it is sorted by remaining time", "start": 13056, "end": 13145, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 97 } } } ] }, { "type": "VariableDeclaration", "start": 13155, "end": 13215, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13161, "end": 13214, "loc": { "start": { "line": 338, "column": 14 }, "end": { "line": 338, "column": 67 } }, "id": { "type": "Identifier", "start": 13161, "end": 13180, "loc": { "start": { "line": 338, "column": 14 }, "end": { "line": 338, "column": 33 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 13183, "end": 13214, "loc": { "start": { "line": 338, "column": 36 }, "end": { "line": 338, "column": 67 } }, "object": { "type": "MemberExpression", "start": 13183, "end": 13211, "loc": { "start": { "line": 338, "column": 36 }, "end": { "line": 338, "column": 64 } }, "object": { "type": "Identifier", "start": 13183, "end": 13198, "loc": { "start": { "line": 338, "column": 36 }, "end": { "line": 338, "column": 51 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 13199, "end": 13211, "loc": { "start": { "line": 338, "column": 52 }, "end": { "line": 338, "column": 64 }, "identifierName": "pendingItems" }, "name": "pendingItems" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 13212, "end": 13213, "loc": { "start": { "line": 338, "column": 65 }, "end": { "line": 338, "column": 66 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Try to eject items, we only check the first one because it is sorted by remaining time", "start": 13056, "end": 13145, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 97 } } } ] }, { "type": "IfStatement", "start": 13225, "end": 13724, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 350, "column": 9 } }, "test": { "type": "Identifier", "start": 13229, "end": 13248, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 31 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration" }, "consequent": { "type": "BlockStatement", "start": 13250, "end": 13724, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 350, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13265, "end": 13713, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 349, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 13269, "end": 13314, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 61 } }, "left": { "type": "CallExpression", "start": 13269, "end": 13289, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 13269, "end": 13287, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13269, "end": 13283, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 30 } }, "object": { "type": "MemberExpression", "start": 13269, "end": 13278, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 25 } }, "object": { "type": "ThisExpression", "start": 13269, "end": 13273, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 20 } } }, "property": { "type": "Identifier", "start": 13274, "end": 13278, "loc": { "start": { "line": 340, "column": 21 }, "end": { "line": 340, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13279, "end": 13283, "loc": { "start": { "line": 340, "column": 26 }, "end": { "line": 340, "column": 30 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13284, "end": 13287, "loc": { "start": { "line": 340, "column": 31 }, "end": { "line": 340, "column": 34 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] }, "operator": ">", "right": { "type": "MemberExpression", "start": 13292, "end": 13314, "loc": { "start": { "line": 340, "column": 39 }, "end": { "line": 340, "column": 61 } }, "object": { "type": "Identifier", "start": 13292, "end": 13311, "loc": { "start": { "line": 340, "column": 39 }, "end": { "line": 340, "column": 58 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration" }, "property": { "type": "NumericLiteral", "start": 13312, "end": 13313, "loc": { "start": { "line": 340, "column": 59 }, "end": { "line": 340, "column": 60 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } }, "consequent": { "type": "BlockStatement", "start": 13316, "end": 13713, "loc": { "start": { "line": 340, "column": 63 }, "end": { "line": 349, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 13335, "end": 13385, "loc": { "start": { "line": 341, "column": 16 }, "end": { "line": 341, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13341, "end": 13384, "loc": { "start": { "line": 341, "column": 22 }, "end": { "line": 341, "column": 65 } }, "id": { "type": "Identifier", "start": 13341, "end": 13352, "loc": { "start": { "line": 341, "column": 22 }, "end": { "line": 341, "column": 33 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, "init": { "type": "MemberExpression", "start": 13355, "end": 13384, "loc": { "start": { "line": 341, "column": 36 }, "end": { "line": 341, "column": 65 } }, "object": { "type": "MemberExpression", "start": 13355, "end": 13372, "loc": { "start": { "line": 341, "column": 36 }, "end": { "line": 341, "column": 53 } }, "object": { "type": "Identifier", "start": 13355, "end": 13361, "loc": { "start": { "line": 341, "column": 36 }, "end": { "line": 341, "column": 42 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 13362, "end": 13372, "loc": { "start": { "line": 341, "column": 43 }, "end": { "line": 341, "column": 53 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 13373, "end": 13384, "loc": { "start": { "line": 341, "column": 54 }, "end": { "line": 341, "column": 65 }, "identifierName": "ItemEjector" }, "name": "ItemEjector" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 13405, "end": 13458, "loc": { "start": { "line": 343, "column": 16 }, "end": { "line": 343, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13411, "end": 13457, "loc": { "start": { "line": 343, "column": 22 }, "end": { "line": 343, "column": 68 } }, "id": { "type": "Identifier", "start": 13411, "end": 13424, "loc": { "start": { "line": 343, "column": 22 }, "end": { "line": 343, "column": 35 }, "identifierName": "nextSlotIndex" }, "name": "nextSlotIndex" }, "init": { "type": "CallExpression", "start": 13427, "end": 13457, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 13427, "end": 13455, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 66 } }, "object": { "type": "Identifier", "start": 13427, "end": 13438, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, "property": { "type": "Identifier", "start": 13439, "end": 13455, "loc": { "start": { "line": 343, "column": 50 }, "end": { "line": 343, "column": 66 }, "identifierName": "getFirstFreeSlot" }, "name": "getFirstFreeSlot" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 13476, "end": 13698, "loc": { "start": { "line": 344, "column": 16 }, "end": { "line": 348, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 13480, "end": 13502, "loc": { "start": { "line": 344, "column": 20 }, "end": { "line": 344, "column": 42 } }, "left": { "type": "Identifier", "start": 13480, "end": 13493, "loc": { "start": { "line": 344, "column": 20 }, "end": { "line": 344, "column": 33 }, "identifierName": "nextSlotIndex" }, "name": "nextSlotIndex" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 13498, "end": 13502, "loc": { "start": { "line": 344, "column": 38 }, "end": { "line": 344, "column": 42 } } } }, "consequent": { "type": "BlockStatement", "start": 13504, "end": 13698, "loc": { "start": { "line": 344, "column": 44 }, "end": { "line": 348, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 13527, "end": 13679, "loc": { "start": { "line": 345, "column": 20 }, "end": { "line": 347, "column": 21 } }, "test": { "type": "CallExpression", "start": 13531, "end": 13590, "loc": { "start": { "line": 345, "column": 24 }, "end": { "line": 345, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 13531, "end": 13551, "loc": { "start": { "line": 345, "column": 24 }, "end": { "line": 345, "column": 44 } }, "object": { "type": "Identifier", "start": 13531, "end": 13542, "loc": { "start": { "line": 345, "column": 24 }, "end": { "line": 345, "column": 35 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, "property": { "type": "Identifier", "start": 13543, "end": 13551, "loc": { "start": { "line": 345, "column": 36 }, "end": { "line": 345, "column": 44 }, "identifierName": "tryEject" }, "name": "tryEject" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13552, "end": 13565, "loc": { "start": { "line": 345, "column": 45 }, "end": { "line": 345, "column": 58 }, "identifierName": "nextSlotIndex" }, "name": "nextSlotIndex" }, { "type": "MemberExpression", "start": 13567, "end": 13589, "loc": { "start": { "line": 345, "column": 60 }, "end": { "line": 345, "column": 82 } }, "object": { "type": "Identifier", "start": 13567, "end": 13586, "loc": { "start": { "line": 345, "column": 60 }, "end": { "line": 345, "column": 79 }, "identifierName": "nextItemAndDuration" }, "name": "nextItemAndDuration" }, "property": { "type": "NumericLiteral", "start": 13587, "end": 13588, "loc": { "start": { "line": 345, "column": 80 }, "end": { "line": 345, "column": 81 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } ] }, "consequent": { "type": "BlockStatement", "start": 13592, "end": 13679, "loc": { "start": { "line": 345, "column": 85 }, "end": { "line": 347, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 13619, "end": 13656, "loc": { "start": { "line": 346, "column": 24 }, "end": { "line": 346, "column": 61 } }, "expression": { "type": "CallExpression", "start": 13619, "end": 13655, "loc": { "start": { "line": 346, "column": 24 }, "end": { "line": 346, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 13619, "end": 13653, "loc": { "start": { "line": 346, "column": 24 }, "end": { "line": 346, "column": 58 } }, "object": { "type": "MemberExpression", "start": 13619, "end": 13647, "loc": { "start": { "line": 346, "column": 24 }, "end": { "line": 346, "column": 52 } }, "object": { "type": "Identifier", "start": 13619, "end": 13634, "loc": { "start": { "line": 346, "column": 24 }, "end": { "line": 346, "column": 39 }, "identifierName": "undergroundComp" }, "name": "undergroundComp" }, "property": { "type": "Identifier", "start": 13635, "end": 13647, "loc": { "start": { "line": 346, "column": 40 }, "end": { "line": 346, "column": 52 }, "identifierName": "pendingItems" }, "name": "pendingItems" }, "computed": false }, "property": { "type": "Identifier", "start": 13648, "end": 13653, "loc": { "start": { "line": 346, "column": 53 }, "end": { "line": 346, "column": 58 }, "identifierName": "shift" }, "name": "shift" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 12895, "end": 12946, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 333, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " NOTICE: Once we remove a tunnel, we need to update the whole area to", "start": 1521, "end": 1592, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 79 } } }, { "type": "CommentLine", "value": " clear outdated handles", "start": 1602, "end": 1627, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 33 } } }, { "type": "CommentBlock", "value": "*\r\n * Callback when an entity got placed, used to remove belts between underground belts\r\n * @param {Entity} entity\r\n ", "start": 1933, "end": 2067, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } }, { "type": "CommentLine", "value": " Smart-place disabled", "start": 2199, "end": 2222, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 35 } } }, { "type": "CommentLine", "value": " FIND ENTRANCE", "start": 2935, "end": 2951, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 28 } } }, { "type": "CommentLine", "value": " Search for the entrance which is farthest apart (this is why we can't reuse logic here)", "start": 2965, "end": 3055, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 102 } } }, { "type": "CommentLine", "value": " Nothing found", "start": 4113, "end": 4129, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 32 } } }, { "type": "CommentLine", "value": " DETECT OBSOLETE BELTS BETWEEN", "start": 4185, "end": 4217, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 44 } } }, { "type": "CommentLine", "value": " Remove any belts between entrance and exit which have the same direction,", "start": 4231, "end": 4307, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 88 } } }, { "type": "CommentLine", "value": " but only if they *all* have the right direction", "start": 4321, "end": 4371, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 62 } } }, { "type": "CommentLine", "value": " It's a belt", "start": 5082, "end": 5096, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 30 } } }, { "type": "CommentLine", "value": " All belts between this are obsolete, so drop them", "start": 5496, "end": 5548, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 68 } } }, { "type": "CommentLine", "value": " REMOVE OBSOLETE TUNNELS", "start": 5957, "end": 5983, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 38 } } }, { "type": "CommentLine", "value": " Remove any double tunnels, by checking the tile plus the tile above", "start": 5997, "end": 6067, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 82 } } }, { "type": "CommentLine", "value": " Not an underground belt", "start": 6838, "end": 6864, "loc": { "start": { "line": 167, "column": 20 }, "end": { "line": 167, "column": 46 } } }, { "type": "CommentLine", "value": " Both same tier", "start": 6960, "end": 6977, "loc": { "start": { "line": 172, "column": 20 }, "end": { "line": 172, "column": 37 } } }, { "type": "CommentLine", "value": " And same tier as our original entity", "start": 7072, "end": 7111, "loc": { "start": { "line": 174, "column": 20 }, "end": { "line": 174, "column": 59 } } }, { "type": "CommentLine", "value": " Mismatching tier", "start": 7223, "end": 7242, "loc": { "start": { "line": 177, "column": 20 }, "end": { "line": 177, "column": 39 } } }, { "type": "CommentLine", "value": " Not the right mode", "start": 7521, "end": 7542, "loc": { "start": { "line": 185, "column": 20 }, "end": { "line": 185, "column": 41 } } }, { "type": "CommentLine", "value": " Check rotations", "start": 7612, "end": 7630, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 34 } } }, { "type": "CommentLine", "value": " Wrong rotation", "start": 8013, "end": 8030, "loc": { "start": { "line": 197, "column": 20 }, "end": { "line": 197, "column": 37 } } }, { "type": "CommentLine", "value": " All good, can remove", "start": 8100, "end": 8123, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 39 } } }, { "type": "CommentBlock", "value": "*\r\n * Recomputes the cache in the given area, invalidating all entries there\r\n * @param {Rectangle} area\r\n ", "start": 8295, "end": 8418, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 211, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds the receiver for a given sender\r\n * @param {Entity} entity\r\n * @returns {import(\"../components/underground_belt\").LinkedUndergroundBelt}\r\n ", "start": 9524, "end": 9695, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 246, "column": 7 } } }, { "type": "CommentLine", "value": " Search in the direction of the tunnel", "start": 10148, "end": 10188, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 48 } } }, { "type": "CommentLine", "value": " Empty tile", "start": 10570, "end": 10583, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 29 } } }, { "type": "CommentLine", "value": " Not a tunnel, or not on the same tier", "start": 10836, "end": 10876, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 56 } } }, { "type": "CommentLine", "value": " Wrong rotation", "start": 11091, "end": 11108, "loc": { "start": { "line": 275, "column": 16 }, "end": { "line": 275, "column": 33 } } }, { "type": "CommentLine", "value": " Not a receiver, but a sender -> Abort to make sure we don't deliver double", "start": 11256, "end": 11333, "loc": { "start": { "line": 280, "column": 16 }, "end": { "line": 280, "column": 93 } } }, { "type": "CommentLine", "value": " None found", "start": 11472, "end": 11485, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 21 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 11547, "end": 11598, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 294, "column": 7 } } }, { "type": "CommentLine", "value": " Find the current receiver", "start": 11706, "end": 11734, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 36 } } }, { "type": "CommentLine", "value": " Need to recompute cache", "start": 11838, "end": 11864, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 38 } } }, { "type": "CommentLine", "value": " If there is no connection to a receiver, ignore this one", "start": 12025, "end": 12084, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "column": 71 } } }, { "type": "CommentLine", "value": " Check if we have any items to eject", "start": 12128, "end": 12166, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 46 } } }, { "type": "CommentLine", "value": " Check if the receiver can accept it", "start": 12375, "end": 12413, "loc": { "start": { "line": 315, "column": 12 }, "end": { "line": 315, "column": 50 } } }, { "type": "CommentLine", "value": " Drop this item", "start": 12770, "end": 12787, "loc": { "start": { "line": 324, "column": 16 }, "end": { "line": 324, "column": 33 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 12895, "end": 12946, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 333, "column": 7 } } }, { "type": "CommentLine", "value": " Try to eject items, we only check the first one because it is sorted by remaining time", "start": 13056, "end": 13145, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 97 } } } ], "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": "Loader", "start": 60, "end": 66, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 67, "end": 68, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 69, "end": 73, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/loader", "start": 74, "end": 93, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 93, "end": 94, "loc": { "start": { "line": 2, "column": 42 }, "end": { "line": 2, "column": 43 } } }, { "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": 96, "end": 102, "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": 103, "end": 104, "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": 105, "end": 117, "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": 118, "end": 119, "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": 120, "end": 124, "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": 125, "end": 145, "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": 145, "end": 146, "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": 148, "end": 154, "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": 155, "end": 156, "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": 157, "end": 166, "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": 167, "end": 168, "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": 169, "end": 173, "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": 174, "end": 196, "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": 196, "end": 197, "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": 199, "end": 205, "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": 206, "end": 207, "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": 208, "end": 225, "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": 226, "end": 227, "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": 228, "end": 232, "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": 233, "end": 265, "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": 265, "end": 266, "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": 268, "end": 274, "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": 275, "end": 276, "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": "fastArrayDelete", "start": 277, "end": 292, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 293, "end": 294, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 295, "end": 299, "loc": { "start": { "line": 6, "column": 27 }, "end": { "line": 6, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/utils", "start": 300, "end": 318, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 318, "end": 319, "loc": { "start": { "line": 6, "column": 50 }, "end": { "line": 6, "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": 321, "end": 327, "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": 328, "end": 329, "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": "enumAngleToDirection", "start": 335, "end": 355, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 355, "end": 356, "loc": { "start": { "line": 8, "column": 24 }, "end": { "line": 8, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirection", "start": 362, "end": 375, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 375, "end": 376, "loc": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToAngle", "start": 382, "end": 402, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 402, "end": 403, "loc": { "start": { "line": 10, "column": 24 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToVector", "start": 409, "end": 430, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 430, "end": 431, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumInvertedDirections", "start": 437, "end": 459, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 459, "end": 460, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 462, "end": 463, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 464, "end": 468, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 6 } } }, { "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": 469, "end": 488, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 488, "end": 489, "loc": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 27 } } }, { "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": 491, "end": 497, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 498, "end": 499, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 500, "end": 523, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 523, "end": 524, "loc": { "start": { "line": 14, "column": 32 }, "end": { "line": 14, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBeltComponent", "start": 525, "end": 549, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 58 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 550, "end": 551, "loc": { "start": { "line": 14, "column": 59 }, "end": { "line": 14, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 552, "end": 556, "loc": { "start": { "line": 14, "column": 61 }, "end": { "line": 14, "column": 65 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../components/underground_belt", "start": 557, "end": 589, "loc": { "start": { "line": 14, "column": 66 }, "end": { "line": 14, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 589, "end": 590, "loc": { "start": { "line": 14, "column": 98 }, "end": { "line": 14, "column": 99 } } }, { "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": 592, "end": 598, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 599, "end": 600, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Entity", "start": 601, "end": 607, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 608, "end": 609, "loc": { "start": { "line": 15, "column": 16 }, "end": { "line": 15, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 610, "end": 614, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "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": 615, "end": 626, "loc": { "start": { "line": 15, "column": 23 }, "end": { "line": 15, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 626, "end": 627, "loc": { "start": { "line": 15, "column": 34 }, "end": { "line": 15, "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": 629, "end": 635, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 636, "end": 637, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystemWithFilter", "start": 638, "end": 658, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 659, "end": 660, "loc": { "start": { "line": 16, "column": 30 }, "end": { "line": 16, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 661, "end": 665, "loc": { "start": { "line": 16, "column": 32 }, "end": { "line": 16, "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": 666, "end": 694, "loc": { "start": { "line": 16, "column": 37 }, "end": { "line": 16, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 694, "end": 695, "loc": { "start": { "line": 16, "column": 65 }, "end": { "line": 16, "column": 66 } } }, { "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": 699, "end": 704, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 705, "end": 711, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 712, "end": 713, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 714, "end": 726, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 726, "end": 727, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "tunnels", "start": 727, "end": 736, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 736, "end": 737, "loc": { "start": { "line": 18, "column": 37 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 737, "end": 738, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, { "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": 742, "end": 748, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "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": 749, "end": 754, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 20, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBeltSystem", "start": 755, "end": 776, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 34 } } }, { "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": 777, "end": 784, "loc": { "start": { "line": 20, "column": 35 }, "end": { "line": 20, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystemWithFilter", "start": 785, "end": 805, "loc": { "start": { "line": 20, "column": 43 }, "end": { "line": 20, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 806, "end": 807, "loc": { "start": { "line": 20, "column": 64 }, "end": { "line": 20, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 813, "end": 824, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 824, "end": 825, "loc": { "start": { "line": 21, "column": 15 }, "end": { "line": 21, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 825, "end": 829, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 829, "end": 830, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 831, "end": 832, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "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": 842, "end": 847, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 847, "end": 848, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 848, "end": 852, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 852, "end": 853, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 854, "end": 855, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBeltComponent", "start": 855, "end": 879, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 879, "end": 880, "loc": { "start": { "line": 22, "column": 45 }, "end": { "line": 22, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 880, "end": 881, "loc": { "start": { "line": 22, "column": 46 }, "end": { "line": 22, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 881, "end": 882, "loc": { "start": { "line": 22, "column": 47 }, "end": { "line": 22, "column": 48 } } }, { "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": 894, "end": 898, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 898, "end": 899, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltSprites", "start": 899, "end": 910, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 911, "end": 912, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 913, "end": 914, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 928, "end": 929, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 929, "end": 952, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 952, "end": 953, "loc": { "start": { "line": 25, "column": 36 }, "end": { "line": 25, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 953, "end": 959, "loc": { "start": { "line": 25, "column": 37 }, "end": { "line": 25, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 959, "end": 960, "loc": { "start": { "line": 25, "column": 43 }, "end": { "line": 25, "column": 44 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 960, "end": 961, "loc": { "start": { "line": 25, "column": 44 }, "end": { "line": 25, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 962, "end": 968, "loc": { "start": { "line": 25, "column": 46 }, "end": { "line": 25, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 968, "end": 969, "loc": { "start": { "line": 25, "column": 52 }, "end": { "line": 25, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 969, "end": 978, "loc": { "start": { "line": 25, "column": 53 }, "end": { "line": 25, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 978, "end": 979, "loc": { "start": { "line": 25, "column": 62 }, "end": { "line": 25, "column": 63 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/buildings/underground_belt_entry.png", "start": 997, "end": 1043, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1057, "end": 1058, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 13 } } }, { "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": 27, "column": 13 }, "end": { "line": 27, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1073, "end": 1074, "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": "enumUndergroundBeltMode", "start": 1074, "end": 1097, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1097, "end": 1098, "loc": { "start": { "line": 28, "column": 36 }, "end": { "line": 28, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiver", "start": 1098, "end": 1106, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 28, "column": 45 }, "end": { "line": 28, "column": 46 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1107, "end": 1108, "loc": { "start": { "line": 28, "column": 46 }, "end": { "line": 28, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 1109, "end": 1115, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1115, "end": 1116, "loc": { "start": { "line": 28, "column": 54 }, "end": { "line": 28, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 1116, "end": 1125, "loc": { "start": { "line": 28, "column": 55 }, "end": { "line": 28, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1125, "end": 1126, "loc": { "start": { "line": 28, "column": 64 }, "end": { "line": 28, "column": 65 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/buildings/underground_belt_exit.png", "start": 1144, "end": 1189, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1203, "end": 1204, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1204, "end": 1205, "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1215, "end": 1216, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1216, "end": 1217, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "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": 1229, "end": 1233, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1233, "end": 1234, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staleAreaWatcher", "start": 1234, "end": 1250, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1251, "end": 1252, "loc": { "start": { "line": 33, "column": 30 }, "end": { "line": 33, "column": 31 } } }, { "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": 1253, "end": 1256, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaleAreaDetector", "start": 1257, "end": 1274, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1274, "end": 1275, "loc": { "start": { "line": 33, "column": 53 }, "end": { "line": 33, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1275, "end": 1276, "loc": { "start": { "line": 33, "column": 54 }, "end": { "line": 33, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1290, "end": 1294, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1294, "end": 1295, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "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": 1296, "end": 1300, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1300, "end": 1301, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1301, "end": 1305, "loc": { "start": { "line": 34, "column": 23 }, "end": { "line": 34, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1305, "end": 1306, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 1320, "end": 1324, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1324, "end": 1325, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "underground-belt", "start": 1326, "end": 1344, "loc": { "start": { "line": 35, "column": 18 }, "end": { "line": 35, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1344, "end": 1345, "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 35, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "recomputeMethod", "start": 1359, "end": 1374, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 27 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1374, "end": 1375, "loc": { "start": { "line": 36, "column": 27 }, "end": { "line": 36, "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": 1376, "end": 1380, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1380, "end": 1381, "loc": { "start": { "line": 36, "column": 33 }, "end": { "line": 36, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "recomputeArea", "start": 1381, "end": 1394, "loc": { "start": { "line": 36, "column": 34 }, "end": { "line": 36, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1394, "end": 1395, "loc": { "start": { "line": 36, "column": 47 }, "end": { "line": 36, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 1395, "end": 1399, "loc": { "start": { "line": 36, "column": 48 }, "end": { "line": 36, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1399, "end": 1400, "loc": { "start": { "line": 36, "column": 52 }, "end": { "line": 36, "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": 1400, "end": 1404, "loc": { "start": { "line": 36, "column": 53 }, "end": { "line": 36, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1404, "end": 1405, "loc": { "start": { "line": 36, "column": 57 }, "end": { "line": 36, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1405, "end": 1406, "loc": { "start": { "line": 36, "column": 58 }, "end": { "line": 36, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1416, "end": 1417, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1417, "end": 1418, "loc": { "start": { "line": 37, "column": 9 }, "end": { "line": 37, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1418, "end": 1419, "loc": { "start": { "line": 37, "column": 10 }, "end": { "line": 37, "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": 1431, "end": 1435, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1435, "end": 1436, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1436, "end": 1440, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1440, "end": 1441, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 1441, "end": 1448, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1448, "end": 1449, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityManuallyPlaced", "start": 1449, "end": 1469, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1469, "end": 1470, "loc": { "start": { "line": 39, "column": 46 }, "end": { "line": 39, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 1470, "end": 1473, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1473, "end": 1474, "loc": { "start": { "line": 39, "column": 50 }, "end": { "line": 39, "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": 1474, "end": 1478, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1478, "end": 1479, "loc": { "start": { "line": 39, "column": 55 }, "end": { "line": 39, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onEntityManuallyPlaced", "start": 1479, "end": 1501, "loc": { "start": { "line": 39, "column": 56 }, "end": { "line": 39, "column": 78 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1501, "end": 1502, "loc": { "start": { "line": 39, "column": 78 }, "end": { "line": 39, "column": 79 } } }, { "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": 1503, "end": 1507, "loc": { "start": { "line": 39, "column": 80 }, "end": { "line": 39, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1507, "end": 1508, "loc": { "start": { "line": 39, "column": 84 }, "end": { "line": 39, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1508, "end": 1509, "loc": { "start": { "line": 39, "column": 85 }, "end": { "line": 39, "column": 86 } } }, { "type": "CommentLine", "value": " NOTICE: Once we remove a tunnel, we need to update the whole area to", "start": 1521, "end": 1592, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 79 } } }, { "type": "CommentLine", "value": " clear outdated handles", "start": 1602, "end": 1627, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 33 } } }, { "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": 1637, "end": 1641, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1641, "end": 1642, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staleAreaWatcher", "start": 1642, "end": 1658, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1658, "end": 1659, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "recomputeOnComponentsChanged", "start": 1659, "end": 1687, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1687, "end": 1688, "loc": { "start": { "line": 43, "column": 58 }, "end": { "line": 43, "column": 59 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1702, "end": 1703, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBeltComponent", "start": 1703, "end": 1727, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1727, "end": 1728, "loc": { "start": { "line": 44, "column": 37 }, "end": { "line": 44, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1728, "end": 1729, "loc": { "start": { "line": 44, "column": 38 }, "end": { "line": 44, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1743, "end": 1755, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1755, "end": 1756, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBeltMaxTilesByTier", "start": 1756, "end": 1785, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 54 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1785, "end": 1786, "loc": { "start": { "line": 45, "column": 54 }, "end": { "line": 45, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1786, "end": 1798, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1798, "end": 1799, "loc": { "start": { "line": 45, "column": 67 }, "end": { "line": 45, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBeltMaxTilesByTier", "start": 1799, "end": 1828, "loc": { "start": { "line": 45, "column": 68 }, "end": { "line": 45, "column": 97 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1828, "end": 1829, "loc": { "start": { "line": 45, "column": 97 }, "end": { "line": 45, "column": 98 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1829, "end": 1835, "loc": { "start": { "line": 45, "column": 98 }, "end": { "line": 45, "column": 104 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1836, "end": 1837, "loc": { "start": { "line": 45, "column": 105 }, "end": { "line": 45, "column": 106 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1838, "end": 1839, "loc": { "start": { "line": 45, "column": 107 }, "end": { "line": 45, "column": 108 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1839, "end": 1840, "loc": { "start": { "line": 45, "column": 108 }, "end": { "line": 45, "column": 109 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1850, "end": 1851, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1851, "end": 1852, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1858, "end": 1859, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 1867, "end": 1873, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 1874, "end": 1879, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 49, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1879, "end": 1880, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1880, "end": 1881, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "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": 1893, "end": 1899, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undergroundBelt", "start": 1900, "end": 1917, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1917, "end": 1918, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1924, "end": 1925, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Callback when an entity got placed, used to remove belts between underground belts\r\n * @param {Entity} entity\r\n ", "start": 1933, "end": 2067, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onEntityManuallyPlaced", "start": 2073, "end": 2095, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2095, "end": 2096, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2096, "end": 2102, "loc": { "start": { "line": 57, "column": 27 }, "end": { "line": 57, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2102, "end": 2103, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2104, "end": 2105, "loc": { "start": { "line": 57, "column": 35 }, "end": { "line": 57, "column": 36 } } }, { "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": 2115, "end": 2117, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2118, "end": 2119, "loc": { "start": { "line": 58, "column": 11 }, "end": { "line": 58, "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": 2119, "end": 2120, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 13 } } }, { "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": 2120, "end": 2124, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2124, "end": 2125, "loc": { "start": { "line": 58, "column": 17 }, "end": { "line": 58, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2125, "end": 2129, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2129, "end": 2130, "loc": { "start": { "line": 58, "column": 22 }, "end": { "line": 58, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 2130, "end": 2133, "loc": { "start": { "line": 58, "column": 23 }, "end": { "line": 58, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2133, "end": 2134, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 2134, "end": 2142, "loc": { "start": { "line": 58, "column": 27 }, "end": { "line": 58, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2142, "end": 2143, "loc": { "start": { "line": 58, "column": 35 }, "end": { "line": 58, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 2143, "end": 2157, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2157, "end": 2158, "loc": { "start": { "line": 58, "column": 50 }, "end": { "line": 58, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2158, "end": 2159, "loc": { "start": { "line": 58, "column": 51 }, "end": { "line": 58, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2159, "end": 2160, "loc": { "start": { "line": 58, "column": 52 }, "end": { "line": 58, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enableTunnelSmartplace", "start": 2160, "end": 2182, "loc": { "start": { "line": 58, "column": 53 }, "end": { "line": 58, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2182, "end": 2183, "loc": { "start": { "line": 58, "column": 75 }, "end": { "line": 58, "column": 76 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2184, "end": 2185, "loc": { "start": { "line": 58, "column": 77 }, "end": { "line": 58, "column": 78 } } }, { "type": "CommentLine", "value": " Smart-place disabled", "start": 2199, "end": 2222, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 35 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2236, "end": 2242, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2242, "end": 2243, "loc": { "start": { "line": 60, "column": 18 }, "end": { "line": 60, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2253, "end": 2254, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "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": 2266, "end": 2271, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 2272, "end": 2287, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 63, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2288, "end": 2289, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2290, "end": 2296, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2296, "end": 2297, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2297, "end": 2307, "loc": { "start": { "line": 63, "column": 39 }, "end": { "line": 63, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2307, "end": 2308, "loc": { "start": { "line": 63, "column": 49 }, "end": { "line": 63, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 2308, "end": 2323, "loc": { "start": { "line": 63, "column": 50 }, "end": { "line": 63, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2323, "end": 2324, "loc": { "start": { "line": 63, "column": 65 }, "end": { "line": 63, "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": 2334, "end": 2336, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2337, "end": 2338, "loc": { "start": { "line": 64, "column": 11 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 2338, "end": 2353, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 2354, "end": 2356, "loc": { "start": { "line": 64, "column": 28 }, "end": { "line": 64, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 2357, "end": 2372, "loc": { "start": { "line": 64, "column": 31 }, "end": { "line": 64, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2372, "end": 2373, "loc": { "start": { "line": 64, "column": 46 }, "end": { "line": 64, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mode", "start": 2373, "end": 2377, "loc": { "start": { "line": 64, "column": 47 }, "end": { "line": 64, "column": 51 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2378, "end": 2381, "loc": { "start": { "line": 64, "column": 52 }, "end": { "line": 64, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 2382, "end": 2405, "loc": { "start": { "line": 64, "column": 56 }, "end": { "line": 64, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2405, "end": 2406, "loc": { "start": { "line": 64, "column": 79 }, "end": { "line": 64, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiver", "start": 2406, "end": 2414, "loc": { "start": { "line": 64, "column": 80 }, "end": { "line": 64, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2414, "end": 2415, "loc": { "start": { "line": 64, "column": 88 }, "end": { "line": 64, "column": 89 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2416, "end": 2417, "loc": { "start": { "line": 64, "column": 90 }, "end": { "line": 64, "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": 2431, "end": 2436, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2437, "end": 2447, "loc": { "start": { "line": 65, "column": 18 }, "end": { "line": 65, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2448, "end": 2449, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2450, "end": 2456, "loc": { "start": { "line": 65, "column": 31 }, "end": { "line": 65, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2456, "end": 2457, "loc": { "start": { "line": 65, "column": 37 }, "end": { "line": 65, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2457, "end": 2467, "loc": { "start": { "line": 65, "column": 38 }, "end": { "line": 65, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2467, "end": 2468, "loc": { "start": { "line": 65, "column": 48 }, "end": { "line": 65, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 2468, "end": 2483, "loc": { "start": { "line": 65, "column": 49 }, "end": { "line": 65, "column": 64 } } }, { "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": 65, "column": 64 }, "end": { "line": 65, "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": 2498, "end": 2503, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 2504, "end": 2508, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2509, "end": 2510, "loc": { "start": { "line": 66, "column": 23 }, "end": { "line": 66, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2511, "end": 2521, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2521, "end": 2522, "loc": { "start": { "line": 66, "column": 35 }, "end": { "line": 66, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 2522, "end": 2528, "loc": { "start": { "line": 66, "column": 36 }, "end": { "line": 66, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2528, "end": 2529, "loc": { "start": { "line": 66, "column": 42 }, "end": { "line": 66, "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": 2545, "end": 2550, "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": "direction", "start": 2551, "end": 2560, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2561, "end": 2562, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 68, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumAngleToDirection", "start": 2563, "end": 2583, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2583, "end": 2584, "loc": { "start": { "line": 68, "column": 50 }, "end": { "line": 68, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2584, "end": 2594, "loc": { "start": { "line": 68, "column": 51 }, "end": { "line": 68, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2594, "end": 2595, "loc": { "start": { "line": 68, "column": 61 }, "end": { "line": 68, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 2595, "end": 2603, "loc": { "start": { "line": 68, "column": 62 }, "end": { "line": 68, "column": 70 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2603, "end": 2604, "loc": { "start": { "line": 68, "column": 70 }, "end": { "line": 68, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2604, "end": 2605, "loc": { "start": { "line": 68, "column": 71 }, "end": { "line": 68, "column": 72 } } }, { "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": 2619, "end": 2624, "loc": { "start": { "line": 69, "column": 12 }, "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": "inverseDirection", "start": 2625, "end": 2641, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2642, "end": 2643, "loc": { "start": { "line": 69, "column": 35 }, "end": { "line": 69, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumInvertedDirections", "start": 2644, "end": 2666, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 59 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2666, "end": 2667, "loc": { "start": { "line": 69, "column": 59 }, "end": { "line": 69, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 2667, "end": 2676, "loc": { "start": { "line": 69, "column": 60 }, "end": { "line": 69, "column": 69 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2676, "end": 2677, "loc": { "start": { "line": 69, "column": 69 }, "end": { "line": 69, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2677, "end": 2678, "loc": { "start": { "line": 69, "column": 70 }, "end": { "line": 69, "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": 2692, "end": 2697, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2698, "end": 2704, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2705, "end": 2706, "loc": { "start": { "line": 70, "column": 25 }, "end": { "line": 70, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToVector", "start": 2707, "end": 2728, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2728, "end": 2729, "loc": { "start": { "line": 70, "column": 48 }, "end": { "line": 70, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inverseDirection", "start": 2729, "end": 2745, "loc": { "start": { "line": 70, "column": 49 }, "end": { "line": 70, "column": 65 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2745, "end": 2746, "loc": { "start": { "line": 70, "column": 65 }, "end": { "line": 70, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2746, "end": 2747, "loc": { "start": { "line": 70, "column": 66 }, "end": { "line": 70, "column": 67 } } }, { "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": 2763, "end": 2766, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 2767, "end": 2777, "loc": { "start": { "line": 72, "column": 16 }, "end": { "line": 72, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2778, "end": 2779, "loc": { "start": { "line": 72, "column": 27 }, "end": { "line": 72, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 2780, "end": 2784, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2784, "end": 2785, "loc": { "start": { "line": 72, "column": 33 }, "end": { "line": 72, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 2785, "end": 2789, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2789, "end": 2790, "loc": { "start": { "line": 72, "column": 38 }, "end": { "line": 72, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2790, "end": 2791, "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2791, "end": 2792, "loc": { "start": { "line": 72, "column": 40 }, "end": { "line": 72, "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": 2808, "end": 2813, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 2814, "end": 2818, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2819, "end": 2820, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 2821, "end": 2836, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2836, "end": 2837, "loc": { "start": { "line": 74, "column": 40 }, "end": { "line": 74, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 2837, "end": 2841, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 74, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2841, "end": 2842, "loc": { "start": { "line": 74, "column": 45 }, "end": { "line": 74, "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": 2856, "end": 2861, "loc": { "start": { "line": 75, "column": 12 }, "end": { "line": 75, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 2862, "end": 2867, "loc": { "start": { "line": 75, "column": 18 }, "end": { "line": 75, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2868, "end": 2869, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2870, "end": 2882, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2882, "end": 2883, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBeltMaxTilesByTier", "start": 2883, "end": 2912, "loc": { "start": { "line": 75, "column": 39 }, "end": { "line": 75, "column": 68 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2912, "end": 2913, "loc": { "start": { "line": 75, "column": 68 }, "end": { "line": 75, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 2913, "end": 2917, "loc": { "start": { "line": 75, "column": 69 }, "end": { "line": 75, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2917, "end": 2918, "loc": { "start": { "line": 75, "column": 73 }, "end": { "line": 75, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2918, "end": 2919, "loc": { "start": { "line": 75, "column": 74 }, "end": { "line": 75, "column": 75 } } }, { "type": "CommentLine", "value": " FIND ENTRANCE", "start": 2935, "end": 2951, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 28 } } }, { "type": "CommentLine", "value": " Search for the entrance which is farthest apart (this is why we can't reuse logic here)", "start": 2965, "end": 3055, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "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": 3069, "end": 3072, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingEntrance", "start": 3073, "end": 3089, "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3090, "end": 3091, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 34 } } }, { "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": 3092, "end": 3096, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3096, "end": 3097, "loc": { "start": { "line": 79, "column": 39 }, "end": { "line": 79, "column": 40 } } }, { "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": 3111, "end": 3114, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3115, "end": 3116, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "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": 3116, "end": 3119, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3120, "end": 3121, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3122, "end": 3123, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "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": 3124, "end": 3125, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3125, "end": 3126, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3127, "end": 3128, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3129, "end": 3130, "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": "range", "start": 3131, "end": 3136, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3136, "end": 3137, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3138, "end": 3140, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3140, "end": 3141, "loc": { "start": { "line": 80, "column": 41 }, "end": { "line": 80, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3141, "end": 3142, "loc": { "start": { "line": 80, "column": 42 }, "end": { "line": 80, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3143, "end": 3144, "loc": { "start": { "line": 80, "column": 44 }, "end": { "line": 80, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 3162, "end": 3172, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3172, "end": 3173, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addInplace", "start": 3173, "end": 3183, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3183, "end": 3184, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 3184, "end": 3190, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3190, "end": 3191, "loc": { "start": { "line": 81, "column": 44 }, "end": { "line": 81, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3191, "end": 3192, "loc": { "start": { "line": 81, "column": 45 }, "end": { "line": 81, "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": 3210, "end": 3215, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3216, "end": 3224, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3225, "end": 3226, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "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": 3227, "end": 3231, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3231, "end": 3232, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3232, "end": 3236, "loc": { "start": { "line": 82, "column": 38 }, "end": { "line": 82, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3236, "end": 3237, "loc": { "start": { "line": 82, "column": 42 }, "end": { "line": 82, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 3237, "end": 3240, "loc": { "start": { "line": 82, "column": 43 }, "end": { "line": 82, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3240, "end": 3241, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContent", "start": 3241, "end": 3255, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3255, "end": 3256, "loc": { "start": { "line": 82, "column": 61 }, "end": { "line": 82, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 3256, "end": 3266, "loc": { "start": { "line": 82, "column": 62 }, "end": { "line": 82, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3266, "end": 3267, "loc": { "start": { "line": 82, "column": 72 }, "end": { "line": 82, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3268, "end": 3274, "loc": { "start": { "line": 82, "column": 74 }, "end": { "line": 82, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3274, "end": 3275, "loc": { "start": { "line": 82, "column": 80 }, "end": { "line": 82, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 3275, "end": 3280, "loc": { "start": { "line": 82, "column": 81 }, "end": { "line": 82, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3280, "end": 3281, "loc": { "start": { "line": 82, "column": 86 }, "end": { "line": 82, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3281, "end": 3282, "loc": { "start": { "line": 82, "column": 87 }, "end": { "line": 82, "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": 3300, "end": 3302, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3303, "end": 3304, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "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": 3304, "end": 3305, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3305, "end": 3313, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3313, "end": 3314, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3315, "end": 3316, "loc": { "start": { "line": 83, "column": 31 }, "end": { "line": 83, "column": 32 } } }, { "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": 3338, "end": 3346, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3346, "end": 3347, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "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": 3386, "end": 3391, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsUndergroundComp", "start": 3392, "end": 3415, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3416, "end": 3417, "loc": { "start": { "line": 87, "column": 46 }, "end": { "line": 87, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3418, "end": 3426, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3426, "end": 3427, "loc": { "start": { "line": 87, "column": 56 }, "end": { "line": 87, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3427, "end": 3437, "loc": { "start": { "line": 87, "column": 57 }, "end": { "line": 87, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3437, "end": 3438, "loc": { "start": { "line": 87, "column": 67 }, "end": { "line": 87, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 3438, "end": 3453, "loc": { "start": { "line": 87, "column": 68 }, "end": { "line": 87, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3453, "end": 3454, "loc": { "start": { "line": 87, "column": 83 }, "end": { "line": 87, "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": 3472, "end": 3477, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsStaticComp", "start": 3478, "end": 3496, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3497, "end": 3498, "loc": { "start": { "line": 88, "column": 41 }, "end": { "line": 88, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3499, "end": 3507, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3507, "end": 3508, "loc": { "start": { "line": 88, "column": 51 }, "end": { "line": 88, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3508, "end": 3518, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3518, "end": 3519, "loc": { "start": { "line": 88, "column": 62 }, "end": { "line": 88, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 3519, "end": 3534, "loc": { "start": { "line": 88, "column": 63 }, "end": { "line": 88, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3534, "end": 3535, "loc": { "start": { "line": 88, "column": 78 }, "end": { "line": 88, "column": 79 } } }, { "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": 3553, "end": 3555, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3556, "end": 3557, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsUndergroundComp", "start": 3579, "end": 3602, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 43 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3603, "end": 3605, "loc": { "start": { "line": 90, "column": 44 }, "end": { "line": 90, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsUndergroundComp", "start": 3627, "end": 3650, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3650, "end": 3651, "loc": { "start": { "line": 91, "column": 43 }, "end": { "line": 91, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 3651, "end": 3655, "loc": { "start": { "line": 91, "column": 44 }, "end": { "line": 91, "column": 48 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3656, "end": 3659, "loc": { "start": { "line": 91, "column": 49 }, "end": { "line": 91, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 3660, "end": 3675, "loc": { "start": { "line": 91, "column": 53 }, "end": { "line": 91, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3675, "end": 3676, "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": "tier", "start": 3676, "end": 3680, "loc": { "start": { "line": 91, "column": 69 }, "end": { "line": 91, "column": 73 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3681, "end": 3683, "loc": { "start": { "line": 91, "column": 74 }, "end": { "line": 91, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsUndergroundComp", "start": 3705, "end": 3728, "loc": { "start": { "line": 92, "column": 20 }, "end": { "line": 92, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3728, "end": 3729, "loc": { "start": { "line": 92, "column": 43 }, "end": { "line": 92, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mode", "start": 3729, "end": 3733, "loc": { "start": { "line": 92, "column": 44 }, "end": { "line": 92, "column": 48 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3734, "end": 3737, "loc": { "start": { "line": 92, "column": 49 }, "end": { "line": 92, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 3738, "end": 3761, "loc": { "start": { "line": 92, "column": 53 }, "end": { "line": 92, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3761, "end": 3762, "loc": { "start": { "line": 92, "column": 76 }, "end": { "line": 92, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 3762, "end": 3768, "loc": { "start": { "line": 92, "column": 77 }, "end": { "line": 92, "column": 83 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3769, "end": 3771, "loc": { "start": { "line": 92, "column": 84 }, "end": { "line": 92, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumAngleToDirection", "start": 3793, "end": 3813, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3813, "end": 3814, "loc": { "start": { "line": 93, "column": 40 }, "end": { "line": 93, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsStaticComp", "start": 3814, "end": 3832, "loc": { "start": { "line": 93, "column": 41 }, "end": { "line": 93, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3832, "end": 3833, "loc": { "start": { "line": 93, "column": 59 }, "end": { "line": 93, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 3833, "end": 3841, "loc": { "start": { "line": 93, "column": 60 }, "end": { "line": 93, "column": 68 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3841, "end": 3842, "loc": { "start": { "line": 93, "column": 68 }, "end": { "line": 93, "column": 69 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3843, "end": 3846, "loc": { "start": { "line": 93, "column": 70 }, "end": { "line": 93, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 3847, "end": 3856, "loc": { "start": { "line": 93, "column": 74 }, "end": { "line": 93, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3874, "end": 3875, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3876, "end": 3877, "loc": { "start": { "line": 94, "column": 18 }, "end": { "line": 94, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingEntrance", "start": 3899, "end": 3915, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3916, "end": 3917, "loc": { "start": { "line": 95, "column": 37 }, "end": { "line": 95, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3918, "end": 3919, "loc": { "start": { "line": 95, "column": 39 }, "end": { "line": 95, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3945, "end": 3951, "loc": { "start": { "line": 96, "column": 24 }, "end": { "line": 96, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3951, "end": 3952, "loc": { "start": { "line": 96, "column": 30 }, "end": { "line": 96, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3953, "end": 3961, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3961, "end": 3962, "loc": { "start": { "line": 96, "column": 40 }, "end": { "line": 96, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 3988, "end": 3993, "loc": { "start": { "line": 97, "column": 24 }, "end": { "line": 97, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3993, "end": 3994, "loc": { "start": { "line": 97, "column": 29 }, "end": { "line": 97, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3995, "end": 3996, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 32 } } }, { "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": 97, "column": 32 }, "end": { "line": 97, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4019, "end": 4020, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4020, "end": 4021, "loc": { "start": { "line": 98, "column": 21 }, "end": { "line": 98, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4039, "end": 4040, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4054, "end": 4055, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 13 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4071, "end": 4073, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4074, "end": 4075, "loc": { "start": { "line": 102, "column": 15 }, "end": { "line": 102, "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": 4075, "end": 4076, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingEntrance", "start": 4076, "end": 4092, "loc": { "start": { "line": 102, "column": 17 }, "end": { "line": 102, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4092, "end": 4093, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4094, "end": 4095, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 36 } } }, { "type": "CommentLine", "value": " Nothing found", "start": 4113, "end": 4129, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "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": 4147, "end": 4153, "loc": { "start": { "line": 104, "column": 16 }, "end": { "line": 104, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4153, "end": 4154, "loc": { "start": { "line": 104, "column": 22 }, "end": { "line": 104, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4168, "end": 4169, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 13 } } }, { "type": "CommentLine", "value": " DETECT OBSOLETE BELTS BETWEEN", "start": 4185, "end": 4217, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 44 } } }, { "type": "CommentLine", "value": " Remove any belts between entrance and exit which have the same direction,", "start": 4231, "end": 4307, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 88 } } }, { "type": "CommentLine", "value": " but only if they *all* have the right direction", "start": 4321, "end": 4371, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 4385, "end": 4395, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4396, "end": 4397, "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": "tile", "start": 4398, "end": 4402, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4402, "end": 4403, "loc": { "start": { "line": 110, "column": 29 }, "end": { "line": 110, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 4403, "end": 4407, "loc": { "start": { "line": 110, "column": 30 }, "end": { "line": 110, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4407, "end": 4408, "loc": { "start": { "line": 110, "column": 34 }, "end": { "line": 110, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4408, "end": 4409, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4409, "end": 4410, "loc": { "start": { "line": 110, "column": 36 }, "end": { "line": 110, "column": 37 } } }, { "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": 4424, "end": 4427, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allBeltsMatch", "start": 4428, "end": 4441, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4442, "end": 4443, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 31 } } }, { "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": 4444, "end": 4448, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4448, "end": 4449, "loc": { "start": { "line": 111, "column": 36 }, "end": { "line": 111, "column": 37 } } }, { "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": 4463, "end": 4466, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4467, "end": 4468, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "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": 4468, "end": 4471, "loc": { "start": { "line": 112, "column": 17 }, "end": { "line": 112, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4472, "end": 4473, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4474, "end": 4475, "loc": { "start": { "line": 112, "column": 23 }, "end": { "line": 112, "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": 4476, "end": 4477, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4477, "end": 4478, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4479, "end": 4480, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4481, "end": 4482, "loc": { "start": { "line": 112, "column": 30 }, "end": { "line": 112, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingEntrance", "start": 4483, "end": 4499, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4499, "end": 4500, "loc": { "start": { "line": 112, "column": 48 }, "end": { "line": 112, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 4500, "end": 4505, "loc": { "start": { "line": 112, "column": 49 }, "end": { "line": 112, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4505, "end": 4506, "loc": { "start": { "line": 112, "column": 54 }, "end": { "line": 112, "column": 55 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4507, "end": 4509, "loc": { "start": { "line": 112, "column": 56 }, "end": { "line": 112, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4509, "end": 4510, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4510, "end": 4511, "loc": { "start": { "line": 112, "column": 59 }, "end": { "line": 112, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4512, "end": 4513, "loc": { "start": { "line": 112, "column": 61 }, "end": { "line": 112, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 4531, "end": 4541, "loc": { "start": { "line": 113, "column": 16 }, "end": { "line": 113, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4541, "end": 4542, "loc": { "start": { "line": 113, "column": 26 }, "end": { "line": 113, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addInplace", "start": 4542, "end": 4552, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 37 } } }, { "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": 113, "column": 37 }, "end": { "line": 113, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 4553, "end": 4559, "loc": { "start": { "line": 113, "column": 38 }, "end": { "line": 113, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4559, "end": 4560, "loc": { "start": { "line": 113, "column": 44 }, "end": { "line": 113, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4560, "end": 4561, "loc": { "start": { "line": 113, "column": 45 }, "end": { "line": 113, "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": 4581, "end": 4586, "loc": { "start": { "line": 115, "column": 16 }, "end": { "line": 115, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 4587, "end": 4595, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4596, "end": 4597, "loc": { "start": { "line": 115, "column": 31 }, "end": { "line": 115, "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": 4598, "end": 4602, "loc": { "start": { "line": 115, "column": 33 }, "end": { "line": 115, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4602, "end": 4603, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4603, "end": 4607, "loc": { "start": { "line": 115, "column": 38 }, "end": { "line": 115, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4607, "end": 4608, "loc": { "start": { "line": 115, "column": 42 }, "end": { "line": 115, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 4608, "end": 4611, "loc": { "start": { "line": 115, "column": 43 }, "end": { "line": 115, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4611, "end": 4612, "loc": { "start": { "line": 115, "column": 46 }, "end": { "line": 115, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContent", "start": 4612, "end": 4626, "loc": { "start": { "line": 115, "column": 47 }, "end": { "line": 115, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4626, "end": 4627, "loc": { "start": { "line": 115, "column": 61 }, "end": { "line": 115, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 4627, "end": 4637, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4637, "end": 4638, "loc": { "start": { "line": 115, "column": 72 }, "end": { "line": 115, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 4639, "end": 4645, "loc": { "start": { "line": 115, "column": 74 }, "end": { "line": 115, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4645, "end": 4646, "loc": { "start": { "line": 115, "column": 80 }, "end": { "line": 115, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 4646, "end": 4651, "loc": { "start": { "line": 115, "column": 81 }, "end": { "line": 115, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4651, "end": 4652, "loc": { "start": { "line": 115, "column": 86 }, "end": { "line": 115, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4652, "end": 4653, "loc": { "start": { "line": 115, "column": 87 }, "end": { "line": 115, "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": 4671, "end": 4673, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4674, "end": 4675, "loc": { "start": { "line": 116, "column": 19 }, "end": { "line": 116, "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": 4675, "end": 4676, "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 4676, "end": 4684, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4684, "end": 4685, "loc": { "start": { "line": 116, "column": 29 }, "end": { "line": 116, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4686, "end": 4687, "loc": { "start": { "line": 116, "column": 31 }, "end": { "line": 116, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allBeltsMatch", "start": 4709, "end": 4722, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4723, "end": 4724, "loc": { "start": { "line": 117, "column": 34 }, "end": { "line": 117, "column": 35 } } }, { "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": 4725, "end": 4730, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4730, "end": 4731, "loc": { "start": { "line": 117, "column": 41 }, "end": { "line": 117, "column": 42 } } }, { "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": 4753, "end": 4758, "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4758, "end": 4759, "loc": { "start": { "line": 118, "column": 25 }, "end": { "line": 118, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4777, "end": 4778, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "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": 4798, "end": 4803, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsStaticComp", "start": 4804, "end": 4822, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4823, "end": 4824, "loc": { "start": { "line": 121, "column": 41 }, "end": { "line": 121, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 4825, "end": 4833, "loc": { "start": { "line": 121, "column": 43 }, "end": { "line": 121, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4833, "end": 4834, "loc": { "start": { "line": 121, "column": 51 }, "end": { "line": 121, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 4834, "end": 4844, "loc": { "start": { "line": 121, "column": 52 }, "end": { "line": 121, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4844, "end": 4845, "loc": { "start": { "line": 121, "column": 62 }, "end": { "line": 121, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 4845, "end": 4860, "loc": { "start": { "line": 121, "column": 63 }, "end": { "line": 121, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4860, "end": 4861, "loc": { "start": { "line": 121, "column": 78 }, "end": { "line": 121, "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": 4879, "end": 4884, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsBeltComp", "start": 4885, "end": 4901, "loc": { "start": { "line": 122, "column": 22 }, "end": { "line": 122, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4902, "end": 4903, "loc": { "start": { "line": 122, "column": 39 }, "end": { "line": 122, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 4904, "end": 4912, "loc": { "start": { "line": 122, "column": 41 }, "end": { "line": 122, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4912, "end": 4913, "loc": { "start": { "line": 122, "column": 49 }, "end": { "line": 122, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 4913, "end": 4923, "loc": { "start": { "line": 122, "column": 50 }, "end": { "line": 122, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4923, "end": 4924, "loc": { "start": { "line": 122, "column": 60 }, "end": { "line": 122, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 4924, "end": 4928, "loc": { "start": { "line": 122, "column": 61 }, "end": { "line": 122, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4928, "end": 4929, "loc": { "start": { "line": 122, "column": 65 }, "end": { "line": 122, "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": 4947, "end": 4949, "loc": { "start": { "line": 123, "column": 16 }, "end": { "line": 123, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4950, "end": 4951, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "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": 4951, "end": 4952, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsBeltComp", "start": 4952, "end": 4968, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4968, "end": 4969, "loc": { "start": { "line": 123, "column": 37 }, "end": { "line": 123, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4970, "end": 4971, "loc": { "start": { "line": 123, "column": 39 }, "end": { "line": 123, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allBeltsMatch", "start": 4993, "end": 5006, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5007, "end": 5008, "loc": { "start": { "line": 124, "column": 34 }, "end": { "line": 124, "column": 35 } } }, { "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": 5009, "end": 5014, "loc": { "start": { "line": 124, "column": 36 }, "end": { "line": 124, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5014, "end": 5015, "loc": { "start": { "line": 124, "column": 41 }, "end": { "line": 124, "column": 42 } } }, { "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": 5037, "end": 5042, "loc": { "start": { "line": 125, "column": 20 }, "end": { "line": 125, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5042, "end": 5043, "loc": { "start": { "line": 125, "column": 25 }, "end": { "line": 125, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5061, "end": 5062, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 17 } } }, { "type": "CommentLine", "value": " It's a belt", "start": 5082, "end": 5096, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 30 } } }, { "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": 5114, "end": 5116, "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": 5117, "end": 5118, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsBeltComp", "start": 5140, "end": 5156, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5156, "end": 5157, "loc": { "start": { "line": 130, "column": 36 }, "end": { "line": 130, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 5157, "end": 5166, "loc": { "start": { "line": 130, "column": 37 }, "end": { "line": 130, "column": 46 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 5167, "end": 5170, "loc": { "start": { "line": 130, "column": 47 }, "end": { "line": 130, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirection", "start": 5171, "end": 5184, "loc": { "start": { "line": 130, "column": 51 }, "end": { "line": 130, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5184, "end": 5185, "loc": { "start": { "line": 130, "column": 64 }, "end": { "line": 130, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "top", "start": 5185, "end": 5188, "loc": { "start": { "line": 130, "column": 65 }, "end": { "line": 130, "column": 68 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 5189, "end": 5191, "loc": { "start": { "line": 130, "column": 69 }, "end": { "line": 130, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumAngleToDirection", "start": 5213, "end": 5233, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5233, "end": 5234, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentsStaticComp", "start": 5234, "end": 5252, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5252, "end": 5253, "loc": { "start": { "line": 131, "column": 59 }, "end": { "line": 131, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 5253, "end": 5261, "loc": { "start": { "line": 131, "column": 60 }, "end": { "line": 131, "column": 68 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5261, "end": 5262, "loc": { "start": { "line": 131, "column": 68 }, "end": { "line": 131, "column": 69 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 5263, "end": 5266, "loc": { "start": { "line": 131, "column": 70 }, "end": { "line": 131, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 5267, "end": 5276, "loc": { "start": { "line": 131, "column": 74 }, "end": { "line": 131, "column": 83 } } }, { "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": 132, "column": 16 }, "end": { "line": 132, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5296, "end": 5297, "loc": { "start": { "line": 132, "column": 18 }, "end": { "line": 132, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allBeltsMatch", "start": 5319, "end": 5332, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5333, "end": 5334, "loc": { "start": { "line": 133, "column": 34 }, "end": { "line": 133, "column": 35 } } }, { "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": 5335, "end": 5340, "loc": { "start": { "line": 133, "column": 36 }, "end": { "line": 133, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5340, "end": 5341, "loc": { "start": { "line": 133, "column": 41 }, "end": { "line": 133, "column": 42 } } }, { "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": 5363, "end": 5368, "loc": { "start": { "line": 134, "column": 20 }, "end": { "line": 134, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5368, "end": 5369, "loc": { "start": { "line": 134, "column": 25 }, "end": { "line": 134, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5387, "end": 5388, "loc": { "start": { "line": 135, "column": 16 }, "end": { "line": 135, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5402, "end": 5403, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 5419, "end": 5429, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5430, "end": 5431, "loc": { "start": { "line": 138, "column": 23 }, "end": { "line": 138, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 5432, "end": 5436, "loc": { "start": { "line": 138, "column": 25 }, "end": { "line": 138, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5436, "end": 5437, "loc": { "start": { "line": 138, "column": 29 }, "end": { "line": 138, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 5437, "end": 5441, "loc": { "start": { "line": 138, "column": 30 }, "end": { "line": 138, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5441, "end": 5442, "loc": { "start": { "line": 138, "column": 34 }, "end": { "line": 138, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5442, "end": 5443, "loc": { "start": { "line": 138, "column": 35 }, "end": { "line": 138, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5443, "end": 5444, "loc": { "start": { "line": 138, "column": 36 }, "end": { "line": 138, "column": 37 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5458, "end": 5460, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5461, "end": 5462, "loc": { "start": { "line": 139, "column": 15 }, "end": { "line": 139, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allBeltsMatch", "start": 5462, "end": 5475, "loc": { "start": { "line": 139, "column": 16 }, "end": { "line": 139, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5475, "end": 5476, "loc": { "start": { "line": 139, "column": 29 }, "end": { "line": 139, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5477, "end": 5478, "loc": { "start": { "line": 139, "column": 31 }, "end": { "line": 139, "column": 32 } } }, { "type": "CommentLine", "value": " All belts between this are obsolete, so drop them", "start": 5496, "end": 5548, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 68 } } }, { "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": 5566, "end": 5569, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5570, "end": 5571, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 21 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 5571, "end": 5574, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5575, "end": 5576, "loc": { "start": { "line": 141, "column": 25 }, "end": { "line": 141, "column": 26 } } }, { "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": 141, "column": 27 }, "end": { "line": 141, "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": 5579, "end": 5580, "loc": { "start": { "line": 141, "column": 29 }, "end": { "line": 141, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5580, "end": 5581, "loc": { "start": { "line": 141, "column": 30 }, "end": { "line": 141, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5582, "end": 5583, "loc": { "start": { "line": 141, "column": 32 }, "end": { "line": 141, "column": 33 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 5584, "end": 5585, "loc": { "start": { "line": 141, "column": 34 }, "end": { "line": 141, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingEntrance", "start": 5586, "end": 5602, "loc": { "start": { "line": 141, "column": 36 }, "end": { "line": 141, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5602, "end": 5603, "loc": { "start": { "line": 141, "column": 52 }, "end": { "line": 141, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 5603, "end": 5608, "loc": { "start": { "line": 141, "column": 53 }, "end": { "line": 141, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5608, "end": 5609, "loc": { "start": { "line": 141, "column": 58 }, "end": { "line": 141, "column": 59 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5610, "end": 5612, "loc": { "start": { "line": 141, "column": 60 }, "end": { "line": 141, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5612, "end": 5613, "loc": { "start": { "line": 141, "column": 62 }, "end": { "line": 141, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5613, "end": 5614, "loc": { "start": { "line": 141, "column": 63 }, "end": { "line": 141, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5615, "end": 5616, "loc": { "start": { "line": 141, "column": 65 }, "end": { "line": 141, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 5638, "end": 5648, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5648, "end": 5649, "loc": { "start": { "line": 142, "column": 30 }, "end": { "line": 142, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addInplace", "start": 5649, "end": 5659, "loc": { "start": { "line": 142, "column": 31 }, "end": { "line": 142, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5659, "end": 5660, "loc": { "start": { "line": 142, "column": 41 }, "end": { "line": 142, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 5660, "end": 5666, "loc": { "start": { "line": 142, "column": 42 }, "end": { "line": 142, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5666, "end": 5667, "loc": { "start": { "line": 142, "column": 48 }, "end": { "line": 142, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5667, "end": 5668, "loc": { "start": { "line": 142, "column": 49 }, "end": { "line": 142, "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": 5690, "end": 5695, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 5696, "end": 5704, "loc": { "start": { "line": 143, "column": 26 }, "end": { "line": 143, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5705, "end": 5706, "loc": { "start": { "line": 143, "column": 35 }, "end": { "line": 143, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5707, "end": 5711, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5711, "end": 5712, "loc": { "start": { "line": 143, "column": 41 }, "end": { "line": 143, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5712, "end": 5716, "loc": { "start": { "line": 143, "column": 42 }, "end": { "line": 143, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5716, "end": 5717, "loc": { "start": { "line": 143, "column": 46 }, "end": { "line": 143, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 5717, "end": 5720, "loc": { "start": { "line": 143, "column": 47 }, "end": { "line": 143, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5720, "end": 5721, "loc": { "start": { "line": 143, "column": 50 }, "end": { "line": 143, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContent", "start": 5721, "end": 5735, "loc": { "start": { "line": 143, "column": 51 }, "end": { "line": 143, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5735, "end": 5736, "loc": { "start": { "line": 143, "column": 65 }, "end": { "line": 143, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 5736, "end": 5746, "loc": { "start": { "line": 143, "column": 66 }, "end": { "line": 143, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5746, "end": 5747, "loc": { "start": { "line": 143, "column": 76 }, "end": { "line": 143, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 5748, "end": 5754, "loc": { "start": { "line": 143, "column": 78 }, "end": { "line": 143, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5754, "end": 5755, "loc": { "start": { "line": 143, "column": 84 }, "end": { "line": 143, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 5755, "end": 5760, "loc": { "start": { "line": 143, "column": 85 }, "end": { "line": 143, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5760, "end": 5761, "loc": { "start": { "line": 143, "column": 90 }, "end": { "line": 143, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5761, "end": 5762, "loc": { "start": { "line": 143, "column": 91 }, "end": { "line": 143, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 5784, "end": 5790, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5790, "end": 5791, "loc": { "start": { "line": 144, "column": 26 }, "end": { "line": 144, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 5791, "end": 5799, "loc": { "start": { "line": 144, "column": 27 }, "end": { "line": 144, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5799, "end": 5800, "loc": { "start": { "line": 144, "column": 35 }, "end": { "line": 144, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid smart underground belt logic", "start": 5801, "end": 5839, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5839, "end": 5840, "loc": { "start": { "line": 144, "column": 75 }, "end": { "line": 144, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5840, "end": 5841, "loc": { "start": { "line": 144, "column": 76 }, "end": { "line": 144, "column": 77 } } }, { "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": 5863, "end": 5867, "loc": { "start": { "line": 145, "column": 20 }, "end": { "line": 145, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5867, "end": 5868, "loc": { "start": { "line": 145, "column": 24 }, "end": { "line": 145, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5868, "end": 5872, "loc": { "start": { "line": 145, "column": 25 }, "end": { "line": 145, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5872, "end": 5873, "loc": { "start": { "line": 145, "column": 29 }, "end": { "line": 145, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 5873, "end": 5878, "loc": { "start": { "line": 145, "column": 30 }, "end": { "line": 145, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5878, "end": 5879, "loc": { "start": { "line": 145, "column": 35 }, "end": { "line": 145, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryDeleteBuilding", "start": 5879, "end": 5896, "loc": { "start": { "line": 145, "column": 36 }, "end": { "line": 145, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5896, "end": 5897, "loc": { "start": { "line": 145, "column": 53 }, "end": { "line": 145, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 5897, "end": 5905, "loc": { "start": { "line": 145, "column": 54 }, "end": { "line": 145, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5905, "end": 5906, "loc": { "start": { "line": 145, "column": 62 }, "end": { "line": 145, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5906, "end": 5907, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5925, "end": 5926, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5940, "end": 5941, "loc": { "start": { "line": 147, "column": 12 }, "end": { "line": 147, "column": 13 } } }, { "type": "CommentLine", "value": " REMOVE OBSOLETE TUNNELS", "start": 5957, "end": 5983, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 38 } } }, { "type": "CommentLine", "value": " Remove any double tunnels, by checking the tile plus the tile above", "start": 5997, "end": 6067, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 6081, "end": 6091, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6092, "end": 6093, "loc": { "start": { "line": 151, "column": 23 }, "end": { "line": 151, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 6094, "end": 6098, "loc": { "start": { "line": 151, "column": 25 }, "end": { "line": 151, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6098, "end": 6099, "loc": { "start": { "line": 151, "column": 29 }, "end": { "line": 151, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 6099, "end": 6103, "loc": { "start": { "line": 151, "column": 30 }, "end": { "line": 151, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6103, "end": 6104, "loc": { "start": { "line": 151, "column": 34 }, "end": { "line": 151, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6104, "end": 6105, "loc": { "start": { "line": 151, "column": 35 }, "end": { "line": 151, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6105, "end": 6106, "loc": { "start": { "line": 151, "column": 36 }, "end": { "line": 151, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 6106, "end": 6109, "loc": { "start": { "line": 151, "column": 37 }, "end": { "line": 151, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6109, "end": 6110, "loc": { "start": { "line": 151, "column": 40 }, "end": { "line": 151, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 6110, "end": 6116, "loc": { "start": { "line": 151, "column": 41 }, "end": { "line": 151, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6116, "end": 6117, "loc": { "start": { "line": 151, "column": 47 }, "end": { "line": 151, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6117, "end": 6118, "loc": { "start": { "line": 151, "column": 48 }, "end": { "line": 151, "column": 49 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 6132, "end": 6135, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 152, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6136, "end": 6137, "loc": { "start": { "line": 152, "column": 16 }, "end": { "line": 152, "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": 6137, "end": 6140, "loc": { "start": { "line": 152, "column": 17 }, "end": { "line": 152, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6141, "end": 6142, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6143, "end": 6144, "loc": { "start": { "line": 152, "column": 23 }, "end": { "line": 152, "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": 6145, "end": 6146, "loc": { "start": { "line": 152, "column": 25 }, "end": { "line": 152, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6146, "end": 6147, "loc": { "start": { "line": 152, "column": 26 }, "end": { "line": 152, "column": 27 } } }, { "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": 152, "column": 28 }, "end": { "line": 152, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6150, "end": 6151, "loc": { "start": { "line": 152, "column": 30 }, "end": { "line": 152, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingEntrance", "start": 6152, "end": 6168, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6168, "end": 6169, "loc": { "start": { "line": 152, "column": 48 }, "end": { "line": 152, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 6169, "end": 6174, "loc": { "start": { "line": 152, "column": 49 }, "end": { "line": 152, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 6175, "end": 6176, "loc": { "start": { "line": 152, "column": 55 }, "end": { "line": 152, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 6177, "end": 6178, "loc": { "start": { "line": 152, "column": 57 }, "end": { "line": 152, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6178, "end": 6179, "loc": { "start": { "line": 152, "column": 58 }, "end": { "line": 152, "column": 59 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 6180, "end": 6182, "loc": { "start": { "line": 152, "column": 60 }, "end": { "line": 152, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6182, "end": 6183, "loc": { "start": { "line": 152, "column": 62 }, "end": { "line": 152, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6183, "end": 6184, "loc": { "start": { "line": 152, "column": 63 }, "end": { "line": 152, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6185, "end": 6186, "loc": { "start": { "line": 152, "column": 65 }, "end": { "line": 152, "column": 66 } } }, { "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": 6204, "end": 6209, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "posBefore", "start": 6210, "end": 6219, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6220, "end": 6221, "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": "currentPos", "start": 6222, "end": 6232, "loc": { "start": { "line": 153, "column": 34 }, "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": 6232, "end": 6233, "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": "copy", "start": 6233, "end": 6237, "loc": { "start": { "line": 153, "column": 45 }, "end": { "line": 153, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6237, "end": 6238, "loc": { "start": { "line": 153, "column": 49 }, "end": { "line": 153, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6238, "end": 6239, "loc": { "start": { "line": 153, "column": 50 }, "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": 6239, "end": 6240, "loc": { "start": { "line": 153, "column": 51 }, "end": { "line": 153, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 6258, "end": 6268, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6268, "end": 6269, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addInplace", "start": 6269, "end": 6279, "loc": { "start": { "line": 154, "column": 27 }, "end": { "line": 154, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6279, "end": 6280, "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": "offset", "start": 6280, "end": 6286, "loc": { "start": { "line": 154, "column": 38 }, "end": { "line": 154, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6286, "end": 6287, "loc": { "start": { "line": 154, "column": 44 }, "end": { "line": 154, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6287, "end": 6288, "loc": { "start": { "line": 154, "column": 45 }, "end": { "line": 154, "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": 6308, "end": 6313, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityBefore", "start": 6314, "end": 6326, "loc": { "start": { "line": 156, "column": 22 }, "end": { "line": 156, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6327, "end": 6328, "loc": { "start": { "line": 156, "column": 35 }, "end": { "line": 156, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6329, "end": 6333, "loc": { "start": { "line": 156, "column": 37 }, "end": { "line": 156, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6333, "end": 6334, "loc": { "start": { "line": 156, "column": 41 }, "end": { "line": 156, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6334, "end": 6338, "loc": { "start": { "line": 156, "column": 42 }, "end": { "line": 156, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6338, "end": 6339, "loc": { "start": { "line": 156, "column": 46 }, "end": { "line": 156, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 6339, "end": 6342, "loc": { "start": { "line": 156, "column": 47 }, "end": { "line": 156, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6342, "end": 6343, "loc": { "start": { "line": 156, "column": 50 }, "end": { "line": 156, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContent", "start": 6343, "end": 6357, "loc": { "start": { "line": 156, "column": 51 }, "end": { "line": 156, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6357, "end": 6358, "loc": { "start": { "line": 156, "column": 65 }, "end": { "line": 156, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "posBefore", "start": 6358, "end": 6367, "loc": { "start": { "line": 156, "column": 66 }, "end": { "line": 156, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6367, "end": 6368, "loc": { "start": { "line": 156, "column": 75 }, "end": { "line": 156, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 6369, "end": 6375, "loc": { "start": { "line": 156, "column": 77 }, "end": { "line": 156, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6375, "end": 6376, "loc": { "start": { "line": 156, "column": 83 }, "end": { "line": 156, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 6376, "end": 6381, "loc": { "start": { "line": 156, "column": 84 }, "end": { "line": 156, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6381, "end": 6382, "loc": { "start": { "line": 156, "column": 89 }, "end": { "line": 156, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 156, "column": 90 }, "end": { "line": 156, "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": 6401, "end": 6406, "loc": { "start": { "line": 157, "column": 16 }, "end": { "line": 157, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityAfter", "start": 6407, "end": 6418, "loc": { "start": { "line": 157, "column": 22 }, "end": { "line": 157, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6419, "end": 6420, "loc": { "start": { "line": 157, "column": 34 }, "end": { "line": 157, "column": 35 } } }, { "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": 6421, "end": 6425, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6425, "end": 6426, "loc": { "start": { "line": 157, "column": 40 }, "end": { "line": 157, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6426, "end": 6430, "loc": { "start": { "line": 157, "column": 41 }, "end": { "line": 157, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6430, "end": 6431, "loc": { "start": { "line": 157, "column": 45 }, "end": { "line": 157, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 6431, "end": 6434, "loc": { "start": { "line": 157, "column": 46 }, "end": { "line": 157, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6434, "end": 6435, "loc": { "start": { "line": 157, "column": 49 }, "end": { "line": 157, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContent", "start": 6435, "end": 6449, "loc": { "start": { "line": 157, "column": 50 }, "end": { "line": 157, "column": 64 } } }, { "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": 157, "column": 64 }, "end": { "line": 157, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 6450, "end": 6460, "loc": { "start": { "line": 157, "column": 65 }, "end": { "line": 157, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6460, "end": 6461, "loc": { "start": { "line": 157, "column": 75 }, "end": { "line": 157, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 6462, "end": 6468, "loc": { "start": { "line": 157, "column": 77 }, "end": { "line": 157, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6468, "end": 6469, "loc": { "start": { "line": 157, "column": 83 }, "end": { "line": 157, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 6469, "end": 6474, "loc": { "start": { "line": 157, "column": 84 }, "end": { "line": 157, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6474, "end": 6475, "loc": { "start": { "line": 157, "column": 89 }, "end": { "line": 157, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6475, "end": 6476, "loc": { "start": { "line": 157, "column": 90 }, "end": { "line": 157, "column": 91 } } }, { "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": 6496, "end": 6498, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6499, "end": 6500, "loc": { "start": { "line": 159, "column": 19 }, "end": { "line": 159, "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": 6500, "end": 6501, "loc": { "start": { "line": 159, "column": 20 }, "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": "entityBefore", "start": 6501, "end": 6513, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 33 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 6514, "end": 6516, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 36 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6517, "end": 6518, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityAfter", "start": 6518, "end": 6529, "loc": { "start": { "line": 159, "column": 38 }, "end": { "line": 159, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6529, "end": 6530, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6531, "end": 6532, "loc": { "start": { "line": 159, "column": 51 }, "end": { "line": 159, "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": 6554, "end": 6562, "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 160, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6562, "end": 6563, "loc": { "start": { "line": 160, "column": 28 }, "end": { "line": 160, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6581, "end": 6582, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "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": 6602, "end": 6607, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBefore", "start": 6608, "end": 6625, "loc": { "start": { "line": 163, "column": 22 }, "end": { "line": 163, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6626, "end": 6627, "loc": { "start": { "line": 163, "column": 40 }, "end": { "line": 163, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityBefore", "start": 6628, "end": 6640, "loc": { "start": { "line": 163, "column": 42 }, "end": { "line": 163, "column": 54 } } }, { "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": 163, "column": 54 }, "end": { "line": 163, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 6641, "end": 6651, "loc": { "start": { "line": 163, "column": 55 }, "end": { "line": 163, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6651, "end": 6652, "loc": { "start": { "line": 163, "column": 65 }, "end": { "line": 163, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 6652, "end": 6667, "loc": { "start": { "line": 163, "column": 66 }, "end": { "line": 163, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6667, "end": 6668, "loc": { "start": { "line": 163, "column": 81 }, "end": { "line": 163, "column": 82 } } }, { "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": 6686, "end": 6691, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundAfter", "start": 6692, "end": 6708, "loc": { "start": { "line": 164, "column": 22 }, "end": { "line": 164, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6709, "end": 6710, "loc": { "start": { "line": 164, "column": 39 }, "end": { "line": 164, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityAfter", "start": 6711, "end": 6722, "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6722, "end": 6723, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 6723, "end": 6733, "loc": { "start": { "line": 164, "column": 53 }, "end": { "line": 164, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6733, "end": 6734, "loc": { "start": { "line": 164, "column": 63 }, "end": { "line": 164, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 6734, "end": 6749, "loc": { "start": { "line": 164, "column": 64 }, "end": { "line": 164, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6749, "end": 6750, "loc": { "start": { "line": 164, "column": 79 }, "end": { "line": 164, "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": 6770, "end": 6772, "loc": { "start": { "line": 166, "column": 16 }, "end": { "line": 166, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6773, "end": 6774, "loc": { "start": { "line": 166, "column": 19 }, "end": { "line": 166, "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": 6774, "end": 6775, "loc": { "start": { "line": 166, "column": 20 }, "end": { "line": 166, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBefore", "start": 6775, "end": 6792, "loc": { "start": { "line": 166, "column": 21 }, "end": { "line": 166, "column": 38 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 6793, "end": 6795, "loc": { "start": { "line": 166, "column": 39 }, "end": { "line": 166, "column": 41 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6796, "end": 6797, "loc": { "start": { "line": 166, "column": 42 }, "end": { "line": 166, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundAfter", "start": 6797, "end": 6813, "loc": { "start": { "line": 166, "column": 43 }, "end": { "line": 166, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6813, "end": 6814, "loc": { "start": { "line": 166, "column": 59 }, "end": { "line": 166, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6815, "end": 6816, "loc": { "start": { "line": 166, "column": 61 }, "end": { "line": 166, "column": 62 } } }, { "type": "CommentLine", "value": " Not an underground belt", "start": 6838, "end": 6864, "loc": { "start": { "line": 167, "column": 20 }, "end": { "line": 167, "column": 46 } } }, { "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": 6886, "end": 6894, "loc": { "start": { "line": 168, "column": 20 }, "end": { "line": 168, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6894, "end": 6895, "loc": { "start": { "line": 168, "column": 28 }, "end": { "line": 168, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6913, "end": 6914, "loc": { "start": { "line": 169, "column": 16 }, "end": { "line": 169, "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": 6934, "end": 6936, "loc": { "start": { "line": 171, "column": 16 }, "end": { "line": 171, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6937, "end": 6938, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 20 } } }, { "type": "CommentLine", "value": " Both same tier", "start": 6960, "end": 6977, "loc": { "start": { "line": 172, "column": 20 }, "end": { "line": 172, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBefore", "start": 6999, "end": 7016, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7016, "end": 7017, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 7017, "end": 7021, "loc": { "start": { "line": 173, "column": 38 }, "end": { "line": 173, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7022, "end": 7025, "loc": { "start": { "line": 173, "column": 43 }, "end": { "line": 173, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundAfter", "start": 7026, "end": 7042, "loc": { "start": { "line": 173, "column": 47 }, "end": { "line": 173, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7042, "end": 7043, "loc": { "start": { "line": 173, "column": 63 }, "end": { "line": 173, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 7043, "end": 7047, "loc": { "start": { "line": 173, "column": 64 }, "end": { "line": 173, "column": 68 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7048, "end": 7050, "loc": { "start": { "line": 173, "column": 69 }, "end": { "line": 173, "column": 71 } } }, { "type": "CommentLine", "value": " And same tier as our original entity", "start": 7072, "end": 7111, "loc": { "start": { "line": 174, "column": 20 }, "end": { "line": 174, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBefore", "start": 7133, "end": 7150, "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 175, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7150, "end": 7151, "loc": { "start": { "line": 175, "column": 37 }, "end": { "line": 175, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 7151, "end": 7155, "loc": { "start": { "line": 175, "column": 38 }, "end": { "line": 175, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7156, "end": 7159, "loc": { "start": { "line": 175, "column": 43 }, "end": { "line": 175, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 7160, "end": 7175, "loc": { "start": { "line": 175, "column": 47 }, "end": { "line": 175, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7175, "end": 7176, "loc": { "start": { "line": 175, "column": 62 }, "end": { "line": 175, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 7176, "end": 7180, "loc": { "start": { "line": 175, "column": 63 }, "end": { "line": 175, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7198, "end": 7199, "loc": { "start": { "line": 176, "column": 16 }, "end": { "line": 176, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7200, "end": 7201, "loc": { "start": { "line": 176, "column": 18 }, "end": { "line": 176, "column": 19 } } }, { "type": "CommentLine", "value": " Mismatching tier", "start": 7223, "end": 7242, "loc": { "start": { "line": 177, "column": 20 }, "end": { "line": 177, "column": 39 } } }, { "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": 7264, "end": 7272, "loc": { "start": { "line": 178, "column": 20 }, "end": { "line": 178, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7272, "end": 7273, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7291, "end": 7292, "loc": { "start": { "line": 179, "column": 16 }, "end": { "line": 179, "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": 7312, "end": 7314, "loc": { "start": { "line": 181, "column": 16 }, "end": { "line": 181, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7315, "end": 7316, "loc": { "start": { "line": 181, "column": 19 }, "end": { "line": 181, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBefore", "start": 7338, "end": 7355, "loc": { "start": { "line": 182, "column": 20 }, "end": { "line": 182, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7355, "end": 7356, "loc": { "start": { "line": 182, "column": 37 }, "end": { "line": 182, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mode", "start": 7356, "end": 7360, "loc": { "start": { "line": 182, "column": 38 }, "end": { "line": 182, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7361, "end": 7364, "loc": { "start": { "line": 182, "column": 43 }, "end": { "line": 182, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 7365, "end": 7388, "loc": { "start": { "line": 182, "column": 47 }, "end": { "line": 182, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7388, "end": 7389, "loc": { "start": { "line": 182, "column": 70 }, "end": { "line": 182, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 7389, "end": 7395, "loc": { "start": { "line": 182, "column": 71 }, "end": { "line": 182, "column": 77 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7396, "end": 7398, "loc": { "start": { "line": 182, "column": 78 }, "end": { "line": 182, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundAfter", "start": 7420, "end": 7436, "loc": { "start": { "line": 183, "column": 20 }, "end": { "line": 183, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7436, "end": 7437, "loc": { "start": { "line": 183, "column": 36 }, "end": { "line": 183, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mode", "start": 7437, "end": 7441, "loc": { "start": { "line": 183, "column": 37 }, "end": { "line": 183, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7442, "end": 7445, "loc": { "start": { "line": 183, "column": 42 }, "end": { "line": 183, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 7446, "end": 7469, "loc": { "start": { "line": 183, "column": 46 }, "end": { "line": 183, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7469, "end": 7470, "loc": { "start": { "line": 183, "column": 69 }, "end": { "line": 183, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiver", "start": 7470, "end": 7478, "loc": { "start": { "line": 183, "column": 70 }, "end": { "line": 183, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7496, "end": 7497, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7498, "end": 7499, "loc": { "start": { "line": 184, "column": 18 }, "end": { "line": 184, "column": 19 } } }, { "type": "CommentLine", "value": " Not the right mode", "start": 7521, "end": 7542, "loc": { "start": { "line": 185, "column": 20 }, "end": { "line": 185, "column": 41 } } }, { "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": 7564, "end": 7572, "loc": { "start": { "line": 186, "column": 20 }, "end": { "line": 186, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7572, "end": 7573, "loc": { "start": { "line": 186, "column": 28 }, "end": { "line": 186, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7591, "end": 7592, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 17 } } }, { "type": "CommentLine", "value": " Check rotations", "start": 7612, "end": 7630, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "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": 7648, "end": 7653, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticBefore", "start": 7654, "end": 7666, "loc": { "start": { "line": 190, "column": 22 }, "end": { "line": 190, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7667, "end": 7668, "loc": { "start": { "line": 190, "column": 35 }, "end": { "line": 190, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityBefore", "start": 7669, "end": 7681, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7681, "end": 7682, "loc": { "start": { "line": 190, "column": 49 }, "end": { "line": 190, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 7682, "end": 7692, "loc": { "start": { "line": 190, "column": 50 }, "end": { "line": 190, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7692, "end": 7693, "loc": { "start": { "line": 190, "column": 60 }, "end": { "line": 190, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 7693, "end": 7708, "loc": { "start": { "line": 190, "column": 61 }, "end": { "line": 190, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7708, "end": 7709, "loc": { "start": { "line": 190, "column": 76 }, "end": { "line": 190, "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": 7727, "end": 7732, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticAfter", "start": 7733, "end": 7744, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7745, "end": 7746, "loc": { "start": { "line": 191, "column": 34 }, "end": { "line": 191, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityAfter", "start": 7747, "end": 7758, "loc": { "start": { "line": 191, "column": 36 }, "end": { "line": 191, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7758, "end": 7759, "loc": { "start": { "line": 191, "column": 47 }, "end": { "line": 191, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 7759, "end": 7769, "loc": { "start": { "line": 191, "column": 48 }, "end": { "line": 191, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7769, "end": 7770, "loc": { "start": { "line": 191, "column": 58 }, "end": { "line": 191, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 7770, "end": 7785, "loc": { "start": { "line": 191, "column": 59 }, "end": { "line": 191, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7785, "end": 7786, "loc": { "start": { "line": 191, "column": 74 }, "end": { "line": 191, "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": 7806, "end": 7808, "loc": { "start": { "line": 193, "column": 16 }, "end": { "line": 193, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7809, "end": 7810, "loc": { "start": { "line": 193, "column": 19 }, "end": { "line": 193, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumAngleToDirection", "start": 7832, "end": 7852, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7852, "end": 7853, "loc": { "start": { "line": 194, "column": 40 }, "end": { "line": 194, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticBefore", "start": 7853, "end": 7865, "loc": { "start": { "line": 194, "column": 41 }, "end": { "line": 194, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7865, "end": 7866, "loc": { "start": { "line": 194, "column": 53 }, "end": { "line": 194, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 7866, "end": 7874, "loc": { "start": { "line": 194, "column": 54 }, "end": { "line": 194, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7874, "end": 7875, "loc": { "start": { "line": 194, "column": 62 }, "end": { "line": 194, "column": 63 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7876, "end": 7879, "loc": { "start": { "line": 194, "column": 64 }, "end": { "line": 194, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 7880, "end": 7889, "loc": { "start": { "line": 194, "column": 68 }, "end": { "line": 194, "column": 77 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7890, "end": 7892, "loc": { "start": { "line": 194, "column": 78 }, "end": { "line": 194, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumAngleToDirection", "start": 7914, "end": 7934, "loc": { "start": { "line": 195, "column": 20 }, "end": { "line": 195, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7934, "end": 7935, "loc": { "start": { "line": 195, "column": 40 }, "end": { "line": 195, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticAfter", "start": 7935, "end": 7946, "loc": { "start": { "line": 195, "column": 41 }, "end": { "line": 195, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7946, "end": 7947, "loc": { "start": { "line": 195, "column": 52 }, "end": { "line": 195, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 7947, "end": 7955, "loc": { "start": { "line": 195, "column": 53 }, "end": { "line": 195, "column": 61 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7955, "end": 7956, "loc": { "start": { "line": 195, "column": 61 }, "end": { "line": 195, "column": 62 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7957, "end": 7960, "loc": { "start": { "line": 195, "column": 63 }, "end": { "line": 195, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 7961, "end": 7970, "loc": { "start": { "line": 195, "column": 67 }, "end": { "line": 195, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7988, "end": 7989, "loc": { "start": { "line": 196, "column": 16 }, "end": { "line": 196, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7990, "end": 7991, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 19 } } }, { "type": "CommentLine", "value": " Wrong rotation", "start": 8013, "end": 8030, "loc": { "start": { "line": 197, "column": 20 }, "end": { "line": 197, "column": 37 } } }, { "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": 8052, "end": 8060, "loc": { "start": { "line": 198, "column": 20 }, "end": { "line": 198, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8060, "end": 8061, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8079, "end": 8080, "loc": { "start": { "line": 199, "column": 16 }, "end": { "line": 199, "column": 17 } } }, { "type": "CommentLine", "value": " All good, can remove", "start": 8100, "end": 8123, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 39 } } }, { "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": 8141, "end": 8145, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8145, "end": 8146, "loc": { "start": { "line": 202, "column": 20 }, "end": { "line": 202, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 8146, "end": 8150, "loc": { "start": { "line": 202, "column": 21 }, "end": { "line": 202, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8150, "end": 8151, "loc": { "start": { "line": 202, "column": 25 }, "end": { "line": 202, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 8151, "end": 8156, "loc": { "start": { "line": 202, "column": 26 }, "end": { "line": 202, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8156, "end": 8157, "loc": { "start": { "line": 202, "column": 31 }, "end": { "line": 202, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryDeleteBuilding", "start": 8157, "end": 8174, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 49 } } }, { "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": 49 }, "end": { "line": 202, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityBefore", "start": 8175, "end": 8187, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8187, "end": 8188, "loc": { "start": { "line": 202, "column": 62 }, "end": { "line": 202, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8188, "end": 8189, "loc": { "start": { "line": 202, "column": 63 }, "end": { "line": 202, "column": 64 } } }, { "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": 8207, "end": 8211, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8211, "end": 8212, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 8212, "end": 8216, "loc": { "start": { "line": 203, "column": 21 }, "end": { "line": 203, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8216, "end": 8217, "loc": { "start": { "line": 203, "column": 25 }, "end": { "line": 203, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 8217, "end": 8222, "loc": { "start": { "line": 203, "column": 26 }, "end": { "line": 203, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8222, "end": 8223, "loc": { "start": { "line": 203, "column": 31 }, "end": { "line": 203, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryDeleteBuilding", "start": 8223, "end": 8240, "loc": { "start": { "line": 203, "column": 32 }, "end": { "line": 203, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8240, "end": 8241, "loc": { "start": { "line": 203, "column": 49 }, "end": { "line": 203, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityAfter", "start": 8241, "end": 8252, "loc": { "start": { "line": 203, "column": 50 }, "end": { "line": 203, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8252, "end": 8253, "loc": { "start": { "line": 203, "column": 61 }, "end": { "line": 203, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8253, "end": 8254, "loc": { "start": { "line": 203, "column": 62 }, "end": { "line": 203, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8268, "end": 8269, "loc": { "start": { "line": 204, "column": 12 }, "end": { "line": 204, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8279, "end": 8280, "loc": { "start": { "line": 205, "column": 8 }, "end": { "line": 205, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8286, "end": 8287, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Recomputes the cache in the given area, invalidating all entries there\r\n * @param {Rectangle} area\r\n ", "start": 8295, "end": 8418, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 211, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "recomputeArea", "start": 8424, "end": 8437, "loc": { "start": { "line": 212, "column": 4 }, "end": { "line": 212, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8437, "end": 8438, "loc": { "start": { "line": 212, "column": 17 }, "end": { "line": 212, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "area", "start": 8438, "end": 8442, "loc": { "start": { "line": 212, "column": 18 }, "end": { "line": 212, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8442, "end": 8443, "loc": { "start": { "line": 212, "column": 22 }, "end": { "line": 212, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8444, "end": 8445, "loc": { "start": { "line": 212, "column": 24 }, "end": { "line": 212, "column": 25 } } }, { "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": 8455, "end": 8458, "loc": { "start": { "line": 213, "column": 8 }, "end": { "line": 213, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8459, "end": 8460, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "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": 8460, "end": 8463, "loc": { "start": { "line": 213, "column": 13 }, "end": { "line": 213, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8464, "end": 8465, "loc": { "start": { "line": 213, "column": 17 }, "end": { "line": 213, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8466, "end": 8467, "loc": { "start": { "line": 213, "column": 19 }, "end": { "line": 213, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "area", "start": 8468, "end": 8472, "loc": { "start": { "line": 213, "column": 21 }, "end": { "line": 213, "column": 25 } } }, { "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": 213, "column": 25 }, "end": { "line": 213, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8473, "end": 8474, "loc": { "start": { "line": 213, "column": 26 }, "end": { "line": 213, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8474, "end": 8475, "loc": { "start": { "line": 213, "column": 27 }, "end": { "line": 213, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8476, "end": 8477, "loc": { "start": { "line": 213, "column": 29 }, "end": { "line": 213, "column": 30 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8478, "end": 8479, "loc": { "start": { "line": 213, "column": 31 }, "end": { "line": 213, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "area", "start": 8480, "end": 8484, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8484, "end": 8485, "loc": { "start": { "line": 213, "column": 37 }, "end": { "line": 213, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 8485, "end": 8490, "loc": { "start": { "line": 213, "column": 38 }, "end": { "line": 213, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8490, "end": 8491, "loc": { "start": { "line": 213, "column": 43 }, "end": { "line": 213, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8491, "end": 8492, "loc": { "start": { "line": 213, "column": 44 }, "end": { "line": 213, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8492, "end": 8493, "loc": { "start": { "line": 213, "column": 45 }, "end": { "line": 213, "column": 46 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 8494, "end": 8496, "loc": { "start": { "line": 213, "column": 47 }, "end": { "line": 213, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8496, "end": 8497, "loc": { "start": { "line": 213, "column": 49 }, "end": { "line": 213, "column": 50 } } }, { "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": 213, "column": 50 }, "end": { "line": 213, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8499, "end": 8500, "loc": { "start": { "line": 213, "column": 52 }, "end": { "line": 213, "column": 53 } } }, { "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": 8514, "end": 8517, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8518, "end": 8519, "loc": { "start": { "line": 214, "column": 16 }, "end": { "line": 214, "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": 8519, "end": 8522, "loc": { "start": { "line": 214, "column": 17 }, "end": { "line": 214, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8523, "end": 8524, "loc": { "start": { "line": 214, "column": 21 }, "end": { "line": 214, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8525, "end": 8526, "loc": { "start": { "line": 214, "column": 23 }, "end": { "line": 214, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "area", "start": 8527, "end": 8531, "loc": { "start": { "line": 214, "column": 25 }, "end": { "line": 214, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8531, "end": 8532, "loc": { "start": { "line": 214, "column": 29 }, "end": { "line": 214, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8532, "end": 8533, "loc": { "start": { "line": 214, "column": 30 }, "end": { "line": 214, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8533, "end": 8534, "loc": { "start": { "line": 214, "column": 31 }, "end": { "line": 214, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8535, "end": 8536, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 34 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8537, "end": 8538, "loc": { "start": { "line": 214, "column": 35 }, "end": { "line": 214, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "area", "start": 8539, "end": 8543, "loc": { "start": { "line": 214, "column": 37 }, "end": { "line": 214, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8543, "end": 8544, "loc": { "start": { "line": 214, "column": 41 }, "end": { "line": 214, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bottom", "start": 8544, "end": 8550, "loc": { "start": { "line": 214, "column": 42 }, "end": { "line": 214, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8550, "end": 8551, "loc": { "start": { "line": 214, "column": 48 }, "end": { "line": 214, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8551, "end": 8552, "loc": { "start": { "line": 214, "column": 49 }, "end": { "line": 214, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8552, "end": 8553, "loc": { "start": { "line": 214, "column": 50 }, "end": { "line": 214, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 8554, "end": 8556, "loc": { "start": { "line": 214, "column": 52 }, "end": { "line": 214, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8556, "end": 8557, "loc": { "start": { "line": 214, "column": 54 }, "end": { "line": 214, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8557, "end": 8558, "loc": { "start": { "line": 214, "column": 55 }, "end": { "line": 214, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8559, "end": 8560, "loc": { "start": { "line": 214, "column": 57 }, "end": { "line": 214, "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": 8578, "end": 8583, "loc": { "start": { "line": 215, "column": 16 }, "end": { "line": 215, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 8584, "end": 8592, "loc": { "start": { "line": 215, "column": 22 }, "end": { "line": 215, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8593, "end": 8594, "loc": { "start": { "line": 215, "column": 31 }, "end": { "line": 215, "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": 8595, "end": 8599, "loc": { "start": { "line": 215, "column": 33 }, "end": { "line": 215, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8599, "end": 8600, "loc": { "start": { "line": 215, "column": 37 }, "end": { "line": 215, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 8600, "end": 8604, "loc": { "start": { "line": 215, "column": 38 }, "end": { "line": 215, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8604, "end": 8605, "loc": { "start": { "line": 215, "column": 42 }, "end": { "line": 215, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 8605, "end": 8608, "loc": { "start": { "line": 215, "column": 43 }, "end": { "line": 215, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8608, "end": 8609, "loc": { "start": { "line": 215, "column": 46 }, "end": { "line": 215, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayersContentsMultipleXY", "start": 8609, "end": 8636, "loc": { "start": { "line": 215, "column": 47 }, "end": { "line": 215, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8636, "end": 8637, "loc": { "start": { "line": 215, "column": 74 }, "end": { "line": 215, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8637, "end": 8638, "loc": { "start": { "line": 215, "column": 75 }, "end": { "line": 215, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8638, "end": 8639, "loc": { "start": { "line": 215, "column": 76 }, "end": { "line": 215, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8640, "end": 8641, "loc": { "start": { "line": 215, "column": 78 }, "end": { "line": 215, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8641, "end": 8642, "loc": { "start": { "line": 215, "column": 79 }, "end": { "line": 215, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8642, "end": 8643, "loc": { "start": { "line": 215, "column": 80 }, "end": { "line": 215, "column": 81 } } }, { "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": 8661, "end": 8664, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 216, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8665, "end": 8666, "loc": { "start": { "line": 216, "column": 20 }, "end": { "line": 216, "column": 21 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 8666, "end": 8669, "loc": { "start": { "line": 216, "column": 21 }, "end": { "line": 216, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8670, "end": 8671, "loc": { "start": { "line": 216, "column": 25 }, "end": { "line": 216, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8672, "end": 8673, "loc": { "start": { "line": 216, "column": 27 }, "end": { "line": 216, "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": 8674, "end": 8675, "loc": { "start": { "line": 216, "column": 29 }, "end": { "line": 216, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8675, "end": 8676, "loc": { "start": { "line": 216, "column": 30 }, "end": { "line": 216, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8677, "end": 8678, "loc": { "start": { "line": 216, "column": 32 }, "end": { "line": 216, "column": 33 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8679, "end": 8680, "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": "entities", "start": 8681, "end": 8689, "loc": { "start": { "line": 216, "column": 36 }, "end": { "line": 216, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8689, "end": 8690, "loc": { "start": { "line": 216, "column": 44 }, "end": { "line": 216, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8690, "end": 8696, "loc": { "start": { "line": 216, "column": 45 }, "end": { "line": 216, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8696, "end": 8697, "loc": { "start": { "line": 216, "column": 51 }, "end": { "line": 216, "column": 52 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 8698, "end": 8700, "loc": { "start": { "line": 216, "column": 53 }, "end": { "line": 216, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8700, "end": 8701, "loc": { "start": { "line": 216, "column": 55 }, "end": { "line": 216, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8701, "end": 8702, "loc": { "start": { "line": 216, "column": 56 }, "end": { "line": 216, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8703, "end": 8704, "loc": { "start": { "line": 216, "column": 58 }, "end": { "line": 216, "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": 8726, "end": 8731, "loc": { "start": { "line": 217, "column": 20 }, "end": { "line": 217, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 8732, "end": 8738, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8739, "end": 8740, "loc": { "start": { "line": 217, "column": 33 }, "end": { "line": 217, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 8741, "end": 8749, "loc": { "start": { "line": 217, "column": 35 }, "end": { "line": 217, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8749, "end": 8750, "loc": { "start": { "line": 217, "column": 43 }, "end": { "line": 217, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8750, "end": 8751, "loc": { "start": { "line": 217, "column": 44 }, "end": { "line": 217, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8751, "end": 8752, "loc": { "start": { "line": 217, "column": 45 }, "end": { "line": 217, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8752, "end": 8753, "loc": { "start": { "line": 217, "column": 46 }, "end": { "line": 217, "column": 47 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8775, "end": 8780, "loc": { "start": { "line": 218, "column": 20 }, "end": { "line": 218, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 8781, "end": 8796, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8797, "end": 8798, "loc": { "start": { "line": 218, "column": 42 }, "end": { "line": 218, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 8799, "end": 8805, "loc": { "start": { "line": 218, "column": 44 }, "end": { "line": 218, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8805, "end": 8806, "loc": { "start": { "line": 218, "column": 50 }, "end": { "line": 218, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 8806, "end": 8816, "loc": { "start": { "line": 218, "column": 51 }, "end": { "line": 218, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8816, "end": 8817, "loc": { "start": { "line": 218, "column": 61 }, "end": { "line": 218, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 8817, "end": 8832, "loc": { "start": { "line": 218, "column": 62 }, "end": { "line": 218, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8832, "end": 8833, "loc": { "start": { "line": 218, "column": 77 }, "end": { "line": 218, "column": 78 } } }, { "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": 8855, "end": 8857, "loc": { "start": { "line": 219, "column": 20 }, "end": { "line": 219, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8858, "end": 8859, "loc": { "start": { "line": 219, "column": 23 }, "end": { "line": 219, "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": 8859, "end": 8860, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 8860, "end": 8875, "loc": { "start": { "line": 219, "column": 25 }, "end": { "line": 219, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8875, "end": 8876, "loc": { "start": { "line": 219, "column": 40 }, "end": { "line": 219, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8877, "end": 8878, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 43 } } }, { "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": 8904, "end": 8912, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8912, "end": 8913, "loc": { "start": { "line": 220, "column": 32 }, "end": { "line": 220, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8935, "end": 8936, "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 8958, "end": 8973, "loc": { "start": { "line": 222, "column": 20 }, "end": { "line": 222, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8973, "end": 8974, "loc": { "start": { "line": 222, "column": 35 }, "end": { "line": 222, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedLinkedEntity", "start": 8974, "end": 8992, "loc": { "start": { "line": 222, "column": 36 }, "end": { "line": 222, "column": 54 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8993, "end": 8994, "loc": { "start": { "line": 222, "column": 55 }, "end": { "line": 222, "column": 56 } } }, { "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": 8995, "end": 8999, "loc": { "start": { "line": 222, "column": 57 }, "end": { "line": 222, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8999, "end": 9000, "loc": { "start": { "line": 222, "column": 61 }, "end": { "line": 222, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9018, "end": 9019, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9033, "end": 9034, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9044, "end": 9045, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9051, "end": 9052, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 226, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 9060, "end": 9066, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9066, "end": 9067, "loc": { "start": { "line": 228, "column": 10 }, "end": { "line": 228, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9067, "end": 9068, "loc": { "start": { "line": 228, "column": 11 }, "end": { "line": 228, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9069, "end": 9070, "loc": { "start": { "line": 228, "column": 13 }, "end": { "line": 228, "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": 9080, "end": 9084, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9084, "end": 9085, "loc": { "start": { "line": 229, "column": 12 }, "end": { "line": 229, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staleAreaWatcher", "start": 9085, "end": 9101, "loc": { "start": { "line": 229, "column": 13 }, "end": { "line": 229, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9101, "end": 9102, "loc": { "start": { "line": 229, "column": 29 }, "end": { "line": 229, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 9102, "end": 9108, "loc": { "start": { "line": 229, "column": 30 }, "end": { "line": 229, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9108, "end": 9109, "loc": { "start": { "line": 229, "column": 36 }, "end": { "line": 229, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9109, "end": 9110, "loc": { "start": { "line": 229, "column": 37 }, "end": { "line": 229, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9110, "end": 9111, "loc": { "start": { "line": 229, "column": 38 }, "end": { "line": 229, "column": 39 } } }, { "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": 9123, "end": 9126, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9127, "end": 9128, "loc": { "start": { "line": 231, "column": 12 }, "end": { "line": 231, "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": 9128, "end": 9131, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9132, "end": 9133, "loc": { "start": { "line": 231, "column": 17 }, "end": { "line": 231, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9134, "end": 9135, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "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": 9136, "end": 9137, "loc": { "start": { "line": 231, "column": 21 }, "end": { "line": 231, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9137, "end": 9138, "loc": { "start": { "line": 231, "column": 22 }, "end": { "line": 231, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9139, "end": 9140, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 9141, "end": 9142, "loc": { "start": { "line": 231, "column": 26 }, "end": { "line": 231, "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": 9143, "end": 9147, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 231, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9147, "end": 9148, "loc": { "start": { "line": 231, "column": 32 }, "end": { "line": 231, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 9148, "end": 9159, "loc": { "start": { "line": 231, "column": 33 }, "end": { "line": 231, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9159, "end": 9160, "loc": { "start": { "line": 231, "column": 44 }, "end": { "line": 231, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9160, "end": 9166, "loc": { "start": { "line": 231, "column": 45 }, "end": { "line": 231, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9166, "end": 9167, "loc": { "start": { "line": 231, "column": 51 }, "end": { "line": 231, "column": 52 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 9168, "end": 9170, "loc": { "start": { "line": 231, "column": 53 }, "end": { "line": 231, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9170, "end": 9171, "loc": { "start": { "line": 231, "column": 55 }, "end": { "line": 231, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9171, "end": 9172, "loc": { "start": { "line": 231, "column": 56 }, "end": { "line": 231, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9173, "end": 9174, "loc": { "start": { "line": 231, "column": 58 }, "end": { "line": 231, "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": 9188, "end": 9193, "loc": { "start": { "line": 232, "column": 12 }, "end": { "line": 232, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9194, "end": 9200, "loc": { "start": { "line": 232, "column": 18 }, "end": { "line": 232, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9201, "end": 9202, "loc": { "start": { "line": 232, "column": 25 }, "end": { "line": 232, "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": 9203, "end": 9207, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9207, "end": 9208, "loc": { "start": { "line": 232, "column": 31 }, "end": { "line": 232, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 9208, "end": 9219, "loc": { "start": { "line": 232, "column": 32 }, "end": { "line": 232, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9219, "end": 9220, "loc": { "start": { "line": 232, "column": 43 }, "end": { "line": 232, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9220, "end": 9221, "loc": { "start": { "line": 232, "column": 44 }, "end": { "line": 232, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9221, "end": 9222, "loc": { "start": { "line": 232, "column": 45 }, "end": { "line": 232, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9222, "end": 9223, "loc": { "start": { "line": 232, "column": 46 }, "end": { "line": 232, "column": 47 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 9237, "end": 9242, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 9243, "end": 9258, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9259, "end": 9260, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 233, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9261, "end": 9267, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9267, "end": 9268, "loc": { "start": { "line": 233, "column": 42 }, "end": { "line": 233, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 9268, "end": 9278, "loc": { "start": { "line": 233, "column": 43 }, "end": { "line": 233, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9278, "end": 9279, "loc": { "start": { "line": 233, "column": 53 }, "end": { "line": 233, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 9279, "end": 9294, "loc": { "start": { "line": 233, "column": 54 }, "end": { "line": 233, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9294, "end": 9295, "loc": { "start": { "line": 233, "column": 69 }, "end": { "line": 233, "column": 70 } } }, { "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": 9309, "end": 9311, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9312, "end": 9313, "loc": { "start": { "line": 234, "column": 15 }, "end": { "line": 234, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 9313, "end": 9328, "loc": { "start": { "line": 234, "column": 16 }, "end": { "line": 234, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9328, "end": 9329, "loc": { "start": { "line": 234, "column": 31 }, "end": { "line": 234, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mode", "start": 9329, "end": 9333, "loc": { "start": { "line": 234, "column": 32 }, "end": { "line": 234, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9334, "end": 9337, "loc": { "start": { "line": 234, "column": 37 }, "end": { "line": 234, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 9338, "end": 9361, "loc": { "start": { "line": 234, "column": 41 }, "end": { "line": 234, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9361, "end": 9362, "loc": { "start": { "line": 234, "column": 64 }, "end": { "line": 234, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sender", "start": 9362, "end": 9368, "loc": { "start": { "line": 234, "column": 65 }, "end": { "line": 234, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9368, "end": 9369, "loc": { "start": { "line": 234, "column": 71 }, "end": { "line": 234, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9370, "end": 9371, "loc": { "start": { "line": 234, "column": 73 }, "end": { "line": 234, "column": 74 } } }, { "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": 9389, "end": 9393, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9393, "end": 9394, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleSender", "start": 9394, "end": 9406, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9406, "end": 9407, "loc": { "start": { "line": 235, "column": 33 }, "end": { "line": 235, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9407, "end": 9413, "loc": { "start": { "line": 235, "column": 34 }, "end": { "line": 235, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9413, "end": 9414, "loc": { "start": { "line": 235, "column": 40 }, "end": { "line": 235, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9414, "end": 9415, "loc": { "start": { "line": 235, "column": 41 }, "end": { "line": 235, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9429, "end": 9430, "loc": { "start": { "line": 236, "column": 12 }, "end": { "line": 236, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 9431, "end": 9435, "loc": { "start": { "line": 236, "column": 14 }, "end": { "line": 236, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9436, "end": 9437, "loc": { "start": { "line": 236, "column": 19 }, "end": { "line": 236, "column": 20 } } }, { "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": 9455, "end": 9459, "loc": { "start": { "line": 237, "column": 16 }, "end": { "line": 237, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9459, "end": 9460, "loc": { "start": { "line": 237, "column": 20 }, "end": { "line": 237, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleReceiver", "start": 9460, "end": 9474, "loc": { "start": { "line": 237, "column": 21 }, "end": { "line": 237, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9474, "end": 9475, "loc": { "start": { "line": 237, "column": 35 }, "end": { "line": 237, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9475, "end": 9481, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9481, "end": 9482, "loc": { "start": { "line": 237, "column": 42 }, "end": { "line": 237, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9482, "end": 9483, "loc": { "start": { "line": 237, "column": 43 }, "end": { "line": 237, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9497, "end": 9498, "loc": { "start": { "line": 238, "column": 12 }, "end": { "line": 238, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9508, "end": 9509, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9515, "end": 9516, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 240, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds the receiver for a given sender\r\n * @param {Entity} entity\r\n * @returns {import(\"../components/underground_belt\").LinkedUndergroundBelt}\r\n ", "start": 9524, "end": 9695, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 246, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findRecieverForSender", "start": 9701, "end": 9722, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 247, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9722, "end": 9723, "loc": { "start": { "line": 247, "column": 25 }, "end": { "line": 247, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9723, "end": 9729, "loc": { "start": { "line": 247, "column": 26 }, "end": { "line": 247, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9729, "end": 9730, "loc": { "start": { "line": 247, "column": 32 }, "end": { "line": 247, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9731, "end": 9732, "loc": { "start": { "line": 247, "column": 34 }, "end": { "line": 247, "column": 35 } } }, { "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": 9742, "end": 9747, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 9748, "end": 9758, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9759, "end": 9760, "loc": { "start": { "line": 248, "column": 25 }, "end": { "line": 248, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9761, "end": 9767, "loc": { "start": { "line": 248, "column": 27 }, "end": { "line": 248, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9767, "end": 9768, "loc": { "start": { "line": 248, "column": 33 }, "end": { "line": 248, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 9768, "end": 9778, "loc": { "start": { "line": 248, "column": 34 }, "end": { "line": 248, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9778, "end": 9779, "loc": { "start": { "line": 248, "column": 44 }, "end": { "line": 248, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 9779, "end": 9794, "loc": { "start": { "line": 248, "column": 45 }, "end": { "line": 248, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9794, "end": 9795, "loc": { "start": { "line": 248, "column": 60 }, "end": { "line": 248, "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": 9805, "end": 9810, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 9811, "end": 9826, "loc": { "start": { "line": 249, "column": 14 }, "end": { "line": 249, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9827, "end": 9828, "loc": { "start": { "line": 249, "column": 30 }, "end": { "line": 249, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9829, "end": 9835, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9835, "end": 9836, "loc": { "start": { "line": 249, "column": 38 }, "end": { "line": 249, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 9836, "end": 9846, "loc": { "start": { "line": 249, "column": 39 }, "end": { "line": 249, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9846, "end": 9847, "loc": { "start": { "line": 249, "column": 49 }, "end": { "line": 249, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 9847, "end": 9862, "loc": { "start": { "line": 249, "column": 50 }, "end": { "line": 249, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9862, "end": 9863, "loc": { "start": { "line": 249, "column": 65 }, "end": { "line": 249, "column": 66 } } }, { "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": 9873, "end": 9878, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchDirection", "start": 9879, "end": 9894, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9895, "end": 9896, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 250, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 9897, "end": 9907, "loc": { "start": { "line": 250, "column": 32 }, "end": { "line": 250, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9907, "end": 9908, "loc": { "start": { "line": 250, "column": 42 }, "end": { "line": 250, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localDirectionToWorld", "start": 9908, "end": 9929, "loc": { "start": { "line": 250, "column": 43 }, "end": { "line": 250, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9929, "end": 9930, "loc": { "start": { "line": 250, "column": 64 }, "end": { "line": 250, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirection", "start": 9930, "end": 9943, "loc": { "start": { "line": 250, "column": 65 }, "end": { "line": 250, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9943, "end": 9944, "loc": { "start": { "line": 250, "column": 78 }, "end": { "line": 250, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "top", "start": 9944, "end": 9947, "loc": { "start": { "line": 250, "column": 79 }, "end": { "line": 250, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9947, "end": 9948, "loc": { "start": { "line": 250, "column": 82 }, "end": { "line": 250, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9948, "end": 9949, "loc": { "start": { "line": 250, "column": 83 }, "end": { "line": 250, "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": 9959, "end": 9964, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchVector", "start": 9965, "end": 9977, "loc": { "start": { "line": 251, "column": 14 }, "end": { "line": 251, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9978, "end": 9979, "loc": { "start": { "line": 251, "column": 27 }, "end": { "line": 251, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToVector", "start": 9980, "end": 10001, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10001, "end": 10002, "loc": { "start": { "line": 251, "column": 50 }, "end": { "line": 251, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchDirection", "start": 10002, "end": 10017, "loc": { "start": { "line": 251, "column": 51 }, "end": { "line": 251, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10017, "end": 10018, "loc": { "start": { "line": 251, "column": 66 }, "end": { "line": 251, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10018, "end": 10019, "loc": { "start": { "line": 251, "column": 67 }, "end": { "line": 251, "column": 68 } } }, { "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": 10029, "end": 10034, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetRotation", "start": 10035, "end": 10049, "loc": { "start": { "line": 252, "column": 14 }, "end": { "line": 252, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10050, "end": 10051, "loc": { "start": { "line": 252, "column": 29 }, "end": { "line": 252, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToAngle", "start": 10052, "end": 10072, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10072, "end": 10073, "loc": { "start": { "line": 252, "column": 51 }, "end": { "line": 252, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchDirection", "start": 10073, "end": 10088, "loc": { "start": { "line": 252, "column": 52 }, "end": { "line": 252, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10088, "end": 10089, "loc": { "start": { "line": 252, "column": 67 }, "end": { "line": 252, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10089, "end": 10090, "loc": { "start": { "line": 252, "column": 68 }, "end": { "line": 252, "column": 69 } } }, { "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": 10100, "end": 10103, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentTile", "start": 10104, "end": 10115, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10116, "end": 10117, "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 253, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 10118, "end": 10128, "loc": { "start": { "line": 253, "column": 26 }, "end": { "line": 253, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10128, "end": 10129, "loc": { "start": { "line": 253, "column": 36 }, "end": { "line": 253, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 10129, "end": 10135, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10135, "end": 10136, "loc": { "start": { "line": 253, "column": 43 }, "end": { "line": 253, "column": 44 } } }, { "type": "CommentLine", "value": " Search in the direction of the tunnel", "start": 10148, "end": 10188, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 48 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 10198, "end": 10201, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10202, "end": 10203, "loc": { "start": { "line": 256, "column": 12 }, "end": { "line": 256, "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": 10217, "end": 10220, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchOffset", "start": 10221, "end": 10233, "loc": { "start": { "line": 257, "column": 16 }, "end": { "line": 257, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10234, "end": 10235, "loc": { "start": { "line": 257, "column": 29 }, "end": { "line": 257, "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, "start": 10236, "end": 10237, "loc": { "start": { "line": 257, "column": 31 }, "end": { "line": 257, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10237, "end": 10238, "loc": { "start": { "line": 257, "column": 32 }, "end": { "line": 257, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchOffset", "start": 10239, "end": 10251, "loc": { "start": { "line": 257, "column": 34 }, "end": { "line": 257, "column": 46 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10252, "end": 10253, "loc": { "start": { "line": 257, "column": 47 }, "end": { "line": 257, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 10254, "end": 10266, "loc": { "start": { "line": 257, "column": 49 }, "end": { "line": 257, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10266, "end": 10267, "loc": { "start": { "line": 257, "column": 61 }, "end": { "line": 257, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundBeltMaxTilesByTier", "start": 10267, "end": 10296, "loc": { "start": { "line": 257, "column": 62 }, "end": { "line": 257, "column": 91 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10296, "end": 10297, "loc": { "start": { "line": 257, "column": 91 }, "end": { "line": 257, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 10297, "end": 10312, "loc": { "start": { "line": 257, "column": 92 }, "end": { "line": 257, "column": 107 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10312, "end": 10313, "loc": { "start": { "line": 257, "column": 107 }, "end": { "line": 257, "column": 108 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 10313, "end": 10317, "loc": { "start": { "line": 257, "column": 108 }, "end": { "line": 257, "column": 112 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10317, "end": 10318, "loc": { "start": { "line": 257, "column": 112 }, "end": { "line": 257, "column": 113 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10318, "end": 10319, "loc": { "start": { "line": 257, "column": 113 }, "end": { "line": 257, "column": 114 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 10333, "end": 10335, "loc": { "start": { "line": 258, "column": 12 }, "end": { "line": 258, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchOffset", "start": 10335, "end": 10347, "loc": { "start": { "line": 258, "column": 14 }, "end": { "line": 258, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10357, "end": 10358, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10359, "end": 10360, "loc": { "start": { "line": 259, "column": 10 }, "end": { "line": 259, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentTile", "start": 10374, "end": 10385, "loc": { "start": { "line": 260, "column": 12 }, "end": { "line": 260, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10386, "end": 10387, "loc": { "start": { "line": 260, "column": 24 }, "end": { "line": 260, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentTile", "start": 10388, "end": 10399, "loc": { "start": { "line": 260, "column": 26 }, "end": { "line": 260, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10399, "end": 10400, "loc": { "start": { "line": 260, "column": 37 }, "end": { "line": 260, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 10400, "end": 10403, "loc": { "start": { "line": 260, "column": 38 }, "end": { "line": 260, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10403, "end": 10404, "loc": { "start": { "line": 260, "column": 41 }, "end": { "line": 260, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchVector", "start": 10404, "end": 10416, "loc": { "start": { "line": 260, "column": 42 }, "end": { "line": 260, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10416, "end": 10417, "loc": { "start": { "line": 260, "column": 54 }, "end": { "line": 260, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10417, "end": 10418, "loc": { "start": { "line": 260, "column": 55 }, "end": { "line": 260, "column": 56 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 10434, "end": 10439, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "potentialReceiver", "start": 10440, "end": 10457, "loc": { "start": { "line": 262, "column": 18 }, "end": { "line": 262, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10458, "end": 10459, "loc": { "start": { "line": 262, "column": 36 }, "end": { "line": 262, "column": 37 } } }, { "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": 10460, "end": 10464, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10464, "end": 10465, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 262, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10465, "end": 10469, "loc": { "start": { "line": 262, "column": 43 }, "end": { "line": 262, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10469, "end": 10470, "loc": { "start": { "line": 262, "column": 47 }, "end": { "line": 262, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 10470, "end": 10473, "loc": { "start": { "line": 262, "column": 48 }, "end": { "line": 262, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10473, "end": 10474, "loc": { "start": { "line": 262, "column": 51 }, "end": { "line": 262, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContent", "start": 10474, "end": 10488, "loc": { "start": { "line": 262, "column": 52 }, "end": { "line": 262, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10488, "end": 10489, "loc": { "start": { "line": 262, "column": 66 }, "end": { "line": 262, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentTile", "start": 10489, "end": 10500, "loc": { "start": { "line": 262, "column": 67 }, "end": { "line": 262, "column": 78 } } }, { "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": 262, "column": 78 }, "end": { "line": 262, "column": 79 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 10502, "end": 10511, "loc": { "start": { "line": 262, "column": 80 }, "end": { "line": 262, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10511, "end": 10512, "loc": { "start": { "line": 262, "column": 89 }, "end": { "line": 262, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10512, "end": 10513, "loc": { "start": { "line": 262, "column": 90 }, "end": { "line": 262, "column": 91 } } }, { "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": 10527, "end": 10529, "loc": { "start": { "line": 263, "column": 12 }, "end": { "line": 263, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10530, "end": 10531, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "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": 10531, "end": 10532, "loc": { "start": { "line": 263, "column": 16 }, "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": "potentialReceiver", "start": 10532, "end": 10549, "loc": { "start": { "line": 263, "column": 17 }, "end": { "line": 263, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10549, "end": 10550, "loc": { "start": { "line": 263, "column": 34 }, "end": { "line": 263, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10551, "end": 10552, "loc": { "start": { "line": 263, "column": 36 }, "end": { "line": 263, "column": 37 } } }, { "type": "CommentLine", "value": " Empty tile", "start": 10570, "end": 10583, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "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": 10601, "end": 10609, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 265, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10609, "end": 10610, "loc": { "start": { "line": 265, "column": 24 }, "end": { "line": 265, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10624, "end": 10625, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "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": 10639, "end": 10644, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiverUndergroundComp", "start": 10645, "end": 10668, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10669, "end": 10670, "loc": { "start": { "line": 267, "column": 42 }, "end": { "line": 267, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "potentialReceiver", "start": 10671, "end": 10688, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10688, "end": 10689, "loc": { "start": { "line": 267, "column": 61 }, "end": { "line": 267, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 10689, "end": 10699, "loc": { "start": { "line": 267, "column": 62 }, "end": { "line": 267, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10699, "end": 10700, "loc": { "start": { "line": 267, "column": 72 }, "end": { "line": 267, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 10700, "end": 10715, "loc": { "start": { "line": 267, "column": 73 }, "end": { "line": 267, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10715, "end": 10716, "loc": { "start": { "line": 267, "column": 88 }, "end": { "line": 267, "column": 89 } } }, { "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": 10730, "end": 10732, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10733, "end": 10734, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "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": 10734, "end": 10735, "loc": { "start": { "line": 268, "column": 16 }, "end": { "line": 268, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiverUndergroundComp", "start": 10735, "end": 10758, "loc": { "start": { "line": 268, "column": 17 }, "end": { "line": 268, "column": 40 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10759, "end": 10761, "loc": { "start": { "line": 268, "column": 41 }, "end": { "line": 268, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiverUndergroundComp", "start": 10762, "end": 10785, "loc": { "start": { "line": 268, "column": 44 }, "end": { "line": 268, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10785, "end": 10786, "loc": { "start": { "line": 268, "column": 67 }, "end": { "line": 268, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 10786, "end": 10790, "loc": { "start": { "line": 268, "column": 68 }, "end": { "line": 268, "column": 72 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 10791, "end": 10794, "loc": { "start": { "line": 268, "column": 73 }, "end": { "line": 268, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 10795, "end": 10810, "loc": { "start": { "line": 268, "column": 77 }, "end": { "line": 268, "column": 92 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10810, "end": 10811, "loc": { "start": { "line": 268, "column": 92 }, "end": { "line": 268, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tier", "start": 10811, "end": 10815, "loc": { "start": { "line": 268, "column": 93 }, "end": { "line": 268, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10815, "end": 10816, "loc": { "start": { "line": 268, "column": 97 }, "end": { "line": 268, "column": 98 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10817, "end": 10818, "loc": { "start": { "line": 268, "column": 99 }, "end": { "line": 268, "column": 100 } } }, { "type": "CommentLine", "value": " Not a tunnel, or not on the same tier", "start": 10836, "end": 10876, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 56 } } }, { "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": 10894, "end": 10902, "loc": { "start": { "line": 270, "column": 16 }, "end": { "line": 270, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10902, "end": 10903, "loc": { "start": { "line": 270, "column": 24 }, "end": { "line": 270, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10917, "end": 10918, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 271, "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": 10934, "end": 10939, "loc": { "start": { "line": 273, "column": 12 }, "end": { "line": 273, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiverStaticComp", "start": 10940, "end": 10958, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10959, "end": 10960, "loc": { "start": { "line": 273, "column": 37 }, "end": { "line": 273, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "potentialReceiver", "start": 10961, "end": 10978, "loc": { "start": { "line": 273, "column": 39 }, "end": { "line": 273, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10978, "end": 10979, "loc": { "start": { "line": 273, "column": 56 }, "end": { "line": 273, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 10979, "end": 10989, "loc": { "start": { "line": 273, "column": 57 }, "end": { "line": 273, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10989, "end": 10990, "loc": { "start": { "line": 273, "column": 67 }, "end": { "line": 273, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 10990, "end": 11005, "loc": { "start": { "line": 273, "column": 68 }, "end": { "line": 273, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11005, "end": 11006, "loc": { "start": { "line": 273, "column": 83 }, "end": { "line": 273, "column": 84 } } }, { "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": 11020, "end": 11022, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11023, "end": 11024, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiverStaticComp", "start": 11024, "end": 11042, "loc": { "start": { "line": 274, "column": 16 }, "end": { "line": 274, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11042, "end": 11043, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 274, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 11043, "end": 11051, "loc": { "start": { "line": 274, "column": 35 }, "end": { "line": 274, "column": 43 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 11052, "end": 11055, "loc": { "start": { "line": 274, "column": 44 }, "end": { "line": 274, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetRotation", "start": 11056, "end": 11070, "loc": { "start": { "line": 274, "column": 48 }, "end": { "line": 274, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11070, "end": 11071, "loc": { "start": { "line": 274, "column": 62 }, "end": { "line": 274, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11072, "end": 11073, "loc": { "start": { "line": 274, "column": 64 }, "end": { "line": 274, "column": 65 } } }, { "type": "CommentLine", "value": " Wrong rotation", "start": 11091, "end": 11108, "loc": { "start": { "line": 275, "column": 16 }, "end": { "line": 275, "column": 33 } } }, { "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": 11126, "end": 11134, "loc": { "start": { "line": 276, "column": 16 }, "end": { "line": 276, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11134, "end": 11135, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11149, "end": 11150, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 13 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11166, "end": 11168, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11169, "end": 11170, "loc": { "start": { "line": 279, "column": 15 }, "end": { "line": 279, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiverUndergroundComp", "start": 11170, "end": 11193, "loc": { "start": { "line": 279, "column": 16 }, "end": { "line": 279, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11193, "end": 11194, "loc": { "start": { "line": 279, "column": 39 }, "end": { "line": 279, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mode", "start": 11194, "end": 11198, "loc": { "start": { "line": 279, "column": 40 }, "end": { "line": 279, "column": 44 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 11199, "end": 11202, "loc": { "start": { "line": 279, "column": 45 }, "end": { "line": 279, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumUndergroundBeltMode", "start": 11203, "end": 11226, "loc": { "start": { "line": 279, "column": 49 }, "end": { "line": 279, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11226, "end": 11227, "loc": { "start": { "line": 279, "column": 72 }, "end": { "line": 279, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "receiver", "start": 11227, "end": 11235, "loc": { "start": { "line": 279, "column": 73 }, "end": { "line": 279, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11235, "end": 11236, "loc": { "start": { "line": 279, "column": 81 }, "end": { "line": 279, "column": 82 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11237, "end": 11238, "loc": { "start": { "line": 279, "column": 83 }, "end": { "line": 279, "column": 84 } } }, { "type": "CommentLine", "value": " Not a receiver, but a sender -> Abort to make sure we don't deliver double", "start": 11256, "end": 11333, "loc": { "start": { "line": 280, "column": 16 }, "end": { "line": 280, "column": 93 } } }, { "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": 11351, "end": 11356, "loc": { "start": { "line": 281, "column": 16 }, "end": { "line": 281, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11356, "end": 11357, "loc": { "start": { "line": 281, "column": 21 }, "end": { "line": 281, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11371, "end": 11372, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 13 } } }, { "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": 11388, "end": 11394, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11395, "end": 11396, "loc": { "start": { "line": 284, "column": 19 }, "end": { "line": 284, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11397, "end": 11403, "loc": { "start": { "line": 284, "column": 21 }, "end": { "line": 284, "column": 27 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11403, "end": 11404, "loc": { "start": { "line": 284, "column": 27 }, "end": { "line": 284, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "potentialReceiver", "start": 11405, "end": 11422, "loc": { "start": { "line": 284, "column": 29 }, "end": { "line": 284, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11422, "end": 11423, "loc": { "start": { "line": 284, "column": 46 }, "end": { "line": 284, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distance", "start": 11424, "end": 11432, "loc": { "start": { "line": 284, "column": 48 }, "end": { "line": 284, "column": 56 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11432, "end": 11433, "loc": { "start": { "line": 284, "column": 56 }, "end": { "line": 284, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "searchOffset", "start": 11434, "end": 11446, "loc": { "start": { "line": 284, "column": 58 }, "end": { "line": 284, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11447, "end": 11448, "loc": { "start": { "line": 284, "column": 71 }, "end": { "line": 284, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11448, "end": 11449, "loc": { "start": { "line": 284, "column": 72 }, "end": { "line": 284, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11459, "end": 11460, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 9 } } }, { "type": "CommentLine", "value": " None found", "start": 11472, "end": 11485, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 21 } } }, { "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": 11495, "end": 11501, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11504, "end": 11510, "loc": { "start": { "line": 288, "column": 17 }, "end": { "line": 288, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11510, "end": 11511, "loc": { "start": { "line": 288, "column": 23 }, "end": { "line": 288, "column": 24 } } }, { "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": 11512, "end": 11516, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11516, "end": 11517, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distance", "start": 11518, "end": 11526, "loc": { "start": { "line": 288, "column": 31 }, "end": { "line": 288, "column": 39 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11526, "end": 11527, "loc": { "start": { "line": 288, "column": 39 }, "end": { "line": 288, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11528, "end": 11529, "loc": { "start": { "line": 288, "column": 41 }, "end": { "line": 288, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11530, "end": 11531, "loc": { "start": { "line": 288, "column": 43 }, "end": { "line": 288, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11531, "end": 11532, "loc": { "start": { "line": 288, "column": 44 }, "end": { "line": 288, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11538, "end": 11539, "loc": { "start": { "line": 289, "column": 4 }, "end": { "line": 289, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 11547, "end": 11598, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 294, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleSender", "start": 11604, "end": 11616, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11616, "end": 11617, "loc": { "start": { "line": 295, "column": 16 }, "end": { "line": 295, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11617, "end": 11623, "loc": { "start": { "line": 295, "column": 17 }, "end": { "line": 295, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11623, "end": 11624, "loc": { "start": { "line": 295, "column": 23 }, "end": { "line": 295, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11625, "end": 11626, "loc": { "start": { "line": 295, "column": 25 }, "end": { "line": 295, "column": 26 } } }, { "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": 11636, "end": 11641, "loc": { "start": { "line": 296, "column": 8 }, "end": { "line": 296, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 11642, "end": 11657, "loc": { "start": { "line": 296, "column": 14 }, "end": { "line": 296, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11658, "end": 11659, "loc": { "start": { "line": 296, "column": 30 }, "end": { "line": 296, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11660, "end": 11666, "loc": { "start": { "line": 296, "column": 32 }, "end": { "line": 296, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11666, "end": 11667, "loc": { "start": { "line": 296, "column": 38 }, "end": { "line": 296, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 11667, "end": 11677, "loc": { "start": { "line": 296, "column": 39 }, "end": { "line": 296, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11677, "end": 11678, "loc": { "start": { "line": 296, "column": 49 }, "end": { "line": 296, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 11678, "end": 11693, "loc": { "start": { "line": 296, "column": 50 }, "end": { "line": 296, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11693, "end": 11694, "loc": { "start": { "line": 296, "column": 65 }, "end": { "line": 296, "column": 66 } } }, { "type": "CommentLine", "value": " Find the current receiver", "start": 11706, "end": 11734, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 36 } } }, { "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": 11744, "end": 11747, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cacheEntry", "start": 11748, "end": 11758, "loc": { "start": { "line": 299, "column": 12 }, "end": { "line": 299, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11759, "end": 11760, "loc": { "start": { "line": 299, "column": 23 }, "end": { "line": 299, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 11761, "end": 11776, "loc": { "start": { "line": 299, "column": 25 }, "end": { "line": 299, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11776, "end": 11777, "loc": { "start": { "line": 299, "column": 40 }, "end": { "line": 299, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedLinkedEntity", "start": 11777, "end": 11795, "loc": { "start": { "line": 299, "column": 41 }, "end": { "line": 299, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11795, "end": 11796, "loc": { "start": { "line": 299, "column": 59 }, "end": { "line": 299, "column": 60 } } }, { "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": 11806, "end": 11808, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11809, "end": 11810, "loc": { "start": { "line": 300, "column": 11 }, "end": { "line": 300, "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": 11810, "end": 11811, "loc": { "start": { "line": 300, "column": 12 }, "end": { "line": 300, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cacheEntry", "start": 11811, "end": 11821, "loc": { "start": { "line": 300, "column": 13 }, "end": { "line": 300, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11821, "end": 11822, "loc": { "start": { "line": 300, "column": 23 }, "end": { "line": 300, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11823, "end": 11824, "loc": { "start": { "line": 300, "column": 25 }, "end": { "line": 300, "column": 26 } } }, { "type": "CommentLine", "value": " Need to recompute cache", "start": 11838, "end": 11864, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cacheEntry", "start": 11878, "end": 11888, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11889, "end": 11890, "loc": { "start": { "line": 302, "column": 23 }, "end": { "line": 302, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 11891, "end": 11906, "loc": { "start": { "line": 302, "column": 25 }, "end": { "line": 302, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11906, "end": 11907, "loc": { "start": { "line": 302, "column": 40 }, "end": { "line": 302, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedLinkedEntity", "start": 11907, "end": 11925, "loc": { "start": { "line": 302, "column": 41 }, "end": { "line": 302, "column": 59 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11926, "end": 11927, "loc": { "start": { "line": 302, "column": 60 }, "end": { "line": 302, "column": 61 } } }, { "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": 11928, "end": 11932, "loc": { "start": { "line": 302, "column": 62 }, "end": { "line": 302, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11932, "end": 11933, "loc": { "start": { "line": 302, "column": 66 }, "end": { "line": 302, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findRecieverForSender", "start": 11933, "end": 11954, "loc": { "start": { "line": 302, "column": 67 }, "end": { "line": 302, "column": 88 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11954, "end": 11955, "loc": { "start": { "line": 302, "column": 88 }, "end": { "line": 302, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11955, "end": 11961, "loc": { "start": { "line": 302, "column": 89 }, "end": { "line": 302, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11961, "end": 11962, "loc": { "start": { "line": 302, "column": 95 }, "end": { "line": 302, "column": 96 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11962, "end": 11963, "loc": { "start": { "line": 302, "column": 96 }, "end": { "line": 302, "column": 97 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11973, "end": 11974, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 9 } } }, { "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": 11986, "end": 11988, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11989, "end": 11990, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "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": 11990, "end": 11991, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cacheEntry", "start": 11991, "end": 12001, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12001, "end": 12002, "loc": { "start": { "line": 305, "column": 23 }, "end": { "line": 305, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 12002, "end": 12008, "loc": { "start": { "line": 305, "column": 24 }, "end": { "line": 305, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12008, "end": 12009, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12010, "end": 12011, "loc": { "start": { "line": 305, "column": 32 }, "end": { "line": 305, "column": 33 } } }, { "type": "CommentLine", "value": " If there is no connection to a receiver, ignore this one", "start": 12025, "end": 12084, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "column": 71 } } }, { "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": 12098, "end": 12104, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12104, "end": 12105, "loc": { "start": { "line": 307, "column": 18 }, "end": { "line": 307, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12115, "end": 12116, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 9 } } }, { "type": "CommentLine", "value": " Check if we have any items to eject", "start": 12128, "end": 12166, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "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": 12176, "end": 12181, "loc": { "start": { "line": 311, "column": 8 }, "end": { "line": 311, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 12182, "end": 12201, "loc": { "start": { "line": 311, "column": 14 }, "end": { "line": 311, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12202, "end": 12203, "loc": { "start": { "line": 311, "column": 34 }, "end": { "line": 311, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 12204, "end": 12219, "loc": { "start": { "line": 311, "column": 36 }, "end": { "line": 311, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12219, "end": 12220, "loc": { "start": { "line": 311, "column": 51 }, "end": { "line": 311, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pendingItems", "start": 12220, "end": 12232, "loc": { "start": { "line": 311, "column": 52 }, "end": { "line": 311, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12232, "end": 12233, "loc": { "start": { "line": 311, "column": 64 }, "end": { "line": 311, "column": 65 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12233, "end": 12234, "loc": { "start": { "line": 311, "column": 65 }, "end": { "line": 311, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12234, "end": 12235, "loc": { "start": { "line": 311, "column": 66 }, "end": { "line": 311, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12235, "end": 12236, "loc": { "start": { "line": 311, "column": 67 }, "end": { "line": 311, "column": 68 } } }, { "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": 12246, "end": 12248, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12249, "end": 12250, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 12250, "end": 12269, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12269, "end": 12270, "loc": { "start": { "line": 312, "column": 31 }, "end": { "line": 312, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12271, "end": 12272, "loc": { "start": { "line": 312, "column": 33 }, "end": { "line": 312, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 12286, "end": 12292, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12292, "end": 12293, "loc": { "start": { "line": 313, "column": 18 }, "end": { "line": 313, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 12293, "end": 12308, "loc": { "start": { "line": 313, "column": 19 }, "end": { "line": 313, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12308, "end": 12309, "loc": { "start": { "line": 313, "column": 34 }, "end": { "line": 313, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pendingItems", "start": 12309, "end": 12321, "loc": { "start": { "line": 313, "column": 35 }, "end": { "line": 313, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12321, "end": 12322, "loc": { "start": { "line": 313, "column": 47 }, "end": { "line": 313, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12322, "end": 12328, "loc": { "start": { "line": 313, "column": 48 }, "end": { "line": 313, "column": 54 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12329, "end": 12332, "loc": { "start": { "line": 313, "column": 55 }, "end": { "line": 313, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 12333, "end": 12334, "loc": { "start": { "line": 313, "column": 59 }, "end": { "line": 313, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12334, "end": 12335, "loc": { "start": { "line": 313, "column": 60 }, "end": { "line": 313, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "more than 1 pending", "start": 12336, "end": 12357, "loc": { "start": { "line": 313, "column": 62 }, "end": { "line": 313, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12357, "end": 12358, "loc": { "start": { "line": 313, "column": 83 }, "end": { "line": 313, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12358, "end": 12359, "loc": { "start": { "line": 313, "column": 84 }, "end": { "line": 313, "column": 85 } } }, { "type": "CommentLine", "value": " Check if the receiver can accept it", "start": 12375, "end": 12413, "loc": { "start": { "line": 315, "column": 12 }, "end": { "line": 315, "column": 50 } } }, { "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": 12427, "end": 12429, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12430, "end": 12431, "loc": { "start": { "line": 316, "column": 15 }, "end": { "line": 316, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cacheEntry", "start": 12449, "end": 12459, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12459, "end": 12460, "loc": { "start": { "line": 317, "column": 26 }, "end": { "line": 317, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 12460, "end": 12466, "loc": { "start": { "line": 317, "column": 27 }, "end": { "line": 317, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12466, "end": 12467, "loc": { "start": { "line": 317, "column": 33 }, "end": { "line": 317, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 12467, "end": 12477, "loc": { "start": { "line": 317, "column": 34 }, "end": { "line": 317, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12477, "end": 12478, "loc": { "start": { "line": 317, "column": 44 }, "end": { "line": 317, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 12478, "end": 12493, "loc": { "start": { "line": 317, "column": 45 }, "end": { "line": 317, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12493, "end": 12494, "loc": { "start": { "line": 317, "column": 60 }, "end": { "line": 317, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryAcceptTunneledItem", "start": 12494, "end": 12515, "loc": { "start": { "line": 317, "column": 61 }, "end": { "line": 317, "column": 82 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12515, "end": 12516, "loc": { "start": { "line": 317, "column": 82 }, "end": { "line": 317, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 12538, "end": 12557, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12557, "end": 12558, "loc": { "start": { "line": 318, "column": 39 }, "end": { "line": 318, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12558, "end": 12559, "loc": { "start": { "line": 318, "column": 40 }, "end": { "line": 318, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12559, "end": 12560, "loc": { "start": { "line": 318, "column": 41 }, "end": { "line": 318, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12560, "end": 12561, "loc": { "start": { "line": 318, "column": 42 }, "end": { "line": 318, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cacheEntry", "start": 12583, "end": 12593, "loc": { "start": { "line": 319, "column": 20 }, "end": { "line": 319, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12593, "end": 12594, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distance", "start": 12594, "end": 12602, "loc": { "start": { "line": 319, "column": 31 }, "end": { "line": 319, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12602, "end": 12603, "loc": { "start": { "line": 319, "column": 39 }, "end": { "line": 319, "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": 12625, "end": 12629, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12629, "end": 12630, "loc": { "start": { "line": 320, "column": 24 }, "end": { "line": 320, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12630, "end": 12634, "loc": { "start": { "line": 320, "column": 25 }, "end": { "line": 320, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12634, "end": 12635, "loc": { "start": { "line": 320, "column": 29 }, "end": { "line": 320, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 12635, "end": 12643, "loc": { "start": { "line": 320, "column": 30 }, "end": { "line": 320, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12643, "end": 12644, "loc": { "start": { "line": 320, "column": 38 }, "end": { "line": 320, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUndergroundBeltBaseSpeed", "start": 12644, "end": 12671, "loc": { "start": { "line": 320, "column": 39 }, "end": { "line": 320, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12671, "end": 12672, "loc": { "start": { "line": 320, "column": 66 }, "end": { "line": 320, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12672, "end": 12673, "loc": { "start": { "line": 320, "column": 67 }, "end": { "line": 320, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12673, "end": 12674, "loc": { "start": { "line": 320, "column": 68 }, "end": { "line": 320, "column": 69 } } }, { "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": 12696, "end": 12700, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12700, "end": 12701, "loc": { "start": { "line": 321, "column": 24 }, "end": { "line": 321, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12701, "end": 12705, "loc": { "start": { "line": 321, "column": 25 }, "end": { "line": 321, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12705, "end": 12706, "loc": { "start": { "line": 321, "column": 29 }, "end": { "line": 321, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 12706, "end": 12710, "loc": { "start": { "line": 321, "column": 30 }, "end": { "line": 321, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12710, "end": 12711, "loc": { "start": { "line": 321, "column": 34 }, "end": { "line": 321, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 12711, "end": 12714, "loc": { "start": { "line": 321, "column": 35 }, "end": { "line": 321, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12714, "end": 12715, "loc": { "start": { "line": 321, "column": 38 }, "end": { "line": 321, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12715, "end": 12716, "loc": { "start": { "line": 321, "column": 39 }, "end": { "line": 321, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12734, "end": 12735, "loc": { "start": { "line": 322, "column": 16 }, "end": { "line": 322, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12749, "end": 12750, "loc": { "start": { "line": 323, "column": 12 }, "end": { "line": 323, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12751, "end": 12752, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 323, "column": 15 } } }, { "type": "CommentLine", "value": " Drop this item", "start": 12770, "end": 12787, "loc": { "start": { "line": 324, "column": 16 }, "end": { "line": 324, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDelete", "start": 12805, "end": 12820, "loc": { "start": { "line": 325, "column": 16 }, "end": { "line": 325, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12820, "end": 12821, "loc": { "start": { "line": 325, "column": 31 }, "end": { "line": 325, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 12821, "end": 12836, "loc": { "start": { "line": 325, "column": 32 }, "end": { "line": 325, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12836, "end": 12837, "loc": { "start": { "line": 325, "column": 47 }, "end": { "line": 325, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pendingItems", "start": 12837, "end": 12849, "loc": { "start": { "line": 325, "column": 48 }, "end": { "line": 325, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12849, "end": 12850, "loc": { "start": { "line": 325, "column": 60 }, "end": { "line": 325, "column": 61 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12851, "end": 12852, "loc": { "start": { "line": 325, "column": 62 }, "end": { "line": 325, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12852, "end": 12853, "loc": { "start": { "line": 325, "column": 63 }, "end": { "line": 325, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12853, "end": 12854, "loc": { "start": { "line": 325, "column": 64 }, "end": { "line": 325, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12868, "end": 12869, "loc": { "start": { "line": 326, "column": 12 }, "end": { "line": 326, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12879, "end": 12880, "loc": { "start": { "line": 327, "column": 8 }, "end": { "line": 327, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12886, "end": 12887, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Entity} entity\r\n ", "start": 12895, "end": 12946, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 333, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleReceiver", "start": 12952, "end": 12966, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 334, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12966, "end": 12967, "loc": { "start": { "line": 334, "column": 18 }, "end": { "line": 334, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 12967, "end": 12973, "loc": { "start": { "line": 334, "column": 19 }, "end": { "line": 334, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12973, "end": 12974, "loc": { "start": { "line": 334, "column": 25 }, "end": { "line": 334, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12975, "end": 12976, "loc": { "start": { "line": 334, "column": 27 }, "end": { "line": 334, "column": 28 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 12986, "end": 12991, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 12992, "end": 13007, "loc": { "start": { "line": 335, "column": 14 }, "end": { "line": 335, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13008, "end": 13009, "loc": { "start": { "line": 335, "column": 30 }, "end": { "line": 335, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 13010, "end": 13016, "loc": { "start": { "line": 335, "column": 32 }, "end": { "line": 335, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13016, "end": 13017, "loc": { "start": { "line": 335, "column": 38 }, "end": { "line": 335, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 13017, "end": 13027, "loc": { "start": { "line": 335, "column": 39 }, "end": { "line": 335, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13027, "end": 13028, "loc": { "start": { "line": 335, "column": 49 }, "end": { "line": 335, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "UndergroundBelt", "start": 13028, "end": 13043, "loc": { "start": { "line": 335, "column": 50 }, "end": { "line": 335, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13043, "end": 13044, "loc": { "start": { "line": 335, "column": 65 }, "end": { "line": 335, "column": 66 } } }, { "type": "CommentLine", "value": " Try to eject items, we only check the first one because it is sorted by remaining time", "start": 13056, "end": 13145, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "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": 13155, "end": 13160, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 13161, "end": 13180, "loc": { "start": { "line": 338, "column": 14 }, "end": { "line": 338, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13181, "end": 13182, "loc": { "start": { "line": 338, "column": 34 }, "end": { "line": 338, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 13183, "end": 13198, "loc": { "start": { "line": 338, "column": 36 }, "end": { "line": 338, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13198, "end": 13199, "loc": { "start": { "line": 338, "column": 51 }, "end": { "line": 338, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pendingItems", "start": 13199, "end": 13211, "loc": { "start": { "line": 338, "column": 52 }, "end": { "line": 338, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13211, "end": 13212, "loc": { "start": { "line": 338, "column": 64 }, "end": { "line": 338, "column": 65 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13212, "end": 13213, "loc": { "start": { "line": 338, "column": 65 }, "end": { "line": 338, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13213, "end": 13214, "loc": { "start": { "line": 338, "column": 66 }, "end": { "line": 338, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13214, "end": 13215, "loc": { "start": { "line": 338, "column": 67 }, "end": { "line": 338, "column": 68 } } }, { "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": 13225, "end": 13227, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13228, "end": 13229, "loc": { "start": { "line": 339, "column": 11 }, "end": { "line": 339, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 13229, "end": 13248, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13248, "end": 13249, "loc": { "start": { "line": 339, "column": 31 }, "end": { "line": 339, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13250, "end": 13251, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "column": 34 } } }, { "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": 13265, "end": 13267, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13268, "end": 13269, "loc": { "start": { "line": 340, "column": 15 }, "end": { "line": 340, "column": 16 } } }, { "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": 13269, "end": 13273, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13273, "end": 13274, "loc": { "start": { "line": 340, "column": 20 }, "end": { "line": 340, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13274, "end": 13278, "loc": { "start": { "line": 340, "column": 21 }, "end": { "line": 340, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13278, "end": 13279, "loc": { "start": { "line": 340, "column": 25 }, "end": { "line": 340, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13279, "end": 13283, "loc": { "start": { "line": 340, "column": 26 }, "end": { "line": 340, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13283, "end": 13284, "loc": { "start": { "line": 340, "column": 30 }, "end": { "line": 340, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 13284, "end": 13287, "loc": { "start": { "line": 340, "column": 31 }, "end": { "line": 340, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13287, "end": 13288, "loc": { "start": { "line": 340, "column": 34 }, "end": { "line": 340, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13288, "end": 13289, "loc": { "start": { "line": 340, "column": 35 }, "end": { "line": 340, "column": 36 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 13290, "end": 13291, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 13292, "end": 13311, "loc": { "start": { "line": 340, "column": 39 }, "end": { "line": 340, "column": 58 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13311, "end": 13312, "loc": { "start": { "line": 340, "column": 58 }, "end": { "line": 340, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13312, "end": 13313, "loc": { "start": { "line": 340, "column": 59 }, "end": { "line": 340, "column": 60 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13313, "end": 13314, "loc": { "start": { "line": 340, "column": 60 }, "end": { "line": 340, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13314, "end": 13315, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13316, "end": 13317, "loc": { "start": { "line": 340, "column": 63 }, "end": { "line": 340, "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": 13335, "end": 13340, "loc": { "start": { "line": 341, "column": 16 }, "end": { "line": 341, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 13341, "end": 13352, "loc": { "start": { "line": 341, "column": 22 }, "end": { "line": 341, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13353, "end": 13354, "loc": { "start": { "line": 341, "column": 34 }, "end": { "line": 341, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 13355, "end": 13361, "loc": { "start": { "line": 341, "column": 36 }, "end": { "line": 341, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13361, "end": 13362, "loc": { "start": { "line": 341, "column": 42 }, "end": { "line": 341, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 13362, "end": 13372, "loc": { "start": { "line": 341, "column": 43 }, "end": { "line": 341, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13372, "end": 13373, "loc": { "start": { "line": 341, "column": 53 }, "end": { "line": 341, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemEjector", "start": 13373, "end": 13384, "loc": { "start": { "line": 341, "column": 54 }, "end": { "line": 341, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13384, "end": 13385, "loc": { "start": { "line": 341, "column": 65 }, "end": { "line": 341, "column": 66 } } }, { "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": 13405, "end": 13410, "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": "nextSlotIndex", "start": 13411, "end": 13424, "loc": { "start": { "line": 343, "column": 22 }, "end": { "line": 343, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13425, "end": 13426, "loc": { "start": { "line": 343, "column": 36 }, "end": { "line": 343, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 13427, "end": 13438, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13438, "end": 13439, "loc": { "start": { "line": 343, "column": 49 }, "end": { "line": 343, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getFirstFreeSlot", "start": 13439, "end": 13455, "loc": { "start": { "line": 343, "column": 50 }, "end": { "line": 343, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13455, "end": 13456, "loc": { "start": { "line": 343, "column": 66 }, "end": { "line": 343, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13456, "end": 13457, "loc": { "start": { "line": 343, "column": 67 }, "end": { "line": 343, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13457, "end": 13458, "loc": { "start": { "line": 343, "column": 68 }, "end": { "line": 343, "column": 69 } } }, { "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": 13476, "end": 13478, "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": 13479, "end": 13480, "loc": { "start": { "line": 344, "column": 19 }, "end": { "line": 344, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSlotIndex", "start": 13480, "end": 13493, "loc": { "start": { "line": 344, "column": 20 }, "end": { "line": 344, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 13494, "end": 13497, "loc": { "start": { "line": 344, "column": 34 }, "end": { "line": 344, "column": 37 } } }, { "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": 13498, "end": 13502, "loc": { "start": { "line": 344, "column": 38 }, "end": { "line": 344, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13502, "end": 13503, "loc": { "start": { "line": 344, "column": 42 }, "end": { "line": 344, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13504, "end": 13505, "loc": { "start": { "line": 344, "column": 44 }, "end": { "line": 344, "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": 13527, "end": 13529, "loc": { "start": { "line": 345, "column": 20 }, "end": { "line": 345, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13530, "end": 13531, "loc": { "start": { "line": 345, "column": 23 }, "end": { "line": 345, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 13531, "end": 13542, "loc": { "start": { "line": 345, "column": 24 }, "end": { "line": 345, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13542, "end": 13543, "loc": { "start": { "line": 345, "column": 35 }, "end": { "line": 345, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryEject", "start": 13543, "end": 13551, "loc": { "start": { "line": 345, "column": 36 }, "end": { "line": 345, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13551, "end": 13552, "loc": { "start": { "line": 345, "column": 44 }, "end": { "line": 345, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSlotIndex", "start": 13552, "end": 13565, "loc": { "start": { "line": 345, "column": 45 }, "end": { "line": 345, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13565, "end": 13566, "loc": { "start": { "line": 345, "column": 58 }, "end": { "line": 345, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextItemAndDuration", "start": 13567, "end": 13586, "loc": { "start": { "line": 345, "column": 60 }, "end": { "line": 345, "column": 79 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13586, "end": 13587, "loc": { "start": { "line": 345, "column": 79 }, "end": { "line": 345, "column": 80 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13587, "end": 13588, "loc": { "start": { "line": 345, "column": 80 }, "end": { "line": 345, "column": 81 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13588, "end": 13589, "loc": { "start": { "line": 345, "column": 81 }, "end": { "line": 345, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13589, "end": 13590, "loc": { "start": { "line": 345, "column": 82 }, "end": { "line": 345, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13590, "end": 13591, "loc": { "start": { "line": 345, "column": 83 }, "end": { "line": 345, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13592, "end": 13593, "loc": { "start": { "line": 345, "column": 85 }, "end": { "line": 345, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undergroundComp", "start": 13619, "end": 13634, "loc": { "start": { "line": 346, "column": 24 }, "end": { "line": 346, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13634, "end": 13635, "loc": { "start": { "line": 346, "column": 39 }, "end": { "line": 346, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pendingItems", "start": 13635, "end": 13647, "loc": { "start": { "line": 346, "column": 40 }, "end": { "line": 346, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13647, "end": 13648, "loc": { "start": { "line": 346, "column": 52 }, "end": { "line": 346, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shift", "start": 13648, "end": 13653, "loc": { "start": { "line": 346, "column": 53 }, "end": { "line": 346, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13653, "end": 13654, "loc": { "start": { "line": 346, "column": 58 }, "end": { "line": 346, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13654, "end": 13655, "loc": { "start": { "line": 346, "column": 59 }, "end": { "line": 346, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13655, "end": 13656, "loc": { "start": { "line": 346, "column": 60 }, "end": { "line": 346, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13678, "end": 13679, "loc": { "start": { "line": 347, "column": 20 }, "end": { "line": 347, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13697, "end": 13698, "loc": { "start": { "line": 348, "column": 16 }, "end": { "line": 348, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13712, "end": 13713, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13723, "end": 13724, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13730, "end": 13731, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13733, "end": 13734, "loc": { "start": { "line": 352, "column": 0 }, "end": { "line": 352, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13734, "end": 13734, "loc": { "start": { "line": 352, "column": 1 }, "end": { "line": 352, "column": 1 } } } ] }