{ "type": "File", "start": 0, "end": 52447, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1426, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 52447, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1426, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 46, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } }, "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": 45, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 45 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" } }, { "type": "ImportDeclaration", "start": 48, "end": 105, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } }, "imported": { "type": "Identifier", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" }, "local": { "type": "Identifier", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" } } ], "source": { "type": "StringLiteral", "start": 79, "end": 104, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 56 } }, "extra": { "rawValue": "../core/draw_parameters", "raw": "\"../core/draw_parameters\"" }, "value": "../core/draw_parameters" } }, { "type": "ImportDeclaration", "start": 107, "end": 154, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 116, "end": 128, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } }, "imported": { "type": "Identifier", "start": 116, "end": 128, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 116, "end": 128, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 136, "end": 153, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 46 } }, "extra": { "rawValue": "../core/logging", "raw": "\"../core/logging\"" }, "value": "../core/logging" } }, { "type": "ImportDeclaration", "start": 156, "end": 202, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 165, "end": 174, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 } }, "imported": { "type": "Identifier", "start": 165, "end": 174, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "local": { "type": "Identifier", "start": 165, "end": 174, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" } } ], "source": { "type": "StringLiteral", "start": 182, "end": 201, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 45 } }, "extra": { "rawValue": "../core/rectangle", "raw": "\"../core/rectangle\"" }, "value": "../core/rectangle" } }, { "type": "ImportDeclaration", "start": 204, "end": 272, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 68 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 213, "end": 218, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } }, "imported": { "type": "Identifier", "start": 213, "end": 218, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 }, "identifierName": "clamp" }, "name": "clamp" }, "local": { "type": "Identifier", "start": 213, "end": 218, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 }, "identifierName": "clamp" }, "name": "clamp" } }, { "type": "ImportSpecifier", "start": 220, "end": 234, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 30 } }, "imported": { "type": "Identifier", "start": 220, "end": 234, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 30 }, "identifierName": "epsilonCompare" }, "name": "epsilonCompare" }, "local": { "type": "Identifier", "start": 220, "end": 234, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 30 }, "identifierName": "epsilonCompare" }, "name": "epsilonCompare" } }, { "type": "ImportSpecifier", "start": 236, "end": 248, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 44 } }, "imported": { "type": "Identifier", "start": 236, "end": 248, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 44 }, "identifierName": "round4Digits" }, "name": "round4Digits" }, "local": { "type": "Identifier", "start": 236, "end": 248, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 44 }, "identifierName": "round4Digits" }, "name": "round4Digits" } } ], "source": { "type": "StringLiteral", "start": 256, "end": 271, "loc": { "start": { "line": 5, "column": 52 }, "end": { "line": 5, "column": 67 } }, "extra": { "rawValue": "../core/utils", "raw": "\"../core/utils\"" }, "value": "../core/utils" } }, { "type": "ImportDeclaration", "start": 274, "end": 376, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 102 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 283, "end": 296, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 } }, "imported": { "type": "Identifier", "start": 283, "end": 296, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 }, "identifierName": "enumDirection" }, "name": "enumDirection" }, "local": { "type": "Identifier", "start": 283, "end": 296, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 }, "identifierName": "enumDirection" }, "name": "enumDirection" } }, { "type": "ImportSpecifier", "start": 298, "end": 319, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 45 } }, "imported": { "type": "Identifier", "start": 298, "end": 319, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 45 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" }, "local": { "type": "Identifier", "start": 298, "end": 319, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 45 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" } }, { "type": "ImportSpecifier", "start": 321, "end": 343, "loc": { "start": { "line": 6, "column": 47 }, "end": { "line": 6, "column": 69 } }, "imported": { "type": "Identifier", "start": 321, "end": 343, "loc": { "start": { "line": 6, "column": 47 }, "end": { "line": 6, "column": 69 }, "identifierName": "enumInvertedDirections" }, "name": "enumInvertedDirections" }, "local": { "type": "Identifier", "start": 321, "end": 343, "loc": { "start": { "line": 6, "column": 47 }, "end": { "line": 6, "column": 69 }, "identifierName": "enumInvertedDirections" }, "name": "enumInvertedDirections" } }, { "type": "ImportSpecifier", "start": 345, "end": 351, "loc": { "start": { "line": 6, "column": 71 }, "end": { "line": 6, "column": 77 } }, "imported": { "type": "Identifier", "start": 345, "end": 351, "loc": { "start": { "line": 6, "column": 71 }, "end": { "line": 6, "column": 77 }, "identifierName": "Vector" }, "name": "Vector" }, "local": { "type": "Identifier", "start": 345, "end": 351, "loc": { "start": { "line": 6, "column": 71 }, "end": { "line": 6, "column": 77 }, "identifierName": "Vector" }, "name": "Vector" } } ], "source": { "type": "StringLiteral", "start": 359, "end": 375, "loc": { "start": { "line": 6, "column": 85 }, "end": { "line": 6, "column": 101 } }, "extra": { "rawValue": "../core/vector", "raw": "\"../core/vector\"" }, "value": "../core/vector" } }, { "type": "ImportDeclaration", "start": 378, "end": 453, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 75 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 387, "end": 410, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 } }, "imported": { "type": "Identifier", "start": 387, "end": 410, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 }, "identifierName": "BasicSerializableObject" }, "name": "BasicSerializableObject" }, "local": { "type": "Identifier", "start": 387, "end": 410, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 }, "identifierName": "BasicSerializableObject" }, "name": "BasicSerializableObject" } }, { "type": "ImportSpecifier", "start": 412, "end": 417, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 39 } }, "imported": { "type": "Identifier", "start": 412, "end": 417, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 39 }, "identifierName": "types" }, "name": "types" }, "local": { "type": "Identifier", "start": 412, "end": 417, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 39 }, "identifierName": "types" }, "name": "types" } } ], "source": { "type": "StringLiteral", "start": 425, "end": 452, "loc": { "start": { "line": 7, "column": 47 }, "end": { "line": 7, "column": 74 } }, "extra": { "rawValue": "../savegame/serialization", "raw": "\"../savegame/serialization\"" }, "value": "../savegame/serialization" } }, { "type": "ImportDeclaration", "start": 455, "end": 494, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 39 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 464, "end": 472, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 17 } }, "imported": { "type": "Identifier", "start": 464, "end": 472, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "local": { "type": "Identifier", "start": 464, "end": 472, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" } } ], "source": { "type": "StringLiteral", "start": 480, "end": 493, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 38 } }, "extra": { "rawValue": "./base_item", "raw": "\"./base_item\"" }, "value": "./base_item" } }, { "type": "ImportDeclaration", "start": 496, "end": 530, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 505, "end": 511, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 } }, "imported": { "type": "Identifier", "start": 505, "end": 511, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" }, "local": { "type": "Identifier", "start": 505, "end": 511, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" } } ], "source": { "type": "StringLiteral", "start": 519, "end": 529, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 33 } }, "extra": { "rawValue": "./entity", "raw": "\"./entity\"" }, "value": "./entity" } }, { "type": "ImportDeclaration", "start": 532, "end": 584, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 541, "end": 558, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 26 } }, "imported": { "type": "Identifier", "start": 541, "end": 558, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 26 }, "identifierName": "typeItemSingleton" }, "name": "typeItemSingleton" }, "local": { "type": "Identifier", "start": 541, "end": 558, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 26 }, "identifierName": "typeItemSingleton" }, "name": "typeItemSingleton" } } ], "source": { "type": "StringLiteral", "start": 566, "end": 583, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 51 } }, "extra": { "rawValue": "./item_resolver", "raw": "\"./item_resolver\"" }, "value": "./item_resolver" } }, { "type": "ImportDeclaration", "start": 586, "end": 620, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 595, "end": 603, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 17 } }, "imported": { "type": "Identifier", "start": 595, "end": 603, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" }, "local": { "type": "Identifier", "start": 595, "end": 603, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" } } ], "source": { "type": "StringLiteral", "start": 611, "end": 619, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 33 } }, "extra": { "rawValue": "./root", "raw": "\"./root\"" }, "value": "./root" } }, { "type": "VariableDeclaration", "start": 624, "end": 665, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 630, "end": 664, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 40 } }, "id": { "type": "Identifier", "start": 630, "end": 636, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 639, "end": 664, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 40 } }, "callee": { "type": "Identifier", "start": 639, "end": 651, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 652, "end": 663, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 39 } }, "extra": { "rawValue": "belt_path", "raw": "\"belt_path\"" }, "value": "belt_path" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Helpers for more semantic access into interleaved arrays", "start": 669, "end": 728, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 59 } } } ] }, { "type": "VariableDeclaration", "start": 730, "end": 754, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 736, "end": 753, "loc": { "start": { "line": 16, "column": 6 }, "end": { "line": 16, "column": 23 } }, "id": { "type": "Identifier", "start": 736, "end": 749, "loc": { "start": { "line": 16, "column": 6 }, "end": { "line": 16, "column": 19 }, "identifierName": "_nextDistance" }, "name": "_nextDistance", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 752, "end": 753, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Helpers for more semantic access into interleaved arrays", "start": 669, "end": 728, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 59 } } } ] }, { "type": "VariableDeclaration", "start": 756, "end": 772, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 762, "end": 771, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 15 } }, "id": { "type": "Identifier", "start": 762, "end": 767, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 11 }, "identifierName": "_item" }, "name": "_item" }, "init": { "type": "NumericLiteral", "start": 770, "end": 771, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 15 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 776, "end": 808, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 782, "end": 807, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 31 } }, "id": { "type": "Identifier", "start": 782, "end": 787, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 11 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "init": { "type": "LogicalExpression", "start": 790, "end": 807, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 31 } }, "left": { "type": "Identifier", "start": 790, "end": 798, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 22 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "BooleanLiteral", "start": 802, "end": 807, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 31 } }, "value": false } } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores a path of belts, used for optimizing performance\r\n ", "start": 812, "end": 880, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 882, "end": 52445, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 1425, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 889, "end": 52445, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 1425, "column": 1 } }, "id": { "type": "Identifier", "start": 895, "end": 903, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 21 }, "identifierName": "BeltPath" }, "name": "BeltPath", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 912, "end": 935, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 53 }, "identifierName": "BasicSerializableObject" }, "name": "BasicSerializableObject" }, "body": { "type": "ClassBody", "start": 936, "end": 52445, "loc": { "start": { "line": 24, "column": 54 }, "end": { "line": 1425, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 943, "end": 994, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 27, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 950, "end": 955, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 958, "end": 994, "loc": { "start": { "line": 25, "column": 19 }, "end": { "line": 27, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 969, "end": 987, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 26 } }, "argument": { "type": "StringLiteral", "start": 976, "end": 986, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 25 } }, "extra": { "rawValue": "BeltPath", "raw": "\"BeltPath\"" }, "value": "BeltPath" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1002, "end": 1236, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 35, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 1009, "end": 1018, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 20 }, "identifierName": "getSchema" }, "name": "getSchema" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1021, "end": 1236, "loc": { "start": { "line": 29, "column": 23 }, "end": { "line": 35, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1032, "end": 1229, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 34, "column": 10 } }, "argument": { "type": "ObjectExpression", "start": 1039, "end": 1228, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 34, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 1054, "end": 1091, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 49 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1054, "end": 1064, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 22 }, "identifierName": "entityPath" }, "name": "entityPath" }, "value": { "type": "CallExpression", "start": 1066, "end": 1091, "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 31, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 1066, "end": 1077, "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 31, "column": 35 } }, "object": { "type": "Identifier", "start": 1066, "end": 1071, "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 31, "column": 29 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 1072, "end": 1077, "loc": { "start": { "line": 31, "column": 30 }, "end": { "line": 31, "column": 35 }, "identifierName": "array" }, "name": "array" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1078, "end": 1090, "loc": { "start": { "line": 31, "column": 36 }, "end": { "line": 31, "column": 48 } }, "object": { "type": "Identifier", "start": 1078, "end": 1083, "loc": { "start": { "line": 31, "column": 36 }, "end": { "line": 31, "column": 41 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 1084, "end": 1090, "loc": { "start": { "line": 31, "column": 42 }, "end": { "line": 31, "column": 48 }, "identifierName": "entity" }, "name": "entity" }, "computed": false } ] } }, { "type": "ObjectProperty", "start": 1106, "end": 1169, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 75 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1106, "end": 1111, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 17 }, "identifierName": "items" }, "name": "items" }, "value": { "type": "CallExpression", "start": 1113, "end": 1169, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 1113, "end": 1124, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 30 } }, "object": { "type": "Identifier", "start": 1113, "end": 1118, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 24 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 1119, "end": 1124, "loc": { "start": { "line": 32, "column": 25 }, "end": { "line": 32, "column": 30 }, "identifierName": "array" }, "name": "array" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 1125, "end": 1168, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 1125, "end": 1135, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 41 } }, "object": { "type": "Identifier", "start": 1125, "end": 1130, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 36 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 1131, "end": 1135, "loc": { "start": { "line": 32, "column": 37 }, "end": { "line": 32, "column": 41 }, "identifierName": "pair" }, "name": "pair" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1136, "end": 1148, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 54 } }, "object": { "type": "Identifier", "start": 1136, "end": 1141, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 47 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 1142, "end": 1148, "loc": { "start": { "line": 32, "column": 48 }, "end": { "line": 32, "column": 54 }, "identifierName": "ufloat" }, "name": "ufloat" }, "computed": false }, { "type": "Identifier", "start": 1150, "end": 1167, "loc": { "start": { "line": 32, "column": 56 }, "end": { "line": 32, "column": 73 }, "identifierName": "typeItemSingleton" }, "name": "typeItemSingleton" } ] } ] } }, { "type": "ObjectProperty", "start": 1184, "end": 1216, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 44 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1184, "end": 1202, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 30 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "value": { "type": "MemberExpression", "start": 1204, "end": 1216, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 44 } }, "object": { "type": "Identifier", "start": 1204, "end": 1209, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 37 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 1210, "end": 1216, "loc": { "start": { "line": 33, "column": 38 }, "end": { "line": 33, "column": 44 }, "identifierName": "ufloat" }, "name": "ufloat" }, "computed": false } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a path from a serialized object\r\n * @param {GameRoot} root\r\n * @param {Object} data\r\n * @returns {BeltPath|string}\r\n ", "start": 1244, "end": 1399, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 42, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1405, "end": 1950, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 58, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 1412, "end": 1426, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 25 }, "identifierName": "fromSerialized" }, "name": "fromSerialized" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1427, "end": 1431, "loc": { "start": { "line": 43, "column": 26 }, "end": { "line": 43, "column": 30 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 1433, "end": 1437, "loc": { "start": { "line": 43, "column": 32 }, "end": { "line": 43, "column": 36 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 1439, "end": 1950, "loc": { "start": { "line": 43, "column": 38 }, "end": { "line": 58, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 1536, "end": 1615, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1542, "end": 1614, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 86 } }, "id": { "type": "Identifier", "start": 1542, "end": 1552, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 24 }, "identifierName": "fakeObject" }, "name": "fakeObject", "leadingComments": null }, "init": { "type": "CallExpression", "start": 1580, "end": 1613, "loc": { "start": { "line": 45, "column": 52 }, "end": { "line": 45, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 1580, "end": 1593, "loc": { "start": { "line": 45, "column": 52 }, "end": { "line": 45, "column": 65 } }, "object": { "type": "Identifier", "start": 1580, "end": 1586, "loc": { "start": { "line": 45, "column": 52 }, "end": { "line": 45, "column": 58 }, "identifierName": "Object" }, "name": "Object", "leadingComments": null }, "property": { "type": "Identifier", "start": 1587, "end": 1593, "loc": { "start": { "line": 45, "column": 59 }, "end": { "line": 45, "column": 65 }, "identifierName": "create" }, "name": "create" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 1594, "end": 1612, "loc": { "start": { "line": 45, "column": 66 }, "end": { "line": 45, "column": 84 } }, "object": { "type": "Identifier", "start": 1594, "end": 1602, "loc": { "start": { "line": 45, "column": 66 }, "end": { "line": 45, "column": 74 }, "identifierName": "BeltPath" }, "name": "BeltPath" }, "property": { "type": "Identifier", "start": 1603, "end": 1612, "loc": { "start": { "line": 45, "column": 75 }, "end": { "line": 45, "column": 84 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false } ], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {BeltPath} ", "start": 1555, "end": 1578, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 1579 } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Create fake object which looks like a belt path but skips the constructor", "start": 1450, "end": 1526, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 84 } } } ] }, { "type": "ExpressionStatement", "start": 1625, "end": 1648, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 1625, "end": 1647, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1625, "end": 1640, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 23 } }, "object": { "type": "Identifier", "start": 1625, "end": 1635, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 18 }, "identifierName": "fakeObject" }, "name": "fakeObject" }, "property": { "type": "Identifier", "start": 1636, "end": 1640, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 23 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "right": { "type": "Identifier", "start": 1643, "end": 1647, "loc": { "start": { "line": 46, "column": 26 }, "end": { "line": 46, "column": 30 }, "identifierName": "root" }, "name": "root" } }, "trailingComments": [ { "type": "CommentLine", "value": " Deserialize the data", "start": 1660, "end": 1683, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 31 } } } ] }, { "type": "VariableDeclaration", "start": 1693, "end": 1751, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1699, "end": 1750, "loc": { "start": { "line": 49, "column": 14 }, "end": { "line": 49, "column": 65 } }, "id": { "type": "Identifier", "start": 1699, "end": 1719, "loc": { "start": { "line": 49, "column": 14 }, "end": { "line": 49, "column": 34 }, "identifierName": "errorCodeDeserialize" }, "name": "errorCodeDeserialize", "leadingComments": null }, "init": { "type": "CallExpression", "start": 1722, "end": 1750, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 1722, "end": 1744, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 59 } }, "object": { "type": "Identifier", "start": 1722, "end": 1732, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 47 }, "identifierName": "fakeObject" }, "name": "fakeObject" }, "property": { "type": "Identifier", "start": 1733, "end": 1744, "loc": { "start": { "line": 49, "column": 48 }, "end": { "line": 49, "column": 59 }, "identifierName": "deserialize" }, "name": "deserialize" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1745, "end": 1749, "loc": { "start": { "line": 49, "column": 60 }, "end": { "line": 49, "column": 64 }, "identifierName": "data" }, "name": "data" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Deserialize the data", "start": 1660, "end": 1683, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 31 } } } ] }, { "type": "IfStatement", "start": 1761, "end": 1841, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 52, "column": 9 } }, "test": { "type": "Identifier", "start": 1765, "end": 1785, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 32 }, "identifierName": "errorCodeDeserialize" }, "name": "errorCodeDeserialize" }, "consequent": { "type": "BlockStatement", "start": 1787, "end": 1841, "loc": { "start": { "line": 50, "column": 34 }, "end": { "line": 52, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1802, "end": 1830, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 40 } }, "argument": { "type": "Identifier", "start": 1809, "end": 1829, "loc": { "start": { "line": 51, "column": 19 }, "end": { "line": 51, "column": 39 }, "identifierName": "errorCodeDeserialize" }, "name": "errorCodeDeserialize" } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Compute other properties", "start": 1853, "end": 1880, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 35 } } } ] }, { "type": "ExpressionStatement", "start": 1890, "end": 1913, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 31 } }, "expression": { "type": "CallExpression", "start": 1890, "end": 1912, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 1890, "end": 1905, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 23 } }, "object": { "type": "Identifier", "start": 1890, "end": 1900, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 18 }, "identifierName": "fakeObject" }, "name": "fakeObject", "leadingComments": null }, "property": { "type": "Identifier", "start": 1901, "end": 1905, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 23 }, "identifierName": "init" }, "name": "init" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "BooleanLiteral", "start": 1906, "end": 1911, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 55, "column": 29 } }, "value": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Compute other properties", "start": 1853, "end": 1880, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 35 } } } ] }, { "type": "ReturnStatement", "start": 1925, "end": 1943, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 26 } }, "argument": { "type": "Identifier", "start": 1932, "end": 1942, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 25 }, "identifierName": "fakeObject" }, "name": "fakeObject" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a path from a serialized object\r\n * @param {GameRoot} root\r\n * @param {Object} data\r\n * @returns {BeltPath|string}\r\n ", "start": 1244, "end": 1399, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 42, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n * @param {Array} entityPath\r\n ", "start": 1958, "end": 2043, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 63, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2049, "end": 2698, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 87, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2049, "end": 2060, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2061, "end": 2065, "loc": { "start": { "line": 64, "column": 16 }, "end": { "line": 64, "column": 20 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 2067, "end": 2077, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 32 }, "identifierName": "entityPath" }, "name": "entityPath" } ], "body": { "type": "BlockStatement", "start": 2079, "end": 2698, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 87, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2090, "end": 2098, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 16 } }, "expression": { "type": "CallExpression", "start": 2090, "end": 2097, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 15 } }, "callee": { "type": "Super", "start": 2090, "end": 2095, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 13 } } }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 2108, "end": 2125, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 2108, "end": 2124, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2108, "end": 2117, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 17 } }, "object": { "type": "ThisExpression", "start": 2108, "end": 2112, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, "property": { "type": "Identifier", "start": 2113, "end": 2117, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "right": { "type": "Identifier", "start": 2120, "end": 2124, "loc": { "start": { "line": 66, "column": 20 }, "end": { "line": 66, "column": 24 }, "identifierName": "root" }, "name": "root" } } }, { "type": "ExpressionStatement", "start": 2137, "end": 2190, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 61 } }, "expression": { "type": "CallExpression", "start": 2137, "end": 2189, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 60 } }, "callee": { "type": "Identifier", "start": 2137, "end": 2143, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 2144, "end": 2165, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 36 } }, "left": { "type": "MemberExpression", "start": 2144, "end": 2161, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 32 } }, "object": { "type": "Identifier", "start": 2144, "end": 2154, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 25 }, "identifierName": "entityPath" }, "name": "entityPath" }, "property": { "type": "Identifier", "start": 2155, "end": 2161, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 32 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 2164, "end": 2165, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 36 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 2167, "end": 2188, "loc": { "start": { "line": 68, "column": 38 }, "end": { "line": 68, "column": 59 } }, "extra": { "rawValue": "invalid entity path", "raw": "\"invalid entity path\"" }, "value": "invalid entity path" } ] } }, { "type": "ExpressionStatement", "start": 2200, "end": 2229, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 2200, "end": 2228, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2200, "end": 2215, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2200, "end": 2204, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 12 } } }, "property": { "type": "Identifier", "start": 2205, "end": 2215, "loc": { "start": { "line": 69, "column": 13 }, "end": { "line": 69, "column": 23 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "right": { "type": "Identifier", "start": 2218, "end": 2228, "loc": { "start": { "line": 69, "column": 26 }, "end": { "line": 69, "column": 36 }, "identifierName": "entityPath" }, "name": "entityPath" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the items sorted, and their distance to the previous item (or start)\r\n * Layout: [distanceToNext, item]\r\n * @type {Array<[number, BaseItem]>}\r\n ", "start": 2241, "end": 2434, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 75, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 2444, "end": 2460, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 2444, "end": 2459, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 23 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2444, "end": 2454, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 18 } }, "object": { "type": "ThisExpression", "start": 2444, "end": 2448, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2449, "end": 2454, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 18 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 2457, "end": 2459, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 23 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the items sorted, and their distance to the previous item (or start)\r\n * Layout: [distanceToNext, item]\r\n * @type {Array<[number, BaseItem]>}\r\n ", "start": 2241, "end": 2434, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 75, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the spacing to the first item\r\n ", "start": 2472, "end": 2537, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 80, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 2549, "end": 2561, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 20 } }, "expression": { "type": "CallExpression", "start": 2549, "end": 2560, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 2549, "end": 2558, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 17 } }, "object": { "type": "ThisExpression", "start": 2549, "end": 2553, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2554, "end": 2558, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 }, "identifierName": "init" }, "name": "init" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the spacing to the first item\r\n ", "start": 2472, "end": 2537, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 80, "column": 11 } } } ] }, { "type": "IfStatement", "start": 2573, "end": 2691, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 86, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 2577, "end": 2622, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 57 } }, "left": { "type": "Identifier", "start": 2577, "end": 2585, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 2589, "end": 2622, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 57 } }, "object": { "type": "MemberExpression", "start": 2589, "end": 2607, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 42 } }, "object": { "type": "Identifier", "start": 2589, "end": 2601, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2602, "end": 2607, "loc": { "start": { "line": 84, "column": 37 }, "end": { "line": 84, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 2608, "end": 2622, "loc": { "start": { "line": 84, "column": 43 }, "end": { "line": 84, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 2624, "end": 2691, "loc": { "start": { "line": 84, "column": 59 }, "end": { "line": 86, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2639, "end": 2680, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 53 } }, "expression": { "type": "CallExpression", "start": 2639, "end": 2679, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 2639, "end": 2664, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 37 } }, "object": { "type": "ThisExpression", "start": 2639, "end": 2643, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 16 } } }, "property": { "type": "Identifier", "start": 2644, "end": 2664, "loc": { "start": { "line": 85, "column": 17 }, "end": { "line": 85, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2665, "end": 2678, "loc": { "start": { "line": 85, "column": 38 }, "end": { "line": 85, "column": 51 } }, "extra": { "rawValue": "constructor", "raw": "\"constructor\"" }, "value": "constructor" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n * @param {Array} entityPath\r\n ", "start": 1958, "end": 2043, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 63, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes the path by computing the properties which are not saved\r\n * @param {boolean} computeSpacing Whether to also compute the spacing\r\n ", "start": 2704, "end": 2869, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 91, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2875, "end": 3420, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 111, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2875, "end": 2879, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 }, "identifierName": "init" }, "name": "init", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 2880, "end": 2901, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 } }, "left": { "type": "Identifier", "start": 2880, "end": 2894, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 23 }, "identifierName": "computeSpacing" }, "name": "computeSpacing" }, "right": { "type": "BooleanLiteral", "start": 2897, "end": 2901, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 30 } }, "value": true } } ], "body": { "type": "BlockStatement", "start": 2903, "end": 3420, "loc": { "start": { "line": 92, "column": 32 }, "end": { "line": 111, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2914, "end": 2935, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 29 } }, "expression": { "type": "CallExpression", "start": 2914, "end": 2934, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 2914, "end": 2932, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 26 } }, "object": { "type": "ThisExpression", "start": 2914, "end": 2918, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } } }, "property": { "type": "Identifier", "start": 2919, "end": 2932, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 2947, "end": 2992, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 2947, "end": 2991, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2947, "end": 2963, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2947, "end": 2951, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, "property": { "type": "Identifier", "start": 2952, "end": 2963, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 24 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "right": { "type": "CallExpression", "start": 2966, "end": 2991, "loc": { "start": { "line": 95, "column": 27 }, "end": { "line": 95, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 2966, "end": 2989, "loc": { "start": { "line": 95, "column": 27 }, "end": { "line": 95, "column": 50 } }, "object": { "type": "ThisExpression", "start": 2966, "end": 2970, "loc": { "start": { "line": 95, "column": 27 }, "end": { "line": 95, "column": 31 } } }, "property": { "type": "Identifier", "start": 2971, "end": 2989, "loc": { "start": { "line": 95, "column": 32 }, "end": { "line": 95, "column": 50 }, "identifierName": "computeTotalLength" }, "name": "computeTotalLength" }, "computed": false }, "arguments": [] } } }, { "type": "IfStatement", "start": 3004, "end": 3093, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 99, "column": 9 } }, "test": { "type": "Identifier", "start": 3008, "end": 3022, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 26 }, "identifierName": "computeSpacing" }, "name": "computeSpacing" }, "consequent": { "type": "BlockStatement", "start": 3024, "end": 3093, "loc": { "start": { "line": 97, "column": 28 }, "end": { "line": 99, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3039, "end": 3082, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 3039, "end": 3081, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3039, "end": 3062, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 35 } }, "object": { "type": "ThisExpression", "start": 3039, "end": 3043, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 16 } } }, "property": { "type": "Identifier", "start": 3044, "end": 3062, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "MemberExpression", "start": 3065, "end": 3081, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 98, "column": 54 } }, "object": { "type": "ThisExpression", "start": 3065, "end": 3069, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 98, "column": 42 } } }, "property": { "type": "Identifier", "start": 3070, "end": 3081, "loc": { "start": { "line": 98, "column": 43 }, "end": { "line": 98, "column": 54 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Current bounds of this path\r\n * @type {Rectangle}\r\n ", "start": 3105, "end": 3191, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 104, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 3201, "end": 3241, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 3201, "end": 3240, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3201, "end": 3217, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 24 } }, "object": { "type": "ThisExpression", "start": 3201, "end": 3205, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3206, "end": 3217, "loc": { "start": { "line": 105, "column": 13 }, "end": { "line": 105, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 3220, "end": 3240, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 3220, "end": 3238, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 45 } }, "object": { "type": "ThisExpression", "start": 3220, "end": 3224, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 31 } } }, "property": { "type": "Identifier", "start": 3225, "end": 3238, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Current bounds of this path\r\n * @type {Rectangle}\r\n ", "start": 3105, "end": 3191, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 104, "column": 11 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Connect the belts", "start": 3253, "end": 3273, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 28 } } } ] }, { "type": "ForStatement", "start": 3283, "end": 3413, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 110, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 3288, "end": 3297, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3292, "end": 3297, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 22 } }, "id": { "type": "Identifier", "start": 3292, "end": 3293, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 3296, "end": 3297, "loc": { "start": { "line": 108, "column": 21 }, "end": { "line": 108, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 3299, "end": 3325, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 50 } }, "left": { "type": "Identifier", "start": 3299, "end": 3300, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 3303, "end": 3325, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 50 } }, "object": { "type": "MemberExpression", "start": 3303, "end": 3318, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 43 } }, "object": { "type": "ThisExpression", "start": 3303, "end": 3307, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 32 } } }, "property": { "type": "Identifier", "start": 3308, "end": 3318, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 3319, "end": 3325, "loc": { "start": { "line": 108, "column": 44 }, "end": { "line": 108, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 3327, "end": 3330, "loc": { "start": { "line": 108, "column": 52 }, "end": { "line": 108, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3329, "end": 3330, "loc": { "start": { "line": 108, "column": 54 }, "end": { "line": 108, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3332, "end": 3413, "loc": { "start": { "line": 108, "column": 57 }, "end": { "line": 110, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3347, "end": 3402, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 3347, "end": 3401, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3347, "end": 3394, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 59 } }, "object": { "type": "MemberExpression", "start": 3347, "end": 3381, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 46 } }, "object": { "type": "MemberExpression", "start": 3347, "end": 3376, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 41 } }, "object": { "type": "MemberExpression", "start": 3347, "end": 3365, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 30 } }, "object": { "type": "MemberExpression", "start": 3347, "end": 3362, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 27 } }, "object": { "type": "ThisExpression", "start": 3347, "end": 3351, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 16 } } }, "property": { "type": "Identifier", "start": 3352, "end": 3362, "loc": { "start": { "line": 109, "column": 17 }, "end": { "line": 109, "column": 27 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 3363, "end": 3364, "loc": { "start": { "line": 109, "column": 28 }, "end": { "line": 109, "column": 29 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 3366, "end": 3376, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 41 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 3377, "end": 3381, "loc": { "start": { "line": 109, "column": 42 }, "end": { "line": 109, "column": 46 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "property": { "type": "Identifier", "start": 3382, "end": 3394, "loc": { "start": { "line": 109, "column": 47 }, "end": { "line": 109, "column": 59 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false }, "right": { "type": "ThisExpression", "start": 3397, "end": 3401, "loc": { "start": { "line": 109, "column": 62 }, "end": { "line": 109, "column": 66 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Connect the belts", "start": 3253, "end": 3273, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 28 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes the path by computing the properties which are not saved\r\n * @param {boolean} computeSpacing Whether to also compute the spacing\r\n ", "start": 2704, "end": 2869, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 91, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns whether this path can accept a new item\r\n * @returns {boolean}\r\n ", "start": 3428, "end": 3523, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 116, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3529, "end": 3629, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3529, "end": 3542, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 117, "column": 17 }, "identifierName": "canAcceptItem" }, "name": "canAcceptItem", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3545, "end": 3629, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 119, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 3556, "end": 3622, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 74 } }, "argument": { "type": "BinaryExpression", "start": 3563, "end": 3621, "loc": { "start": { "line": 118, "column": 15 }, "end": { "line": 118, "column": 73 } }, "left": { "type": "MemberExpression", "start": 3563, "end": 3586, "loc": { "start": { "line": 118, "column": 15 }, "end": { "line": 118, "column": 38 } }, "object": { "type": "ThisExpression", "start": 3563, "end": 3567, "loc": { "start": { "line": 118, "column": 15 }, "end": { "line": 118, "column": 19 } } }, "property": { "type": "Identifier", "start": 3568, "end": 3586, "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 38 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "operator": ">=", "right": { "type": "MemberExpression", "start": 3590, "end": 3621, "loc": { "start": { "line": 118, "column": 42 }, "end": { "line": 118, "column": 73 } }, "object": { "type": "Identifier", "start": 3590, "end": 3602, "loc": { "start": { "line": 118, "column": 42 }, "end": { "line": 118, "column": 54 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3603, "end": 3621, "loc": { "start": { "line": 118, "column": 55 }, "end": { "line": 118, "column": 73 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns whether this path can accept a new item\r\n * @returns {boolean}\r\n ", "start": 3428, "end": 3523, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 116, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to accept the item\r\n * @param {BaseItem} item\r\n ", "start": 3637, "end": 3713, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 124, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3719, "end": 4730, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 147, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3719, "end": 3732, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 17 }, "identifierName": "tryAcceptItem" }, "name": "tryAcceptItem", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3733, "end": 3737, "loc": { "start": { "line": 125, "column": 18 }, "end": { "line": 125, "column": 22 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BlockStatement", "start": 3739, "end": 4730, "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 147, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 3750, "end": 4700, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 145, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3754, "end": 3812, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 70 } }, "left": { "type": "MemberExpression", "start": 3754, "end": 3777, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 35 } }, "object": { "type": "ThisExpression", "start": 3754, "end": 3758, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 16 } } }, "property": { "type": "Identifier", "start": 3759, "end": 3777, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "operator": ">=", "right": { "type": "MemberExpression", "start": 3781, "end": 3812, "loc": { "start": { "line": 126, "column": 39 }, "end": { "line": 126, "column": 70 } }, "object": { "type": "Identifier", "start": 3781, "end": 3793, "loc": { "start": { "line": 126, "column": 39 }, "end": { "line": 126, "column": 51 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3794, "end": 3812, "loc": { "start": { "line": 126, "column": 52 }, "end": { "line": 126, "column": 70 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 3814, "end": 4700, "loc": { "start": { "line": 126, "column": 72 }, "end": { "line": 145, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3927, "end": 4119, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 131, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3933, "end": 4118, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 131, "column": 47 } }, "id": { "type": "Identifier", "start": 3933, "end": 3952, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 37 }, "identifierName": "beltProgressPerTick" }, "name": "beltProgressPerTick", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 3972, "end": 4118, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 131, "column": 47 } }, "left": { "type": "BinaryExpression", "start": 3972, "end": 4067, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 130, "column": 54 } }, "left": { "type": "CallExpression", "start": 3972, "end": 4009, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 3972, "end": 4007, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3972, "end": 3990, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 34 } }, "object": { "type": "MemberExpression", "start": 3972, "end": 3981, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3972, "end": 3976, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 20 } } }, "property": { "type": "Identifier", "start": 3977, "end": 3981, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3982, "end": 3990, "loc": { "start": { "line": 129, "column": 26 }, "end": { "line": 129, "column": 34 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 3991, "end": 4007, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 51 }, "identifierName": "getBeltBaseSpeed" }, "name": "getBeltBaseSpeed" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "MemberExpression", "start": 4029, "end": 4067, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4029, "end": 4054, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 41 } }, "object": { "type": "MemberExpression", "start": 4029, "end": 4038, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4029, "end": 4033, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 20 } } }, "property": { "type": "Identifier", "start": 4034, "end": 4038, "loc": { "start": { "line": 130, "column": 21 }, "end": { "line": 130, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4039, "end": 4054, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "column": 41 }, "identifierName": "dynamicTickrate" }, "name": "dynamicTickrate" }, "computed": false }, "property": { "type": "Identifier", "start": 4055, "end": 4067, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 54 }, "identifierName": "deltaSeconds" }, "name": "deltaSeconds" }, "computed": false } }, "operator": "*", "right": { "type": "MemberExpression", "start": 4087, "end": 4118, "loc": { "start": { "line": 131, "column": 16 }, "end": { "line": 131, "column": 47 } }, "object": { "type": "Identifier", "start": 4087, "end": 4099, "loc": { "start": { "line": 131, "column": 16 }, "end": { "line": 131, "column": 28 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4100, "end": 4118, "loc": { "start": { "line": 131, "column": 29 }, "end": { "line": 131, "column": 47 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " So, since we already need one tick to accept this item we will add this directly.", "start": 3829, "end": 3913, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 96 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " First, compute how much progress we can make *at max*", "start": 4135, "end": 4191, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 68 } } } ] }, { "type": "VariableDeclaration", "start": 4205, "end": 4296, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 103 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4211, "end": 4295, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 102 } }, "id": { "type": "Identifier", "start": 4211, "end": 4222, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 29 }, "identifierName": "maxProgress" }, "name": "maxProgress", "leadingComments": null }, "init": { "type": "CallExpression", "start": 4225, "end": 4295, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 4225, "end": 4233, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 40 } }, "object": { "type": "Identifier", "start": 4225, "end": 4229, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 36 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 4230, "end": 4233, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "column": 40 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4234, "end": 4235, "loc": { "start": { "line": 134, "column": 41 }, "end": { "line": 134, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 4237, "end": 4294, "loc": { "start": { "line": 134, "column": 44 }, "end": { "line": 134, "column": 101 } }, "left": { "type": "MemberExpression", "start": 4237, "end": 4260, "loc": { "start": { "line": 134, "column": 44 }, "end": { "line": 134, "column": 67 } }, "object": { "type": "ThisExpression", "start": 4237, "end": 4241, "loc": { "start": { "line": 134, "column": 44 }, "end": { "line": 134, "column": 48 } } }, "property": { "type": "Identifier", "start": 4242, "end": 4260, "loc": { "start": { "line": 134, "column": 49 }, "end": { "line": 134, "column": 67 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "operator": "-", "right": { "type": "MemberExpression", "start": 4263, "end": 4294, "loc": { "start": { "line": 134, "column": 70 }, "end": { "line": 134, "column": 101 } }, "object": { "type": "Identifier", "start": 4263, "end": 4275, "loc": { "start": { "line": 134, "column": 70 }, "end": { "line": 134, "column": 82 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4276, "end": 4294, "loc": { "start": { "line": 134, "column": 83 }, "end": { "line": 134, "column": 101 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " First, compute how much progress we can make *at max*", "start": 4135, "end": 4191, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 68 } } } ] }, { "type": "VariableDeclaration", "start": 4310, "end": 4377, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4316, "end": 4376, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 78 } }, "id": { "type": "Identifier", "start": 4316, "end": 4331, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 33 }, "identifierName": "initialProgress" }, "name": "initialProgress" }, "init": { "type": "CallExpression", "start": 4334, "end": 4376, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 4334, "end": 4342, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 44 } }, "object": { "type": "Identifier", "start": 4334, "end": 4338, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 40 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 4339, "end": 4342, "loc": { "start": { "line": 135, "column": 41 }, "end": { "line": 135, "column": 44 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4343, "end": 4354, "loc": { "start": { "line": 135, "column": 45 }, "end": { "line": 135, "column": 56 }, "identifierName": "maxProgress" }, "name": "maxProgress" }, { "type": "Identifier", "start": 4356, "end": 4375, "loc": { "start": { "line": 135, "column": 58 }, "end": { "line": 135, "column": 77 }, "identifierName": "beltProgressPerTick" }, "name": "beltProgressPerTick" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 4393, "end": 4463, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 82 } }, "expression": { "type": "CallExpression", "start": 4393, "end": 4462, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 4393, "end": 4411, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 30 } }, "object": { "type": "MemberExpression", "start": 4393, "end": 4403, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 22 } }, "object": { "type": "ThisExpression", "start": 4393, "end": 4397, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 16 } } }, "property": { "type": "Identifier", "start": 4398, "end": 4403, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 4404, "end": 4411, "loc": { "start": { "line": 137, "column": 23 }, "end": { "line": 137, "column": 30 }, "identifierName": "unshift" }, "name": "unshift" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 4412, "end": 4461, "loc": { "start": { "line": 137, "column": 31 }, "end": { "line": 137, "column": 80 } }, "elements": [ { "type": "BinaryExpression", "start": 4413, "end": 4454, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 73 } }, "left": { "type": "MemberExpression", "start": 4413, "end": 4436, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4413, "end": 4417, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 36 } } }, "property": { "type": "Identifier", "start": 4418, "end": 4436, "loc": { "start": { "line": 137, "column": 37 }, "end": { "line": 137, "column": 55 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 4439, "end": 4454, "loc": { "start": { "line": 137, "column": 58 }, "end": { "line": 137, "column": 73 }, "identifierName": "initialProgress" }, "name": "initialProgress" } }, { "type": "Identifier", "start": 4456, "end": 4460, "loc": { "start": { "line": 137, "column": 75 }, "end": { "line": 137, "column": 79 }, "identifierName": "item" }, "name": "item" } ] } ] } }, { "type": "ExpressionStatement", "start": 4477, "end": 4519, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 4477, "end": 4518, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4477, "end": 4500, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 35 } }, "object": { "type": "ThisExpression", "start": 4477, "end": 4481, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 16 } } }, "property": { "type": "Identifier", "start": 4482, "end": 4500, "loc": { "start": { "line": 138, "column": 17 }, "end": { "line": 138, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "Identifier", "start": 4503, "end": 4518, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 138, "column": 53 }, "identifierName": "initialProgress" }, "name": "initialProgress" } } }, { "type": "IfStatement", "start": 4535, "end": 4661, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 142, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 4539, "end": 4584, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 61 } }, "left": { "type": "Identifier", "start": 4539, "end": 4547, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 24 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 4551, "end": 4584, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 61 } }, "object": { "type": "MemberExpression", "start": 4551, "end": 4569, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 46 } }, "object": { "type": "Identifier", "start": 4551, "end": 4563, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 40 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4564, "end": 4569, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 46 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 4570, "end": 4584, "loc": { "start": { "line": 140, "column": 47 }, "end": { "line": 140, "column": 61 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 4586, "end": 4661, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 142, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4605, "end": 4646, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 57 } }, "expression": { "type": "CallExpression", "start": 4605, "end": 4645, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4605, "end": 4630, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4605, "end": 4609, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 20 } } }, "property": { "type": "Identifier", "start": 4610, "end": 4630, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 41 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4631, "end": 4644, "loc": { "start": { "line": 141, "column": 42 }, "end": { "line": 141, "column": 55 } }, "extra": { "rawValue": "accept-item", "raw": "\"accept-item\"" }, "value": "accept-item" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 4677, "end": 4689, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 144, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 4684, "end": 4688, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 4710, "end": 4723, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 4717, "end": 4722, "loc": { "start": { "line": 146, "column": 15 }, "end": { "line": 146, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to accept the item\r\n * @param {BaseItem} item\r\n ", "start": 3637, "end": 3713, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 124, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * SLOW / Tries to find the item closest to the given tile\r\n * @param {Vector} tile\r\n * @returns {BaseItem|null}\r\n ", "start": 4738, "end": 4876, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 153, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4882, "end": 4991, "loc": { "start": { "line": 154, "column": 4 }, "end": { "line": 157, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4882, "end": 4896, "loc": { "start": { "line": 154, "column": 4 }, "end": { "line": 154, "column": 18 }, "identifierName": "findItemAtTile" }, "name": "findItemAtTile", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4897, "end": 4901, "loc": { "start": { "line": 154, "column": 19 }, "end": { "line": 154, "column": 23 }, "identifierName": "tile" }, "name": "tile" } ], "body": { "type": "BlockStatement", "start": 4903, "end": 4991, "loc": { "start": { "line": 154, "column": 25 }, "end": { "line": 157, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4972, "end": 4984, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 20 } }, "argument": { "type": "NullLiteral", "start": 4979, "end": 4983, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 19 } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " @TODO: This breaks color blind mode otherwise", "start": 4914, "end": 4962, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 56 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * SLOW / Tries to find the item closest to the given tile\r\n * @param {Vector} tile\r\n * @returns {BaseItem|null}\r\n ", "start": 4738, "end": 4876, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 153, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Computes the tile bounds of the path\r\n * @returns {Rectangle}\r\n ", "start": 4999, "end": 5085, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5091, "end": 5530, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 171, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5091, "end": 5104, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 17 }, "identifierName": "computeBounds" }, "name": "computeBounds", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5107, "end": 5530, "loc": { "start": { "line": 163, "column": 20 }, "end": { "line": 171, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 5118, "end": 5198, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5122, "end": 5197, "loc": { "start": { "line": 164, "column": 12 }, "end": { "line": 164, "column": 87 } }, "id": { "type": "Identifier", "start": 5122, "end": 5128, "loc": { "start": { "line": 164, "column": 12 }, "end": { "line": 164, "column": 18 }, "identifierName": "bounds" }, "name": "bounds" }, "init": { "type": "CallExpression", "start": 5131, "end": 5197, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 5131, "end": 5195, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 85 } }, "object": { "type": "MemberExpression", "start": 5131, "end": 5176, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 66 } }, "object": { "type": "MemberExpression", "start": 5131, "end": 5160, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5131, "end": 5149, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 39 } }, "object": { "type": "MemberExpression", "start": 5131, "end": 5146, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 36 } }, "object": { "type": "ThisExpression", "start": 5131, "end": 5135, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 25 } } }, "property": { "type": "Identifier", "start": 5136, "end": 5146, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 36 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 5147, "end": 5148, "loc": { "start": { "line": 164, "column": 37 }, "end": { "line": 164, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 5150, "end": 5160, "loc": { "start": { "line": 164, "column": 40 }, "end": { "line": 164, "column": 50 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 5161, "end": 5176, "loc": { "start": { "line": 164, "column": 51 }, "end": { "line": 164, "column": 66 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 5177, "end": 5195, "loc": { "start": { "line": 164, "column": 67 }, "end": { "line": 164, "column": 85 }, "identifierName": "getTileSpaceBounds" }, "name": "getTileSpaceBounds" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "ForStatement", "start": 5208, "end": 5466, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 169, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 5213, "end": 5222, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5217, "end": 5222, "loc": { "start": { "line": 165, "column": 17 }, "end": { "line": 165, "column": 22 } }, "id": { "type": "Identifier", "start": 5217, "end": 5218, "loc": { "start": { "line": 165, "column": 17 }, "end": { "line": 165, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 5221, "end": 5222, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 5224, "end": 5250, "loc": { "start": { "line": 165, "column": 24 }, "end": { "line": 165, "column": 50 } }, "left": { "type": "Identifier", "start": 5224, "end": 5225, "loc": { "start": { "line": 165, "column": 24 }, "end": { "line": 165, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 5228, "end": 5250, "loc": { "start": { "line": 165, "column": 28 }, "end": { "line": 165, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5228, "end": 5243, "loc": { "start": { "line": 165, "column": 28 }, "end": { "line": 165, "column": 43 } }, "object": { "type": "ThisExpression", "start": 5228, "end": 5232, "loc": { "start": { "line": 165, "column": 28 }, "end": { "line": 165, "column": 32 } } }, "property": { "type": "Identifier", "start": 5233, "end": 5243, "loc": { "start": { "line": 165, "column": 33 }, "end": { "line": 165, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 5244, "end": 5250, "loc": { "start": { "line": 165, "column": 44 }, "end": { "line": 165, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 5252, "end": 5255, "loc": { "start": { "line": 165, "column": 52 }, "end": { "line": 165, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 5254, "end": 5255, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 5257, "end": 5466, "loc": { "start": { "line": 165, "column": 57 }, "end": { "line": 169, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 5272, "end": 5337, "loc": { "start": { "line": 166, "column": 12 }, "end": { "line": 166, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5278, "end": 5336, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 76 } }, "id": { "type": "Identifier", "start": 5278, "end": 5288, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 28 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 5291, "end": 5336, "loc": { "start": { "line": 166, "column": 31 }, "end": { "line": 166, "column": 76 } }, "object": { "type": "MemberExpression", "start": 5291, "end": 5320, "loc": { "start": { "line": 166, "column": 31 }, "end": { "line": 166, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5291, "end": 5309, "loc": { "start": { "line": 166, "column": 31 }, "end": { "line": 166, "column": 49 } }, "object": { "type": "MemberExpression", "start": 5291, "end": 5306, "loc": { "start": { "line": 166, "column": 31 }, "end": { "line": 166, "column": 46 } }, "object": { "type": "ThisExpression", "start": 5291, "end": 5295, "loc": { "start": { "line": 166, "column": 31 }, "end": { "line": 166, "column": 35 } } }, "property": { "type": "Identifier", "start": 5296, "end": 5306, "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 46 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 5307, "end": 5308, "loc": { "start": { "line": 166, "column": 47 }, "end": { "line": 166, "column": 48 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 5310, "end": 5320, "loc": { "start": { "line": 166, "column": 50 }, "end": { "line": 166, "column": 60 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 5321, "end": 5336, "loc": { "start": { "line": 166, "column": 61 }, "end": { "line": 166, "column": 76 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 5351, "end": 5403, "loc": { "start": { "line": 167, "column": 12 }, "end": { "line": 167, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5357, "end": 5402, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "column": 63 } }, "id": { "type": "Identifier", "start": 5357, "end": 5368, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "column": 29 }, "identifierName": "otherBounds" }, "name": "otherBounds" }, "init": { "type": "CallExpression", "start": 5371, "end": 5402, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 5371, "end": 5400, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 61 } }, "object": { "type": "Identifier", "start": 5371, "end": 5381, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 42 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 5382, "end": 5400, "loc": { "start": { "line": 167, "column": 43 }, "end": { "line": 167, "column": 61 }, "identifierName": "getTileSpaceBounds" }, "name": "getTileSpaceBounds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5417, "end": 5455, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 5417, "end": 5454, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", "start": 5417, "end": 5423, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 18 }, "identifierName": "bounds" }, "name": "bounds" }, "right": { "type": "CallExpression", "start": 5426, "end": 5454, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 5426, "end": 5441, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 36 } }, "object": { "type": "Identifier", "start": 5426, "end": 5432, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 27 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5433, "end": 5441, "loc": { "start": { "line": 168, "column": 28 }, "end": { "line": 168, "column": 36 }, "identifierName": "getUnion" }, "name": "getUnion" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5442, "end": 5453, "loc": { "start": { "line": 168, "column": 37 }, "end": { "line": 168, "column": 48 }, "identifierName": "otherBounds" }, "name": "otherBounds" } ] } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 5476, "end": 5523, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 55 } }, "argument": { "type": "CallExpression", "start": 5483, "end": 5522, "loc": { "start": { "line": 170, "column": 15 }, "end": { "line": 170, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 5483, "end": 5499, "loc": { "start": { "line": 170, "column": 15 }, "end": { "line": 170, "column": 31 } }, "object": { "type": "Identifier", "start": 5483, "end": 5489, "loc": { "start": { "line": 170, "column": 15 }, "end": { "line": 170, "column": 21 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5490, "end": 5499, "loc": { "start": { "line": 170, "column": 22 }, "end": { "line": 170, "column": 31 }, "identifierName": "allScaled" }, "name": "allScaled" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5500, "end": 5521, "loc": { "start": { "line": 170, "column": 32 }, "end": { "line": 170, "column": 53 } }, "object": { "type": "Identifier", "start": 5500, "end": 5512, "loc": { "start": { "line": 170, "column": 32 }, "end": { "line": 170, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 5513, "end": 5521, "loc": { "start": { "line": 170, "column": 45 }, "end": { "line": 170, "column": 53 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Computes the tile bounds of the path\r\n * @returns {Rectangle}\r\n ", "start": 4999, "end": 5085, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Recomputes cache variables once the path was changed\r\n ", "start": 5538, "end": 5611, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5617, "end": 5852, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 183, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5617, "end": 5630, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 17 }, "identifierName": "onPathChanged" }, "name": "onPathChanged", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5633, "end": 5852, "loc": { "start": { "line": 176, "column": 20 }, "end": { "line": 183, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5644, "end": 5703, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5644, "end": 5702, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5644, "end": 5663, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 27 } }, "object": { "type": "ThisExpression", "start": 5644, "end": 5648, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 12 } } }, "property": { "type": "Identifier", "start": 5649, "end": 5663, "loc": { "start": { "line": 177, "column": 13 }, "end": { "line": 177, "column": 27 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "right": { "type": "CallExpression", "start": 5666, "end": 5702, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5666, "end": 5700, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 64 } }, "object": { "type": "ThisExpression", "start": 5666, "end": 5670, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 34 } } }, "property": { "type": "Identifier", "start": 5671, "end": 5700, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 64 }, "identifierName": "computeAcceptingEntityAndSlot" }, "name": "computeAcceptingEntityAndSlot" }, "computed": false }, "arguments": [] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * How many items past the first item are compressed\r\n ", "start": 5715, "end": 5793, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 181, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 5803, "end": 5845, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 5803, "end": 5844, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5803, "end": 5840, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 45 } }, "object": { "type": "ThisExpression", "start": 5803, "end": 5807, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5808, "end": 5840, "loc": { "start": { "line": 182, "column": 13 }, "end": { "line": 182, "column": 45 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 5843, "end": 5844, "loc": { "start": { "line": 182, "column": 48 }, "end": { "line": 182, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * How many items past the first item are compressed\r\n ", "start": 5715, "end": 5793, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 181, "column": 11 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Recomputes cache variables once the path was changed\r\n ", "start": 5538, "end": 5611, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by the belt system when the surroundings changed\r\n ", "start": 5860, "end": 5936, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 187, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5942, "end": 6005, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 190, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5942, "end": 5963, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 25 }, "identifierName": "onSurroundingsChanged" }, "name": "onSurroundingsChanged", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5966, "end": 6005, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 190, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5977, "end": 5998, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 29 } }, "expression": { "type": "CallExpression", "start": 5977, "end": 5997, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 5977, "end": 5995, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5977, "end": 5981, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 12 } } }, "property": { "type": "Identifier", "start": 5982, "end": 5995, "loc": { "start": { "line": 189, "column": 13 }, "end": { "line": 189, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by the belt system when the surroundings changed\r\n ", "start": 5860, "end": 5936, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 187, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds the entity which accepts our items\r\n * @param {boolean=} debug_Silent Whether debug output should be silent\r\n * @return {{ entity: Entity, slot: number, direction?: enumDirection }}\r\n ", "start": 6013, "end": 6229, "loc": { "start": { "line": 192, "column": 4 }, "end": { "line": 196, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6235, "end": 9257, "loc": { "start": { "line": 197, "column": 4 }, "end": { "line": 268, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6235, "end": 6264, "loc": { "start": { "line": 197, "column": 4 }, "end": { "line": 197, "column": 33 }, "identifierName": "computeAcceptingEntityAndSlot" }, "name": "computeAcceptingEntityAndSlot", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 6265, "end": 6285, "loc": { "start": { "line": 197, "column": 34 }, "end": { "line": 197, "column": 54 } }, "left": { "type": "Identifier", "start": 6265, "end": 6277, "loc": { "start": { "line": 197, "column": 34 }, "end": { "line": 197, "column": 46 }, "identifierName": "debug_Silent" }, "name": "debug_Silent" }, "right": { "type": "BooleanLiteral", "start": 6280, "end": 6285, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 197, "column": 54 } }, "value": false } } ], "body": { "type": "BlockStatement", "start": 6287, "end": 9257, "loc": { "start": { "line": 197, "column": 56 }, "end": { "line": 268, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6298, "end": 6366, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 76 } }, "expression": { "type": "LogicalExpression", "start": 6298, "end": 6365, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 75 } }, "left": { "type": "LogicalExpression", "start": 6298, "end": 6320, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 30 } }, "left": { "type": "Identifier", "start": 6298, "end": 6303, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 6307, "end": 6320, "loc": { "start": { "line": 198, "column": 17 }, "end": { "line": 198, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6308, "end": 6320, "loc": { "start": { "line": 198, "column": 18 }, "end": { "line": 198, "column": 30 }, "identifierName": "debug_Silent" }, "name": "debug_Silent" }, "extra": { "parenthesizedArgument": false } } }, "operator": "&&", "right": { "type": "CallExpression", "start": 6324, "end": 6365, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 6324, "end": 6334, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 44 } }, "object": { "type": "Identifier", "start": 6324, "end": 6330, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 40 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 6331, "end": 6334, "loc": { "start": { "line": 198, "column": 41 }, "end": { "line": 198, "column": 44 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6335, "end": 6364, "loc": { "start": { "line": 198, "column": 45 }, "end": { "line": 198, "column": 74 } }, "extra": { "rawValue": "Recomputing acceptor target", "raw": "\"Recomputing acceptor target\"" }, "value": "Recomputing acceptor target" } ] } } }, { "type": "VariableDeclaration", "start": 6378, "end": 6441, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6384, "end": 6440, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 70 } }, "id": { "type": "Identifier", "start": 6384, "end": 6394, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 24 }, "identifierName": "lastEntity" }, "name": "lastEntity" }, "init": { "type": "MemberExpression", "start": 6397, "end": 6440, "loc": { "start": { "line": 200, "column": 27 }, "end": { "line": 200, "column": 70 } }, "object": { "type": "MemberExpression", "start": 6397, "end": 6412, "loc": { "start": { "line": 200, "column": 27 }, "end": { "line": 200, "column": 42 } }, "object": { "type": "ThisExpression", "start": 6397, "end": 6401, "loc": { "start": { "line": 200, "column": 27 }, "end": { "line": 200, "column": 31 } } }, "property": { "type": "Identifier", "start": 6402, "end": 6412, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 42 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 6413, "end": 6439, "loc": { "start": { "line": 200, "column": 43 }, "end": { "line": 200, "column": 69 } }, "left": { "type": "MemberExpression", "start": 6413, "end": 6435, "loc": { "start": { "line": 200, "column": 43 }, "end": { "line": 200, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6413, "end": 6428, "loc": { "start": { "line": 200, "column": 43 }, "end": { "line": 200, "column": 58 } }, "object": { "type": "ThisExpression", "start": 6413, "end": 6417, "loc": { "start": { "line": 200, "column": 43 }, "end": { "line": 200, "column": 47 } } }, "property": { "type": "Identifier", "start": 6418, "end": 6428, "loc": { "start": { "line": 200, "column": 48 }, "end": { "line": 200, "column": 58 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 6429, "end": 6435, "loc": { "start": { "line": 200, "column": 59 }, "end": { "line": 200, "column": 65 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 6438, "end": 6439, "loc": { "start": { "line": 200, "column": 68 }, "end": { "line": 200, "column": 69 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6451, "end": 6508, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6457, "end": 6507, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 64 } }, "id": { "type": "Identifier", "start": 6457, "end": 6467, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 24 }, "identifierName": "lastStatic" }, "name": "lastStatic" }, "init": { "type": "MemberExpression", "start": 6470, "end": 6507, "loc": { "start": { "line": 201, "column": 27 }, "end": { "line": 201, "column": 64 } }, "object": { "type": "MemberExpression", "start": 6470, "end": 6491, "loc": { "start": { "line": 201, "column": 27 }, "end": { "line": 201, "column": 48 } }, "object": { "type": "Identifier", "start": 6470, "end": 6480, "loc": { "start": { "line": 201, "column": 27 }, "end": { "line": 201, "column": 37 }, "identifierName": "lastEntity" }, "name": "lastEntity" }, "property": { "type": "Identifier", "start": 6481, "end": 6491, "loc": { "start": { "line": 201, "column": 38 }, "end": { "line": 201, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 6492, "end": 6507, "loc": { "start": { "line": 201, "column": 49 }, "end": { "line": 201, "column": 64 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6518, "end": 6566, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6524, "end": 6565, "loc": { "start": { "line": 202, "column": 14 }, "end": { "line": 202, "column": 55 } }, "id": { "type": "Identifier", "start": 6524, "end": 6536, "loc": { "start": { "line": 202, "column": 14 }, "end": { "line": 202, "column": 26 }, "identifierName": "lastBeltComp" }, "name": "lastBeltComp" }, "init": { "type": "MemberExpression", "start": 6539, "end": 6565, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 55 } }, "object": { "type": "MemberExpression", "start": 6539, "end": 6560, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 50 } }, "object": { "type": "Identifier", "start": 6539, "end": 6549, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 39 }, "identifierName": "lastEntity" }, "name": "lastEntity" }, "property": { "type": "Identifier", "start": 6550, "end": 6560, "loc": { "start": { "line": 202, "column": 40 }, "end": { "line": 202, "column": 50 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 6561, "end": 6565, "loc": { "start": { "line": 202, "column": 51 }, "end": { "line": 202, "column": 55 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Figure out where and into which direction we eject items", "start": 6578, "end": 6637, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 67 } } } ] }, { "type": "VariableDeclaration", "start": 6647, "end": 6717, "loc": { "start": { "line": 205, "column": 8 }, "end": { "line": 205, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6653, "end": 6716, "loc": { "start": { "line": 205, "column": 14 }, "end": { "line": 205, "column": 77 } }, "id": { "type": "Identifier", "start": 6653, "end": 6668, "loc": { "start": { "line": 205, "column": 14 }, "end": { "line": 205, "column": 29 }, "identifierName": "ejectSlotWsTile" }, "name": "ejectSlotWsTile", "leadingComments": null }, "init": { "type": "CallExpression", "start": 6671, "end": 6716, "loc": { "start": { "line": 205, "column": 32 }, "end": { "line": 205, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 6671, "end": 6698, "loc": { "start": { "line": 205, "column": 32 }, "end": { "line": 205, "column": 59 } }, "object": { "type": "Identifier", "start": 6671, "end": 6681, "loc": { "start": { "line": 205, "column": 32 }, "end": { "line": 205, "column": 42 }, "identifierName": "lastStatic" }, "name": "lastStatic" }, "property": { "type": "Identifier", "start": 6682, "end": 6698, "loc": { "start": { "line": 205, "column": 43 }, "end": { "line": 205, "column": 59 }, "identifierName": "localTileToWorld" }, "name": "localTileToWorld" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 6699, "end": 6715, "loc": { "start": { "line": 205, "column": 60 }, "end": { "line": 205, "column": 76 } }, "callee": { "type": "Identifier", "start": 6703, "end": 6709, "loc": { "start": { "line": 205, "column": 64 }, "end": { "line": 205, "column": 70 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 6710, "end": 6711, "loc": { "start": { "line": 205, "column": 71 }, "end": { "line": 205, "column": 72 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 6713, "end": 6714, "loc": { "start": { "line": 205, "column": 74 }, "end": { "line": 205, "column": 75 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Figure out where and into which direction we eject items", "start": 6578, "end": 6637, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 67 } } } ] }, { "type": "VariableDeclaration", "start": 6727, "end": 6813, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 94 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6733, "end": 6812, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 93 } }, "id": { "type": "Identifier", "start": 6733, "end": 6753, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 34 }, "identifierName": "ejectSlotWsDirection" }, "name": "ejectSlotWsDirection" }, "init": { "type": "CallExpression", "start": 6756, "end": 6812, "loc": { "start": { "line": 206, "column": 37 }, "end": { "line": 206, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 6756, "end": 6788, "loc": { "start": { "line": 206, "column": 37 }, "end": { "line": 206, "column": 69 } }, "object": { "type": "Identifier", "start": 6756, "end": 6766, "loc": { "start": { "line": 206, "column": 37 }, "end": { "line": 206, "column": 47 }, "identifierName": "lastStatic" }, "name": "lastStatic" }, "property": { "type": "Identifier", "start": 6767, "end": 6788, "loc": { "start": { "line": 206, "column": 48 }, "end": { "line": 206, "column": 69 }, "identifierName": "localDirectionToWorld" }, "name": "localDirectionToWorld" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6789, "end": 6811, "loc": { "start": { "line": 206, "column": 70 }, "end": { "line": 206, "column": 92 } }, "object": { "type": "Identifier", "start": 6789, "end": 6801, "loc": { "start": { "line": 206, "column": 70 }, "end": { "line": 206, "column": 82 }, "identifierName": "lastBeltComp" }, "name": "lastBeltComp" }, "property": { "type": "Identifier", "start": 6802, "end": 6811, "loc": { "start": { "line": 206, "column": 83 }, "end": { "line": 206, "column": 92 }, "identifierName": "direction" }, "name": "direction" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6823, "end": 6902, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6829, "end": 6901, "loc": { "start": { "line": 207, "column": 14 }, "end": { "line": 207, "column": 86 } }, "id": { "type": "Identifier", "start": 6829, "end": 6855, "loc": { "start": { "line": 207, "column": 14 }, "end": { "line": 207, "column": 40 }, "identifierName": "ejectSlotWsDirectionVector" }, "name": "ejectSlotWsDirectionVector" }, "init": { "type": "MemberExpression", "start": 6858, "end": 6901, "loc": { "start": { "line": 207, "column": 43 }, "end": { "line": 207, "column": 86 } }, "object": { "type": "Identifier", "start": 6858, "end": 6879, "loc": { "start": { "line": 207, "column": 43 }, "end": { "line": 207, "column": 64 }, "identifierName": "enumDirectionToVector" }, "name": "enumDirectionToVector" }, "property": { "type": "Identifier", "start": 6880, "end": 6900, "loc": { "start": { "line": 207, "column": 65 }, "end": { "line": 207, "column": 85 }, "identifierName": "ejectSlotWsDirection" }, "name": "ejectSlotWsDirection" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6912, "end": 6990, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6918, "end": 6989, "loc": { "start": { "line": 208, "column": 14 }, "end": { "line": 208, "column": 85 } }, "id": { "type": "Identifier", "start": 6918, "end": 6939, "loc": { "start": { "line": 208, "column": 14 }, "end": { "line": 208, "column": 35 }, "identifierName": "ejectSlotTargetWsTile" }, "name": "ejectSlotTargetWsTile" }, "init": { "type": "CallExpression", "start": 6942, "end": 6989, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 6942, "end": 6961, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 57 } }, "object": { "type": "Identifier", "start": 6942, "end": 6957, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 53 }, "identifierName": "ejectSlotWsTile" }, "name": "ejectSlotWsTile" }, "property": { "type": "Identifier", "start": 6958, "end": 6961, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 57 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6962, "end": 6988, "loc": { "start": { "line": 208, "column": 58 }, "end": { "line": 208, "column": 84 }, "identifierName": "ejectSlotWsDirectionVector" }, "name": "ejectSlotWsDirectionVector" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Try to find the given acceptor component to take the item", "start": 7002, "end": 7062, "loc": { "start": { "line": 210, "column": 8 }, "end": { "line": 210, "column": 68 } } } ] }, { "type": "VariableDeclaration", "start": 7072, "end": 7236, "loc": { "start": { "line": 211, "column": 8 }, "end": { "line": 215, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7078, "end": 7235, "loc": { "start": { "line": 211, "column": 14 }, "end": { "line": 215, "column": 9 } }, "id": { "type": "Identifier", "start": 7078, "end": 7090, "loc": { "start": { "line": 211, "column": 14 }, "end": { "line": 211, "column": 26 }, "identifierName": "targetEntity" }, "name": "targetEntity", "leadingComments": null }, "init": { "type": "CallExpression", "start": 7093, "end": 7235, "loc": { "start": { "line": 211, "column": 29 }, "end": { "line": 215, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 7093, "end": 7124, "loc": { "start": { "line": 211, "column": 29 }, "end": { "line": 211, "column": 60 } }, "object": { "type": "MemberExpression", "start": 7093, "end": 7106, "loc": { "start": { "line": 211, "column": 29 }, "end": { "line": 211, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7093, "end": 7102, "loc": { "start": { "line": 211, "column": 29 }, "end": { "line": 211, "column": 38 } }, "object": { "type": "ThisExpression", "start": 7093, "end": 7097, "loc": { "start": { "line": 211, "column": 29 }, "end": { "line": 211, "column": 33 } } }, "property": { "type": "Identifier", "start": 7098, "end": 7102, "loc": { "start": { "line": 211, "column": 34 }, "end": { "line": 211, "column": 38 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 7103, "end": 7106, "loc": { "start": { "line": 211, "column": 39 }, "end": { "line": 211, "column": 42 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 7107, "end": 7124, "loc": { "start": { "line": 211, "column": 43 }, "end": { "line": 211, "column": 60 }, "identifierName": "getLayerContentXY" }, "name": "getLayerContentXY" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7139, "end": 7162, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 35 } }, "object": { "type": "Identifier", "start": 7139, "end": 7160, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 33 }, "identifierName": "ejectSlotTargetWsTile" }, "name": "ejectSlotTargetWsTile" }, "property": { "type": "Identifier", "start": 7161, "end": 7162, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 35 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 7177, "end": 7200, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 35 } }, "object": { "type": "Identifier", "start": 7177, "end": 7198, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 33 }, "identifierName": "ejectSlotTargetWsTile" }, "name": "ejectSlotTargetWsTile" }, "property": { "type": "Identifier", "start": 7199, "end": 7200, "loc": { "start": { "line": 213, "column": 34 }, "end": { "line": 213, "column": 35 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "StringLiteral", "start": 7215, "end": 7224, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 21 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Try to find the given acceptor component to take the item", "start": 7002, "end": 7062, "loc": { "start": { "line": 210, "column": 8 }, "end": { "line": 210, "column": 68 } } } ] }, { "type": "IfStatement", "start": 7248, "end": 9250, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 267, "column": 9 } }, "test": { "type": "Identifier", "start": 7252, "end": 7264, "loc": { "start": { "line": 217, "column": 12 }, "end": { "line": 217, "column": 24 }, "identifierName": "targetEntity" }, "name": "targetEntity" }, "consequent": { "type": "BlockStatement", "start": 7266, "end": 9250, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 267, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 7281, "end": 7361, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 92 } }, "expression": { "type": "LogicalExpression", "start": 7281, "end": 7360, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 91 } }, "left": { "type": "LogicalExpression", "start": 7281, "end": 7303, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 34 } }, "left": { "type": "Identifier", "start": 7281, "end": 7286, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 7290, "end": 7303, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 34 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7291, "end": 7303, "loc": { "start": { "line": 218, "column": 22 }, "end": { "line": 218, "column": 34 }, "identifierName": "debug_Silent" }, "name": "debug_Silent" }, "extra": { "parenthesizedArgument": false } } }, "operator": "&&", "right": { "type": "CallExpression", "start": 7307, "end": 7360, "loc": { "start": { "line": 218, "column": 38 }, "end": { "line": 218, "column": 91 } }, "callee": { "type": "MemberExpression", "start": 7307, "end": 7317, "loc": { "start": { "line": 218, "column": 38 }, "end": { "line": 218, "column": 48 } }, "object": { "type": "Identifier", "start": 7307, "end": 7313, "loc": { "start": { "line": 218, "column": 38 }, "end": { "line": 218, "column": 44 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 7314, "end": 7317, "loc": { "start": { "line": 218, "column": 45 }, "end": { "line": 218, "column": 48 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7318, "end": 7341, "loc": { "start": { "line": 218, "column": 49 }, "end": { "line": 218, "column": 72 } }, "extra": { "rawValue": " Found target entity", "raw": "\" Found target entity\"" }, "value": " Found target entity" }, { "type": "MemberExpression", "start": 7343, "end": 7359, "loc": { "start": { "line": 218, "column": 74 }, "end": { "line": 218, "column": 90 } }, "object": { "type": "Identifier", "start": 7343, "end": 7355, "loc": { "start": { "line": 218, "column": 74 }, "end": { "line": 218, "column": 86 }, "identifierName": "targetEntity" }, "name": "targetEntity" }, "property": { "type": "Identifier", "start": 7356, "end": 7359, "loc": { "start": { "line": 218, "column": 87 }, "end": { "line": 218, "column": 90 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] } } }, { "type": "VariableDeclaration", "start": 7375, "end": 7440, "loc": { "start": { "line": 219, "column": 12 }, "end": { "line": 219, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7381, "end": 7439, "loc": { "start": { "line": 219, "column": 18 }, "end": { "line": 219, "column": 76 } }, "id": { "type": "Identifier", "start": 7381, "end": 7397, "loc": { "start": { "line": 219, "column": 18 }, "end": { "line": 219, "column": 34 }, "identifierName": "targetStaticComp" }, "name": "targetStaticComp" }, "init": { "type": "MemberExpression", "start": 7400, "end": 7439, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 76 } }, "object": { "type": "MemberExpression", "start": 7400, "end": 7423, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 60 } }, "object": { "type": "Identifier", "start": 7400, "end": 7412, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 49 }, "identifierName": "targetEntity" }, "name": "targetEntity" }, "property": { "type": "Identifier", "start": 7413, "end": 7423, "loc": { "start": { "line": 219, "column": 50 }, "end": { "line": 219, "column": 60 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 7424, "end": 7439, "loc": { "start": { "line": 219, "column": 61 }, "end": { "line": 219, "column": 76 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 7454, "end": 7506, "loc": { "start": { "line": 220, "column": 12 }, "end": { "line": 220, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7460, "end": 7505, "loc": { "start": { "line": 220, "column": 18 }, "end": { "line": 220, "column": 63 } }, "id": { "type": "Identifier", "start": 7460, "end": 7474, "loc": { "start": { "line": 220, "column": 18 }, "end": { "line": 220, "column": 32 }, "identifierName": "targetBeltComp" }, "name": "targetBeltComp" }, "init": { "type": "MemberExpression", "start": 7477, "end": 7505, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 220, "column": 63 } }, "object": { "type": "MemberExpression", "start": 7477, "end": 7500, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 220, "column": 58 } }, "object": { "type": "Identifier", "start": 7477, "end": 7489, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 220, "column": 47 }, "identifierName": "targetEntity" }, "name": "targetEntity" }, "property": { "type": "Identifier", "start": 7490, "end": 7500, "loc": { "start": { "line": 220, "column": 48 }, "end": { "line": 220, "column": 58 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 7501, "end": 7505, "loc": { "start": { "line": 220, "column": 59 }, "end": { "line": 220, "column": 63 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Check for belts (special case)", "start": 7522, "end": 7555, "loc": { "start": { "line": 222, "column": 12 }, "end": { "line": 222, "column": 45 } } } ] }, { "type": "IfStatement", "start": 7569, "end": 8378, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 242, "column": 13 } }, "test": { "type": "Identifier", "start": 7573, "end": 7587, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 30 }, "identifierName": "targetBeltComp" }, "name": "targetBeltComp", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7589, "end": 8378, "loc": { "start": { "line": 223, "column": 32 }, "end": { "line": 242, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 7608, "end": 7697, "loc": { "start": { "line": 224, "column": 16 }, "end": { "line": 224, "column": 105 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7614, "end": 7696, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 104 } }, "id": { "type": "Identifier", "start": 7614, "end": 7636, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 44 }, "identifierName": "beltAcceptingDirection" }, "name": "beltAcceptingDirection" }, "init": { "type": "CallExpression", "start": 7639, "end": 7696, "loc": { "start": { "line": 224, "column": 47 }, "end": { "line": 224, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 7639, "end": 7677, "loc": { "start": { "line": 224, "column": 47 }, "end": { "line": 224, "column": 85 } }, "object": { "type": "Identifier", "start": 7639, "end": 7655, "loc": { "start": { "line": 224, "column": 47 }, "end": { "line": 224, "column": 63 }, "identifierName": "targetStaticComp" }, "name": "targetStaticComp" }, "property": { "type": "Identifier", "start": 7656, "end": 7677, "loc": { "start": { "line": 224, "column": 64 }, "end": { "line": 224, "column": 85 }, "identifierName": "localDirectionToWorld" }, "name": "localDirectionToWorld" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7678, "end": 7695, "loc": { "start": { "line": 224, "column": 86 }, "end": { "line": 224, "column": 103 } }, "object": { "type": "Identifier", "start": 7678, "end": 7691, "loc": { "start": { "line": 224, "column": 86 }, "end": { "line": 224, "column": 99 }, "identifierName": "enumDirection" }, "name": "enumDirection" }, "property": { "type": "Identifier", "start": 7692, "end": 7695, "loc": { "start": { "line": 224, "column": 100 }, "end": { "line": 224, "column": 103 }, "identifierName": "top" }, "name": "top" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 7715, "end": 8095, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 234, "column": 22 } }, "expression": { "type": "LogicalExpression", "start": 7715, "end": 8094, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 234, "column": 21 } }, "left": { "type": "LogicalExpression", "start": 7715, "end": 7758, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 226, "column": 33 } }, "left": { "type": "Identifier", "start": 7715, "end": 7720, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 7745, "end": 7758, "loc": { "start": { "line": 226, "column": 20 }, "end": { "line": 226, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7746, "end": 7758, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 33 }, "identifierName": "debug_Silent" }, "name": "debug_Silent" }, "extra": { "parenthesizedArgument": false } } }, "operator": "&&", "right": { "type": "CallExpression", "start": 7783, "end": 8094, "loc": { "start": { "line": 227, "column": 20 }, "end": { "line": 234, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 7783, "end": 7793, "loc": { "start": { "line": 227, "column": 20 }, "end": { "line": 227, "column": 30 } }, "object": { "type": "Identifier", "start": 7783, "end": 7789, "loc": { "start": { "line": 227, "column": 20 }, "end": { "line": 227, "column": 26 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 7790, "end": 7793, "loc": { "start": { "line": 227, "column": 27 }, "end": { "line": 227, "column": 30 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7820, "end": 7854, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 58 } }, "extra": { "rawValue": " Entity is accepting items from", "raw": "\" Entity is accepting items from\"" }, "value": " Entity is accepting items from" }, { "type": "Identifier", "start": 7881, "end": 7901, "loc": { "start": { "line": 229, "column": 24 }, "end": { "line": 229, "column": 44 }, "identifierName": "ejectSlotWsDirection" }, "name": "ejectSlotWsDirection" }, { "type": "StringLiteral", "start": 7928, "end": 7932, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 28 } }, "extra": { "rawValue": "vs", "raw": "\"vs\"" }, "value": "vs" }, { "type": "Identifier", "start": 7959, "end": 7981, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 46 }, "identifierName": "beltAcceptingDirection" }, "name": "beltAcceptingDirection" }, { "type": "StringLiteral", "start": 8008, "end": 8019, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 35 } }, "extra": { "rawValue": "Rotation:", "raw": "\"Rotation:\"" }, "value": "Rotation:" }, { "type": "MemberExpression", "start": 8046, "end": 8071, "loc": { "start": { "line": 233, "column": 24 }, "end": { "line": 233, "column": 49 } }, "object": { "type": "Identifier", "start": 8046, "end": 8062, "loc": { "start": { "line": 233, "column": 24 }, "end": { "line": 233, "column": 40 }, "identifierName": "targetStaticComp" }, "name": "targetStaticComp" }, "property": { "type": "Identifier", "start": 8063, "end": 8071, "loc": { "start": { "line": 233, "column": 41 }, "end": { "line": 233, "column": 49 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false } ] } } }, { "type": "IfStatement", "start": 8113, "end": 8363, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 241, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 8117, "end": 8164, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 67 } }, "left": { "type": "Identifier", "start": 8117, "end": 8137, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 40 }, "identifierName": "ejectSlotWsDirection" }, "name": "ejectSlotWsDirection" }, "operator": "===", "right": { "type": "Identifier", "start": 8142, "end": 8164, "loc": { "start": { "line": 235, "column": 45 }, "end": { "line": 235, "column": 67 }, "identifierName": "beltAcceptingDirection" }, "name": "beltAcceptingDirection" } }, "consequent": { "type": "BlockStatement", "start": 8166, "end": 8363, "loc": { "start": { "line": 235, "column": 69 }, "end": { "line": 241, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 8189, "end": 8344, "loc": { "start": { "line": 236, "column": 20 }, "end": { "line": 240, "column": 22 } }, "argument": { "type": "ObjectExpression", "start": 8196, "end": 8343, "loc": { "start": { "line": 236, "column": 27 }, "end": { "line": 240, "column": 21 } }, "properties": [ { "type": "ObjectProperty", "start": 8223, "end": 8243, "loc": { "start": { "line": 237, "column": 24 }, "end": { "line": 237, "column": 44 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 8223, "end": 8229, "loc": { "start": { "line": 237, "column": 24 }, "end": { "line": 237, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "value": { "type": "Identifier", "start": 8231, "end": 8243, "loc": { "start": { "line": 237, "column": 32 }, "end": { "line": 237, "column": 44 }, "identifierName": "targetEntity" }, "name": "targetEntity" } }, { "type": "ObjectProperty", "start": 8270, "end": 8285, "loc": { "start": { "line": 238, "column": 24 }, "end": { "line": 238, "column": 39 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 8270, "end": 8279, "loc": { "start": { "line": 238, "column": 24 }, "end": { "line": 238, "column": 33 }, "identifierName": "direction" }, "name": "direction" }, "value": { "type": "NullLiteral", "start": 8281, "end": 8285, "loc": { "start": { "line": 238, "column": 35 }, "end": { "line": 238, "column": 39 } } } }, { "type": "ObjectProperty", "start": 8312, "end": 8319, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 31 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 8312, "end": 8316, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 28 }, "identifierName": "slot" }, "name": "slot" }, "value": { "type": "NumericLiteral", "start": 8318, "end": 8319, "loc": { "start": { "line": 239, "column": 30 }, "end": { "line": 239, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check for belts (special case)", "start": 7522, "end": 7555, "loc": { "start": { "line": 222, "column": 12 }, "end": { "line": 222, "column": 45 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check for item acceptors", "start": 8394, "end": 8421, "loc": { "start": { "line": 244, "column": 12 }, "end": { "line": 244, "column": 39 } } } ] }, { "type": "VariableDeclaration", "start": 8435, "end": 8499, "loc": { "start": { "line": 245, "column": 12 }, "end": { "line": 245, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8441, "end": 8498, "loc": { "start": { "line": 245, "column": 18 }, "end": { "line": 245, "column": 75 } }, "id": { "type": "Identifier", "start": 8441, "end": 8459, "loc": { "start": { "line": 245, "column": 18 }, "end": { "line": 245, "column": 36 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 8462, "end": 8498, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 75 } }, "object": { "type": "MemberExpression", "start": 8462, "end": 8485, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 62 } }, "object": { "type": "Identifier", "start": 8462, "end": 8474, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 51 }, "identifierName": "targetEntity" }, "name": "targetEntity" }, "property": { "type": "Identifier", "start": 8475, "end": 8485, "loc": { "start": { "line": 245, "column": 52 }, "end": { "line": 245, "column": 62 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 8486, "end": 8498, "loc": { "start": { "line": 245, "column": 63 }, "end": { "line": 245, "column": 75 }, "identifierName": "ItemAcceptor" }, "name": "ItemAcceptor" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check for item acceptors", "start": 8394, "end": 8421, "loc": { "start": { "line": 244, "column": 12 }, "end": { "line": 244, "column": 39 } } } ] }, { "type": "IfStatement", "start": 8513, "end": 8627, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 249, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 8517, "end": 8536, "loc": { "start": { "line": 246, "column": 16 }, "end": { "line": 246, "column": 35 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 8518, "end": 8536, "loc": { "start": { "line": 246, "column": 17 }, "end": { "line": 246, "column": 35 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 8538, "end": 8627, "loc": { "start": { "line": 246, "column": 37 }, "end": { "line": 249, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 8605, "end": 8612, "loc": { "start": { "line": 248, "column": 16 }, "end": { "line": 248, "column": 23 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Entity doesn't accept items", "start": 8557, "end": 8587, "loc": { "start": { "line": 247, "column": 16 }, "end": { "line": 247, "column": 46 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 8643, "end": 8730, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 99 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8649, "end": 8729, "loc": { "start": { "line": 251, "column": 18 }, "end": { "line": 251, "column": 98 } }, "id": { "type": "Identifier", "start": 8649, "end": 8666, "loc": { "start": { "line": 251, "column": 18 }, "end": { "line": 251, "column": 35 }, "identifierName": "ejectingDirection" }, "name": "ejectingDirection" }, "init": { "type": "CallExpression", "start": 8669, "end": 8729, "loc": { "start": { "line": 251, "column": 38 }, "end": { "line": 251, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 8669, "end": 8707, "loc": { "start": { "line": 251, "column": 38 }, "end": { "line": 251, "column": 76 } }, "object": { "type": "Identifier", "start": 8669, "end": 8685, "loc": { "start": { "line": 251, "column": 38 }, "end": { "line": 251, "column": 54 }, "identifierName": "targetStaticComp" }, "name": "targetStaticComp" }, "property": { "type": "Identifier", "start": 8686, "end": 8707, "loc": { "start": { "line": 251, "column": 55 }, "end": { "line": 251, "column": 76 }, "identifierName": "worldDirectionToLocal" }, "name": "worldDirectionToLocal" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8708, "end": 8728, "loc": { "start": { "line": 251, "column": 77 }, "end": { "line": 251, "column": 97 }, "identifierName": "ejectSlotWsDirection" }, "name": "ejectSlotWsDirection" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 8744, "end": 8927, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 255, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8750, "end": 8926, "loc": { "start": { "line": 252, "column": 18 }, "end": { "line": 255, "column": 13 } }, "id": { "type": "Identifier", "start": 8750, "end": 8762, "loc": { "start": { "line": 252, "column": 18 }, "end": { "line": 252, "column": 30 }, "identifierName": "matchingSlot" }, "name": "matchingSlot" }, "init": { "type": "CallExpression", "start": 8765, "end": 8926, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 255, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 8765, "end": 8800, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 68 } }, "object": { "type": "Identifier", "start": 8765, "end": 8783, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 51 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp" }, "property": { "type": "Identifier", "start": 8784, "end": 8800, "loc": { "start": { "line": 252, "column": 52 }, "end": { "line": 252, "column": 68 }, "identifierName": "findMatchingSlot" }, "name": "findMatchingSlot" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8819, "end": 8875, "loc": { "start": { "line": 253, "column": 16 }, "end": { "line": 253, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 8819, "end": 8852, "loc": { "start": { "line": 253, "column": 16 }, "end": { "line": 253, "column": 49 } }, "object": { "type": "Identifier", "start": 8819, "end": 8835, "loc": { "start": { "line": 253, "column": 16 }, "end": { "line": 253, "column": 32 }, "identifierName": "targetStaticComp" }, "name": "targetStaticComp" }, "property": { "type": "Identifier", "start": 8836, "end": 8852, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 49 }, "identifierName": "worldToLocalTile" }, "name": "worldToLocalTile" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8853, "end": 8874, "loc": { "start": { "line": 253, "column": 50 }, "end": { "line": 253, "column": 71 }, "identifierName": "ejectSlotTargetWsTile" }, "name": "ejectSlotTargetWsTile" } ] }, { "type": "Identifier", "start": 8894, "end": 8911, "loc": { "start": { "line": 254, "column": 16 }, "end": { "line": 254, "column": 33 }, "identifierName": "ejectingDirection" }, "name": "ejectingDirection" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 8943, "end": 9046, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 260, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 8947, "end": 8960, "loc": { "start": { "line": 257, "column": 16 }, "end": { "line": 257, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 8948, "end": 8960, "loc": { "start": { "line": 257, "column": 17 }, "end": { "line": 257, "column": 29 }, "identifierName": "matchingSlot" }, "name": "matchingSlot" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 8962, "end": 9046, "loc": { "start": { "line": 257, "column": 31 }, "end": { "line": 260, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 9024, "end": 9031, "loc": { "start": { "line": 259, "column": 16 }, "end": { "line": 259, "column": 23 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " No matching slot found", "start": 8981, "end": 9006, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 41 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 9062, "end": 9239, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 266, "column": 14 } }, "argument": { "type": "ObjectExpression", "start": 9069, "end": 9238, "loc": { "start": { "line": 262, "column": 19 }, "end": { "line": 266, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 9088, "end": 9108, "loc": { "start": { "line": 263, "column": 16 }, "end": { "line": 263, "column": 36 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 9088, "end": 9094, "loc": { "start": { "line": 263, "column": 16 }, "end": { "line": 263, "column": 22 }, "identifierName": "entity" }, "name": "entity" }, "value": { "type": "Identifier", "start": 9096, "end": 9108, "loc": { "start": { "line": 263, "column": 24 }, "end": { "line": 263, "column": 36 }, "identifierName": "targetEntity" }, "name": "targetEntity" } }, { "type": "ObjectProperty", "start": 9127, "end": 9151, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 9127, "end": 9131, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 20 }, "identifierName": "slot" }, "name": "slot" }, "value": { "type": "MemberExpression", "start": 9133, "end": 9151, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 40 } }, "object": { "type": "Identifier", "start": 9133, "end": 9145, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 34 }, "identifierName": "matchingSlot" }, "name": "matchingSlot" }, "property": { "type": "Identifier", "start": 9146, "end": 9151, "loc": { "start": { "line": 264, "column": 35 }, "end": { "line": 264, "column": 40 }, "identifierName": "index" }, "name": "index" }, "computed": false } }, { "type": "ObjectProperty", "start": 9170, "end": 9222, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 265, "column": 68 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 9170, "end": 9179, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 265, "column": 25 }, "identifierName": "direction" }, "name": "direction" }, "value": { "type": "MemberExpression", "start": 9181, "end": 9222, "loc": { "start": { "line": 265, "column": 27 }, "end": { "line": 265, "column": 68 } }, "object": { "type": "Identifier", "start": 9181, "end": 9203, "loc": { "start": { "line": 265, "column": 27 }, "end": { "line": 265, "column": 49 }, "identifierName": "enumInvertedDirections" }, "name": "enumInvertedDirections" }, "property": { "type": "Identifier", "start": 9204, "end": 9221, "loc": { "start": { "line": 265, "column": 50 }, "end": { "line": 265, "column": 67 }, "identifierName": "ejectingDirection" }, "name": "ejectingDirection" }, "computed": true } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds the entity which accepts our items\r\n * @param {boolean=} debug_Silent Whether debug output should be silent\r\n * @return {{ entity: Entity, slot: number, direction?: enumDirection }}\r\n ", "start": 6013, "end": 6229, "loc": { "start": { "line": 192, "column": 4 }, "end": { "line": 196, "column": 7 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Following code will be compiled out outside of dev versions", "start": 9265, "end": 9327, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 270, "column": 66 } } }, { "type": "CommentBlock", "value": " dev:start ", "start": 9333, "end": 9348, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 271, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper to throw an error on mismatch\r\n * @param {string} change\r\n * @param {Array} reason\r\n ", "start": 9356, "end": 9479, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 277, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9485, "end": 9634, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 280, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9485, "end": 9504, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "column": 23 }, "identifierName": "debug_failIntegrity" }, "name": "debug_failIntegrity", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9505, "end": 9511, "loc": { "start": { "line": 278, "column": 24 }, "end": { "line": 278, "column": 30 }, "identifierName": "change" }, "name": "change" }, { "type": "RestElement", "start": 9513, "end": 9522, "loc": { "start": { "line": 278, "column": 32 }, "end": { "line": 278, "column": 41 } }, "argument": { "type": "Identifier", "start": 9516, "end": 9522, "loc": { "start": { "line": 278, "column": 35 }, "end": { "line": 278, "column": 41 }, "identifierName": "reason" }, "name": "reason" } } ], "body": { "type": "BlockStatement", "start": 9524, "end": 9634, "loc": { "start": { "line": 278, "column": 43 }, "end": { "line": 280, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 9535, "end": 9627, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 100 } }, "argument": { "type": "NewExpression", "start": 9541, "end": 9626, "loc": { "start": { "line": 279, "column": 14 }, "end": { "line": 279, "column": 99 } }, "callee": { "type": "Identifier", "start": 9545, "end": 9550, "loc": { "start": { "line": 279, "column": 18 }, "end": { "line": 279, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "BinaryExpression", "start": 9551, "end": 9625, "loc": { "start": { "line": 279, "column": 24 }, "end": { "line": 279, "column": 98 } }, "left": { "type": "BinaryExpression", "start": 9551, "end": 9589, "loc": { "start": { "line": 279, "column": 24 }, "end": { "line": 279, "column": 62 } }, "left": { "type": "BinaryExpression", "start": 9551, "end": 9581, "loc": { "start": { "line": 279, "column": 24 }, "end": { "line": 279, "column": 54 } }, "left": { "type": "StringLiteral", "start": 9551, "end": 9572, "loc": { "start": { "line": 279, "column": 24 }, "end": { "line": 279, "column": 45 } }, "extra": { "rawValue": "belt path invalid (", "raw": "\"belt path invalid (\"" }, "value": "belt path invalid (" }, "operator": "+", "right": { "type": "Identifier", "start": 9575, "end": 9581, "loc": { "start": { "line": 279, "column": 48 }, "end": { "line": 279, "column": 54 }, "identifierName": "change" }, "name": "change" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 9584, "end": 9589, "loc": { "start": { "line": 279, "column": 57 }, "end": { "line": 279, "column": 62 } }, "extra": { "rawValue": "): ", "raw": "\"): \"" }, "value": "): " } }, "operator": "+", "right": { "type": "CallExpression", "start": 9592, "end": 9625, "loc": { "start": { "line": 279, "column": 65 }, "end": { "line": 279, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 9592, "end": 9620, "loc": { "start": { "line": 279, "column": 65 }, "end": { "line": 279, "column": 93 } }, "object": { "type": "CallExpression", "start": 9592, "end": 9615, "loc": { "start": { "line": 279, "column": 65 }, "end": { "line": 279, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 9592, "end": 9602, "loc": { "start": { "line": 279, "column": 65 }, "end": { "line": 279, "column": 75 } }, "object": { "type": "Identifier", "start": 9592, "end": 9598, "loc": { "start": { "line": 279, "column": 65 }, "end": { "line": 279, "column": 71 }, "identifierName": "reason" }, "name": "reason" }, "property": { "type": "Identifier", "start": 9599, "end": 9602, "loc": { "start": { "line": 279, "column": 72 }, "end": { "line": 279, "column": 75 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9603, "end": 9614, "loc": { "start": { "line": 279, "column": 76 }, "end": { "line": 279, "column": 87 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 9603, "end": 9604, "loc": { "start": { "line": 279, "column": 76 }, "end": { "line": 279, "column": 77 }, "identifierName": "i" }, "name": "i" } ], "body": { "type": "BinaryExpression", "start": 9608, "end": 9614, "loc": { "start": { "line": 279, "column": 81 }, "end": { "line": 279, "column": 87 } }, "left": { "type": "StringLiteral", "start": 9608, "end": 9610, "loc": { "start": { "line": 279, "column": 81 }, "end": { "line": 279, "column": 83 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 9613, "end": 9614, "loc": { "start": { "line": 279, "column": 86 }, "end": { "line": 279, "column": 87 }, "identifierName": "i" }, "name": "i" } } } ] }, "property": { "type": "Identifier", "start": 9616, "end": 9620, "loc": { "start": { "line": 279, "column": 89 }, "end": { "line": 279, "column": 93 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9621, "end": 9624, "loc": { "start": { "line": 279, "column": 94 }, "end": { "line": 279, "column": 97 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Following code will be compiled out outside of dev versions", "start": 9265, "end": 9327, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 270, "column": 66 } } }, { "type": "CommentBlock", "value": " dev:start ", "start": 9333, "end": 9348, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 271, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper to throw an error on mismatch\r\n * @param {string} change\r\n * @param {Array} reason\r\n ", "start": 9356, "end": 9479, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 277, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if this path is valid\r\n ", "start": 9642, "end": 9691, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 284, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9697, "end": 15797, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 454, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9697, "end": 9717, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 24 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 9718, "end": 9742, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 49 } }, "left": { "type": "Identifier", "start": 9718, "end": 9731, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 38 }, "identifierName": "currentChange" }, "name": "currentChange" }, "right": { "type": "StringLiteral", "start": 9734, "end": 9742, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 49 } }, "extra": { "rawValue": "change", "raw": "\"change\"" }, "value": "change" } } ], "body": { "type": "BlockStatement", "start": 9744, "end": 15797, "loc": { "start": { "line": 285, "column": 51 }, "end": { "line": 454, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9755, "end": 9830, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 83 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9761, "end": 9829, "loc": { "start": { "line": 286, "column": 14 }, "end": { "line": 286, "column": 82 } }, "id": { "type": "Identifier", "start": 9761, "end": 9765, "loc": { "start": { "line": 286, "column": 14 }, "end": { "line": 286, "column": 18 }, "identifierName": "fail" }, "name": "fail" }, "init": { "type": "ArrowFunctionExpression", "start": 9768, "end": 9829, "loc": { "start": { "line": 286, "column": 21 }, "end": { "line": 286, "column": 82 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "RestElement", "start": 9769, "end": 9776, "loc": { "start": { "line": 286, "column": 22 }, "end": { "line": 286, "column": 29 } }, "argument": { "type": "Identifier", "start": 9772, "end": 9776, "loc": { "start": { "line": 286, "column": 25 }, "end": { "line": 286, "column": 29 }, "identifierName": "args" }, "name": "args" } } ], "body": { "type": "CallExpression", "start": 9781, "end": 9829, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 9781, "end": 9805, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 58 } }, "object": { "type": "ThisExpression", "start": 9781, "end": 9785, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 38 } } }, "property": { "type": "Identifier", "start": 9786, "end": 9805, "loc": { "start": { "line": 286, "column": 39 }, "end": { "line": 286, "column": 58 }, "identifierName": "debug_failIntegrity" }, "name": "debug_failIntegrity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9806, "end": 9819, "loc": { "start": { "line": 286, "column": 59 }, "end": { "line": 286, "column": 72 }, "identifierName": "currentChange" }, "name": "currentChange" }, { "type": "SpreadElement", "start": 9821, "end": 9828, "loc": { "start": { "line": 286, "column": 74 }, "end": { "line": 286, "column": 81 } }, "argument": { "type": "Identifier", "start": 9824, "end": 9828, "loc": { "start": { "line": 286, "column": 77 }, "end": { "line": 286, "column": 81 }, "identifierName": "args" }, "name": "args" } } ] } } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Check for empty path", "start": 9842, "end": 9865, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 31 } } } ] }, { "type": "IfStatement", "start": 9875, "end": 9969, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 291, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 9879, "end": 9907, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 40 } }, "left": { "type": "MemberExpression", "start": 9879, "end": 9901, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 34 } }, "object": { "type": "MemberExpression", "start": 9879, "end": 9894, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 27 } }, "object": { "type": "ThisExpression", "start": 9879, "end": 9883, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9884, "end": 9894, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 27 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 9895, "end": 9901, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 34 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 9906, "end": 9907, "loc": { "start": { "line": 289, "column": 39 }, "end": { "line": 289, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 9909, "end": 9969, "loc": { "start": { "line": 289, "column": 42 }, "end": { "line": 291, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 9924, "end": 9958, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 46 } }, "argument": { "type": "CallExpression", "start": 9931, "end": 9957, "loc": { "start": { "line": 290, "column": 19 }, "end": { "line": 290, "column": 45 } }, "callee": { "type": "Identifier", "start": 9931, "end": 9935, "loc": { "start": { "line": 290, "column": 19 }, "end": { "line": 290, "column": 23 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 9936, "end": 9956, "loc": { "start": { "line": 290, "column": 24 }, "end": { "line": 290, "column": 44 } }, "extra": { "rawValue": "Belt path is empty", "raw": "\"Belt path is empty\"" }, "value": "Belt path is empty" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check for empty path", "start": 9842, "end": 9865, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 31 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check for mismatching length", "start": 9981, "end": 10012, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 39 } } } ] }, { "type": "VariableDeclaration", "start": 10022, "end": 10068, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10028, "end": 10067, "loc": { "start": { "line": 294, "column": 14 }, "end": { "line": 294, "column": 53 } }, "id": { "type": "Identifier", "start": 10028, "end": 10039, "loc": { "start": { "line": 294, "column": 14 }, "end": { "line": 294, "column": 25 }, "identifierName": "totalLength" }, "name": "totalLength", "leadingComments": null }, "init": { "type": "CallExpression", "start": 10042, "end": 10067, "loc": { "start": { "line": 294, "column": 28 }, "end": { "line": 294, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 10042, "end": 10065, "loc": { "start": { "line": 294, "column": 28 }, "end": { "line": 294, "column": 51 } }, "object": { "type": "ThisExpression", "start": 10042, "end": 10046, "loc": { "start": { "line": 294, "column": 28 }, "end": { "line": 294, "column": 32 } } }, "property": { "type": "Identifier", "start": 10047, "end": 10065, "loc": { "start": { "line": 294, "column": 33 }, "end": { "line": 294, "column": 51 }, "identifierName": "computeTotalLength" }, "name": "computeTotalLength" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check for mismatching length", "start": 9981, "end": 10012, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 39 } } } ] }, { "type": "IfStatement", "start": 10078, "end": 10393, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 303, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 10082, "end": 10134, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 64 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 10083, "end": 10134, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 64 } }, "callee": { "type": "Identifier", "start": 10083, "end": 10097, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 27 }, "identifierName": "epsilonCompare" }, "name": "epsilonCompare" }, "arguments": [ { "type": "MemberExpression", "start": 10098, "end": 10114, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 44 } }, "object": { "type": "ThisExpression", "start": 10098, "end": 10102, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 32 } } }, "property": { "type": "Identifier", "start": 10103, "end": 10114, "loc": { "start": { "line": 295, "column": 33 }, "end": { "line": 295, "column": 44 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "Identifier", "start": 10116, "end": 10127, "loc": { "start": { "line": 295, "column": 46 }, "end": { "line": 295, "column": 57 }, "identifierName": "totalLength" }, "name": "totalLength" }, { "type": "NumericLiteral", "start": 10129, "end": 10133, "loc": { "start": { "line": 295, "column": 59 }, "end": { "line": 295, "column": 63 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10136, "end": 10393, "loc": { "start": { "line": 295, "column": 66 }, "end": { "line": 303, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 10151, "end": 10382, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 302, "column": 14 } }, "argument": { "type": "CallExpression", "start": 10158, "end": 10381, "loc": { "start": { "line": 296, "column": 19 }, "end": { "line": 302, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 10158, "end": 10182, "loc": { "start": { "line": 296, "column": 19 }, "end": { "line": 296, "column": 43 } }, "object": { "type": "ThisExpression", "start": 10158, "end": 10162, "loc": { "start": { "line": 296, "column": 19 }, "end": { "line": 296, "column": 23 } } }, "property": { "type": "Identifier", "start": 10163, "end": 10182, "loc": { "start": { "line": 296, "column": 24 }, "end": { "line": 296, "column": 43 }, "identifierName": "debug_failIntegrity" }, "name": "debug_failIntegrity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10201, "end": 10214, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 29 }, "identifierName": "currentChange" }, "name": "currentChange" }, { "type": "StringLiteral", "start": 10233, "end": 10266, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 49 } }, "extra": { "rawValue": "Total length mismatch, stored =", "raw": "\"Total length mismatch, stored =\"" }, "value": "Total length mismatch, stored =" }, { "type": "MemberExpression", "start": 10285, "end": 10301, "loc": { "start": { "line": 299, "column": 16 }, "end": { "line": 299, "column": 32 } }, "object": { "type": "ThisExpression", "start": 10285, "end": 10289, "loc": { "start": { "line": 299, "column": 16 }, "end": { "line": 299, "column": 20 } } }, "property": { "type": "Identifier", "start": 10290, "end": 10301, "loc": { "start": { "line": 299, "column": 21 }, "end": { "line": 299, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 10320, "end": 10336, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 32 } }, "extra": { "rawValue": "but correct is", "raw": "\"but correct is\"" }, "value": "but correct is" }, { "type": "Identifier", "start": 10355, "end": 10366, "loc": { "start": { "line": 301, "column": 16 }, "end": { "line": 301, "column": 27 }, "identifierName": "totalLength" }, "name": "totalLength" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check for misconnected entities", "start": 10405, "end": 10439, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 42 } } } ] }, { "type": "ForStatement", "start": 10449, "end": 11680, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 337, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 10454, "end": 10463, "loc": { "start": { "line": 306, "column": 13 }, "end": { "line": 306, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10458, "end": 10463, "loc": { "start": { "line": 306, "column": 17 }, "end": { "line": 306, "column": 22 } }, "id": { "type": "Identifier", "start": 10458, "end": 10459, "loc": { "start": { "line": 306, "column": 17 }, "end": { "line": 306, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 10462, "end": 10463, "loc": { "start": { "line": 306, "column": 21 }, "end": { "line": 306, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 10465, "end": 10495, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 54 } }, "left": { "type": "Identifier", "start": 10465, "end": 10466, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "BinaryExpression", "start": 10469, "end": 10495, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 54 } }, "left": { "type": "MemberExpression", "start": 10469, "end": 10491, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 50 } }, "object": { "type": "MemberExpression", "start": 10469, "end": 10484, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 43 } }, "object": { "type": "ThisExpression", "start": 10469, "end": 10473, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 32 } } }, "property": { "type": "Identifier", "start": 10474, "end": 10484, "loc": { "start": { "line": 306, "column": 33 }, "end": { "line": 306, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 10485, "end": 10491, "loc": { "start": { "line": 306, "column": 44 }, "end": { "line": 306, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 10494, "end": 10495, "loc": { "start": { "line": 306, "column": 53 }, "end": { "line": 306, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, "update": { "type": "UpdateExpression", "start": 10497, "end": 10500, "loc": { "start": { "line": 306, "column": 56 }, "end": { "line": 306, "column": 59 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 10499, "end": 10500, "loc": { "start": { "line": 306, "column": 58 }, "end": { "line": 306, "column": 59 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 10502, "end": 11680, "loc": { "start": { "line": 306, "column": 61 }, "end": { "line": 337, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 10517, "end": 10551, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10523, "end": 10550, "loc": { "start": { "line": 307, "column": 18 }, "end": { "line": 307, "column": 45 } }, "id": { "type": "Identifier", "start": 10523, "end": 10529, "loc": { "start": { "line": 307, "column": 18 }, "end": { "line": 307, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 10532, "end": 10550, "loc": { "start": { "line": 307, "column": 27 }, "end": { "line": 307, "column": 45 } }, "object": { "type": "MemberExpression", "start": 10532, "end": 10547, "loc": { "start": { "line": 307, "column": 27 }, "end": { "line": 307, "column": 42 } }, "object": { "type": "ThisExpression", "start": 10532, "end": 10536, "loc": { "start": { "line": 307, "column": 27 }, "end": { "line": 307, "column": 31 } } }, "property": { "type": "Identifier", "start": 10537, "end": 10547, "loc": { "start": { "line": 307, "column": 32 }, "end": { "line": 307, "column": 42 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 10548, "end": 10549, "loc": { "start": { "line": 307, "column": 43 }, "end": { "line": 307, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 10565, "end": 10680, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 310, "column": 13 } }, "test": { "type": "MemberExpression", "start": 10569, "end": 10585, "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 32 } }, "object": { "type": "Identifier", "start": 10569, "end": 10575, "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 22 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 10576, "end": 10585, "loc": { "start": { "line": 308, "column": 23 }, "end": { "line": 308, "column": 32 }, "identifierName": "destroyed" }, "name": "destroyed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 10587, "end": 10680, "loc": { "start": { "line": 308, "column": 34 }, "end": { "line": 310, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 10606, "end": 10665, "loc": { "start": { "line": 309, "column": 16 }, "end": { "line": 309, "column": 75 } }, "argument": { "type": "CallExpression", "start": 10613, "end": 10664, "loc": { "start": { "line": 309, "column": 23 }, "end": { "line": 309, "column": 74 } }, "callee": { "type": "Identifier", "start": 10613, "end": 10617, "loc": { "start": { "line": 309, "column": 23 }, "end": { "line": 309, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "BinaryExpression", "start": 10618, "end": 10663, "loc": { "start": { "line": 309, "column": 28 }, "end": { "line": 309, "column": 73 } }, "left": { "type": "StringLiteral", "start": 10618, "end": 10650, "loc": { "start": { "line": 309, "column": 28 }, "end": { "line": 309, "column": 60 } }, "extra": { "rawValue": "Reference to destroyed entity ", "raw": "\"Reference to destroyed entity \"" }, "value": "Reference to destroyed entity " }, "operator": "+", "right": { "type": "MemberExpression", "start": 10653, "end": 10663, "loc": { "start": { "line": 309, "column": 63 }, "end": { "line": 309, "column": 73 } }, "object": { "type": "Identifier", "start": 10653, "end": 10659, "loc": { "start": { "line": 309, "column": 63 }, "end": { "line": 309, "column": 69 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 10660, "end": 10663, "loc": { "start": { "line": 309, "column": 70 }, "end": { "line": 309, "column": 73 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 10696, "end": 10773, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 89 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10702, "end": 10772, "loc": { "start": { "line": 312, "column": 18 }, "end": { "line": 312, "column": 88 } }, "id": { "type": "Identifier", "start": 10702, "end": 10710, "loc": { "start": { "line": 312, "column": 18 }, "end": { "line": 312, "column": 26 }, "identifierName": "followUp" }, "name": "followUp" }, "init": { "type": "CallExpression", "start": 10713, "end": 10772, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 10713, "end": 10764, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 80 } }, "object": { "type": "MemberExpression", "start": 10713, "end": 10745, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 61 } }, "object": { "type": "MemberExpression", "start": 10713, "end": 10740, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 56 } }, "object": { "type": "MemberExpression", "start": 10713, "end": 10732, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 48 } }, "object": { "type": "MemberExpression", "start": 10713, "end": 10722, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10713, "end": 10717, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 33 } } }, "property": { "type": "Identifier", "start": 10718, "end": 10722, "loc": { "start": { "line": 312, "column": 34 }, "end": { "line": 312, "column": 38 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10723, "end": 10732, "loc": { "start": { "line": 312, "column": 39 }, "end": { "line": 312, "column": 48 }, "identifierName": "systemMgr" }, "name": "systemMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 10733, "end": 10740, "loc": { "start": { "line": 312, "column": 49 }, "end": { "line": 312, "column": 56 }, "identifierName": "systems" }, "name": "systems" }, "computed": false }, "property": { "type": "Identifier", "start": 10741, "end": 10745, "loc": { "start": { "line": 312, "column": 57 }, "end": { "line": 312, "column": 61 }, "identifierName": "belt" }, "name": "belt" }, "computed": false }, "property": { "type": "Identifier", "start": 10746, "end": 10764, "loc": { "start": { "line": 312, "column": 62 }, "end": { "line": 312, "column": 80 }, "identifierName": "findFollowUpEntity" }, "name": "findFollowUpEntity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10765, "end": 10771, "loc": { "start": { "line": 312, "column": 81 }, "end": { "line": 312, "column": 87 }, "identifierName": "entity" }, "name": "entity" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 10787, "end": 11070, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 321, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 10791, "end": 10800, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10792, "end": 10800, "loc": { "start": { "line": 313, "column": 17 }, "end": { "line": 313, "column": 25 }, "identifierName": "followUp" }, "name": "followUp" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10802, "end": 11070, "loc": { "start": { "line": 313, "column": 27 }, "end": { "line": 321, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 10821, "end": 11055, "loc": { "start": { "line": 314, "column": 16 }, "end": { "line": 320, "column": 18 } }, "argument": { "type": "CallExpression", "start": 10828, "end": 11054, "loc": { "start": { "line": 314, "column": 23 }, "end": { "line": 320, "column": 17 } }, "callee": { "type": "Identifier", "start": 10828, "end": 10832, "loc": { "start": { "line": 314, "column": 23 }, "end": { "line": 314, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 10855, "end": 10881, "loc": { "start": { "line": 315, "column": 20 }, "end": { "line": 315, "column": 46 } }, "extra": { "rawValue": "Follow up entity for the", "raw": "\"Follow up entity for the\"" }, "value": "Follow up entity for the" }, { "type": "Identifier", "start": 10904, "end": 10905, "loc": { "start": { "line": 316, "column": 20 }, "end": { "line": 316, "column": 21 }, "identifierName": "i" }, "name": "i" }, { "type": "StringLiteral", "start": 10928, "end": 10954, "loc": { "start": { "line": 317, "column": 20 }, "end": { "line": 317, "column": 46 } }, "extra": { "rawValue": "-th entity (total length", "raw": "\"-th entity (total length\"" }, "value": "-th entity (total length" }, { "type": "MemberExpression", "start": 10977, "end": 10999, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 42 } }, "object": { "type": "MemberExpression", "start": 10977, "end": 10992, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 35 } }, "object": { "type": "ThisExpression", "start": 10977, "end": 10981, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 24 } } }, "property": { "type": "Identifier", "start": 10982, "end": 10992, "loc": { "start": { "line": 318, "column": 25 }, "end": { "line": 318, "column": 35 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 10993, "end": 10999, "loc": { "start": { "line": 318, "column": 36 }, "end": { "line": 318, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 11022, "end": 11035, "loc": { "start": { "line": 319, "column": 20 }, "end": { "line": 319, "column": 33 } }, "extra": { "rawValue": ") was null!", "raw": "\") was null!\"" }, "value": ") was null!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 11084, "end": 11375, "loc": { "start": { "line": 322, "column": 12 }, "end": { "line": 329, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 11088, "end": 11123, "loc": { "start": { "line": 322, "column": 16 }, "end": { "line": 322, "column": 51 } }, "left": { "type": "Identifier", "start": 11088, "end": 11096, "loc": { "start": { "line": 322, "column": 16 }, "end": { "line": 322, "column": 24 }, "identifierName": "followUp" }, "name": "followUp" }, "operator": "!==", "right": { "type": "MemberExpression", "start": 11101, "end": 11123, "loc": { "start": { "line": 322, "column": 29 }, "end": { "line": 322, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11101, "end": 11116, "loc": { "start": { "line": 322, "column": 29 }, "end": { "line": 322, "column": 44 } }, "object": { "type": "ThisExpression", "start": 11101, "end": 11105, "loc": { "start": { "line": 322, "column": 29 }, "end": { "line": 322, "column": 33 } } }, "property": { "type": "Identifier", "start": 11106, "end": 11116, "loc": { "start": { "line": 322, "column": 34 }, "end": { "line": 322, "column": 44 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 11117, "end": 11122, "loc": { "start": { "line": 322, "column": 45 }, "end": { "line": 322, "column": 50 } }, "left": { "type": "Identifier", "start": 11117, "end": 11118, "loc": { "start": { "line": 322, "column": 45 }, "end": { "line": 322, "column": 46 }, "identifierName": "i" }, "name": "i" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 11121, "end": 11122, "loc": { "start": { "line": 322, "column": 49 }, "end": { "line": 322, "column": 50 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } }, "consequent": { "type": "BlockStatement", "start": 11125, "end": 11375, "loc": { "start": { "line": 322, "column": 53 }, "end": { "line": 329, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 11144, "end": 11360, "loc": { "start": { "line": 323, "column": 16 }, "end": { "line": 328, "column": 18 } }, "argument": { "type": "CallExpression", "start": 11151, "end": 11359, "loc": { "start": { "line": 323, "column": 23 }, "end": { "line": 328, "column": 17 } }, "callee": { "type": "Identifier", "start": 11151, "end": 11155, "loc": { "start": { "line": 323, "column": 23 }, "end": { "line": 323, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 11178, "end": 11216, "loc": { "start": { "line": 324, "column": 20 }, "end": { "line": 324, "column": 58 } }, "extra": { "rawValue": "Follow up entity mismatch, stored is", "raw": "\"Follow up entity mismatch, stored is\"" }, "value": "Follow up entity mismatch, stored is" }, { "type": "MemberExpression", "start": 11239, "end": 11265, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 46 } }, "object": { "type": "MemberExpression", "start": 11239, "end": 11261, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 42 } }, "object": { "type": "MemberExpression", "start": 11239, "end": 11254, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 35 } }, "object": { "type": "ThisExpression", "start": 11239, "end": 11243, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 24 } } }, "property": { "type": "Identifier", "start": 11244, "end": 11254, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 35 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 11255, "end": 11260, "loc": { "start": { "line": 325, "column": 36 }, "end": { "line": 325, "column": 41 } }, "left": { "type": "Identifier", "start": 11255, "end": 11256, "loc": { "start": { "line": 325, "column": 36 }, "end": { "line": 325, "column": 37 }, "identifierName": "i" }, "name": "i" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 11259, "end": 11260, "loc": { "start": { "line": 325, "column": 40 }, "end": { "line": 325, "column": 41 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "property": { "type": "Identifier", "start": 11262, "end": 11265, "loc": { "start": { "line": 325, "column": 43 }, "end": { "line": 325, "column": 46 }, "identifierName": "uid" }, "name": "uid" }, "computed": false }, { "type": "StringLiteral", "start": 11288, "end": 11305, "loc": { "start": { "line": 326, "column": 20 }, "end": { "line": 326, "column": 37 } }, "extra": { "rawValue": "but real one is", "raw": "\"but real one is\"" }, "value": "but real one is" }, { "type": "MemberExpression", "start": 11328, "end": 11340, "loc": { "start": { "line": 327, "column": 20 }, "end": { "line": 327, "column": 32 } }, "object": { "type": "Identifier", "start": 11328, "end": 11336, "loc": { "start": { "line": 327, "column": 20 }, "end": { "line": 327, "column": 28 }, "identifierName": "followUp" }, "name": "followUp" }, "property": { "type": "Identifier", "start": 11337, "end": 11340, "loc": { "start": { "line": 327, "column": 29 }, "end": { "line": 327, "column": 32 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 11389, "end": 11669, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 336, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 11393, "end": 11437, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 60 } }, "left": { "type": "MemberExpression", "start": 11393, "end": 11428, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11393, "end": 11415, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11393, "end": 11410, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 33 } }, "object": { "type": "Identifier", "start": 11393, "end": 11399, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 22 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 11400, "end": 11410, "loc": { "start": { "line": 330, "column": 23 }, "end": { "line": 330, "column": 33 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 11411, "end": 11415, "loc": { "start": { "line": 330, "column": 34 }, "end": { "line": 330, "column": 38 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "property": { "type": "Identifier", "start": 11416, "end": 11428, "loc": { "start": { "line": 330, "column": 39 }, "end": { "line": 330, "column": 51 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false }, "operator": "!==", "right": { "type": "ThisExpression", "start": 11433, "end": 11437, "loc": { "start": { "line": 330, "column": 56 }, "end": { "line": 330, "column": 60 } } } }, "consequent": { "type": "BlockStatement", "start": 11439, "end": 11669, "loc": { "start": { "line": 330, "column": 62 }, "end": { "line": 336, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 11458, "end": 11654, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 335, "column": 18 } }, "argument": { "type": "CallExpression", "start": 11465, "end": 11653, "loc": { "start": { "line": 331, "column": 23 }, "end": { "line": 335, "column": 17 } }, "callee": { "type": "Identifier", "start": 11465, "end": 11469, "loc": { "start": { "line": 331, "column": 23 }, "end": { "line": 331, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 11492, "end": 11509, "loc": { "start": { "line": 332, "column": 20 }, "end": { "line": 332, "column": 37 } }, "extra": { "rawValue": "Entity with uid", "raw": "\"Entity with uid\"" }, "value": "Entity with uid" }, { "type": "MemberExpression", "start": 11532, "end": 11542, "loc": { "start": { "line": 333, "column": 20 }, "end": { "line": 333, "column": 30 } }, "object": { "type": "Identifier", "start": 11532, "end": 11538, "loc": { "start": { "line": 333, "column": 20 }, "end": { "line": 333, "column": 26 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 11539, "end": 11542, "loc": { "start": { "line": 333, "column": 27 }, "end": { "line": 333, "column": 30 }, "identifierName": "uid" }, "name": "uid" }, "computed": false }, { "type": "StringLiteral", "start": 11565, "end": 11634, "loc": { "start": { "line": 334, "column": 20 }, "end": { "line": 334, "column": 89 } }, "extra": { "rawValue": "doesn't have this path assigned, but this path contains the entity.", "raw": "\"doesn't have this path assigned, but this path contains the entity.\"" }, "value": "doesn't have this path assigned, but this path contains the entity." } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Check for misconnected entities", "start": 10405, "end": 10439, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 42 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check spacing", "start": 11692, "end": 11708, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 24 } } } ] }, { "type": "IfStatement", "start": 11718, "end": 12055, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 349, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 11722, "end": 11772, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 62 } }, "left": { "type": "MemberExpression", "start": 11722, "end": 11745, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 35 } }, "object": { "type": "ThisExpression", "start": 11722, "end": 11726, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11727, "end": 11745, "loc": { "start": { "line": 340, "column": 17 }, "end": { "line": 340, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "BinaryExpression", "start": 11748, "end": 11772, "loc": { "start": { "line": 340, "column": 38 }, "end": { "line": 340, "column": 62 } }, "left": { "type": "MemberExpression", "start": 11748, "end": 11764, "loc": { "start": { "line": 340, "column": 38 }, "end": { "line": 340, "column": 54 } }, "object": { "type": "ThisExpression", "start": 11748, "end": 11752, "loc": { "start": { "line": 340, "column": 38 }, "end": { "line": 340, "column": 42 } } }, "property": { "type": "Identifier", "start": 11753, "end": 11764, "loc": { "start": { "line": 340, "column": 43 }, "end": { "line": 340, "column": 54 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 11767, "end": 11772, "loc": { "start": { "line": 340, "column": 57 }, "end": { "line": 340, "column": 62 } }, "extra": { "rawValue": 0.005, "raw": "0.005" }, "value": 0.005 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11774, "end": 12055, "loc": { "start": { "line": 340, "column": 64 }, "end": { "line": 349, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 11789, "end": 12044, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 348, "column": 14 } }, "argument": { "type": "CallExpression", "start": 11796, "end": 12043, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 348, "column": 13 } }, "callee": { "type": "Identifier", "start": 11796, "end": 11800, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 23 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "Identifier", "start": 11819, "end": 11832, "loc": { "start": { "line": 342, "column": 16 }, "end": { "line": 342, "column": 29 }, "identifierName": "currentChange" }, "name": "currentChange" }, { "type": "StringLiteral", "start": 11851, "end": 11876, "loc": { "start": { "line": 343, "column": 16 }, "end": { "line": 343, "column": 41 } }, "extra": { "rawValue": "spacing to first item (", "raw": "\"spacing to first item (\"" }, "value": "spacing to first item (" }, { "type": "MemberExpression", "start": 11895, "end": 11918, "loc": { "start": { "line": 344, "column": 16 }, "end": { "line": 344, "column": 39 } }, "object": { "type": "ThisExpression", "start": 11895, "end": 11899, "loc": { "start": { "line": 344, "column": 16 }, "end": { "line": 344, "column": 20 } } }, "property": { "type": "Identifier", "start": 11900, "end": 11918, "loc": { "start": { "line": 344, "column": 21 }, "end": { "line": 344, "column": 39 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "StringLiteral", "start": 11937, "end": 11971, "loc": { "start": { "line": 345, "column": 16 }, "end": { "line": 345, "column": 50 } }, "extra": { "rawValue": ") is greater than total length (", "raw": "\") is greater than total length (\"" }, "value": ") is greater than total length (" }, { "type": "MemberExpression", "start": 11990, "end": 12006, "loc": { "start": { "line": 346, "column": 16 }, "end": { "line": 346, "column": 32 } }, "object": { "type": "ThisExpression", "start": 11990, "end": 11994, "loc": { "start": { "line": 346, "column": 16 }, "end": { "line": 346, "column": 20 } } }, "property": { "type": "Identifier", "start": 11995, "end": 12006, "loc": { "start": { "line": 346, "column": 21 }, "end": { "line": 346, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 12025, "end": 12028, "loc": { "start": { "line": 347, "column": 16 }, "end": { "line": 347, "column": 19 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check spacing", "start": 11692, "end": 11708, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 24 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check distance if empty", "start": 12067, "end": 12093, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 34 } } } ] }, { "type": "IfStatement", "start": 12103, "end": 12498, "loc": { "start": { "line": 352, "column": 8 }, "end": { "line": 361, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 12107, "end": 12198, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 103 } }, "left": { "type": "BinaryExpression", "start": 12107, "end": 12130, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 35 } }, "left": { "type": "MemberExpression", "start": 12107, "end": 12124, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 29 } }, "object": { "type": "MemberExpression", "start": 12107, "end": 12117, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 22 } }, "object": { "type": "ThisExpression", "start": 12107, "end": 12111, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12112, "end": 12117, "loc": { "start": { "line": 352, "column": 17 }, "end": { "line": 352, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12118, "end": 12124, "loc": { "start": { "line": 352, "column": 23 }, "end": { "line": 352, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 12129, "end": 12130, "loc": { "start": { "line": 352, "column": 34 }, "end": { "line": 352, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 12134, "end": 12198, "loc": { "start": { "line": 352, "column": 39 }, "end": { "line": 352, "column": 103 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 12135, "end": 12198, "loc": { "start": { "line": 352, "column": 40 }, "end": { "line": 352, "column": 103 } }, "callee": { "type": "Identifier", "start": 12135, "end": 12149, "loc": { "start": { "line": 352, "column": 40 }, "end": { "line": 352, "column": 54 }, "identifierName": "epsilonCompare" }, "name": "epsilonCompare" }, "arguments": [ { "type": "MemberExpression", "start": 12150, "end": 12173, "loc": { "start": { "line": 352, "column": 55 }, "end": { "line": 352, "column": 78 } }, "object": { "type": "ThisExpression", "start": 12150, "end": 12154, "loc": { "start": { "line": 352, "column": 55 }, "end": { "line": 352, "column": 59 } } }, "property": { "type": "Identifier", "start": 12155, "end": 12173, "loc": { "start": { "line": 352, "column": 60 }, "end": { "line": 352, "column": 78 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "MemberExpression", "start": 12175, "end": 12191, "loc": { "start": { "line": 352, "column": 80 }, "end": { "line": 352, "column": 96 } }, "object": { "type": "ThisExpression", "start": 12175, "end": 12179, "loc": { "start": { "line": 352, "column": 80 }, "end": { "line": 352, "column": 84 } } }, "property": { "type": "Identifier", "start": 12180, "end": 12191, "loc": { "start": { "line": 352, "column": 85 }, "end": { "line": 352, "column": 96 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "NumericLiteral", "start": 12193, "end": 12197, "loc": { "start": { "line": 352, "column": 98 }, "end": { "line": 352, "column": 102 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } ] }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12200, "end": 12498, "loc": { "start": { "line": 352, "column": 105 }, "end": { "line": 361, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 12215, "end": 12487, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 360, "column": 14 } }, "argument": { "type": "CallExpression", "start": 12222, "end": 12486, "loc": { "start": { "line": 353, "column": 19 }, "end": { "line": 360, "column": 13 } }, "callee": { "type": "Identifier", "start": 12222, "end": 12226, "loc": { "start": { "line": 353, "column": 19 }, "end": { "line": 353, "column": 23 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "Identifier", "start": 12245, "end": 12258, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 29 }, "identifierName": "currentChange" }, "name": "currentChange" }, { "type": "StringLiteral", "start": 12277, "end": 12320, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 59 } }, "extra": { "rawValue": "Path is empty but spacing to first item (", "raw": "\"Path is empty but spacing to first item (\"" }, "value": "Path is empty but spacing to first item (" }, { "type": "MemberExpression", "start": 12339, "end": 12362, "loc": { "start": { "line": 356, "column": 16 }, "end": { "line": 356, "column": 39 } }, "object": { "type": "ThisExpression", "start": 12339, "end": 12343, "loc": { "start": { "line": 356, "column": 16 }, "end": { "line": 356, "column": 20 } } }, "property": { "type": "Identifier", "start": 12344, "end": 12362, "loc": { "start": { "line": 356, "column": 21 }, "end": { "line": 356, "column": 39 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "StringLiteral", "start": 12381, "end": 12414, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 49 } }, "extra": { "rawValue": ") does not equal total length (", "raw": "\") does not equal total length (\"" }, "value": ") does not equal total length (" }, { "type": "MemberExpression", "start": 12433, "end": 12449, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 32 } }, "object": { "type": "ThisExpression", "start": 12433, "end": 12437, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 20 } } }, "property": { "type": "Identifier", "start": 12438, "end": 12449, "loc": { "start": { "line": 358, "column": 21 }, "end": { "line": 358, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 12468, "end": 12471, "loc": { "start": { "line": 359, "column": 16 }, "end": { "line": 359, "column": 19 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check distance if empty", "start": 12067, "end": 12093, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 34 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check items etc", "start": 12510, "end": 12528, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 26 } } } ] }, { "type": "VariableDeclaration", "start": 12538, "end": 12579, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12542, "end": 12578, "loc": { "start": { "line": 364, "column": 12 }, "end": { "line": 364, "column": 48 } }, "id": { "type": "Identifier", "start": 12542, "end": 12552, "loc": { "start": { "line": 364, "column": 12 }, "end": { "line": 364, "column": 22 }, "identifierName": "currentPos" }, "name": "currentPos", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 12555, "end": 12578, "loc": { "start": { "line": 364, "column": 25 }, "end": { "line": 364, "column": 48 } }, "object": { "type": "ThisExpression", "start": 12555, "end": 12559, "loc": { "start": { "line": 364, "column": 25 }, "end": { "line": 364, "column": 29 } } }, "property": { "type": "Identifier", "start": 12560, "end": 12578, "loc": { "start": { "line": 364, "column": 30 }, "end": { "line": 364, "column": 48 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Check items etc", "start": 12510, "end": 12528, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 26 } } } ] }, { "type": "ForStatement", "start": 12589, "end": 13104, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 379, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 12594, "end": 12603, "loc": { "start": { "line": 365, "column": 13 }, "end": { "line": 365, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12598, "end": 12603, "loc": { "start": { "line": 365, "column": 17 }, "end": { "line": 365, "column": 22 } }, "id": { "type": "Identifier", "start": 12598, "end": 12599, "loc": { "start": { "line": 365, "column": 17 }, "end": { "line": 365, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 12602, "end": 12603, "loc": { "start": { "line": 365, "column": 21 }, "end": { "line": 365, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 12605, "end": 12626, "loc": { "start": { "line": 365, "column": 24 }, "end": { "line": 365, "column": 45 } }, "left": { "type": "Identifier", "start": 12605, "end": 12606, "loc": { "start": { "line": 365, "column": 24 }, "end": { "line": 365, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 12609, "end": 12626, "loc": { "start": { "line": 365, "column": 28 }, "end": { "line": 365, "column": 45 } }, "object": { "type": "MemberExpression", "start": 12609, "end": 12619, "loc": { "start": { "line": 365, "column": 28 }, "end": { "line": 365, "column": 38 } }, "object": { "type": "ThisExpression", "start": 12609, "end": 12613, "loc": { "start": { "line": 365, "column": 28 }, "end": { "line": 365, "column": 32 } } }, "property": { "type": "Identifier", "start": 12614, "end": 12619, "loc": { "start": { "line": 365, "column": 33 }, "end": { "line": 365, "column": 38 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 12620, "end": 12626, "loc": { "start": { "line": 365, "column": 39 }, "end": { "line": 365, "column": 45 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 12628, "end": 12631, "loc": { "start": { "line": 365, "column": 47 }, "end": { "line": 365, "column": 50 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 12630, "end": 12631, "loc": { "start": { "line": 365, "column": 49 }, "end": { "line": 365, "column": 50 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 12633, "end": 13104, "loc": { "start": { "line": 365, "column": 52 }, "end": { "line": 379, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 12648, "end": 12675, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12654, "end": 12674, "loc": { "start": { "line": 366, "column": 18 }, "end": { "line": 366, "column": 38 } }, "id": { "type": "Identifier", "start": 12654, "end": 12658, "loc": { "start": { "line": 366, "column": 18 }, "end": { "line": 366, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 12661, "end": 12674, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12661, "end": 12671, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "column": 35 } }, "object": { "type": "ThisExpression", "start": 12661, "end": 12665, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "column": 29 } } }, "property": { "type": "Identifier", "start": 12666, "end": 12671, "loc": { "start": { "line": 366, "column": 30 }, "end": { "line": 366, "column": 35 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 12672, "end": 12673, "loc": { "start": { "line": 366, "column": 36 }, "end": { "line": 366, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 12691, "end": 13043, "loc": { "start": { "line": 368, "column": 12 }, "end": { "line": 376, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 12695, "end": 12767, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 88 } }, "left": { "type": "BinaryExpression", "start": 12695, "end": 12718, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 39 } }, "left": { "type": "MemberExpression", "start": 12695, "end": 12714, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 35 } }, "object": { "type": "Identifier", "start": 12695, "end": 12699, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 20 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 12700, "end": 12713, "loc": { "start": { "line": 368, "column": 21 }, "end": { "line": 368, "column": 34 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": "<", "right": { "type": "NumericLiteral", "start": 12717, "end": 12718, "loc": { "start": { "line": 368, "column": 38 }, "end": { "line": 368, "column": 39 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 12722, "end": 12767, "loc": { "start": { "line": 368, "column": 43 }, "end": { "line": 368, "column": 88 } }, "left": { "type": "MemberExpression", "start": 12722, "end": 12741, "loc": { "start": { "line": 368, "column": 43 }, "end": { "line": 368, "column": 62 } }, "object": { "type": "Identifier", "start": 12722, "end": 12726, "loc": { "start": { "line": 368, "column": 43 }, "end": { "line": 368, "column": 47 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 12727, "end": 12740, "loc": { "start": { "line": 368, "column": 48 }, "end": { "line": 368, "column": 61 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": ">", "right": { "type": "BinaryExpression", "start": 12744, "end": 12767, "loc": { "start": { "line": 368, "column": 65 }, "end": { "line": 368, "column": 88 } }, "left": { "type": "MemberExpression", "start": 12744, "end": 12760, "loc": { "start": { "line": 368, "column": 65 }, "end": { "line": 368, "column": 81 } }, "object": { "type": "ThisExpression", "start": 12744, "end": 12748, "loc": { "start": { "line": 368, "column": 65 }, "end": { "line": 368, "column": 69 } } }, "property": { "type": "Identifier", "start": 12749, "end": 12760, "loc": { "start": { "line": 368, "column": 70 }, "end": { "line": 368, "column": 81 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 12763, "end": 12767, "loc": { "start": { "line": 368, "column": 84 }, "end": { "line": 368, "column": 88 } }, "extra": { "rawValue": 0.02, "raw": "0.02" }, "value": 0.02 } } } }, "consequent": { "type": "BlockStatement", "start": 12769, "end": 13043, "loc": { "start": { "line": 368, "column": 90 }, "end": { "line": 376, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 12788, "end": 13028, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 375, "column": 18 } }, "argument": { "type": "CallExpression", "start": 12795, "end": 13027, "loc": { "start": { "line": 369, "column": 23 }, "end": { "line": 375, "column": 17 } }, "callee": { "type": "Identifier", "start": 12795, "end": 12799, "loc": { "start": { "line": 369, "column": 23 }, "end": { "line": 369, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 12822, "end": 12862, "loc": { "start": { "line": 370, "column": 20 }, "end": { "line": 370, "column": 60 } }, "extra": { "rawValue": "Item has invalid offset to next item: ", "raw": "\"Item has invalid offset to next item: \"" }, "value": "Item has invalid offset to next item: " }, { "type": "MemberExpression", "start": 12885, "end": 12904, "loc": { "start": { "line": 371, "column": 20 }, "end": { "line": 371, "column": 39 } }, "object": { "type": "Identifier", "start": 12885, "end": 12889, "loc": { "start": { "line": 371, "column": 20 }, "end": { "line": 371, "column": 24 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 12890, "end": 12903, "loc": { "start": { "line": 371, "column": 25 }, "end": { "line": 371, "column": 38 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, { "type": "StringLiteral", "start": 12927, "end": 12943, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 372, "column": 36 } }, "extra": { "rawValue": "(total length:", "raw": "\"(total length:\"" }, "value": "(total length:" }, { "type": "MemberExpression", "start": 12966, "end": 12982, "loc": { "start": { "line": 373, "column": 20 }, "end": { "line": 373, "column": 36 } }, "object": { "type": "ThisExpression", "start": 12966, "end": 12970, "loc": { "start": { "line": 373, "column": 20 }, "end": { "line": 373, "column": 24 } } }, "property": { "type": "Identifier", "start": 12971, "end": 12982, "loc": { "start": { "line": 373, "column": 25 }, "end": { "line": 373, "column": 36 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 13005, "end": 13008, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "column": 23 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 13059, "end": 13093, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 13059, "end": 13092, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 45 } }, "operator": "+=", "left": { "type": "Identifier", "start": 13059, "end": 13069, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 22 }, "identifierName": "currentPos" }, "name": "currentPos" }, "right": { "type": "MemberExpression", "start": 13073, "end": 13092, "loc": { "start": { "line": 378, "column": 26 }, "end": { "line": 378, "column": 45 } }, "object": { "type": "Identifier", "start": 13073, "end": 13077, "loc": { "start": { "line": 378, "column": 26 }, "end": { "line": 378, "column": 30 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 13078, "end": 13091, "loc": { "start": { "line": 378, "column": 31 }, "end": { "line": 378, "column": 44 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Check the total sum matches", "start": 13116, "end": 13146, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 38 } } } ] }, { "type": "IfStatement", "start": 13156, "end": 13595, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 392, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 13160, "end": 13211, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 63 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13161, "end": 13211, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 63 } }, "callee": { "type": "Identifier", "start": 13161, "end": 13175, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 27 }, "identifierName": "epsilonCompare" }, "name": "epsilonCompare", "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 13176, "end": 13186, "loc": { "start": { "line": 382, "column": 28 }, "end": { "line": 382, "column": 38 }, "identifierName": "currentPos" }, "name": "currentPos" }, { "type": "MemberExpression", "start": 13188, "end": 13204, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 56 } }, "object": { "type": "ThisExpression", "start": 13188, "end": 13192, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 44 } } }, "property": { "type": "Identifier", "start": 13193, "end": 13204, "loc": { "start": { "line": 382, "column": 45 }, "end": { "line": 382, "column": 56 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "NumericLiteral", "start": 13206, "end": 13210, "loc": { "start": { "line": 382, "column": 58 }, "end": { "line": 382, "column": 62 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13213, "end": 13595, "loc": { "start": { "line": 382, "column": 65 }, "end": { "line": 392, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13228, "end": 13584, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 391, "column": 14 } }, "argument": { "type": "CallExpression", "start": 13235, "end": 13583, "loc": { "start": { "line": 383, "column": 19 }, "end": { "line": 391, "column": 13 } }, "callee": { "type": "Identifier", "start": 13235, "end": 13239, "loc": { "start": { "line": 383, "column": 19 }, "end": { "line": 383, "column": 23 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 13258, "end": 13271, "loc": { "start": { "line": 384, "column": 16 }, "end": { "line": 384, "column": 29 } }, "extra": { "rawValue": "total sum (", "raw": "\"total sum (\"" }, "value": "total sum (" }, { "type": "Identifier", "start": 13290, "end": 13300, "loc": { "start": { "line": 385, "column": 16 }, "end": { "line": 385, "column": 26 }, "identifierName": "currentPos" }, "name": "currentPos" }, { "type": "StringLiteral", "start": 13319, "end": 13346, "loc": { "start": { "line": 386, "column": 16 }, "end": { "line": 386, "column": 43 } }, "extra": { "rawValue": ") of first item spacing (", "raw": "\") of first item spacing (\"" }, "value": ") of first item spacing (" }, { "type": "MemberExpression", "start": 13365, "end": 13388, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 39 } }, "object": { "type": "ThisExpression", "start": 13365, "end": 13369, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 20 } } }, "property": { "type": "Identifier", "start": 13370, "end": 13388, "loc": { "start": { "line": 387, "column": 21 }, "end": { "line": 387, "column": 39 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "StringLiteral", "start": 13407, "end": 13450, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 59 } }, "extra": { "rawValue": ") and items does not match total length (", "raw": "\") and items does not match total length (\"" }, "value": ") and items does not match total length (" }, { "type": "MemberExpression", "start": 13469, "end": 13485, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 32 } }, "object": { "type": "ThisExpression", "start": 13469, "end": 13473, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 20 } } }, "property": { "type": "Identifier", "start": 13474, "end": 13485, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "BinaryExpression", "start": 13504, "end": 13568, "loc": { "start": { "line": 390, "column": 16 }, "end": { "line": 390, "column": 80 } }, "left": { "type": "StringLiteral", "start": 13504, "end": 13518, "loc": { "start": { "line": 390, "column": 16 }, "end": { "line": 390, "column": 30 } }, "extra": { "rawValue": ") -> items: ", "raw": "\") -> items: \"" }, "value": ") -> items: " }, "operator": "+", "right": { "type": "CallExpression", "start": 13521, "end": 13568, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 13521, "end": 13563, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 75 } }, "object": { "type": "CallExpression", "start": 13521, "end": 13558, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 13521, "end": 13535, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 47 } }, "object": { "type": "MemberExpression", "start": 13521, "end": 13531, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 43 } }, "object": { "type": "ThisExpression", "start": 13521, "end": 13525, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 37 } } }, "property": { "type": "Identifier", "start": 13526, "end": 13531, "loc": { "start": { "line": 390, "column": 38 }, "end": { "line": 390, "column": 43 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 13532, "end": 13535, "loc": { "start": { "line": 390, "column": 44 }, "end": { "line": 390, "column": 47 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13536, "end": 13557, "loc": { "start": { "line": 390, "column": 48 }, "end": { "line": 390, "column": 69 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 13536, "end": 13537, "loc": { "start": { "line": 390, "column": 48 }, "end": { "line": 390, "column": 49 }, "identifierName": "i" }, "name": "i" } ], "body": { "type": "MemberExpression", "start": 13541, "end": 13557, "loc": { "start": { "line": 390, "column": 53 }, "end": { "line": 390, "column": 69 } }, "object": { "type": "Identifier", "start": 13541, "end": 13542, "loc": { "start": { "line": 390, "column": 53 }, "end": { "line": 390, "column": 54 }, "identifierName": "i" }, "name": "i" }, "property": { "type": "Identifier", "start": 13543, "end": 13556, "loc": { "start": { "line": 390, "column": 55 }, "end": { "line": 390, "column": 68 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } ] }, "property": { "type": "Identifier", "start": 13559, "end": 13563, "loc": { "start": { "line": 390, "column": 71 }, "end": { "line": 390, "column": 75 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13564, "end": 13567, "loc": { "start": { "line": 390, "column": 76 }, "end": { "line": 390, "column": 79 } }, "extra": { "rawValue": "|", "raw": "\"|\"" }, "value": "|" } ] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check the total sum matches", "start": 13116, "end": 13146, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 38 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check bounds", "start": 13607, "end": 13622, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 23 } } } ] }, { "type": "VariableDeclaration", "start": 13632, "end": 13674, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13638, "end": 13673, "loc": { "start": { "line": 395, "column": 14 }, "end": { "line": 395, "column": 49 } }, "id": { "type": "Identifier", "start": 13638, "end": 13650, "loc": { "start": { "line": 395, "column": 14 }, "end": { "line": 395, "column": 26 }, "identifierName": "actualBounds" }, "name": "actualBounds", "leadingComments": null }, "init": { "type": "CallExpression", "start": 13653, "end": 13673, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 13653, "end": 13671, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 47 } }, "object": { "type": "ThisExpression", "start": 13653, "end": 13657, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 33 } } }, "property": { "type": "Identifier", "start": 13658, "end": 13671, "loc": { "start": { "line": 395, "column": 34 }, "end": { "line": 395, "column": 47 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check bounds", "start": 13607, "end": 13622, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 23 } } } ] }, { "type": "IfStatement", "start": 13684, "end": 13799, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 398, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 13688, "end": 13739, "loc": { "start": { "line": 396, "column": 12 }, "end": { "line": 396, "column": 63 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13689, "end": 13739, "loc": { "start": { "line": 396, "column": 13 }, "end": { "line": 396, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 13689, "end": 13715, "loc": { "start": { "line": 396, "column": 13 }, "end": { "line": 396, "column": 39 } }, "object": { "type": "Identifier", "start": 13689, "end": 13701, "loc": { "start": { "line": 396, "column": 13 }, "end": { "line": 396, "column": 25 }, "identifierName": "actualBounds" }, "name": "actualBounds" }, "property": { "type": "Identifier", "start": 13702, "end": 13715, "loc": { "start": { "line": 396, "column": 26 }, "end": { "line": 396, "column": 39 }, "identifierName": "equalsEpsilon" }, "name": "equalsEpsilon" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13716, "end": 13732, "loc": { "start": { "line": 396, "column": 40 }, "end": { "line": 396, "column": 56 } }, "object": { "type": "ThisExpression", "start": 13716, "end": 13720, "loc": { "start": { "line": 396, "column": 40 }, "end": { "line": 396, "column": 44 } } }, "property": { "type": "Identifier", "start": 13721, "end": 13732, "loc": { "start": { "line": 396, "column": 45 }, "end": { "line": 396, "column": 56 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false }, { "type": "NumericLiteral", "start": 13734, "end": 13738, "loc": { "start": { "line": 396, "column": 58 }, "end": { "line": 396, "column": 62 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13741, "end": 13799, "loc": { "start": { "line": 396, "column": 65 }, "end": { "line": 398, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13756, "end": 13788, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 44 } }, "argument": { "type": "CallExpression", "start": 13763, "end": 13787, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 43 } }, "callee": { "type": "Identifier", "start": 13763, "end": 13767, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 23 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 13768, "end": 13786, "loc": { "start": { "line": 397, "column": 24 }, "end": { "line": 397, "column": 42 } }, "extra": { "rawValue": "Bounds are stale", "raw": "\"Bounds are stale\"" }, "value": "Bounds are stale" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check acceptor", "start": 13811, "end": 13828, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 25 } } } ] }, { "type": "VariableDeclaration", "start": 13838, "end": 13896, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13844, "end": 13895, "loc": { "start": { "line": 401, "column": 14 }, "end": { "line": 401, "column": 65 } }, "id": { "type": "Identifier", "start": 13844, "end": 13852, "loc": { "start": { "line": 401, "column": 14 }, "end": { "line": 401, "column": 22 }, "identifierName": "acceptor" }, "name": "acceptor", "leadingComments": null }, "init": { "type": "CallExpression", "start": 13855, "end": 13895, "loc": { "start": { "line": 401, "column": 25 }, "end": { "line": 401, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13855, "end": 13889, "loc": { "start": { "line": 401, "column": 25 }, "end": { "line": 401, "column": 59 } }, "object": { "type": "ThisExpression", "start": 13855, "end": 13859, "loc": { "start": { "line": 401, "column": 25 }, "end": { "line": 401, "column": 29 } } }, "property": { "type": "Identifier", "start": 13860, "end": 13889, "loc": { "start": { "line": 401, "column": 30 }, "end": { "line": 401, "column": 59 }, "identifierName": "computeAcceptingEntityAndSlot" }, "name": "computeAcceptingEntityAndSlot" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 13890, "end": 13894, "loc": { "start": { "line": 401, "column": 60 }, "end": { "line": 401, "column": 64 } }, "value": true } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check acceptor", "start": 13811, "end": 13828, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 25 } } } ] }, { "type": "IfStatement", "start": 13906, "end": 14072, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 404, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 13910, "end": 13946, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 13910, "end": 13920, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 13911, "end": 13920, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13912, "end": 13920, "loc": { "start": { "line": 402, "column": 14 }, "end": { "line": 402, "column": 22 }, "identifierName": "acceptor" }, "name": "acceptor" }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "UnaryExpression", "start": 13925, "end": 13946, "loc": { "start": { "line": 402, "column": 27 }, "end": { "line": 402, "column": 48 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 13926, "end": 13946, "loc": { "start": { "line": 402, "column": 28 }, "end": { "line": 402, "column": 48 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13927, "end": 13946, "loc": { "start": { "line": 402, "column": 29 }, "end": { "line": 402, "column": 48 } }, "object": { "type": "ThisExpression", "start": 13927, "end": 13931, "loc": { "start": { "line": 402, "column": 29 }, "end": { "line": 402, "column": 33 } } }, "property": { "type": "Identifier", "start": 13932, "end": 13946, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 48 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 13948, "end": 14072, "loc": { "start": { "line": 402, "column": 50 }, "end": { "line": 404, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13963, "end": 14061, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 110 } }, "argument": { "type": "CallExpression", "start": 13970, "end": 14060, "loc": { "start": { "line": 403, "column": 19 }, "end": { "line": 403, "column": 109 } }, "callee": { "type": "Identifier", "start": 13970, "end": 13974, "loc": { "start": { "line": 403, "column": 19 }, "end": { "line": 403, "column": 23 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 13975, "end": 14011, "loc": { "start": { "line": 403, "column": 24 }, "end": { "line": 403, "column": 60 } }, "extra": { "rawValue": "Acceptor target mismatch, acceptor", "raw": "\"Acceptor target mismatch, acceptor\"" }, "value": "Acceptor target mismatch, acceptor" }, { "type": "UnaryExpression", "start": 14013, "end": 14023, "loc": { "start": { "line": 403, "column": 62 }, "end": { "line": 403, "column": 72 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 14014, "end": 14023, "loc": { "start": { "line": 403, "column": 63 }, "end": { "line": 403, "column": 72 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14015, "end": 14023, "loc": { "start": { "line": 403, "column": 64 }, "end": { "line": 403, "column": 72 }, "identifierName": "acceptor" }, "name": "acceptor" }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } }, { "type": "StringLiteral", "start": 14025, "end": 14036, "loc": { "start": { "line": 403, "column": 74 }, "end": { "line": 403, "column": 85 } }, "extra": { "rawValue": "vs stored", "raw": "\"vs stored\"" }, "value": "vs stored" }, { "type": "UnaryExpression", "start": 14038, "end": 14059, "loc": { "start": { "line": 403, "column": 87 }, "end": { "line": 403, "column": 108 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 14039, "end": 14059, "loc": { "start": { "line": 403, "column": 88 }, "end": { "line": 403, "column": 108 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 14040, "end": 14059, "loc": { "start": { "line": 403, "column": 89 }, "end": { "line": 403, "column": 108 } }, "object": { "type": "ThisExpression", "start": 14040, "end": 14044, "loc": { "start": { "line": 403, "column": 89 }, "end": { "line": 403, "column": 93 } } }, "property": { "type": "Identifier", "start": 14045, "end": 14059, "loc": { "start": { "line": 403, "column": 94 }, "end": { "line": 403, "column": 108 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 14084, "end": 15067, "loc": { "start": { "line": 406, "column": 8 }, "end": { "line": 433, "column": 9 } }, "test": { "type": "Identifier", "start": 14088, "end": 14096, "loc": { "start": { "line": 406, "column": 12 }, "end": { "line": 406, "column": 20 }, "identifierName": "acceptor" }, "name": "acceptor" }, "consequent": { "type": "BlockStatement", "start": 14098, "end": 15067, "loc": { "start": { "line": 406, "column": 22 }, "end": { "line": 433, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 14113, "end": 14415, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 414, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 14117, "end": 14163, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 62 } }, "left": { "type": "MemberExpression", "start": 14117, "end": 14143, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 42 } }, "object": { "type": "MemberExpression", "start": 14117, "end": 14136, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 35 } }, "object": { "type": "ThisExpression", "start": 14117, "end": 14121, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 20 } } }, "property": { "type": "Identifier", "start": 14122, "end": 14136, "loc": { "start": { "line": 407, "column": 21 }, "end": { "line": 407, "column": 35 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 14137, "end": 14143, "loc": { "start": { "line": 407, "column": 36 }, "end": { "line": 407, "column": 42 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 14148, "end": 14163, "loc": { "start": { "line": 407, "column": 47 }, "end": { "line": 407, "column": 62 } }, "object": { "type": "Identifier", "start": 14148, "end": 14156, "loc": { "start": { "line": 407, "column": 47 }, "end": { "line": 407, "column": 55 }, "identifierName": "acceptor" }, "name": "acceptor" }, "property": { "type": "Identifier", "start": 14157, "end": 14163, "loc": { "start": { "line": 407, "column": 56 }, "end": { "line": 407, "column": 62 }, "identifierName": "entity" }, "name": "entity" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 14165, "end": 14415, "loc": { "start": { "line": 407, "column": 64 }, "end": { "line": 414, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 14184, "end": 14400, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 413, "column": 18 } }, "argument": { "type": "CallExpression", "start": 14191, "end": 14399, "loc": { "start": { "line": 408, "column": 23 }, "end": { "line": 413, "column": 17 } }, "callee": { "type": "Identifier", "start": 14191, "end": 14195, "loc": { "start": { "line": 408, "column": 23 }, "end": { "line": 408, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 14218, "end": 14258, "loc": { "start": { "line": 409, "column": 20 }, "end": { "line": 409, "column": 60 } }, "extra": { "rawValue": "Mismatching entity on acceptor target:", "raw": "\"Mismatching entity on acceptor target:\"" }, "value": "Mismatching entity on acceptor target:" }, { "type": "MemberExpression", "start": 14281, "end": 14300, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14281, "end": 14296, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 35 } }, "object": { "type": "Identifier", "start": 14281, "end": 14289, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 28 }, "identifierName": "acceptor" }, "name": "acceptor" }, "property": { "type": "Identifier", "start": 14290, "end": 14296, "loc": { "start": { "line": 410, "column": 29 }, "end": { "line": 410, "column": 35 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 14297, "end": 14300, "loc": { "start": { "line": 410, "column": 36 }, "end": { "line": 410, "column": 39 }, "identifierName": "uid" }, "name": "uid" }, "computed": false }, { "type": "StringLiteral", "start": 14323, "end": 14327, "loc": { "start": { "line": 411, "column": 20 }, "end": { "line": 411, "column": 24 } }, "extra": { "rawValue": "vs", "raw": "\"vs\"" }, "value": "vs" }, { "type": "MemberExpression", "start": 14350, "end": 14380, "loc": { "start": { "line": 412, "column": 20 }, "end": { "line": 412, "column": 50 } }, "object": { "type": "MemberExpression", "start": 14350, "end": 14376, "loc": { "start": { "line": 412, "column": 20 }, "end": { "line": 412, "column": 46 } }, "object": { "type": "MemberExpression", "start": 14350, "end": 14369, "loc": { "start": { "line": 412, "column": 20 }, "end": { "line": 412, "column": 39 } }, "object": { "type": "ThisExpression", "start": 14350, "end": 14354, "loc": { "start": { "line": 412, "column": 20 }, "end": { "line": 412, "column": 24 } } }, "property": { "type": "Identifier", "start": 14355, "end": 14369, "loc": { "start": { "line": 412, "column": 25 }, "end": { "line": 412, "column": 39 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 14370, "end": 14376, "loc": { "start": { "line": 412, "column": 40 }, "end": { "line": 412, "column": 46 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 14377, "end": 14380, "loc": { "start": { "line": 412, "column": 47 }, "end": { "line": 412, "column": 50 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 14431, "end": 14724, "loc": { "start": { "line": 416, "column": 12 }, "end": { "line": 423, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 14435, "end": 14477, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 58 } }, "left": { "type": "MemberExpression", "start": 14435, "end": 14459, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 40 } }, "object": { "type": "MemberExpression", "start": 14435, "end": 14454, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 35 } }, "object": { "type": "ThisExpression", "start": 14435, "end": 14439, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 20 } } }, "property": { "type": "Identifier", "start": 14440, "end": 14454, "loc": { "start": { "line": 416, "column": 21 }, "end": { "line": 416, "column": 35 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 14455, "end": 14459, "loc": { "start": { "line": 416, "column": 36 }, "end": { "line": 416, "column": 40 }, "identifierName": "slot" }, "name": "slot" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 14464, "end": 14477, "loc": { "start": { "line": 416, "column": 45 }, "end": { "line": 416, "column": 58 } }, "object": { "type": "Identifier", "start": 14464, "end": 14472, "loc": { "start": { "line": 416, "column": 45 }, "end": { "line": 416, "column": 53 }, "identifierName": "acceptor" }, "name": "acceptor" }, "property": { "type": "Identifier", "start": 14473, "end": 14477, "loc": { "start": { "line": 416, "column": 54 }, "end": { "line": 416, "column": 58 }, "identifierName": "slot" }, "name": "slot" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 14479, "end": 14724, "loc": { "start": { "line": 416, "column": 60 }, "end": { "line": 423, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 14498, "end": 14709, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 422, "column": 18 } }, "argument": { "type": "CallExpression", "start": 14505, "end": 14708, "loc": { "start": { "line": 417, "column": 23 }, "end": { "line": 422, "column": 17 } }, "callee": { "type": "Identifier", "start": 14505, "end": 14509, "loc": { "start": { "line": 417, "column": 23 }, "end": { "line": 417, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 14532, "end": 14572, "loc": { "start": { "line": 418, "column": 20 }, "end": { "line": 418, "column": 60 } }, "extra": { "rawValue": "Mismatching entity on acceptor target:", "raw": "\"Mismatching entity on acceptor target:\"" }, "value": "Mismatching entity on acceptor target:" }, { "type": "MemberExpression", "start": 14595, "end": 14608, "loc": { "start": { "line": 419, "column": 20 }, "end": { "line": 419, "column": 33 } }, "object": { "type": "Identifier", "start": 14595, "end": 14603, "loc": { "start": { "line": 419, "column": 20 }, "end": { "line": 419, "column": 28 }, "identifierName": "acceptor" }, "name": "acceptor" }, "property": { "type": "Identifier", "start": 14604, "end": 14608, "loc": { "start": { "line": 419, "column": 29 }, "end": { "line": 419, "column": 33 }, "identifierName": "slot" }, "name": "slot" }, "computed": false }, { "type": "StringLiteral", "start": 14631, "end": 14642, "loc": { "start": { "line": 420, "column": 20 }, "end": { "line": 420, "column": 31 } }, "extra": { "rawValue": "vs stored", "raw": "\"vs stored\"" }, "value": "vs stored" }, { "type": "MemberExpression", "start": 14665, "end": 14689, "loc": { "start": { "line": 421, "column": 20 }, "end": { "line": 421, "column": 44 } }, "object": { "type": "MemberExpression", "start": 14665, "end": 14684, "loc": { "start": { "line": 421, "column": 20 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "ThisExpression", "start": 14665, "end": 14669, "loc": { "start": { "line": 421, "column": 20 }, "end": { "line": 421, "column": 24 } } }, "property": { "type": "Identifier", "start": 14670, "end": 14684, "loc": { "start": { "line": 421, "column": 25 }, "end": { "line": 421, "column": 39 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 14685, "end": 14689, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "column": 44 }, "identifierName": "slot" }, "name": "slot" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 14740, "end": 15056, "loc": { "start": { "line": 425, "column": 12 }, "end": { "line": 432, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 14744, "end": 14796, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 68 } }, "left": { "type": "MemberExpression", "start": 14744, "end": 14773, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 45 } }, "object": { "type": "MemberExpression", "start": 14744, "end": 14763, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 35 } }, "object": { "type": "ThisExpression", "start": 14744, "end": 14748, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 20 } } }, "property": { "type": "Identifier", "start": 14749, "end": 14763, "loc": { "start": { "line": 425, "column": 21 }, "end": { "line": 425, "column": 35 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 14764, "end": 14773, "loc": { "start": { "line": 425, "column": 36 }, "end": { "line": 425, "column": 45 }, "identifierName": "direction" }, "name": "direction" }, "computed": false }, "operator": "!==", "right": { "type": "MemberExpression", "start": 14778, "end": 14796, "loc": { "start": { "line": 425, "column": 50 }, "end": { "line": 425, "column": 68 } }, "object": { "type": "Identifier", "start": 14778, "end": 14786, "loc": { "start": { "line": 425, "column": 50 }, "end": { "line": 425, "column": 58 }, "identifierName": "acceptor" }, "name": "acceptor" }, "property": { "type": "Identifier", "start": 14787, "end": 14796, "loc": { "start": { "line": 425, "column": 59 }, "end": { "line": 425, "column": 68 }, "identifierName": "direction" }, "name": "direction" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 14798, "end": 15056, "loc": { "start": { "line": 425, "column": 70 }, "end": { "line": 432, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 14817, "end": 15041, "loc": { "start": { "line": 426, "column": 16 }, "end": { "line": 431, "column": 18 } }, "argument": { "type": "CallExpression", "start": 14824, "end": 15040, "loc": { "start": { "line": 426, "column": 23 }, "end": { "line": 431, "column": 17 } }, "callee": { "type": "Identifier", "start": 14824, "end": 14828, "loc": { "start": { "line": 426, "column": 23 }, "end": { "line": 426, "column": 27 }, "identifierName": "fail" }, "name": "fail" }, "arguments": [ { "type": "StringLiteral", "start": 14851, "end": 14894, "loc": { "start": { "line": 427, "column": 20 }, "end": { "line": 427, "column": 63 } }, "extra": { "rawValue": "Mismatching direction on acceptor target:", "raw": "\"Mismatching direction on acceptor target:\"" }, "value": "Mismatching direction on acceptor target:" }, { "type": "MemberExpression", "start": 14917, "end": 14935, "loc": { "start": { "line": 428, "column": 20 }, "end": { "line": 428, "column": 38 } }, "object": { "type": "Identifier", "start": 14917, "end": 14925, "loc": { "start": { "line": 428, "column": 20 }, "end": { "line": 428, "column": 28 }, "identifierName": "acceptor" }, "name": "acceptor" }, "property": { "type": "Identifier", "start": 14926, "end": 14935, "loc": { "start": { "line": 428, "column": 29 }, "end": { "line": 428, "column": 38 }, "identifierName": "direction" }, "name": "direction" }, "computed": false }, { "type": "StringLiteral", "start": 14958, "end": 14969, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 31 } }, "extra": { "rawValue": "vs stored", "raw": "\"vs stored\"" }, "value": "vs stored" }, { "type": "MemberExpression", "start": 14992, "end": 15021, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 49 } }, "object": { "type": "MemberExpression", "start": 14992, "end": 15011, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 39 } }, "object": { "type": "ThisExpression", "start": 14992, "end": 14996, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 24 } } }, "property": { "type": "Identifier", "start": 14997, "end": 15011, "loc": { "start": { "line": 430, "column": 25 }, "end": { "line": 430, "column": 39 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 15012, "end": 15021, "loc": { "start": { "line": 430, "column": 40 }, "end": { "line": 430, "column": 49 }, "identifierName": "direction" }, "name": "direction" }, "computed": false } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check first nonzero offset", "start": 15079, "end": 15108, "loc": { "start": { "line": 435, "column": 8 }, "end": { "line": 435, "column": 37 } } } ] }, { "type": "VariableDeclaration", "start": 15118, "end": 15139, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15122, "end": 15138, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 28 } }, "id": { "type": "Identifier", "start": 15122, "end": 15134, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 24 }, "identifierName": "firstNonzero" }, "name": "firstNonzero", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 15137, "end": 15138, "loc": { "start": { "line": 436, "column": 27 }, "end": { "line": 436, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Check first nonzero offset", "start": 15079, "end": 15108, "loc": { "start": { "line": 435, "column": 8 }, "end": { "line": 435, "column": 37 } } } ] }, { "type": "ForStatement", "start": 15149, "end": 15394, "loc": { "start": { "line": 437, "column": 8 }, "end": { "line": 443, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 15154, "end": 15183, "loc": { "start": { "line": 437, "column": 13 }, "end": { "line": 437, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15158, "end": 15183, "loc": { "start": { "line": 437, "column": 17 }, "end": { "line": 437, "column": 42 } }, "id": { "type": "Identifier", "start": 15158, "end": 15159, "loc": { "start": { "line": 437, "column": 17 }, "end": { "line": 437, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "BinaryExpression", "start": 15162, "end": 15183, "loc": { "start": { "line": 437, "column": 21 }, "end": { "line": 437, "column": 42 } }, "left": { "type": "MemberExpression", "start": 15162, "end": 15179, "loc": { "start": { "line": 437, "column": 21 }, "end": { "line": 437, "column": 38 } }, "object": { "type": "MemberExpression", "start": 15162, "end": 15172, "loc": { "start": { "line": 437, "column": 21 }, "end": { "line": 437, "column": 31 } }, "object": { "type": "ThisExpression", "start": 15162, "end": 15166, "loc": { "start": { "line": 437, "column": 21 }, "end": { "line": 437, "column": 25 } } }, "property": { "type": "Identifier", "start": 15167, "end": 15172, "loc": { "start": { "line": 437, "column": 26 }, "end": { "line": 437, "column": 31 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 15173, "end": 15179, "loc": { "start": { "line": 437, "column": 32 }, "end": { "line": 437, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 15182, "end": 15183, "loc": { "start": { "line": 437, "column": 41 }, "end": { "line": 437, "column": 42 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 15185, "end": 15191, "loc": { "start": { "line": 437, "column": 44 }, "end": { "line": 437, "column": 50 } }, "left": { "type": "Identifier", "start": 15185, "end": 15186, "loc": { "start": { "line": 437, "column": 44 }, "end": { "line": 437, "column": 45 }, "identifierName": "i" }, "name": "i" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 15190, "end": 15191, "loc": { "start": { "line": 437, "column": 49 }, "end": { "line": 437, "column": 50 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "update": { "type": "UpdateExpression", "start": 15193, "end": 15196, "loc": { "start": { "line": 437, "column": 52 }, "end": { "line": 437, "column": 55 } }, "operator": "--", "prefix": true, "argument": { "type": "Identifier", "start": 15195, "end": 15196, "loc": { "start": { "line": 437, "column": 54 }, "end": { "line": 437, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 15198, "end": 15394, "loc": { "start": { "line": 437, "column": 57 }, "end": { "line": 443, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15213, "end": 15383, "loc": { "start": { "line": 438, "column": 12 }, "end": { "line": 442, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 15217, "end": 15286, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 85 } }, "left": { "type": "MemberExpression", "start": 15217, "end": 15245, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 44 } }, "object": { "type": "MemberExpression", "start": 15217, "end": 15230, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 29 } }, "object": { "type": "MemberExpression", "start": 15217, "end": 15227, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15217, "end": 15221, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 20 } } }, "property": { "type": "Identifier", "start": 15222, "end": 15227, "loc": { "start": { "line": 438, "column": 21 }, "end": { "line": 438, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 15228, "end": 15229, "loc": { "start": { "line": 438, "column": 27 }, "end": { "line": 438, "column": 28 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 15231, "end": 15244, "loc": { "start": { "line": 438, "column": 30 }, "end": { "line": 438, "column": 43 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": "<", "right": { "type": "BinaryExpression", "start": 15248, "end": 15286, "loc": { "start": { "line": 438, "column": 47 }, "end": { "line": 438, "column": 85 } }, "left": { "type": "MemberExpression", "start": 15248, "end": 15279, "loc": { "start": { "line": 438, "column": 47 }, "end": { "line": 438, "column": 78 } }, "object": { "type": "Identifier", "start": 15248, "end": 15260, "loc": { "start": { "line": 438, "column": 47 }, "end": { "line": 438, "column": 59 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 15261, "end": 15279, "loc": { "start": { "line": 438, "column": 60 }, "end": { "line": 438, "column": 78 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 15282, "end": 15286, "loc": { "start": { "line": 438, "column": 81 }, "end": { "line": 438, "column": 85 } }, "extra": { "rawValue": 0.00001, "raw": "1e-5" }, "value": 0.00001 } } }, "consequent": { "type": "BlockStatement", "start": 15288, "end": 15337, "loc": { "start": { "line": 438, "column": 87 }, "end": { "line": 440, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15307, "end": 15322, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 31 } }, "expression": { "type": "UpdateExpression", "start": 15307, "end": 15321, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 30 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 15309, "end": 15321, "loc": { "start": { "line": 439, "column": 18 }, "end": { "line": 439, "column": 30 }, "identifierName": "firstNonzero" }, "name": "firstNonzero" }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 15343, "end": 15383, "loc": { "start": { "line": 440, "column": 19 }, "end": { "line": 442, "column": 13 } }, "body": [ { "type": "BreakStatement", "start": 15362, "end": 15368, "loc": { "start": { "line": 441, "column": 16 }, "end": { "line": 441, "column": 22 } }, "label": null } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Should warn, but this check isn't actually accurate", "start": 15406, "end": 15460, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 62 } } }, { "type": "CommentLine", "value": " if (firstNonzero !== this.numCompressedItemsAfterFirstItem) {", "start": 15470, "end": 15534, "loc": { "start": { "line": 446, "column": 8 }, "end": { "line": 446, "column": 72 } } }, { "type": "CommentLine", "value": " console.warn(", "start": 15544, "end": 15564, "loc": { "start": { "line": 447, "column": 8 }, "end": { "line": 447, "column": 28 } } }, { "type": "CommentLine", "value": " \"First nonzero index is \" +", "start": 15574, "end": 15612, "loc": { "start": { "line": 448, "column": 8 }, "end": { "line": 448, "column": 46 } } }, { "type": "CommentLine", "value": " firstNonzero +", "start": 15622, "end": 15651, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 449, "column": 37 } } }, { "type": "CommentLine", "value": " \" but stored is \" +", "start": 15661, "end": 15695, "loc": { "start": { "line": 450, "column": 8 }, "end": { "line": 450, "column": 42 } } }, { "type": "CommentLine", "value": " this.numCompressedItemsAfterFirstItem", "start": 15705, "end": 15757, "loc": { "start": { "line": 451, "column": 8 }, "end": { "line": 451, "column": 60 } } }, { "type": "CommentLine", "value": " );", "start": 15767, "end": 15776, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 17 } } }, { "type": "CommentLine", "value": " }", "start": 15786, "end": 15790, "loc": { "start": { "line": 453, "column": 8 }, "end": { "line": 453, "column": 12 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if this path is valid\r\n ", "start": 9642, "end": 9691, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 284, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": " dev:end ", "start": 15805, "end": 15818, "loc": { "start": { "line": 456, "column": 4 }, "end": { "line": 456, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the belt path by the given belt\r\n * @param {Entity} entity\r\n ", "start": 15826, "end": 15917, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 461, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 15923, "end": 17519, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 502, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15923, "end": 15934, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 15 }, "identifierName": "extendOnEnd" }, "name": "extendOnEnd", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15935, "end": 15941, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 22 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 15943, "end": 17519, "loc": { "start": { "line": 462, "column": 24 }, "end": { "line": 502, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15954, "end": 16052, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 106 } }, "expression": { "type": "LogicalExpression", "start": 15954, "end": 16051, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 105 } }, "left": { "type": "Identifier", "start": 15954, "end": 15959, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 15963, "end": 16051, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 15963, "end": 15973, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 27 } }, "object": { "type": "Identifier", "start": 15963, "end": 15969, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 15970, "end": 15973, "loc": { "start": { "line": 463, "column": 24 }, "end": { "line": 463, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15974, "end": 16008, "loc": { "start": { "line": 463, "column": 28 }, "end": { "line": 463, "column": 62 } }, "extra": { "rawValue": "Extending belt path by entity at", "raw": "\"Extending belt path by entity at\"" }, "value": "Extending belt path by entity at" }, { "type": "MemberExpression", "start": 16010, "end": 16050, "loc": { "start": { "line": 463, "column": 64 }, "end": { "line": 463, "column": 104 } }, "object": { "type": "MemberExpression", "start": 16010, "end": 16043, "loc": { "start": { "line": 463, "column": 64 }, "end": { "line": 463, "column": 97 } }, "object": { "type": "MemberExpression", "start": 16010, "end": 16027, "loc": { "start": { "line": 463, "column": 64 }, "end": { "line": 463, "column": 81 } }, "object": { "type": "Identifier", "start": 16010, "end": 16016, "loc": { "start": { "line": 463, "column": 64 }, "end": { "line": 463, "column": 70 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 16017, "end": 16027, "loc": { "start": { "line": 463, "column": 71 }, "end": { "line": 463, "column": 81 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 16028, "end": 16043, "loc": { "start": { "line": 463, "column": 82 }, "end": { "line": 463, "column": 97 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 16044, "end": 16050, "loc": { "start": { "line": 463, "column": 98 }, "end": { "line": 463, "column": 104 }, "identifierName": "origin" }, "name": "origin" }, "computed": false } ] } } }, { "type": "VariableDeclaration", "start": 16064, "end": 16104, "loc": { "start": { "line": 465, "column": 8 }, "end": { "line": 465, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16070, "end": 16103, "loc": { "start": { "line": 465, "column": 14 }, "end": { "line": 465, "column": 47 } }, "id": { "type": "Identifier", "start": 16070, "end": 16078, "loc": { "start": { "line": 465, "column": 14 }, "end": { "line": 465, "column": 22 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 16081, "end": 16103, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16081, "end": 16098, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 42 } }, "object": { "type": "Identifier", "start": 16081, "end": 16087, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 31 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 16088, "end": 16098, "loc": { "start": { "line": 465, "column": 32 }, "end": { "line": 465, "column": 42 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 16099, "end": 16103, "loc": { "start": { "line": 465, "column": 43 }, "end": { "line": 465, "column": 47 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Append the entity", "start": 16116, "end": 16136, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 16146, "end": 16175, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 37 } }, "expression": { "type": "CallExpression", "start": 16146, "end": 16174, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 16146, "end": 16166, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 28 } }, "object": { "type": "MemberExpression", "start": 16146, "end": 16161, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 23 } }, "object": { "type": "ThisExpression", "start": 16146, "end": 16150, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 16151, "end": 16161, "loc": { "start": { "line": 468, "column": 13 }, "end": { "line": 468, "column": 23 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 16162, "end": 16166, "loc": { "start": { "line": 468, "column": 24 }, "end": { "line": 468, "column": 28 }, "identifierName": "push" }, "name": "push" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 16167, "end": 16173, "loc": { "start": { "line": 468, "column": 29 }, "end": { "line": 468, "column": 35 }, "identifierName": "entity" }, "name": "entity" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Append the entity", "start": 16116, "end": 16136, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 16185, "end": 16206, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 29 } }, "expression": { "type": "CallExpression", "start": 16185, "end": 16205, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 16185, "end": 16203, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16185, "end": 16189, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 12 } } }, "property": { "type": "Identifier", "start": 16190, "end": 16203, "loc": { "start": { "line": 469, "column": 13 }, "end": { "line": 469, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Extend the path length", "start": 16218, "end": 16243, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 33 } } } ] }, { "type": "VariableDeclaration", "start": 16253, "end": 16313, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 472, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16259, "end": 16312, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 67 } }, "id": { "type": "Identifier", "start": 16259, "end": 16275, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 30 }, "identifierName": "additionalLength" }, "name": "additionalLength", "leadingComments": null }, "init": { "type": "CallExpression", "start": 16278, "end": 16312, "loc": { "start": { "line": 472, "column": 33 }, "end": { "line": 472, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 16278, "end": 16310, "loc": { "start": { "line": 472, "column": 33 }, "end": { "line": 472, "column": 65 } }, "object": { "type": "Identifier", "start": 16278, "end": 16286, "loc": { "start": { "line": 472, "column": 33 }, "end": { "line": 472, "column": 41 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 16287, "end": 16310, "loc": { "start": { "line": 472, "column": 42 }, "end": { "line": 472, "column": 65 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Extend the path length", "start": 16218, "end": 16243, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 33 } } } ] }, { "type": "ExpressionStatement", "start": 16323, "end": 16360, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 16323, "end": 16359, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 44 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 16323, "end": 16339, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 24 } }, "object": { "type": "ThisExpression", "start": 16323, "end": 16327, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 12 } } }, "property": { "type": "Identifier", "start": 16328, "end": 16339, "loc": { "start": { "line": 473, "column": 13 }, "end": { "line": 473, "column": 24 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "right": { "type": "Identifier", "start": 16343, "end": 16359, "loc": { "start": { "line": 473, "column": 28 }, "end": { "line": 473, "column": 44 }, "identifierName": "additionalLength" }, "name": "additionalLength" } } }, { "type": "ExpressionStatement", "start": 16370, "end": 16462, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 100 } }, "expression": { "type": "LogicalExpression", "start": 16370, "end": 16461, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 99 } }, "left": { "type": "Identifier", "start": 16370, "end": 16375, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 16379, "end": 16461, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 474, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 16379, "end": 16389, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 474, "column": 27 } }, "object": { "type": "Identifier", "start": 16379, "end": 16385, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 474, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 16386, "end": 16389, "loc": { "start": { "line": 474, "column": 24 }, "end": { "line": 474, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16390, "end": 16418, "loc": { "start": { "line": 474, "column": 28 }, "end": { "line": 474, "column": 56 } }, "extra": { "rawValue": " Extended total length by", "raw": "\" Extended total length by\"" }, "value": " Extended total length by" }, { "type": "Identifier", "start": 16420, "end": 16436, "loc": { "start": { "line": 474, "column": 58 }, "end": { "line": 474, "column": 74 }, "identifierName": "additionalLength" }, "name": "additionalLength" }, { "type": "StringLiteral", "start": 16438, "end": 16442, "loc": { "start": { "line": 474, "column": 76 }, "end": { "line": 474, "column": 80 } }, "extra": { "rawValue": "to", "raw": "\"to\"" }, "value": "to" }, { "type": "MemberExpression", "start": 16444, "end": 16460, "loc": { "start": { "line": 474, "column": 82 }, "end": { "line": 474, "column": 98 } }, "object": { "type": "ThisExpression", "start": 16444, "end": 16448, "loc": { "start": { "line": 474, "column": 82 }, "end": { "line": 474, "column": 86 } } }, "property": { "type": "Identifier", "start": 16449, "end": 16460, "loc": { "start": { "line": 474, "column": 87 }, "end": { "line": 474, "column": 98 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " If we have no item, just update the distance to the first item", "start": 16474, "end": 16539, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 73 } } } ] }, { "type": "IfStatement", "start": 16549, "end": 17232, "loc": { "start": { "line": 477, "column": 8 }, "end": { "line": 491, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 16553, "end": 16576, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 35 } }, "left": { "type": "MemberExpression", "start": 16553, "end": 16570, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 29 } }, "object": { "type": "MemberExpression", "start": 16553, "end": 16563, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 22 } }, "object": { "type": "ThisExpression", "start": 16553, "end": 16557, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 16558, "end": 16563, "loc": { "start": { "line": 477, "column": 17 }, "end": { "line": 477, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 16564, "end": 16570, "loc": { "start": { "line": 477, "column": 23 }, "end": { "line": 477, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 16575, "end": 16576, "loc": { "start": { "line": 477, "column": 34 }, "end": { "line": 477, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16578, "end": 16753, "loc": { "start": { "line": 477, "column": 37 }, "end": { "line": 480, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 16593, "end": 16636, "loc": { "start": { "line": 478, "column": 12 }, "end": { "line": 478, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 16593, "end": 16635, "loc": { "start": { "line": 478, "column": 12 }, "end": { "line": 478, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16593, "end": 16616, "loc": { "start": { "line": 478, "column": 12 }, "end": { "line": 478, "column": 35 } }, "object": { "type": "ThisExpression", "start": 16593, "end": 16597, "loc": { "start": { "line": 478, "column": 12 }, "end": { "line": 478, "column": 16 } } }, "property": { "type": "Identifier", "start": 16598, "end": 16616, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "MemberExpression", "start": 16619, "end": 16635, "loc": { "start": { "line": 478, "column": 38 }, "end": { "line": 478, "column": 54 } }, "object": { "type": "ThisExpression", "start": 16619, "end": 16623, "loc": { "start": { "line": 478, "column": 38 }, "end": { "line": 478, "column": 42 } } }, "property": { "type": "Identifier", "start": 16624, "end": 16635, "loc": { "start": { "line": 478, "column": 43 }, "end": { "line": 478, "column": 54 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 16650, "end": 16742, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 104 } }, "expression": { "type": "LogicalExpression", "start": 16650, "end": 16741, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 103 } }, "left": { "type": "Identifier", "start": 16650, "end": 16655, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 16659, "end": 16741, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 103 } }, "callee": { "type": "MemberExpression", "start": 16659, "end": 16669, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 31 } }, "object": { "type": "Identifier", "start": 16659, "end": 16665, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 27 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 16666, "end": 16669, "loc": { "start": { "line": 479, "column": 28 }, "end": { "line": 479, "column": 31 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16670, "end": 16702, "loc": { "start": { "line": 479, "column": 32 }, "end": { "line": 479, "column": 64 } }, "extra": { "rawValue": " Extended spacing to first to", "raw": "\" Extended spacing to first to\"" }, "value": " Extended spacing to first to" }, { "type": "MemberExpression", "start": 16704, "end": 16720, "loc": { "start": { "line": 479, "column": 66 }, "end": { "line": 479, "column": 82 } }, "object": { "type": "ThisExpression", "start": 16704, "end": 16708, "loc": { "start": { "line": 479, "column": 66 }, "end": { "line": 479, "column": 70 } } }, "property": { "type": "Identifier", "start": 16709, "end": 16720, "loc": { "start": { "line": 479, "column": 71 }, "end": { "line": 479, "column": 82 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 16722, "end": 16740, "loc": { "start": { "line": 479, "column": 84 }, "end": { "line": 479, "column": 102 } }, "extra": { "rawValue": "(= total length)", "raw": "\"(= total length)\"" }, "value": "(= total length)" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16759, "end": 17232, "loc": { "start": { "line": 480, "column": 15 }, "end": { "line": 491, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16843, "end": 16894, "loc": { "start": { "line": 482, "column": 12 }, "end": { "line": 482, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16849, "end": 16893, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 62 } }, "id": { "type": "Identifier", "start": 16849, "end": 16857, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 26 }, "identifierName": "lastItem" }, "name": "lastItem", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 16860, "end": 16893, "loc": { "start": { "line": 482, "column": 29 }, "end": { "line": 482, "column": 62 } }, "object": { "type": "MemberExpression", "start": 16860, "end": 16870, "loc": { "start": { "line": 482, "column": 29 }, "end": { "line": 482, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16860, "end": 16864, "loc": { "start": { "line": 482, "column": 29 }, "end": { "line": 482, "column": 33 } } }, "property": { "type": "Identifier", "start": 16865, "end": 16870, "loc": { "start": { "line": 482, "column": 34 }, "end": { "line": 482, "column": 39 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 16871, "end": 16892, "loc": { "start": { "line": 482, "column": 40 }, "end": { "line": 482, "column": 61 } }, "left": { "type": "MemberExpression", "start": 16871, "end": 16888, "loc": { "start": { "line": 482, "column": 40 }, "end": { "line": 482, "column": 57 } }, "object": { "type": "MemberExpression", "start": 16871, "end": 16881, "loc": { "start": { "line": 482, "column": 40 }, "end": { "line": 482, "column": 50 } }, "object": { "type": "ThisExpression", "start": 16871, "end": 16875, "loc": { "start": { "line": 482, "column": 40 }, "end": { "line": 482, "column": 44 } } }, "property": { "type": "Identifier", "start": 16876, "end": 16881, "loc": { "start": { "line": 482, "column": 45 }, "end": { "line": 482, "column": 50 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 16882, "end": 16888, "loc": { "start": { "line": 482, "column": 51 }, "end": { "line": 482, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 16891, "end": 16892, "loc": { "start": { "line": 482, "column": 60 }, "end": { "line": 482, "column": 61 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Otherwise, update the next-distance of the last item", "start": 16774, "end": 16829, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 67 } } } ] }, { "type": "ExpressionStatement", "start": 16908, "end": 17163, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 489, "column": 18 } }, "expression": { "type": "LogicalExpression", "start": 16908, "end": 17162, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 489, "column": 17 } }, "left": { "type": "Identifier", "start": 16908, "end": 16913, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 483, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 16934, "end": 17162, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 489, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 16934, "end": 16944, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 26 } }, "object": { "type": "Identifier", "start": 16934, "end": 16940, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 22 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 16941, "end": 16944, "loc": { "start": { "line": 484, "column": 23 }, "end": { "line": 484, "column": 26 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16967, "end": 17005, "loc": { "start": { "line": 485, "column": 20 }, "end": { "line": 485, "column": 58 } }, "extra": { "rawValue": " Extended spacing of last item from", "raw": "\" Extended spacing of last item from\"" }, "value": " Extended spacing of last item from" }, { "type": "MemberExpression", "start": 17028, "end": 17051, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 43 } }, "object": { "type": "Identifier", "start": 17028, "end": 17036, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 28 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 17037, "end": 17050, "loc": { "start": { "line": 486, "column": 29 }, "end": { "line": 486, "column": 42 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, { "type": "StringLiteral", "start": 17074, "end": 17078, "loc": { "start": { "line": 487, "column": 20 }, "end": { "line": 487, "column": 24 } }, "extra": { "rawValue": "to", "raw": "\"to\"" }, "value": "to" }, { "type": "BinaryExpression", "start": 17101, "end": 17143, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 62 } }, "left": { "type": "MemberExpression", "start": 17101, "end": 17124, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 43 } }, "object": { "type": "Identifier", "start": 17101, "end": 17109, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 28 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 17110, "end": 17123, "loc": { "start": { "line": 488, "column": 29 }, "end": { "line": 488, "column": 42 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": "+", "right": { "type": "Identifier", "start": 17127, "end": 17143, "loc": { "start": { "line": 488, "column": 46 }, "end": { "line": 488, "column": 62 }, "identifierName": "additionalLength" }, "name": "additionalLength" } } ] } } }, { "type": "ExpressionStatement", "start": 17177, "end": 17221, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 17177, "end": 17220, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "column": 55 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17177, "end": 17200, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "column": 35 } }, "object": { "type": "Identifier", "start": 17177, "end": 17185, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "column": 20 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 17186, "end": 17199, "loc": { "start": { "line": 490, "column": 21 }, "end": { "line": 490, "column": 34 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "right": { "type": "Identifier", "start": 17204, "end": 17220, "loc": { "start": { "line": 490, "column": 39 }, "end": { "line": 490, "column": 55 }, "identifierName": "additionalLength" }, "name": "additionalLength" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " If we have no item, just update the distance to the first item", "start": 16474, "end": 16539, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 73 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Assign reference", "start": 17244, "end": 17263, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 27 } } } ] }, { "type": "ExpressionStatement", "start": 17273, "end": 17302, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 17273, "end": 17301, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17273, "end": 17294, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 29 } }, "object": { "type": "Identifier", "start": 17273, "end": 17281, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 16 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 17282, "end": 17294, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 494, "column": 29 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false, "leadingComments": null }, "right": { "type": "ThisExpression", "start": 17297, "end": 17301, "loc": { "start": { "line": 494, "column": 32 }, "end": { "line": 494, "column": 36 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Assign reference", "start": 17244, "end": 17263, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 27 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 17314, "end": 17330, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 17340, "end": 17380, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 17340, "end": 17379, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17340, "end": 17356, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17340, "end": 17344, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17345, "end": 17356, "loc": { "start": { "line": 497, "column": 13 }, "end": { "line": 497, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 17359, "end": 17379, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 17359, "end": 17377, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 45 } }, "object": { "type": "ThisExpression", "start": 17359, "end": 17363, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 31 } } }, "property": { "type": "Identifier", "start": 17364, "end": 17377, "loc": { "start": { "line": 497, "column": 32 }, "end": { "line": 497, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 17314, "end": 17330, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 24 } } } ] }, { "type": "IfStatement", "start": 17392, "end": 17512, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 501, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 17396, "end": 17441, "loc": { "start": { "line": 499, "column": 12 }, "end": { "line": 499, "column": 57 } }, "left": { "type": "Identifier", "start": 17396, "end": 17404, "loc": { "start": { "line": 499, "column": 12 }, "end": { "line": 499, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 17408, "end": 17441, "loc": { "start": { "line": 499, "column": 24 }, "end": { "line": 499, "column": 57 } }, "object": { "type": "MemberExpression", "start": 17408, "end": 17426, "loc": { "start": { "line": 499, "column": 24 }, "end": { "line": 499, "column": 42 } }, "object": { "type": "Identifier", "start": 17408, "end": 17420, "loc": { "start": { "line": 499, "column": 24 }, "end": { "line": 499, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 17421, "end": 17426, "loc": { "start": { "line": 499, "column": 37 }, "end": { "line": 499, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 17427, "end": 17441, "loc": { "start": { "line": 499, "column": 43 }, "end": { "line": 499, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 17443, "end": 17512, "loc": { "start": { "line": 499, "column": 59 }, "end": { "line": 501, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 17458, "end": 17501, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 55 } }, "expression": { "type": "CallExpression", "start": 17458, "end": 17500, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 17458, "end": 17483, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 37 } }, "object": { "type": "ThisExpression", "start": 17458, "end": 17462, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 16 } } }, "property": { "type": "Identifier", "start": 17463, "end": 17483, "loc": { "start": { "line": 500, "column": 17 }, "end": { "line": 500, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17484, "end": 17499, "loc": { "start": { "line": 500, "column": 38 }, "end": { "line": 500, "column": 53 } }, "extra": { "rawValue": "extend-on-end", "raw": "\"extend-on-end\"" }, "value": "extend-on-end" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": " dev:end ", "start": 15805, "end": 15818, "loc": { "start": { "line": 456, "column": 4 }, "end": { "line": 456, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the belt path by the given belt\r\n * @param {Entity} entity\r\n ", "start": 15826, "end": 15917, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 461, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Extends the path with the given entity on the beginning\r\n * @param {Entity} entity\r\n ", "start": 17527, "end": 17634, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 507, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 17640, "end": 18496, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 534, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17640, "end": 17657, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 21 }, "identifierName": "extendOnBeginning" }, "name": "extendOnBeginning", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17658, "end": 17664, "loc": { "start": { "line": 508, "column": 22 }, "end": { "line": 508, "column": 28 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 17666, "end": 18496, "loc": { "start": { "line": 508, "column": 30 }, "end": { "line": 534, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17677, "end": 17717, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17683, "end": 17716, "loc": { "start": { "line": 509, "column": 14 }, "end": { "line": 509, "column": 47 } }, "id": { "type": "Identifier", "start": 17683, "end": 17691, "loc": { "start": { "line": 509, "column": 14 }, "end": { "line": 509, "column": 22 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 17694, "end": 17716, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 47 } }, "object": { "type": "MemberExpression", "start": 17694, "end": 17711, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 42 } }, "object": { "type": "Identifier", "start": 17694, "end": 17700, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 31 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 17701, "end": 17711, "loc": { "start": { "line": 509, "column": 32 }, "end": { "line": 509, "column": 42 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 17712, "end": 17716, "loc": { "start": { "line": 509, "column": 43 }, "end": { "line": 509, "column": 47 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 17729, "end": 17788, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 67 } }, "expression": { "type": "LogicalExpression", "start": 17729, "end": 17787, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 66 } }, "left": { "type": "Identifier", "start": 17729, "end": 17734, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 17738, "end": 17787, "loc": { "start": { "line": 511, "column": 17 }, "end": { "line": 511, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 17738, "end": 17748, "loc": { "start": { "line": 511, "column": 17 }, "end": { "line": 511, "column": 27 } }, "object": { "type": "Identifier", "start": 17738, "end": 17744, "loc": { "start": { "line": 511, "column": 17 }, "end": { "line": 511, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 17745, "end": 17748, "loc": { "start": { "line": 511, "column": 24 }, "end": { "line": 511, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17749, "end": 17786, "loc": { "start": { "line": 511, "column": 28 }, "end": { "line": 511, "column": 65 } }, "extra": { "rawValue": "Extending the path on the beginning", "raw": "\"Extending the path on the beginning\"" }, "value": "Extending the path on the beginning" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " All items on that belt are simply lost (for now)", "start": 17800, "end": 17851, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 59 } } } ] }, { "type": "VariableDeclaration", "start": 17863, "end": 17913, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17869, "end": 17912, "loc": { "start": { "line": 515, "column": 14 }, "end": { "line": 515, "column": 57 } }, "id": { "type": "Identifier", "start": 17869, "end": 17875, "loc": { "start": { "line": 515, "column": 14 }, "end": { "line": 515, "column": 20 }, "identifierName": "length" }, "name": "length", "leadingComments": null }, "init": { "type": "CallExpression", "start": 17878, "end": 17912, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 17878, "end": 17910, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 55 } }, "object": { "type": "Identifier", "start": 17878, "end": 17886, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 31 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 17887, "end": 17910, "loc": { "start": { "line": 515, "column": 32 }, "end": { "line": 515, "column": 55 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " All items on that belt are simply lost (for now)", "start": 17800, "end": 17851, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 59 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Extend the length of this path", "start": 17925, "end": 17958, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 41 } } } ] }, { "type": "ExpressionStatement", "start": 17968, "end": 17995, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 17968, "end": 17994, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17968, "end": 17984, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17968, "end": 17972, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17973, "end": 17984, "loc": { "start": { "line": 518, "column": 13 }, "end": { "line": 518, "column": 24 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 17988, "end": 17994, "loc": { "start": { "line": 518, "column": 28 }, "end": { "line": 518, "column": 34 }, "identifierName": "length" }, "name": "length" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Extend the length of this path", "start": 17925, "end": 17958, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Simply adjust the first item spacing cuz we have no items contained", "start": 18007, "end": 18077, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 78 } } } ] }, { "type": "ExpressionStatement", "start": 18087, "end": 18121, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 18087, "end": 18120, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 41 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 18087, "end": 18110, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 31 } }, "object": { "type": "ThisExpression", "start": 18087, "end": 18091, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18092, "end": 18110, "loc": { "start": { "line": 521, "column": 13 }, "end": { "line": 521, "column": 31 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 18114, "end": 18120, "loc": { "start": { "line": 521, "column": 35 }, "end": { "line": 521, "column": 41 }, "identifierName": "length" }, "name": "length" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Simply adjust the first item spacing cuz we have no items contained", "start": 18007, "end": 18077, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 78 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Set handles and append entity", "start": 18133, "end": 18165, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 18175, "end": 18204, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 18175, "end": 18203, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18175, "end": 18196, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 29 } }, "object": { "type": "Identifier", "start": 18175, "end": 18183, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 16 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 18184, "end": 18196, "loc": { "start": { "line": 524, "column": 17 }, "end": { "line": 524, "column": 29 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false, "leadingComments": null }, "right": { "type": "ThisExpression", "start": 18199, "end": 18203, "loc": { "start": { "line": 524, "column": 32 }, "end": { "line": 524, "column": 36 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Set handles and append entity", "start": 18133, "end": 18165, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 18214, "end": 18246, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 40 } }, "expression": { "type": "CallExpression", "start": 18214, "end": 18245, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 18214, "end": 18237, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 31 } }, "object": { "type": "MemberExpression", "start": 18214, "end": 18229, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 23 } }, "object": { "type": "ThisExpression", "start": 18214, "end": 18218, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 12 } } }, "property": { "type": "Identifier", "start": 18219, "end": 18229, "loc": { "start": { "line": 525, "column": 13 }, "end": { "line": 525, "column": 23 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 18230, "end": 18237, "loc": { "start": { "line": 525, "column": 24 }, "end": { "line": 525, "column": 31 }, "identifierName": "unshift" }, "name": "unshift" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18238, "end": 18244, "loc": { "start": { "line": 525, "column": 32 }, "end": { "line": 525, "column": 38 }, "identifierName": "entity" }, "name": "entity" } ] } }, { "type": "ExpressionStatement", "start": 18256, "end": 18277, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 29 } }, "expression": { "type": "CallExpression", "start": 18256, "end": 18276, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 18256, "end": 18274, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18256, "end": 18260, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 12 } } }, "property": { "type": "Identifier", "start": 18261, "end": 18274, "loc": { "start": { "line": 526, "column": 13 }, "end": { "line": 526, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 18289, "end": 18305, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 18315, "end": 18355, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 18315, "end": 18354, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18315, "end": 18331, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 24 } }, "object": { "type": "ThisExpression", "start": 18315, "end": 18319, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18320, "end": 18331, "loc": { "start": { "line": 529, "column": 13 }, "end": { "line": 529, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 18334, "end": 18354, "loc": { "start": { "line": 529, "column": 27 }, "end": { "line": 529, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 18334, "end": 18352, "loc": { "start": { "line": 529, "column": 27 }, "end": { "line": 529, "column": 45 } }, "object": { "type": "ThisExpression", "start": 18334, "end": 18338, "loc": { "start": { "line": 529, "column": 27 }, "end": { "line": 529, "column": 31 } } }, "property": { "type": "Identifier", "start": 18339, "end": 18352, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 18289, "end": 18305, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 24 } } } ] }, { "type": "IfStatement", "start": 18367, "end": 18489, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 533, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 18371, "end": 18416, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 57 } }, "left": { "type": "Identifier", "start": 18371, "end": 18379, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 18383, "end": 18416, "loc": { "start": { "line": 531, "column": 24 }, "end": { "line": 531, "column": 57 } }, "object": { "type": "MemberExpression", "start": 18383, "end": 18401, "loc": { "start": { "line": 531, "column": 24 }, "end": { "line": 531, "column": 42 } }, "object": { "type": "Identifier", "start": 18383, "end": 18395, "loc": { "start": { "line": 531, "column": 24 }, "end": { "line": 531, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 18396, "end": 18401, "loc": { "start": { "line": 531, "column": 37 }, "end": { "line": 531, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 18402, "end": 18416, "loc": { "start": { "line": 531, "column": 43 }, "end": { "line": 531, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 18418, "end": 18489, "loc": { "start": { "line": 531, "column": 59 }, "end": { "line": 533, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18433, "end": 18478, "loc": { "start": { "line": 532, "column": 12 }, "end": { "line": 532, "column": 57 } }, "expression": { "type": "CallExpression", "start": 18433, "end": 18477, "loc": { "start": { "line": 532, "column": 12 }, "end": { "line": 532, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 18433, "end": 18458, "loc": { "start": { "line": 532, "column": 12 }, "end": { "line": 532, "column": 37 } }, "object": { "type": "ThisExpression", "start": 18433, "end": 18437, "loc": { "start": { "line": 532, "column": 12 }, "end": { "line": 532, "column": 16 } } }, "property": { "type": "Identifier", "start": 18438, "end": 18458, "loc": { "start": { "line": 532, "column": 17 }, "end": { "line": 532, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18459, "end": 18476, "loc": { "start": { "line": 532, "column": 38 }, "end": { "line": 532, "column": 55 } }, "extra": { "rawValue": "extend-on-begin", "raw": "\"extend-on-begin\"" }, "value": "extend-on-begin" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Extends the path with the given entity on the beginning\r\n * @param {Entity} entity\r\n ", "start": 17527, "end": 17634, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 507, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the end entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18504, "end": 18640, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 540, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 18646, "end": 18746, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 543, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18646, "end": 18657, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 15 }, "identifierName": "isEndEntity" }, "name": "isEndEntity", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18658, "end": 18664, "loc": { "start": { "line": 541, "column": 16 }, "end": { "line": 541, "column": 22 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 18666, "end": 18746, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 543, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 18677, "end": 18739, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 70 } }, "argument": { "type": "BinaryExpression", "start": 18684, "end": 18738, "loc": { "start": { "line": 542, "column": 15 }, "end": { "line": 542, "column": 69 } }, "left": { "type": "MemberExpression", "start": 18684, "end": 18727, "loc": { "start": { "line": 542, "column": 15 }, "end": { "line": 542, "column": 58 } }, "object": { "type": "MemberExpression", "start": 18684, "end": 18699, "loc": { "start": { "line": 542, "column": 15 }, "end": { "line": 542, "column": 30 } }, "object": { "type": "ThisExpression", "start": 18684, "end": 18688, "loc": { "start": { "line": 542, "column": 15 }, "end": { "line": 542, "column": 19 } } }, "property": { "type": "Identifier", "start": 18689, "end": 18699, "loc": { "start": { "line": 542, "column": 20 }, "end": { "line": 542, "column": 30 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 18700, "end": 18726, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 57 } }, "left": { "type": "MemberExpression", "start": 18700, "end": 18722, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 53 } }, "object": { "type": "MemberExpression", "start": 18700, "end": 18715, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } }, "object": { "type": "ThisExpression", "start": 18700, "end": 18704, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 35 } } }, "property": { "type": "Identifier", "start": 18705, "end": 18715, "loc": { "start": { "line": 542, "column": 36 }, "end": { "line": 542, "column": 46 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 18716, "end": 18722, "loc": { "start": { "line": 542, "column": 47 }, "end": { "line": 542, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 18725, "end": 18726, "loc": { "start": { "line": 542, "column": 56 }, "end": { "line": 542, "column": 57 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "operator": "===", "right": { "type": "Identifier", "start": 18732, "end": 18738, "loc": { "start": { "line": 542, "column": 63 }, "end": { "line": 542, "column": 69 }, "identifierName": "entity" }, "name": "entity" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the end entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18504, "end": 18640, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 540, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the start entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18754, "end": 18892, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 549, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 18898, "end": 18975, "loc": { "start": { "line": 550, "column": 4 }, "end": { "line": 552, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18898, "end": 18911, "loc": { "start": { "line": 550, "column": 4 }, "end": { "line": 550, "column": 17 }, "identifierName": "isStartEntity" }, "name": "isStartEntity", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18912, "end": 18918, "loc": { "start": { "line": 550, "column": 18 }, "end": { "line": 550, "column": 24 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 18920, "end": 18975, "loc": { "start": { "line": 550, "column": 26 }, "end": { "line": 552, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 18931, "end": 18968, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 551, "column": 45 } }, "argument": { "type": "BinaryExpression", "start": 18938, "end": 18967, "loc": { "start": { "line": 551, "column": 15 }, "end": { "line": 551, "column": 44 } }, "left": { "type": "MemberExpression", "start": 18938, "end": 18956, "loc": { "start": { "line": 551, "column": 15 }, "end": { "line": 551, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18938, "end": 18953, "loc": { "start": { "line": 551, "column": 15 }, "end": { "line": 551, "column": 30 } }, "object": { "type": "ThisExpression", "start": 18938, "end": 18942, "loc": { "start": { "line": 551, "column": 15 }, "end": { "line": 551, "column": 19 } } }, "property": { "type": "Identifier", "start": 18943, "end": 18953, "loc": { "start": { "line": 551, "column": 20 }, "end": { "line": 551, "column": 30 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 18954, "end": 18955, "loc": { "start": { "line": 551, "column": 31 }, "end": { "line": 551, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "operator": "===", "right": { "type": "Identifier", "start": 18961, "end": 18967, "loc": { "start": { "line": 551, "column": 38 }, "end": { "line": 551, "column": 44 }, "identifierName": "entity" }, "name": "entity" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the start entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18754, "end": 18892, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 549, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Splits this path at the given entity by removing it, and\r\n * returning the new secondary paht\r\n * @param {Entity} entity\r\n * @returns {BeltPath}\r\n ", "start": 18983, "end": 19160, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 559, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 19166, "end": 25368, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 715, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19166, "end": 19196, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 34 }, "identifierName": "deleteEntityOnPathSplitIntoTwo" }, "name": "deleteEntityOnPathSplitIntoTwo", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19197, "end": 19203, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 560, "column": 41 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 19205, "end": 25368, "loc": { "start": { "line": 560, "column": 43 }, "end": { "line": 715, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19216, "end": 19306, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 98 } }, "expression": { "type": "LogicalExpression", "start": 19216, "end": 19305, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 97 } }, "left": { "type": "Identifier", "start": 19216, "end": 19221, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 19225, "end": 19305, "loc": { "start": { "line": 561, "column": 17 }, "end": { "line": 561, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 19225, "end": 19235, "loc": { "start": { "line": 561, "column": 17 }, "end": { "line": 561, "column": 27 } }, "object": { "type": "Identifier", "start": 19225, "end": 19231, "loc": { "start": { "line": 561, "column": 17 }, "end": { "line": 561, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 19232, "end": 19235, "loc": { "start": { "line": 561, "column": 24 }, "end": { "line": 561, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19236, "end": 19262, "loc": { "start": { "line": 561, "column": 28 }, "end": { "line": 561, "column": 54 } }, "extra": { "rawValue": "Splitting path at entity", "raw": "\"Splitting path at entity\"" }, "value": "Splitting path at entity" }, { "type": "MemberExpression", "start": 19264, "end": 19304, "loc": { "start": { "line": 561, "column": 56 }, "end": { "line": 561, "column": 96 } }, "object": { "type": "MemberExpression", "start": 19264, "end": 19297, "loc": { "start": { "line": 561, "column": 56 }, "end": { "line": 561, "column": 89 } }, "object": { "type": "MemberExpression", "start": 19264, "end": 19281, "loc": { "start": { "line": 561, "column": 56 }, "end": { "line": 561, "column": 73 } }, "object": { "type": "Identifier", "start": 19264, "end": 19270, "loc": { "start": { "line": 561, "column": 56 }, "end": { "line": 561, "column": 62 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 19271, "end": 19281, "loc": { "start": { "line": 561, "column": 63 }, "end": { "line": 561, "column": 73 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 19282, "end": 19297, "loc": { "start": { "line": 561, "column": 74 }, "end": { "line": 561, "column": 89 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 19298, "end": 19304, "loc": { "start": { "line": 561, "column": 90 }, "end": { "line": 561, "column": 96 }, "identifierName": "origin" }, "name": "origin" }, "computed": false } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " First, find where the current path ends", "start": 19318, "end": 19360, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 50 } } } ] }, { "type": "VariableDeclaration", "start": 19370, "end": 19410, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19376, "end": 19409, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 47 } }, "id": { "type": "Identifier", "start": 19376, "end": 19384, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 22 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 19387, "end": 19409, "loc": { "start": { "line": 564, "column": 25 }, "end": { "line": 564, "column": 47 } }, "object": { "type": "MemberExpression", "start": 19387, "end": 19404, "loc": { "start": { "line": 564, "column": 25 }, "end": { "line": 564, "column": 42 } }, "object": { "type": "Identifier", "start": 19387, "end": 19393, "loc": { "start": { "line": 564, "column": 25 }, "end": { "line": 564, "column": 31 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 19394, "end": 19404, "loc": { "start": { "line": 564, "column": 32 }, "end": { "line": 564, "column": 42 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 19405, "end": 19409, "loc": { "start": { "line": 564, "column": 43 }, "end": { "line": 564, "column": 47 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " First, find where the current path ends", "start": 19318, "end": 19360, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 50 } } } ] }, { "type": "ExpressionStatement", "start": 19420, "end": 19449, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 19420, "end": 19448, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19420, "end": 19441, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 29 } }, "object": { "type": "Identifier", "start": 19420, "end": 19428, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 16 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 19429, "end": 19441, "loc": { "start": { "line": 565, "column": 17 }, "end": { "line": 565, "column": 29 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false }, "right": { "type": "NullLiteral", "start": 19444, "end": 19448, "loc": { "start": { "line": 565, "column": 32 }, "end": { "line": 565, "column": 36 } } } } }, { "type": "VariableDeclaration", "start": 19461, "end": 19517, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19467, "end": 19516, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 63 } }, "id": { "type": "Identifier", "start": 19467, "end": 19479, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 26 }, "identifierName": "entityLength" }, "name": "entityLength" }, "init": { "type": "CallExpression", "start": 19482, "end": 19516, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 19482, "end": 19514, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 61 } }, "object": { "type": "Identifier", "start": 19482, "end": 19490, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 37 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 19491, "end": 19514, "loc": { "start": { "line": 567, "column": 38 }, "end": { "line": 567, "column": 61 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 19527, "end": 19606, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 87 } }, "expression": { "type": "CallExpression", "start": 19527, "end": 19605, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 86 } }, "callee": { "type": "Identifier", "start": 19527, "end": 19533, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 19534, "end": 19570, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 51 } }, "left": { "type": "CallExpression", "start": 19534, "end": 19565, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19534, "end": 19557, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19534, "end": 19549, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 30 } }, "object": { "type": "ThisExpression", "start": 19534, "end": 19538, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 19 } } }, "property": { "type": "Identifier", "start": 19539, "end": 19549, "loc": { "start": { "line": 568, "column": 20 }, "end": { "line": 568, "column": 30 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 19550, "end": 19557, "loc": { "start": { "line": 568, "column": 31 }, "end": { "line": 568, "column": 38 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19558, "end": 19564, "loc": { "start": { "line": 568, "column": 39 }, "end": { "line": 568, "column": 45 }, "identifierName": "entity" }, "name": "entity" } ] }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 19569, "end": 19570, "loc": { "start": { "line": 568, "column": 50 }, "end": { "line": 568, "column": 51 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 19572, "end": 19604, "loc": { "start": { "line": 568, "column": 53 }, "end": { "line": 568, "column": 85 } }, "extra": { "rawValue": "Entity not contained for split", "raw": "\"Entity not contained for split\"" }, "value": "Entity not contained for split" } ] } }, { "type": "ExpressionStatement", "start": 19616, "end": 19681, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 73 } }, "expression": { "type": "CallExpression", "start": 19616, "end": 19680, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 72 } }, "callee": { "type": "Identifier", "start": 19616, "end": 19622, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 19623, "end": 19660, "loc": { "start": { "line": 569, "column": 15 }, "end": { "line": 569, "column": 52 } }, "left": { "type": "CallExpression", "start": 19623, "end": 19654, "loc": { "start": { "line": 569, "column": 15 }, "end": { "line": 569, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19623, "end": 19646, "loc": { "start": { "line": 569, "column": 15 }, "end": { "line": 569, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19623, "end": 19638, "loc": { "start": { "line": 569, "column": 15 }, "end": { "line": 569, "column": 30 } }, "object": { "type": "ThisExpression", "start": 19623, "end": 19627, "loc": { "start": { "line": 569, "column": 15 }, "end": { "line": 569, "column": 19 } } }, "property": { "type": "Identifier", "start": 19628, "end": 19638, "loc": { "start": { "line": 569, "column": 20 }, "end": { "line": 569, "column": 30 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 19639, "end": 19646, "loc": { "start": { "line": 569, "column": 31 }, "end": { "line": 569, "column": 38 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19647, "end": 19653, "loc": { "start": { "line": 569, "column": 39 }, "end": { "line": 569, "column": 45 }, "identifierName": "entity" }, "name": "entity" } ] }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 19659, "end": 19660, "loc": { "start": { "line": 569, "column": 51 }, "end": { "line": 569, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 19662, "end": 19679, "loc": { "start": { "line": 569, "column": 54 }, "end": { "line": 569, "column": 71 } }, "extra": { "rawValue": "Entity is first", "raw": "\"Entity is first\"" }, "value": "Entity is first" } ] } }, { "type": "ExpressionStatement", "start": 19691, "end": 19780, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 97 } }, "expression": { "type": "CallExpression", "start": 19691, "end": 19779, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 96 } }, "callee": { "type": "Identifier", "start": 19691, "end": 19697, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 19698, "end": 19760, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 77 } }, "left": { "type": "CallExpression", "start": 19698, "end": 19729, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19698, "end": 19721, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19698, "end": 19713, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 30 } }, "object": { "type": "ThisExpression", "start": 19698, "end": 19702, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 19 } } }, "property": { "type": "Identifier", "start": 19703, "end": 19713, "loc": { "start": { "line": 570, "column": 20 }, "end": { "line": 570, "column": 30 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 19714, "end": 19721, "loc": { "start": { "line": 570, "column": 31 }, "end": { "line": 570, "column": 38 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19722, "end": 19728, "loc": { "start": { "line": 570, "column": 39 }, "end": { "line": 570, "column": 45 }, "identifierName": "entity" }, "name": "entity" } ] }, "operator": "!==", "right": { "type": "BinaryExpression", "start": 19734, "end": 19760, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 77 } }, "left": { "type": "MemberExpression", "start": 19734, "end": 19756, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 73 } }, "object": { "type": "MemberExpression", "start": 19734, "end": 19749, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 66 } }, "object": { "type": "ThisExpression", "start": 19734, "end": 19738, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 55 } } }, "property": { "type": "Identifier", "start": 19739, "end": 19749, "loc": { "start": { "line": 570, "column": 56 }, "end": { "line": 570, "column": 66 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 19750, "end": 19756, "loc": { "start": { "line": 570, "column": 67 }, "end": { "line": 570, "column": 73 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 19759, "end": 19760, "loc": { "start": { "line": 570, "column": 76 }, "end": { "line": 570, "column": 77 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, { "type": "StringLiteral", "start": 19762, "end": 19778, "loc": { "start": { "line": 570, "column": 79 }, "end": { "line": 570, "column": 95 } }, "extra": { "rawValue": "Entity is last", "raw": "\"Entity is last\"" }, "value": "Entity is last" } ] } }, { "type": "VariableDeclaration", "start": 19792, "end": 19821, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19796, "end": 19820, "loc": { "start": { "line": 572, "column": 12 }, "end": { "line": 572, "column": 36 } }, "id": { "type": "Identifier", "start": 19796, "end": 19816, "loc": { "start": { "line": 572, "column": 12 }, "end": { "line": 572, "column": 32 }, "identifierName": "firstPathEntityCount" }, "name": "firstPathEntityCount" }, "init": { "type": "NumericLiteral", "start": 19819, "end": 19820, "loc": { "start": { "line": 572, "column": 35 }, "end": { "line": 572, "column": 36 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19831, "end": 19855, "loc": { "start": { "line": 573, "column": 8 }, "end": { "line": 573, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19835, "end": 19854, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 31 } }, "id": { "type": "Identifier", "start": 19835, "end": 19850, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 27 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" }, "init": { "type": "NumericLiteral", "start": 19853, "end": 19854, "loc": { "start": { "line": 573, "column": 30 }, "end": { "line": 573, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19865, "end": 19895, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19869, "end": 19894, "loc": { "start": { "line": 574, "column": 12 }, "end": { "line": 574, "column": 37 } }, "id": { "type": "Identifier", "start": 19869, "end": 19887, "loc": { "start": { "line": 574, "column": 12 }, "end": { "line": 574, "column": 30 }, "identifierName": "firstPathEndEntity" }, "name": "firstPathEndEntity" }, "init": { "type": "NullLiteral", "start": 19890, "end": 19894, "loc": { "start": { "line": 574, "column": 33 }, "end": { "line": 574, "column": 37 } } } } ], "kind": "let" }, { "type": "ForStatement", "start": 19907, "end": 20366, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 586, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 19912, "end": 19921, "loc": { "start": { "line": 576, "column": 13 }, "end": { "line": 576, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19916, "end": 19921, "loc": { "start": { "line": 576, "column": 17 }, "end": { "line": 576, "column": 22 } }, "id": { "type": "Identifier", "start": 19916, "end": 19917, "loc": { "start": { "line": 576, "column": 17 }, "end": { "line": 576, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 19920, "end": 19921, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 19923, "end": 19949, "loc": { "start": { "line": 576, "column": 24 }, "end": { "line": 576, "column": 50 } }, "left": { "type": "Identifier", "start": 19923, "end": 19924, "loc": { "start": { "line": 576, "column": 24 }, "end": { "line": 576, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 19927, "end": 19949, "loc": { "start": { "line": 576, "column": 28 }, "end": { "line": 576, "column": 50 } }, "object": { "type": "MemberExpression", "start": 19927, "end": 19942, "loc": { "start": { "line": 576, "column": 28 }, "end": { "line": 576, "column": 43 } }, "object": { "type": "ThisExpression", "start": 19927, "end": 19931, "loc": { "start": { "line": 576, "column": 28 }, "end": { "line": 576, "column": 32 } } }, "property": { "type": "Identifier", "start": 19932, "end": 19942, "loc": { "start": { "line": 576, "column": 33 }, "end": { "line": 576, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 19943, "end": 19949, "loc": { "start": { "line": 576, "column": 44 }, "end": { "line": 576, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 19951, "end": 19954, "loc": { "start": { "line": 576, "column": 52 }, "end": { "line": 576, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 19953, "end": 19954, "loc": { "start": { "line": 576, "column": 54 }, "end": { "line": 576, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 19956, "end": 20366, "loc": { "start": { "line": 576, "column": 57 }, "end": { "line": 586, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19971, "end": 20010, "loc": { "start": { "line": 577, "column": 12 }, "end": { "line": 577, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19977, "end": 20009, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 50 } }, "id": { "type": "Identifier", "start": 19977, "end": 19988, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 29 }, "identifierName": "otherEntity" }, "name": "otherEntity" }, "init": { "type": "MemberExpression", "start": 19991, "end": 20009, "loc": { "start": { "line": 577, "column": 32 }, "end": { "line": 577, "column": 50 } }, "object": { "type": "MemberExpression", "start": 19991, "end": 20006, "loc": { "start": { "line": 577, "column": 32 }, "end": { "line": 577, "column": 47 } }, "object": { "type": "ThisExpression", "start": 19991, "end": 19995, "loc": { "start": { "line": 577, "column": 32 }, "end": { "line": 577, "column": 36 } } }, "property": { "type": "Identifier", "start": 19996, "end": 20006, "loc": { "start": { "line": 577, "column": 37 }, "end": { "line": 577, "column": 47 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 20007, "end": 20008, "loc": { "start": { "line": 577, "column": 48 }, "end": { "line": 577, "column": 49 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 20024, "end": 20182, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 581, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 20028, "end": 20050, "loc": { "start": { "line": 578, "column": 16 }, "end": { "line": 578, "column": 38 } }, "left": { "type": "Identifier", "start": 20028, "end": 20039, "loc": { "start": { "line": 578, "column": 16 }, "end": { "line": 578, "column": 27 }, "identifierName": "otherEntity" }, "name": "otherEntity" }, "operator": "===", "right": { "type": "Identifier", "start": 20044, "end": 20050, "loc": { "start": { "line": 578, "column": 32 }, "end": { "line": 578, "column": 38 }, "identifierName": "entity" }, "name": "entity" } }, "consequent": { "type": "BlockStatement", "start": 20052, "end": 20182, "loc": { "start": { "line": 578, "column": 40 }, "end": { "line": 581, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 20071, "end": 20143, "loc": { "start": { "line": 579, "column": 16 }, "end": { "line": 579, "column": 88 } }, "expression": { "type": "LogicalExpression", "start": 20071, "end": 20142, "loc": { "start": { "line": 579, "column": 16 }, "end": { "line": 579, "column": 87 } }, "left": { "type": "Identifier", "start": 20071, "end": 20076, "loc": { "start": { "line": 579, "column": 16 }, "end": { "line": 579, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 20080, "end": 20142, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 20080, "end": 20090, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 35 } }, "object": { "type": "Identifier", "start": 20080, "end": 20086, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 31 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 20087, "end": 20090, "loc": { "start": { "line": 579, "column": 32 }, "end": { "line": 579, "column": 35 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20091, "end": 20108, "loc": { "start": { "line": 579, "column": 36 }, "end": { "line": 579, "column": 53 } }, "extra": { "rawValue": "Found entity at", "raw": "\"Found entity at\"" }, "value": "Found entity at" }, { "type": "Identifier", "start": 20110, "end": 20111, "loc": { "start": { "line": 579, "column": 55 }, "end": { "line": 579, "column": 56 }, "identifierName": "i" }, "name": "i" }, { "type": "StringLiteral", "start": 20113, "end": 20124, "loc": { "start": { "line": 579, "column": 58 }, "end": { "line": 579, "column": 69 } }, "extra": { "rawValue": "of length", "raw": "\"of length\"" }, "value": "of length" }, { "type": "Identifier", "start": 20126, "end": 20141, "loc": { "start": { "line": 579, "column": 71 }, "end": { "line": 579, "column": 86 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" } ] } } }, { "type": "BreakStatement", "start": 20161, "end": 20167, "loc": { "start": { "line": 580, "column": 16 }, "end": { "line": 580, "column": 22 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 20198, "end": 20221, "loc": { "start": { "line": 583, "column": 12 }, "end": { "line": 583, "column": 35 } }, "expression": { "type": "UpdateExpression", "start": 20198, "end": 20220, "loc": { "start": { "line": 583, "column": 12 }, "end": { "line": 583, "column": 34 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 20200, "end": 20220, "loc": { "start": { "line": 583, "column": 14 }, "end": { "line": 583, "column": 34 }, "identifierName": "firstPathEntityCount" }, "name": "firstPathEntityCount" }, "extra": { "parenthesizedArgument": false } } }, { "type": "ExpressionStatement", "start": 20235, "end": 20268, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 584, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 20235, "end": 20267, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 584, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", "start": 20235, "end": 20253, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 584, "column": 30 }, "identifierName": "firstPathEndEntity" }, "name": "firstPathEndEntity" }, "right": { "type": "Identifier", "start": 20256, "end": 20267, "loc": { "start": { "line": 584, "column": 33 }, "end": { "line": 584, "column": 44 }, "identifierName": "otherEntity" }, "name": "otherEntity" } } }, { "type": "ExpressionStatement", "start": 20282, "end": 20355, "loc": { "start": { "line": 585, "column": 12 }, "end": { "line": 585, "column": 85 } }, "expression": { "type": "AssignmentExpression", "start": 20282, "end": 20354, "loc": { "start": { "line": 585, "column": 12 }, "end": { "line": 585, "column": 84 } }, "operator": "+=", "left": { "type": "Identifier", "start": 20282, "end": 20297, "loc": { "start": { "line": 585, "column": 12 }, "end": { "line": 585, "column": 27 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" }, "right": { "type": "CallExpression", "start": 20301, "end": 20354, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 20301, "end": 20352, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 82 } }, "object": { "type": "MemberExpression", "start": 20301, "end": 20328, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 58 } }, "object": { "type": "MemberExpression", "start": 20301, "end": 20323, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 53 } }, "object": { "type": "Identifier", "start": 20301, "end": 20312, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 42 }, "identifierName": "otherEntity" }, "name": "otherEntity" }, "property": { "type": "Identifier", "start": 20313, "end": 20323, "loc": { "start": { "line": 585, "column": 43 }, "end": { "line": 585, "column": 53 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 20324, "end": 20328, "loc": { "start": { "line": 585, "column": 54 }, "end": { "line": 585, "column": 58 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "property": { "type": "Identifier", "start": 20329, "end": 20352, "loc": { "start": { "line": 585, "column": 59 }, "end": { "line": 585, "column": 82 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 20378, "end": 20697, "loc": { "start": { "line": 588, "column": 8 }, "end": { "line": 597, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 20378, "end": 20696, "loc": { "start": { "line": 588, "column": 8 }, "end": { "line": 597, "column": 13 } }, "left": { "type": "Identifier", "start": 20378, "end": 20383, "loc": { "start": { "line": 588, "column": 8 }, "end": { "line": 588, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 20400, "end": 20696, "loc": { "start": { "line": 589, "column": 12 }, "end": { "line": 597, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 20400, "end": 20410, "loc": { "start": { "line": 589, "column": 12 }, "end": { "line": 589, "column": 22 } }, "object": { "type": "Identifier", "start": 20400, "end": 20406, "loc": { "start": { "line": 589, "column": 12 }, "end": { "line": 589, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 20407, "end": 20410, "loc": { "start": { "line": 589, "column": 19 }, "end": { "line": 589, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20429, "end": 20449, "loc": { "start": { "line": 590, "column": 16 }, "end": { "line": 590, "column": 36 } }, "extra": { "rawValue": "First path ends at", "raw": "\"First path ends at\"" }, "value": "First path ends at" }, { "type": "Identifier", "start": 20468, "end": 20483, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 31 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" }, { "type": "StringLiteral", "start": 20502, "end": 20514, "loc": { "start": { "line": 592, "column": 16 }, "end": { "line": 592, "column": 28 } }, "extra": { "rawValue": "and entity", "raw": "\"and entity\"" }, "value": "and entity" }, { "type": "MemberExpression", "start": 20533, "end": 20585, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 68 } }, "object": { "type": "MemberExpression", "start": 20533, "end": 20578, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 61 } }, "object": { "type": "MemberExpression", "start": 20533, "end": 20562, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 45 } }, "object": { "type": "Identifier", "start": 20533, "end": 20551, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 34 }, "identifierName": "firstPathEndEntity" }, "name": "firstPathEndEntity" }, "property": { "type": "Identifier", "start": 20552, "end": 20562, "loc": { "start": { "line": 593, "column": 35 }, "end": { "line": 593, "column": 45 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 20563, "end": 20578, "loc": { "start": { "line": 593, "column": 46 }, "end": { "line": 593, "column": 61 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 20579, "end": 20585, "loc": { "start": { "line": 593, "column": 62 }, "end": { "line": 593, "column": 68 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, { "type": "StringLiteral", "start": 20604, "end": 20613, "loc": { "start": { "line": 594, "column": 16 }, "end": { "line": 594, "column": 25 } }, "extra": { "rawValue": "and has", "raw": "\"and has\"" }, "value": "and has" }, { "type": "Identifier", "start": 20632, "end": 20652, "loc": { "start": { "line": 595, "column": 16 }, "end": { "line": 595, "column": 36 }, "identifierName": "firstPathEntityCount" }, "name": "firstPathEntityCount" }, { "type": "StringLiteral", "start": 20671, "end": 20681, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 26 } }, "extra": { "rawValue": "entities", "raw": "\"entities\"" }, "value": "entities" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Compute length of second path", "start": 20709, "end": 20741, "loc": { "start": { "line": 599, "column": 8 }, "end": { "line": 599, "column": 40 } } } ] }, { "type": "VariableDeclaration", "start": 20751, "end": 20826, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 83 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20757, "end": 20825, "loc": { "start": { "line": 600, "column": 14 }, "end": { "line": 600, "column": 82 } }, "id": { "type": "Identifier", "start": 20757, "end": 20773, "loc": { "start": { "line": 600, "column": 14 }, "end": { "line": 600, "column": 30 }, "identifierName": "secondPathLength" }, "name": "secondPathLength", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 20776, "end": 20825, "loc": { "start": { "line": 600, "column": 33 }, "end": { "line": 600, "column": 82 } }, "left": { "type": "BinaryExpression", "start": 20776, "end": 20810, "loc": { "start": { "line": 600, "column": 33 }, "end": { "line": 600, "column": 67 } }, "left": { "type": "MemberExpression", "start": 20776, "end": 20792, "loc": { "start": { "line": 600, "column": 33 }, "end": { "line": 600, "column": 49 } }, "object": { "type": "ThisExpression", "start": 20776, "end": 20780, "loc": { "start": { "line": 600, "column": 33 }, "end": { "line": 600, "column": 37 } } }, "property": { "type": "Identifier", "start": 20781, "end": 20792, "loc": { "start": { "line": 600, "column": 38 }, "end": { "line": 600, "column": 49 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 20795, "end": 20810, "loc": { "start": { "line": 600, "column": 52 }, "end": { "line": 600, "column": 67 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" } }, "operator": "-", "right": { "type": "Identifier", "start": 20813, "end": 20825, "loc": { "start": { "line": 600, "column": 70 }, "end": { "line": 600, "column": 82 }, "identifierName": "entityLength" }, "name": "entityLength" } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Compute length of second path", "start": 20709, "end": 20741, "loc": { "start": { "line": 599, "column": 8 }, "end": { "line": 599, "column": 40 } } } ] }, { "type": "VariableDeclaration", "start": 20836, "end": 20891, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20842, "end": 20890, "loc": { "start": { "line": 601, "column": 14 }, "end": { "line": 601, "column": 62 } }, "id": { "type": "Identifier", "start": 20842, "end": 20857, "loc": { "start": { "line": 601, "column": 14 }, "end": { "line": 601, "column": 29 }, "identifierName": "secondPathStart" }, "name": "secondPathStart" }, "init": { "type": "BinaryExpression", "start": 20860, "end": 20890, "loc": { "start": { "line": 601, "column": 32 }, "end": { "line": 601, "column": 62 } }, "left": { "type": "Identifier", "start": 20860, "end": 20875, "loc": { "start": { "line": 601, "column": 32 }, "end": { "line": 601, "column": 47 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" }, "operator": "+", "right": { "type": "Identifier", "start": 20878, "end": 20890, "loc": { "start": { "line": 601, "column": 50 }, "end": { "line": 601, "column": 62 }, "identifierName": "entityLength" }, "name": "entityLength" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20901, "end": 20973, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20907, "end": 20972, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 79 } }, "id": { "type": "Identifier", "start": 20907, "end": 20921, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 28 }, "identifierName": "secondEntities" }, "name": "secondEntities" }, "init": { "type": "CallExpression", "start": 20924, "end": 20972, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 20924, "end": 20946, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 53 } }, "object": { "type": "MemberExpression", "start": 20924, "end": 20939, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 46 } }, "object": { "type": "ThisExpression", "start": 20924, "end": 20928, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 35 } } }, "property": { "type": "Identifier", "start": 20929, "end": 20939, "loc": { "start": { "line": 602, "column": 36 }, "end": { "line": 602, "column": 46 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 20940, "end": 20946, "loc": { "start": { "line": 602, "column": 47 }, "end": { "line": 602, "column": 53 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 20947, "end": 20971, "loc": { "start": { "line": 602, "column": 54 }, "end": { "line": 602, "column": 78 } }, "left": { "type": "Identifier", "start": 20947, "end": 20967, "loc": { "start": { "line": 602, "column": 54 }, "end": { "line": 602, "column": 74 }, "identifierName": "firstPathEntityCount" }, "name": "firstPathEntityCount" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 20970, "end": 20971, "loc": { "start": { "line": 602, "column": 77 }, "end": { "line": 602, "column": 78 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 20983, "end": 21277, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 612, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 20983, "end": 21276, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 612, "column": 13 } }, "left": { "type": "Identifier", "start": 20983, "end": 20988, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 603, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 21005, "end": 21276, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 612, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 21005, "end": 21015, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 22 } }, "object": { "type": "Identifier", "start": 21005, "end": 21011, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 21012, "end": 21015, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21034, "end": 21057, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 39 } }, "extra": { "rawValue": "Second path starts at", "raw": "\"Second path starts at\"" }, "value": "Second path starts at" }, { "type": "Identifier", "start": 21076, "end": 21091, "loc": { "start": { "line": 606, "column": 16 }, "end": { "line": 606, "column": 31 }, "identifierName": "secondPathStart" }, "name": "secondPathStart" }, { "type": "StringLiteral", "start": 21110, "end": 21132, "loc": { "start": { "line": 607, "column": 16 }, "end": { "line": 607, "column": 38 } }, "extra": { "rawValue": "and has a length of ", "raw": "\"and has a length of \"" }, "value": "and has a length of " }, { "type": "Identifier", "start": 21151, "end": 21167, "loc": { "start": { "line": 608, "column": 16 }, "end": { "line": 608, "column": 32 }, "identifierName": "secondPathLength" }, "name": "secondPathLength" }, { "type": "StringLiteral", "start": 21186, "end": 21192, "loc": { "start": { "line": 609, "column": 16 }, "end": { "line": 609, "column": 22 } }, "extra": { "rawValue": "with", "raw": "\"with\"" }, "value": "with" }, { "type": "MemberExpression", "start": 21211, "end": 21232, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 37 } }, "object": { "type": "Identifier", "start": 21211, "end": 21225, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 30 }, "identifierName": "secondEntities" }, "name": "secondEntities" }, "property": { "type": "Identifier", "start": 21226, "end": 21232, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 37 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 21251, "end": 21261, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 611, "column": 26 } }, "extra": { "rawValue": "entities", "raw": "\"entities\"" }, "value": "entities" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Remove the last item", "start": 21289, "end": 21312, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 21322, "end": 21344, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 30 } }, "expression": { "type": "CallExpression", "start": 21322, "end": 21343, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 21322, "end": 21341, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 27 } }, "object": { "type": "MemberExpression", "start": 21322, "end": 21337, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21322, "end": 21326, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21327, "end": 21337, "loc": { "start": { "line": 615, "column": 13 }, "end": { "line": 615, "column": 23 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21338, "end": 21341, "loc": { "start": { "line": 615, "column": 24 }, "end": { "line": 615, "column": 27 }, "identifierName": "pop" }, "name": "pop" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Remove the last item", "start": 21289, "end": 21312, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 21356, "end": 21417, "loc": { "start": { "line": 617, "column": 8 }, "end": { "line": 617, "column": 69 } }, "expression": { "type": "LogicalExpression", "start": 21356, "end": 21416, "loc": { "start": { "line": 617, "column": 8 }, "end": { "line": 617, "column": 68 } }, "left": { "type": "Identifier", "start": 21356, "end": 21361, "loc": { "start": { "line": 617, "column": 8 }, "end": { "line": 617, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 21365, "end": 21416, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 21365, "end": 21375, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 27 } }, "object": { "type": "Identifier", "start": 21365, "end": 21371, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 21372, "end": 21375, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21376, "end": 21387, "loc": { "start": { "line": 617, "column": 28 }, "end": { "line": 617, "column": 39 } }, "extra": { "rawValue": "Splitting", "raw": "\"Splitting\"" }, "value": "Splitting" }, { "type": "MemberExpression", "start": 21389, "end": 21406, "loc": { "start": { "line": 617, "column": 41 }, "end": { "line": 617, "column": 58 } }, "object": { "type": "MemberExpression", "start": 21389, "end": 21399, "loc": { "start": { "line": 617, "column": 41 }, "end": { "line": 617, "column": 51 } }, "object": { "type": "ThisExpression", "start": 21389, "end": 21393, "loc": { "start": { "line": 617, "column": 41 }, "end": { "line": 617, "column": 45 } } }, "property": { "type": "Identifier", "start": 21394, "end": 21399, "loc": { "start": { "line": 617, "column": 46 }, "end": { "line": 617, "column": 51 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 21400, "end": 21406, "loc": { "start": { "line": 617, "column": 52 }, "end": { "line": 617, "column": 58 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 21408, "end": 21415, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 67 } }, "extra": { "rawValue": "items", "raw": "\"items\"" }, "value": "items" } ] } } }, { "type": "ExpressionStatement", "start": 21427, "end": 21565, "loc": { "start": { "line": 618, "column": 8 }, "end": { "line": 622, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 21427, "end": 21564, "loc": { "start": { "line": 618, "column": 8 }, "end": { "line": 622, "column": 13 } }, "left": { "type": "Identifier", "start": 21427, "end": 21432, "loc": { "start": { "line": 618, "column": 8 }, "end": { "line": 618, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 21449, "end": 21564, "loc": { "start": { "line": 619, "column": 12 }, "end": { "line": 622, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 21449, "end": 21459, "loc": { "start": { "line": 619, "column": 12 }, "end": { "line": 619, "column": 22 } }, "object": { "type": "Identifier", "start": 21449, "end": 21455, "loc": { "start": { "line": 619, "column": 12 }, "end": { "line": 619, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 21456, "end": 21459, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21478, "end": 21493, "loc": { "start": { "line": 620, "column": 16 }, "end": { "line": 620, "column": 31 } }, "extra": { "rawValue": "Old items are", "raw": "\"Old items are\"" }, "value": "Old items are" }, { "type": "CallExpression", "start": 21512, "end": 21549, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 21512, "end": 21526, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21512, "end": 21522, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 26 } }, "object": { "type": "ThisExpression", "start": 21512, "end": 21516, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 20 } } }, "property": { "type": "Identifier", "start": 21517, "end": 21522, "loc": { "start": { "line": 621, "column": 21 }, "end": { "line": 621, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 21523, "end": 21526, "loc": { "start": { "line": 621, "column": 27 }, "end": { "line": 621, "column": 30 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21527, "end": 21548, "loc": { "start": { "line": 621, "column": 31 }, "end": { "line": 621, "column": 52 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 21527, "end": 21528, "loc": { "start": { "line": 621, "column": 31 }, "end": { "line": 621, "column": 32 }, "identifierName": "i" }, "name": "i" } ], "body": { "type": "MemberExpression", "start": 21532, "end": 21548, "loc": { "start": { "line": 621, "column": 36 }, "end": { "line": 621, "column": 52 } }, "object": { "type": "Identifier", "start": 21532, "end": 21533, "loc": { "start": { "line": 621, "column": 36 }, "end": { "line": 621, "column": 37 }, "identifierName": "i" }, "name": "i" }, "property": { "type": "Identifier", "start": 21534, "end": 21547, "loc": { "start": { "line": 621, "column": 38 }, "end": { "line": 621, "column": 51 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } ] } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Create second path", "start": 21577, "end": 21598, "loc": { "start": { "line": 624, "column": 8 }, "end": { "line": 624, "column": 29 } } } ] }, { "type": "VariableDeclaration", "start": 21608, "end": 21667, "loc": { "start": { "line": 625, "column": 8 }, "end": { "line": 625, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21614, "end": 21666, "loc": { "start": { "line": 625, "column": 14 }, "end": { "line": 625, "column": 66 } }, "id": { "type": "Identifier", "start": 21614, "end": 21624, "loc": { "start": { "line": 625, "column": 14 }, "end": { "line": 625, "column": 24 }, "identifierName": "secondPath" }, "name": "secondPath", "leadingComments": null }, "init": { "type": "NewExpression", "start": 21627, "end": 21666, "loc": { "start": { "line": 625, "column": 27 }, "end": { "line": 625, "column": 66 } }, "callee": { "type": "Identifier", "start": 21631, "end": 21639, "loc": { "start": { "line": 625, "column": 31 }, "end": { "line": 625, "column": 39 }, "identifierName": "BeltPath" }, "name": "BeltPath" }, "arguments": [ { "type": "MemberExpression", "start": 21640, "end": 21649, "loc": { "start": { "line": 625, "column": 40 }, "end": { "line": 625, "column": 49 } }, "object": { "type": "ThisExpression", "start": 21640, "end": 21644, "loc": { "start": { "line": 625, "column": 40 }, "end": { "line": 625, "column": 44 } } }, "property": { "type": "Identifier", "start": 21645, "end": 21649, "loc": { "start": { "line": 625, "column": 45 }, "end": { "line": 625, "column": 49 }, "identifierName": "root" }, "name": "root" }, "computed": false }, { "type": "Identifier", "start": 21651, "end": 21665, "loc": { "start": { "line": 625, "column": 51 }, "end": { "line": 625, "column": 65 }, "identifierName": "secondEntities" }, "name": "secondEntities" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Create second path", "start": 21577, "end": 21598, "loc": { "start": { "line": 624, "column": 8 }, "end": { "line": 624, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Remove all items which are no longer relevant and transfer them to the second path", "start": 21679, "end": 21764, "loc": { "start": { "line": 627, "column": 8 }, "end": { "line": 627, "column": 93 } } } ] }, { "type": "VariableDeclaration", "start": 21774, "end": 21812, "loc": { "start": { "line": 628, "column": 8 }, "end": { "line": 628, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21778, "end": 21811, "loc": { "start": { "line": 628, "column": 12 }, "end": { "line": 628, "column": 45 } }, "id": { "type": "Identifier", "start": 21778, "end": 21785, "loc": { "start": { "line": 628, "column": 12 }, "end": { "line": 628, "column": 19 }, "identifierName": "itemPos" }, "name": "itemPos", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 21788, "end": 21811, "loc": { "start": { "line": 628, "column": 22 }, "end": { "line": 628, "column": 45 } }, "object": { "type": "ThisExpression", "start": 21788, "end": 21792, "loc": { "start": { "line": 628, "column": 22 }, "end": { "line": 628, "column": 26 } } }, "property": { "type": "Identifier", "start": 21793, "end": 21811, "loc": { "start": { "line": 628, "column": 27 }, "end": { "line": 628, "column": 45 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Remove all items which are no longer relevant and transfer them to the second path", "start": 21679, "end": 21764, "loc": { "start": { "line": 627, "column": 8 }, "end": { "line": 627, "column": 93 } } } ] }, { "type": "ForStatement", "start": 21822, "end": 24393, "loc": { "start": { "line": 629, "column": 8 }, "end": { "line": 681, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 21827, "end": 21836, "loc": { "start": { "line": 629, "column": 13 }, "end": { "line": 629, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21831, "end": 21836, "loc": { "start": { "line": 629, "column": 17 }, "end": { "line": 629, "column": 22 } }, "id": { "type": "Identifier", "start": 21831, "end": 21832, "loc": { "start": { "line": 629, "column": 17 }, "end": { "line": 629, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 21835, "end": 21836, "loc": { "start": { "line": 629, "column": 21 }, "end": { "line": 629, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 21838, "end": 21859, "loc": { "start": { "line": 629, "column": 24 }, "end": { "line": 629, "column": 45 } }, "left": { "type": "Identifier", "start": 21838, "end": 21839, "loc": { "start": { "line": 629, "column": 24 }, "end": { "line": 629, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 21842, "end": 21859, "loc": { "start": { "line": 629, "column": 28 }, "end": { "line": 629, "column": 45 } }, "object": { "type": "MemberExpression", "start": 21842, "end": 21852, "loc": { "start": { "line": 629, "column": 28 }, "end": { "line": 629, "column": 38 } }, "object": { "type": "ThisExpression", "start": 21842, "end": 21846, "loc": { "start": { "line": 629, "column": 28 }, "end": { "line": 629, "column": 32 } } }, "property": { "type": "Identifier", "start": 21847, "end": 21852, "loc": { "start": { "line": 629, "column": 33 }, "end": { "line": 629, "column": 38 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 21853, "end": 21859, "loc": { "start": { "line": 629, "column": 39 }, "end": { "line": 629, "column": 45 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 21861, "end": 21864, "loc": { "start": { "line": 629, "column": 47 }, "end": { "line": 629, "column": 50 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 21863, "end": 21864, "loc": { "start": { "line": 629, "column": 49 }, "end": { "line": 629, "column": 50 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 21866, "end": 24393, "loc": { "start": { "line": 629, "column": 52 }, "end": { "line": 681, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 21881, "end": 21908, "loc": { "start": { "line": 630, "column": 12 }, "end": { "line": 630, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21887, "end": 21907, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 38 } }, "id": { "type": "Identifier", "start": 21887, "end": 21891, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 21894, "end": 21907, "loc": { "start": { "line": 630, "column": 25 }, "end": { "line": 630, "column": 38 } }, "object": { "type": "MemberExpression", "start": 21894, "end": 21904, "loc": { "start": { "line": 630, "column": 25 }, "end": { "line": 630, "column": 35 } }, "object": { "type": "ThisExpression", "start": 21894, "end": 21898, "loc": { "start": { "line": 630, "column": 25 }, "end": { "line": 630, "column": 29 } } }, "property": { "type": "Identifier", "start": 21899, "end": 21904, "loc": { "start": { "line": 630, "column": 30 }, "end": { "line": 630, "column": 35 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 21905, "end": 21906, "loc": { "start": { "line": 630, "column": 36 }, "end": { "line": 630, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 21922, "end": 21965, "loc": { "start": { "line": 631, "column": 12 }, "end": { "line": 631, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21928, "end": 21964, "loc": { "start": { "line": 631, "column": 18 }, "end": { "line": 631, "column": 54 } }, "id": { "type": "Identifier", "start": 21928, "end": 21942, "loc": { "start": { "line": 631, "column": 18 }, "end": { "line": 631, "column": 32 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" }, "init": { "type": "MemberExpression", "start": 21945, "end": 21964, "loc": { "start": { "line": 631, "column": 35 }, "end": { "line": 631, "column": 54 } }, "object": { "type": "Identifier", "start": 21945, "end": 21949, "loc": { "start": { "line": 631, "column": 35 }, "end": { "line": 631, "column": 39 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 21950, "end": 21963, "loc": { "start": { "line": 631, "column": 40 }, "end": { "line": 631, "column": 53 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 21981, "end": 22079, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 110 } }, "expression": { "type": "LogicalExpression", "start": 21981, "end": 22078, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 109 } }, "left": { "type": "Identifier", "start": 21981, "end": 21986, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 21990, "end": 22078, "loc": { "start": { "line": 633, "column": 21 }, "end": { "line": 633, "column": 109 } }, "callee": { "type": "MemberExpression", "start": 21990, "end": 22000, "loc": { "start": { "line": 633, "column": 21 }, "end": { "line": 633, "column": 31 } }, "object": { "type": "Identifier", "start": 21990, "end": 21996, "loc": { "start": { "line": 633, "column": 21 }, "end": { "line": 633, "column": 27 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 21997, "end": 22000, "loc": { "start": { "line": 633, "column": 28 }, "end": { "line": 633, "column": 31 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22001, "end": 22021, "loc": { "start": { "line": 633, "column": 32 }, "end": { "line": 633, "column": 52 } }, "extra": { "rawValue": " Checking item at", "raw": "\" Checking item at\"" }, "value": " Checking item at" }, { "type": "Identifier", "start": 22023, "end": 22030, "loc": { "start": { "line": 633, "column": 54 }, "end": { "line": 633, "column": 61 }, "identifierName": "itemPos" }, "name": "itemPos" }, { "type": "StringLiteral", "start": 22032, "end": 22050, "loc": { "start": { "line": 633, "column": 63 }, "end": { "line": 633, "column": 81 } }, "extra": { "rawValue": "with distance of", "raw": "\"with distance of\"" }, "value": "with distance of" }, { "type": "Identifier", "start": 22052, "end": 22066, "loc": { "start": { "line": 633, "column": 83 }, "end": { "line": 633, "column": 97 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" }, { "type": "StringLiteral", "start": 22068, "end": 22077, "loc": { "start": { "line": 633, "column": 99 }, "end": { "line": 633, "column": 108 } }, "extra": { "rawValue": "to next", "raw": "\"to next\"" }, "value": "to next" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Check if this item is past the first path", "start": 22095, "end": 22139, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 56 } } } ] }, { "type": "IfStatement", "start": 22153, "end": 24310, "loc": { "start": { "line": 636, "column": 12 }, "end": { "line": 677, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 22157, "end": 22183, "loc": { "start": { "line": 636, "column": 16 }, "end": { "line": 636, "column": 42 } }, "left": { "type": "Identifier", "start": 22157, "end": 22164, "loc": { "start": { "line": 636, "column": 16 }, "end": { "line": 636, "column": 23 }, "identifierName": "itemPos" }, "name": "itemPos", "leadingComments": null }, "operator": ">=", "right": { "type": "Identifier", "start": 22168, "end": 22183, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 42 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 22185, "end": 23545, "loc": { "start": { "line": 636, "column": 44 }, "end": { "line": 663, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 22254, "end": 22278, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 40 } }, "expression": { "type": "CallExpression", "start": 22254, "end": 22277, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 22254, "end": 22271, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 33 } }, "object": { "type": "MemberExpression", "start": 22254, "end": 22264, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 26 } }, "object": { "type": "ThisExpression", "start": 22254, "end": 22258, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22259, "end": 22264, "loc": { "start": { "line": 638, "column": 21 }, "end": { "line": 638, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22265, "end": 22271, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 33 }, "identifierName": "splice" }, "name": "splice" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 22272, "end": 22273, "loc": { "start": { "line": 638, "column": 34 }, "end": { "line": 638, "column": 35 }, "identifierName": "i" }, "name": "i" }, { "type": "NumericLiteral", "start": 22275, "end": 22276, "loc": { "start": { "line": 638, "column": 37 }, "end": { "line": 638, "column": 38 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Remove it from the first path", "start": 22204, "end": 22236, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 22296, "end": 22303, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 22296, "end": 22302, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 22 } }, "operator": "-=", "left": { "type": "Identifier", "start": 22296, "end": 22297, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 17 }, "identifierName": "i" }, "name": "i" }, "right": { "type": "NumericLiteral", "start": 22301, "end": 22302, "loc": { "start": { "line": 639, "column": 21 }, "end": { "line": 639, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, { "type": "ExpressionStatement", "start": 22321, "end": 22440, "loc": { "start": { "line": 640, "column": 16 }, "end": { "line": 641, "column": 109 } }, "expression": { "type": "LogicalExpression", "start": 22321, "end": 22439, "loc": { "start": { "line": 640, "column": 16 }, "end": { "line": 641, "column": 108 } }, "left": { "type": "Identifier", "start": 22321, "end": 22326, "loc": { "start": { "line": 640, "column": 16 }, "end": { "line": 640, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 22351, "end": 22439, "loc": { "start": { "line": 641, "column": 20 }, "end": { "line": 641, "column": 108 } }, "callee": { "type": "MemberExpression", "start": 22351, "end": 22361, "loc": { "start": { "line": 641, "column": 20 }, "end": { "line": 641, "column": 30 } }, "object": { "type": "Identifier", "start": 22351, "end": 22357, "loc": { "start": { "line": 641, "column": 20 }, "end": { "line": 641, "column": 26 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 22358, "end": 22361, "loc": { "start": { "line": 641, "column": 27 }, "end": { "line": 641, "column": 30 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22362, "end": 22429, "loc": { "start": { "line": 641, "column": 31 }, "end": { "line": 641, "column": 98 } }, "extra": { "rawValue": " Removed item from first path since its no longer contained @", "raw": "\" Removed item from first path since its no longer contained @\"" }, "value": " Removed item from first path since its no longer contained @" }, { "type": "Identifier", "start": 22431, "end": 22438, "loc": { "start": { "line": 641, "column": 100 }, "end": { "line": 641, "column": 107 }, "identifierName": "itemPos" }, "name": "itemPos" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Check if its on the second path (otherwise its on the removed belt and simply lost)", "start": 22460, "end": 22546, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 643, "column": 102 } } } ] }, { "type": "IfStatement", "start": 22564, "end": 23530, "loc": { "start": { "line": 644, "column": 16 }, "end": { "line": 662, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 22568, "end": 22594, "loc": { "start": { "line": 644, "column": 20 }, "end": { "line": 644, "column": 46 } }, "left": { "type": "Identifier", "start": 22568, "end": 22575, "loc": { "start": { "line": 644, "column": 20 }, "end": { "line": 644, "column": 27 }, "identifierName": "itemPos" }, "name": "itemPos", "leadingComments": null }, "operator": ">=", "right": { "type": "Identifier", "start": 22579, "end": 22594, "loc": { "start": { "line": 644, "column": 31 }, "end": { "line": 644, "column": 46 }, "identifierName": "secondPathStart" }, "name": "secondPathStart" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 22596, "end": 23402, "loc": { "start": { "line": 644, "column": 48 }, "end": { "line": 660, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 22667, "end": 22720, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 73 } }, "expression": { "type": "CallExpression", "start": 22667, "end": 22719, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 22667, "end": 22688, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 41 } }, "object": { "type": "MemberExpression", "start": 22667, "end": 22683, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 36 } }, "object": { "type": "Identifier", "start": 22667, "end": 22677, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 30 }, "identifierName": "secondPath" }, "name": "secondPath", "leadingComments": null }, "property": { "type": "Identifier", "start": 22678, "end": 22683, "loc": { "start": { "line": 646, "column": 31 }, "end": { "line": 646, "column": 36 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22684, "end": 22688, "loc": { "start": { "line": 646, "column": 37 }, "end": { "line": 646, "column": 41 }, "identifierName": "push" }, "name": "push" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrayExpression", "start": 22689, "end": 22718, "loc": { "start": { "line": 646, "column": 42 }, "end": { "line": 646, "column": 71 } }, "elements": [ { "type": "Identifier", "start": 22690, "end": 22704, "loc": { "start": { "line": 646, "column": 43 }, "end": { "line": 646, "column": 57 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" }, { "type": "MemberExpression", "start": 22706, "end": 22717, "loc": { "start": { "line": 646, "column": 59 }, "end": { "line": 646, "column": 70 } }, "object": { "type": "Identifier", "start": 22706, "end": 22710, "loc": { "start": { "line": 646, "column": 59 }, "end": { "line": 646, "column": 63 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 22711, "end": 22716, "loc": { "start": { "line": 646, "column": 64 }, "end": { "line": 646, "column": 69 }, "identifierName": "_item" }, "name": "_item" }, "computed": true } ] } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Put item on second path", "start": 22619, "end": 22645, "loc": { "start": { "line": 645, "column": 20 }, "end": { "line": 645, "column": 46 } } } ] }, { "type": "ExpressionStatement", "start": 22742, "end": 23016, "loc": { "start": { "line": 647, "column": 20 }, "end": { "line": 653, "column": 26 } }, "expression": { "type": "LogicalExpression", "start": 22742, "end": 23015, "loc": { "start": { "line": 647, "column": 20 }, "end": { "line": 653, "column": 25 } }, "left": { "type": "Identifier", "start": 22742, "end": 22747, "loc": { "start": { "line": 647, "column": 20 }, "end": { "line": 647, "column": 25 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 22776, "end": 23015, "loc": { "start": { "line": 648, "column": 24 }, "end": { "line": 653, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 22776, "end": 22786, "loc": { "start": { "line": 648, "column": 24 }, "end": { "line": 648, "column": 34 } }, "object": { "type": "Identifier", "start": 22776, "end": 22782, "loc": { "start": { "line": 648, "column": 24 }, "end": { "line": 648, "column": 30 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 22783, "end": 22786, "loc": { "start": { "line": 648, "column": 31 }, "end": { "line": 648, "column": 34 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22817, "end": 22849, "loc": { "start": { "line": 649, "column": 28 }, "end": { "line": 649, "column": 60 } }, "extra": { "rawValue": " Put item to second path @", "raw": "\" Put item to second path @\"" }, "value": " Put item to second path @" }, { "type": "Identifier", "start": 22880, "end": 22887, "loc": { "start": { "line": 650, "column": 28 }, "end": { "line": 650, "column": 35 }, "identifierName": "itemPos" }, "name": "itemPos" }, { "type": "StringLiteral", "start": 22918, "end": 22943, "loc": { "start": { "line": 651, "column": 28 }, "end": { "line": 651, "column": 53 } }, "extra": { "rawValue": "with distance to next =", "raw": "\"with distance to next =\"" }, "value": "with distance to next =" }, { "type": "Identifier", "start": 22974, "end": 22988, "loc": { "start": { "line": 652, "column": 28 }, "end": { "line": 652, "column": 42 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " If it was the first item, adjust the distance to the first item", "start": 23040, "end": 23106, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 86 } } } ] }, { "type": "IfStatement", "start": 23128, "end": 23383, "loc": { "start": { "line": 656, "column": 20 }, "end": { "line": 659, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 23132, "end": 23161, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 53 } }, "left": { "type": "MemberExpression", "start": 23132, "end": 23155, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 47 } }, "object": { "type": "MemberExpression", "start": 23132, "end": 23148, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 40 } }, "object": { "type": "Identifier", "start": 23132, "end": 23142, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 34 }, "identifierName": "secondPath" }, "name": "secondPath", "leadingComments": null }, "property": { "type": "Identifier", "start": 23143, "end": 23148, "loc": { "start": { "line": 656, "column": 35 }, "end": { "line": 656, "column": 40 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23149, "end": 23155, "loc": { "start": { "line": 656, "column": 41 }, "end": { "line": 656, "column": 47 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 23160, "end": 23161, "loc": { "start": { "line": 656, "column": 52 }, "end": { "line": 656, "column": 53 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 23163, "end": 23383, "loc": { "start": { "line": 656, "column": 55 }, "end": { "line": 659, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 23190, "end": 23276, "loc": { "start": { "line": 657, "column": 24 }, "end": { "line": 657, "column": 110 } }, "expression": { "type": "LogicalExpression", "start": 23190, "end": 23275, "loc": { "start": { "line": 657, "column": 24 }, "end": { "line": 657, "column": 109 } }, "left": { "type": "Identifier", "start": 23190, "end": 23195, "loc": { "start": { "line": 657, "column": 24 }, "end": { "line": 657, "column": 29 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 23199, "end": 23275, "loc": { "start": { "line": 657, "column": 33 }, "end": { "line": 657, "column": 109 } }, "callee": { "type": "MemberExpression", "start": 23199, "end": 23209, "loc": { "start": { "line": 657, "column": 33 }, "end": { "line": 657, "column": 43 } }, "object": { "type": "Identifier", "start": 23199, "end": 23205, "loc": { "start": { "line": 657, "column": 33 }, "end": { "line": 657, "column": 39 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 23206, "end": 23209, "loc": { "start": { "line": 657, "column": 40 }, "end": { "line": 657, "column": 43 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23210, "end": 23265, "loc": { "start": { "line": 657, "column": 44 }, "end": { "line": 657, "column": 99 } }, "extra": { "rawValue": " Sinc it was the first, set sapcing of first to", "raw": "\" Sinc it was the first, set sapcing of first to\"" }, "value": " Sinc it was the first, set sapcing of first to" }, { "type": "Identifier", "start": 23267, "end": 23274, "loc": { "start": { "line": 657, "column": 101 }, "end": { "line": 657, "column": 108 }, "identifierName": "itemPos" }, "name": "itemPos" } ] } } }, { "type": "ExpressionStatement", "start": 23302, "end": 23360, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 23302, "end": 23359, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23302, "end": 23331, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 53 } }, "object": { "type": "Identifier", "start": 23302, "end": 23312, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 34 }, "identifierName": "secondPath" }, "name": "secondPath" }, "property": { "type": "Identifier", "start": 23313, "end": 23331, "loc": { "start": { "line": 658, "column": 35 }, "end": { "line": 658, "column": 53 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 23334, "end": 23359, "loc": { "start": { "line": 658, "column": 56 }, "end": { "line": 658, "column": 81 } }, "left": { "type": "Identifier", "start": 23334, "end": 23341, "loc": { "start": { "line": 658, "column": 56 }, "end": { "line": 658, "column": 63 }, "identifierName": "itemPos" }, "name": "itemPos" }, "operator": "-", "right": { "type": "Identifier", "start": 23344, "end": 23359, "loc": { "start": { "line": 658, "column": 66 }, "end": { "line": 658, "column": 81 }, "identifierName": "secondPathStart" }, "name": "secondPathStart" } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " If it was the first item, adjust the distance to the first item", "start": 23040, "end": 23106, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 86 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 23408, "end": 23530, "loc": { "start": { "line": 660, "column": 23 }, "end": { "line": 662, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 23431, "end": 23511, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 100 } }, "expression": { "type": "LogicalExpression", "start": 23431, "end": 23510, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 99 } }, "left": { "type": "Identifier", "start": 23431, "end": 23436, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 25 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 23440, "end": 23510, "loc": { "start": { "line": 661, "column": 29 }, "end": { "line": 661, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 23440, "end": 23450, "loc": { "start": { "line": 661, "column": 29 }, "end": { "line": 661, "column": 39 } }, "object": { "type": "Identifier", "start": 23440, "end": 23446, "loc": { "start": { "line": 661, "column": 29 }, "end": { "line": 661, "column": 35 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 23447, "end": 23450, "loc": { "start": { "line": 661, "column": 36 }, "end": { "line": 661, "column": 39 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23451, "end": 23509, "loc": { "start": { "line": 661, "column": 40 }, "end": { "line": 661, "column": 98 } }, "extra": { "rawValue": " Item was on the removed belt, so its gone - forever!", "raw": "\" Item was on the removed belt, so its gone - forever!\"" }, "value": " Item was on the removed belt, so its gone - forever!" } ] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Check if its on the second path (otherwise its on the removed belt and simply lost)", "start": 22460, "end": 22546, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 643, "column": 102 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 23551, "end": 24310, "loc": { "start": { "line": 663, "column": 19 }, "end": { "line": 677, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 23754, "end": 23846, "loc": { "start": { "line": 666, "column": 16 }, "end": { "line": 666, "column": 108 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23760, "end": 23845, "loc": { "start": { "line": 666, "column": 22 }, "end": { "line": 666, "column": 107 } }, "id": { "type": "Identifier", "start": 23760, "end": 23781, "loc": { "start": { "line": 666, "column": 22 }, "end": { "line": 666, "column": 43 }, "identifierName": "clampedDistanceToNext" }, "name": "clampedDistanceToNext", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 23784, "end": 23845, "loc": { "start": { "line": 666, "column": 46 }, "end": { "line": 666, "column": 107 } }, "left": { "type": "CallExpression", "start": 23784, "end": 23835, "loc": { "start": { "line": 666, "column": 46 }, "end": { "line": 666, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 23784, "end": 23792, "loc": { "start": { "line": 666, "column": 46 }, "end": { "line": 666, "column": 54 } }, "object": { "type": "Identifier", "start": 23784, "end": 23788, "loc": { "start": { "line": 666, "column": 46 }, "end": { "line": 666, "column": 50 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 23789, "end": 23792, "loc": { "start": { "line": 666, "column": 51 }, "end": { "line": 666, "column": 54 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 23793, "end": 23817, "loc": { "start": { "line": 666, "column": 55 }, "end": { "line": 666, "column": 79 } }, "left": { "type": "Identifier", "start": 23793, "end": 23800, "loc": { "start": { "line": 666, "column": 55 }, "end": { "line": 666, "column": 62 }, "identifierName": "itemPos" }, "name": "itemPos" }, "operator": "+", "right": { "type": "Identifier", "start": 23803, "end": 23817, "loc": { "start": { "line": 666, "column": 65 }, "end": { "line": 666, "column": 79 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" } }, { "type": "Identifier", "start": 23819, "end": 23834, "loc": { "start": { "line": 666, "column": 81 }, "end": { "line": 666, "column": 96 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" } ] }, "operator": "-", "right": { "type": "Identifier", "start": 23838, "end": 23845, "loc": { "start": { "line": 666, "column": 100 }, "end": { "line": 666, "column": 107 }, "identifierName": "itemPos" }, "name": "itemPos" } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Seems this item is on the first path (so all good), so just make sure it doesn't", "start": 23570, "end": 23653, "loc": { "start": { "line": 664, "column": 16 }, "end": { "line": 664, "column": 99 } } }, { "type": "CommentLine", "value": " have a nextDistance which is bigger than the total path length", "start": 23671, "end": 23736, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 81 } } } ] }, { "type": "IfStatement", "start": 23864, "end": 24295, "loc": { "start": { "line": 667, "column": 16 }, "end": { "line": 676, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 23868, "end": 23906, "loc": { "start": { "line": 667, "column": 20 }, "end": { "line": 667, "column": 58 } }, "left": { "type": "Identifier", "start": 23868, "end": 23889, "loc": { "start": { "line": 667, "column": 20 }, "end": { "line": 667, "column": 41 }, "identifierName": "clampedDistanceToNext" }, "name": "clampedDistanceToNext" }, "operator": "<", "right": { "type": "Identifier", "start": 23892, "end": 23906, "loc": { "start": { "line": 667, "column": 44 }, "end": { "line": 667, "column": 58 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" } }, "consequent": { "type": "BlockStatement", "start": 23908, "end": 24295, "loc": { "start": { "line": 667, "column": 60 }, "end": { "line": 676, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 23931, "end": 24210, "loc": { "start": { "line": 668, "column": 20 }, "end": { "line": 674, "column": 26 } }, "expression": { "type": "LogicalExpression", "start": 23931, "end": 24209, "loc": { "start": { "line": 668, "column": 20 }, "end": { "line": 674, "column": 25 } }, "left": { "type": "Identifier", "start": 23931, "end": 23936, "loc": { "start": { "line": 668, "column": 20 }, "end": { "line": 668, "column": 25 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 23965, "end": 24209, "loc": { "start": { "line": 669, "column": 24 }, "end": { "line": 674, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 23965, "end": 23975, "loc": { "start": { "line": 669, "column": 24 }, "end": { "line": 669, "column": 34 } }, "object": { "type": "Identifier", "start": 23965, "end": 23971, "loc": { "start": { "line": 669, "column": 24 }, "end": { "line": 669, "column": 30 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 23972, "end": 23975, "loc": { "start": { "line": 669, "column": 31 }, "end": { "line": 669, "column": 34 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24006, "end": 24050, "loc": { "start": { "line": 670, "column": 28 }, "end": { "line": 670, "column": 72 } }, "extra": { "rawValue": "Correcting next distance (first path) from", "raw": "\"Correcting next distance (first path) from\"" }, "value": "Correcting next distance (first path) from" }, { "type": "Identifier", "start": 24081, "end": 24095, "loc": { "start": { "line": 671, "column": 28 }, "end": { "line": 671, "column": 42 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" }, { "type": "StringLiteral", "start": 24126, "end": 24130, "loc": { "start": { "line": 672, "column": 28 }, "end": { "line": 672, "column": 32 } }, "extra": { "rawValue": "to", "raw": "\"to\"" }, "value": "to" }, { "type": "Identifier", "start": 24161, "end": 24182, "loc": { "start": { "line": 673, "column": 28 }, "end": { "line": 673, "column": 49 }, "identifierName": "clampedDistanceToNext" }, "name": "clampedDistanceToNext" } ] } } }, { "type": "ExpressionStatement", "start": 24232, "end": 24276, "loc": { "start": { "line": 675, "column": 20 }, "end": { "line": 675, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 24232, "end": 24275, "loc": { "start": { "line": 675, "column": 20 }, "end": { "line": 675, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24232, "end": 24251, "loc": { "start": { "line": 675, "column": 20 }, "end": { "line": 675, "column": 39 } }, "object": { "type": "Identifier", "start": 24232, "end": 24236, "loc": { "start": { "line": 675, "column": 20 }, "end": { "line": 675, "column": 24 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 24237, "end": 24250, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 38 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "right": { "type": "Identifier", "start": 24254, "end": 24275, "loc": { "start": { "line": 675, "column": 42 }, "end": { "line": 675, "column": 63 }, "identifierName": "clampedDistanceToNext" }, "name": "clampedDistanceToNext" } } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Check if this item is past the first path", "start": 22095, "end": 22139, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 56 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Advance items", "start": 24326, "end": 24342, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 24356, "end": 24382, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 24356, "end": 24381, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 37 } }, "operator": "+=", "left": { "type": "Identifier", "start": 24356, "end": 24363, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 19 }, "identifierName": "itemPos" }, "name": "itemPos", "leadingComments": null }, "right": { "type": "Identifier", "start": 24367, "end": 24381, "loc": { "start": { "line": 680, "column": 23 }, "end": { "line": 680, "column": 37 }, "identifierName": "distanceToNext" }, "name": "distanceToNext" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Advance items", "start": 24326, "end": 24342, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 } } } ] } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 24405, "end": 24543, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 687, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 24405, "end": 24542, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 687, "column": 13 } }, "left": { "type": "Identifier", "start": 24405, "end": 24410, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 683, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 24427, "end": 24542, "loc": { "start": { "line": 684, "column": 12 }, "end": { "line": 687, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 24427, "end": 24437, "loc": { "start": { "line": 684, "column": 12 }, "end": { "line": 684, "column": 22 } }, "object": { "type": "Identifier", "start": 24427, "end": 24433, "loc": { "start": { "line": 684, "column": 12 }, "end": { "line": 684, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 24434, "end": 24437, "loc": { "start": { "line": 684, "column": 19 }, "end": { "line": 684, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24456, "end": 24471, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 31 } }, "extra": { "rawValue": "New items are", "raw": "\"New items are\"" }, "value": "New items are" }, { "type": "CallExpression", "start": 24490, "end": 24527, "loc": { "start": { "line": 686, "column": 16 }, "end": { "line": 686, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 24490, "end": 24504, "loc": { "start": { "line": 686, "column": 16 }, "end": { "line": 686, "column": 30 } }, "object": { "type": "MemberExpression", "start": 24490, "end": 24500, "loc": { "start": { "line": 686, "column": 16 }, "end": { "line": 686, "column": 26 } }, "object": { "type": "ThisExpression", "start": 24490, "end": 24494, "loc": { "start": { "line": 686, "column": 16 }, "end": { "line": 686, "column": 20 } } }, "property": { "type": "Identifier", "start": 24495, "end": 24500, "loc": { "start": { "line": 686, "column": 21 }, "end": { "line": 686, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 24501, "end": 24504, "loc": { "start": { "line": 686, "column": 27 }, "end": { "line": 686, "column": 30 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 24505, "end": 24526, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 52 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 24505, "end": 24506, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 32 }, "identifierName": "i" }, "name": "i" } ], "body": { "type": "MemberExpression", "start": 24510, "end": 24526, "loc": { "start": { "line": 686, "column": 36 }, "end": { "line": 686, "column": 52 } }, "object": { "type": "Identifier", "start": 24510, "end": 24511, "loc": { "start": { "line": 686, "column": 36 }, "end": { "line": 686, "column": 37 }, "identifierName": "i" }, "name": "i" }, "property": { "type": "Identifier", "start": 24512, "end": 24525, "loc": { "start": { "line": 686, "column": 38 }, "end": { "line": 686, "column": 51 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } ] } ] } } }, { "type": "ExpressionStatement", "start": 24555, "end": 24711, "loc": { "start": { "line": 689, "column": 8 }, "end": { "line": 693, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 24555, "end": 24710, "loc": { "start": { "line": 689, "column": 8 }, "end": { "line": 693, "column": 13 } }, "left": { "type": "Identifier", "start": 24555, "end": 24560, "loc": { "start": { "line": 689, "column": 8 }, "end": { "line": 689, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 24577, "end": 24710, "loc": { "start": { "line": 690, "column": 12 }, "end": { "line": 693, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 24577, "end": 24587, "loc": { "start": { "line": 690, "column": 12 }, "end": { "line": 690, "column": 22 } }, "object": { "type": "Identifier", "start": 24577, "end": 24583, "loc": { "start": { "line": 690, "column": 12 }, "end": { "line": 690, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 24584, "end": 24587, "loc": { "start": { "line": 690, "column": 19 }, "end": { "line": 690, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24606, "end": 24633, "loc": { "start": { "line": 691, "column": 16 }, "end": { "line": 691, "column": 43 } }, "extra": { "rawValue": "And second path items are", "raw": "\"And second path items are\"" }, "value": "And second path items are" }, { "type": "CallExpression", "start": 24652, "end": 24695, "loc": { "start": { "line": 692, "column": 16 }, "end": { "line": 692, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 24652, "end": 24672, "loc": { "start": { "line": 692, "column": 16 }, "end": { "line": 692, "column": 36 } }, "object": { "type": "MemberExpression", "start": 24652, "end": 24668, "loc": { "start": { "line": 692, "column": 16 }, "end": { "line": 692, "column": 32 } }, "object": { "type": "Identifier", "start": 24652, "end": 24662, "loc": { "start": { "line": 692, "column": 16 }, "end": { "line": 692, "column": 26 }, "identifierName": "secondPath" }, "name": "secondPath" }, "property": { "type": "Identifier", "start": 24663, "end": 24668, "loc": { "start": { "line": 692, "column": 27 }, "end": { "line": 692, "column": 32 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 24669, "end": 24672, "loc": { "start": { "line": 692, "column": 33 }, "end": { "line": 692, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 24673, "end": 24694, "loc": { "start": { "line": 692, "column": 37 }, "end": { "line": 692, "column": 58 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 24673, "end": 24674, "loc": { "start": { "line": 692, "column": 37 }, "end": { "line": 692, "column": 38 }, "identifierName": "i" }, "name": "i" } ], "body": { "type": "MemberExpression", "start": 24678, "end": 24694, "loc": { "start": { "line": 692, "column": 42 }, "end": { "line": 692, "column": 58 } }, "object": { "type": "Identifier", "start": 24678, "end": 24679, "loc": { "start": { "line": 692, "column": 42 }, "end": { "line": 692, "column": 43 }, "identifierName": "i" }, "name": "i" }, "property": { "type": "Identifier", "start": 24680, "end": 24693, "loc": { "start": { "line": 692, "column": 44 }, "end": { "line": 692, "column": 57 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } ] } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Adjust our total length", "start": 24723, "end": 24749, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 24759, "end": 24794, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24759, "end": 24793, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24759, "end": 24775, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 24 } }, "object": { "type": "ThisExpression", "start": 24759, "end": 24763, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24764, "end": 24775, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 24 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 24778, "end": 24793, "loc": { "start": { "line": 696, "column": 27 }, "end": { "line": 696, "column": 42 }, "identifierName": "firstPathLength" }, "name": "firstPathLength" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Adjust our total length", "start": 24723, "end": 24749, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 34 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Make sure that if we are empty, we set our first distance properly", "start": 24806, "end": 24875, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 77 } } } ] }, { "type": "IfStatement", "start": 24885, "end": 24983, "loc": { "start": { "line": 699, "column": 8 }, "end": { "line": 701, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 24889, "end": 24912, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 35 } }, "left": { "type": "MemberExpression", "start": 24889, "end": 24906, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 29 } }, "object": { "type": "MemberExpression", "start": 24889, "end": 24899, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24889, "end": 24893, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24894, "end": 24899, "loc": { "start": { "line": 699, "column": 17 }, "end": { "line": 699, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24900, "end": 24906, "loc": { "start": { "line": 699, "column": 23 }, "end": { "line": 699, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 24911, "end": 24912, "loc": { "start": { "line": 699, "column": 34 }, "end": { "line": 699, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 24914, "end": 24983, "loc": { "start": { "line": 699, "column": 37 }, "end": { "line": 701, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 24929, "end": 24972, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 24929, "end": 24971, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24929, "end": 24952, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 35 } }, "object": { "type": "ThisExpression", "start": 24929, "end": 24933, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 16 } } }, "property": { "type": "Identifier", "start": 24934, "end": 24952, "loc": { "start": { "line": 700, "column": 17 }, "end": { "line": 700, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "MemberExpression", "start": 24955, "end": 24971, "loc": { "start": { "line": 700, "column": 38 }, "end": { "line": 700, "column": 54 } }, "object": { "type": "ThisExpression", "start": 24955, "end": 24959, "loc": { "start": { "line": 700, "column": 38 }, "end": { "line": 700, "column": 42 } } }, "property": { "type": "Identifier", "start": 24960, "end": 24971, "loc": { "start": { "line": 700, "column": 43 }, "end": { "line": 700, "column": 54 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Make sure that if we are empty, we set our first distance properly", "start": 24806, "end": 24875, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 77 } } } ] }, { "type": "ExpressionStatement", "start": 24995, "end": 25016, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 29 } }, "expression": { "type": "CallExpression", "start": 24995, "end": 25015, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 24995, "end": 25013, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 26 } }, "object": { "type": "ThisExpression", "start": 24995, "end": 24999, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 12 } } }, "property": { "type": "Identifier", "start": 25000, "end": 25013, "loc": { "start": { "line": 703, "column": 13 }, "end": { "line": 703, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 25026, "end": 25053, "loc": { "start": { "line": 704, "column": 8 }, "end": { "line": 704, "column": 35 } }, "expression": { "type": "CallExpression", "start": 25026, "end": 25052, "loc": { "start": { "line": 704, "column": 8 }, "end": { "line": 704, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 25026, "end": 25050, "loc": { "start": { "line": 704, "column": 8 }, "end": { "line": 704, "column": 32 } }, "object": { "type": "Identifier", "start": 25026, "end": 25036, "loc": { "start": { "line": 704, "column": 8 }, "end": { "line": 704, "column": 18 }, "identifierName": "secondPath" }, "name": "secondPath" }, "property": { "type": "Identifier", "start": 25037, "end": 25050, "loc": { "start": { "line": 704, "column": 19 }, "end": { "line": 704, "column": 32 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 25065, "end": 25081, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 25091, "end": 25131, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 25091, "end": 25130, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25091, "end": 25107, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 24 } }, "object": { "type": "ThisExpression", "start": 25091, "end": 25095, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25096, "end": 25107, "loc": { "start": { "line": 707, "column": 13 }, "end": { "line": 707, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 25110, "end": 25130, "loc": { "start": { "line": 707, "column": 27 }, "end": { "line": 707, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 25110, "end": 25128, "loc": { "start": { "line": 707, "column": 27 }, "end": { "line": 707, "column": 45 } }, "object": { "type": "ThisExpression", "start": 25110, "end": 25114, "loc": { "start": { "line": 707, "column": 27 }, "end": { "line": 707, "column": 31 } } }, "property": { "type": "Identifier", "start": 25115, "end": 25128, "loc": { "start": { "line": 707, "column": 32 }, "end": { "line": 707, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 25065, "end": 25081, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 24 } } } ] }, { "type": "IfStatement", "start": 25143, "end": 25331, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 712, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 25147, "end": 25192, "loc": { "start": { "line": 709, "column": 12 }, "end": { "line": 709, "column": 57 } }, "left": { "type": "Identifier", "start": 25147, "end": 25155, "loc": { "start": { "line": 709, "column": 12 }, "end": { "line": 709, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 25159, "end": 25192, "loc": { "start": { "line": 709, "column": 24 }, "end": { "line": 709, "column": 57 } }, "object": { "type": "MemberExpression", "start": 25159, "end": 25177, "loc": { "start": { "line": 709, "column": 24 }, "end": { "line": 709, "column": 42 } }, "object": { "type": "Identifier", "start": 25159, "end": 25171, "loc": { "start": { "line": 709, "column": 24 }, "end": { "line": 709, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 25172, "end": 25177, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 709, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 25178, "end": 25192, "loc": { "start": { "line": 709, "column": 43 }, "end": { "line": 709, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 25194, "end": 25331, "loc": { "start": { "line": 709, "column": 59 }, "end": { "line": 712, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 25209, "end": 25254, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 57 } }, "expression": { "type": "CallExpression", "start": 25209, "end": 25253, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 25209, "end": 25234, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 37 } }, "object": { "type": "ThisExpression", "start": 25209, "end": 25213, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 16 } } }, "property": { "type": "Identifier", "start": 25214, "end": 25234, "loc": { "start": { "line": 710, "column": 17 }, "end": { "line": 710, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25235, "end": 25252, "loc": { "start": { "line": 710, "column": 38 }, "end": { "line": 710, "column": 55 } }, "extra": { "rawValue": "split-two-first", "raw": "\"split-two-first\"" }, "value": "split-two-first" } ] } }, { "type": "ExpressionStatement", "start": 25268, "end": 25320, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 64 } }, "expression": { "type": "CallExpression", "start": 25268, "end": 25319, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 25268, "end": 25299, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 43 } }, "object": { "type": "Identifier", "start": 25268, "end": 25278, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 22 }, "identifierName": "secondPath" }, "name": "secondPath" }, "property": { "type": "Identifier", "start": 25279, "end": 25299, "loc": { "start": { "line": 711, "column": 23 }, "end": { "line": 711, "column": 43 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25300, "end": 25318, "loc": { "start": { "line": 711, "column": 44 }, "end": { "line": 711, "column": 62 } }, "extra": { "rawValue": "split-two-second", "raw": "\"split-two-second\"" }, "value": "split-two-second" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 25343, "end": 25361, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 26 } }, "argument": { "type": "Identifier", "start": 25350, "end": 25360, "loc": { "start": { "line": 714, "column": 15 }, "end": { "line": 714, "column": 25 }, "identifierName": "secondPath" }, "name": "secondPath" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Splits this path at the given entity by removing it, and\r\n * returning the new secondary paht\r\n * @param {Entity} entity\r\n * @returns {BeltPath}\r\n ", "start": 18983, "end": 19160, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 559, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the last entity\r\n * @param {Entity} entity\r\n ", "start": 25376, "end": 25451, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 720, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 25457, "end": 29322, "loc": { "start": { "line": 721, "column": 4 }, "end": { "line": 823, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 25457, "end": 25474, "loc": { "start": { "line": 721, "column": 4 }, "end": { "line": 721, "column": 21 }, "identifierName": "deleteEntityOnEnd" }, "name": "deleteEntityOnEnd", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 25475, "end": 25481, "loc": { "start": { "line": 721, "column": 22 }, "end": { "line": 721, "column": 28 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 25483, "end": 29322, "loc": { "start": { "line": 721, "column": 30 }, "end": { "line": 823, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 25494, "end": 25676, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 725, "column": 10 } }, "expression": { "type": "CallExpression", "start": 25494, "end": 25675, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 725, "column": 9 } }, "callee": { "type": "Identifier", "start": 25494, "end": 25500, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 25515, "end": 25569, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 66 } }, "left": { "type": "MemberExpression", "start": 25515, "end": 25558, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 55 } }, "object": { "type": "MemberExpression", "start": 25515, "end": 25530, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 27 } }, "object": { "type": "ThisExpression", "start": 25515, "end": 25519, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 16 } } }, "property": { "type": "Identifier", "start": 25520, "end": 25530, "loc": { "start": { "line": 723, "column": 17 }, "end": { "line": 723, "column": 27 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 25531, "end": 25557, "loc": { "start": { "line": 723, "column": 28 }, "end": { "line": 723, "column": 54 } }, "left": { "type": "MemberExpression", "start": 25531, "end": 25553, "loc": { "start": { "line": 723, "column": 28 }, "end": { "line": 723, "column": 50 } }, "object": { "type": "MemberExpression", "start": 25531, "end": 25546, "loc": { "start": { "line": 723, "column": 28 }, "end": { "line": 723, "column": 43 } }, "object": { "type": "ThisExpression", "start": 25531, "end": 25535, "loc": { "start": { "line": 723, "column": 28 }, "end": { "line": 723, "column": 32 } } }, "property": { "type": "Identifier", "start": 25536, "end": 25546, "loc": { "start": { "line": 723, "column": 33 }, "end": { "line": 723, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 25547, "end": 25553, "loc": { "start": { "line": 723, "column": 44 }, "end": { "line": 723, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 25556, "end": 25557, "loc": { "start": { "line": 723, "column": 53 }, "end": { "line": 723, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "operator": "===", "right": { "type": "Identifier", "start": 25563, "end": 25569, "loc": { "start": { "line": 723, "column": 60 }, "end": { "line": 723, "column": 66 }, "identifierName": "entity" }, "name": "entity" } }, { "type": "BinaryExpression", "start": 25584, "end": 25664, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 92 } }, "left": { "type": "BinaryExpression", "start": 25584, "end": 25658, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 86 } }, "left": { "type": "StringLiteral", "start": 25584, "end": 25624, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 52 } }, "extra": { "rawValue": "Not actually the last entity (instead ", "raw": "\"Not actually the last entity (instead \"" }, "value": "Not actually the last entity (instead " }, "operator": "+", "right": { "type": "CallExpression", "start": 25627, "end": 25658, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 25627, "end": 25650, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "column": 78 } }, "object": { "type": "MemberExpression", "start": 25627, "end": 25642, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "column": 70 } }, "object": { "type": "ThisExpression", "start": 25627, "end": 25631, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "column": 59 } } }, "property": { "type": "Identifier", "start": 25632, "end": 25642, "loc": { "start": { "line": 724, "column": 60 }, "end": { "line": 724, "column": 70 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 25643, "end": 25650, "loc": { "start": { "line": 724, "column": 71 }, "end": { "line": 724, "column": 78 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25651, "end": 25657, "loc": { "start": { "line": 724, "column": 79 }, "end": { "line": 724, "column": 85 }, "identifierName": "entity" }, "name": "entity" } ] } }, "operator": "+", "right": { "type": "StringLiteral", "start": 25661, "end": 25664, "loc": { "start": { "line": 724, "column": 89 }, "end": { "line": 724, "column": 92 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 25688, "end": 25718, "loc": { "start": { "line": 727, "column": 8 }, "end": { "line": 727, "column": 38 } } } ] }, { "type": "VariableDeclaration", "start": 25728, "end": 25768, "loc": { "start": { "line": 728, "column": 8 }, "end": { "line": 728, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25734, "end": 25767, "loc": { "start": { "line": 728, "column": 14 }, "end": { "line": 728, "column": 47 } }, "id": { "type": "Identifier", "start": 25734, "end": 25742, "loc": { "start": { "line": 728, "column": 14 }, "end": { "line": 728, "column": 22 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 25745, "end": 25767, "loc": { "start": { "line": 728, "column": 25 }, "end": { "line": 728, "column": 47 } }, "object": { "type": "MemberExpression", "start": 25745, "end": 25762, "loc": { "start": { "line": 728, "column": 25 }, "end": { "line": 728, "column": 42 } }, "object": { "type": "Identifier", "start": 25745, "end": 25751, "loc": { "start": { "line": 728, "column": 25 }, "end": { "line": 728, "column": 31 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 25752, "end": 25762, "loc": { "start": { "line": 728, "column": 32 }, "end": { "line": 728, "column": 42 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 25763, "end": 25767, "loc": { "start": { "line": 728, "column": 43 }, "end": { "line": 728, "column": 47 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 25688, "end": 25718, "loc": { "start": { "line": 727, "column": 8 }, "end": { "line": 727, "column": 38 } } } ] }, { "type": "VariableDeclaration", "start": 25778, "end": 25832, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 729, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25784, "end": 25831, "loc": { "start": { "line": 729, "column": 14 }, "end": { "line": 729, "column": 61 } }, "id": { "type": "Identifier", "start": 25784, "end": 25794, "loc": { "start": { "line": 729, "column": 14 }, "end": { "line": 729, "column": 24 }, "identifierName": "beltLength" }, "name": "beltLength" }, "init": { "type": "CallExpression", "start": 25797, "end": 25831, "loc": { "start": { "line": 729, "column": 27 }, "end": { "line": 729, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 25797, "end": 25829, "loc": { "start": { "line": 729, "column": 27 }, "end": { "line": 729, "column": 59 } }, "object": { "type": "Identifier", "start": 25797, "end": 25805, "loc": { "start": { "line": 729, "column": 27 }, "end": { "line": 729, "column": 35 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 25806, "end": 25829, "loc": { "start": { "line": 729, "column": 36 }, "end": { "line": 729, "column": 59 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 25844, "end": 26134, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 740, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 25844, "end": 26133, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 740, "column": 13 } }, "left": { "type": "Identifier", "start": 25844, "end": 25849, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 25866, "end": 26133, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 740, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 25866, "end": 25876, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 22 } }, "object": { "type": "Identifier", "start": 25866, "end": 25872, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 25873, "end": 25876, "loc": { "start": { "line": 732, "column": 19 }, "end": { "line": 732, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25895, "end": 25937, "loc": { "start": { "line": 733, "column": 16 }, "end": { "line": 733, "column": 58 } }, "extra": { "rawValue": "Deleting last entity on path with length", "raw": "\"Deleting last entity on path with length\"" }, "value": "Deleting last entity on path with length" }, { "type": "MemberExpression", "start": 25956, "end": 25978, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 38 } }, "object": { "type": "MemberExpression", "start": 25956, "end": 25971, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 31 } }, "object": { "type": "ThisExpression", "start": 25956, "end": 25960, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 20 } } }, "property": { "type": "Identifier", "start": 25961, "end": 25971, "loc": { "start": { "line": 734, "column": 21 }, "end": { "line": 734, "column": 31 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 25972, "end": 25978, "loc": { "start": { "line": 734, "column": 32 }, "end": { "line": 734, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 25997, "end": 26008, "loc": { "start": { "line": 735, "column": 16 }, "end": { "line": 735, "column": 27 } }, "extra": { "rawValue": "(reducing", "raw": "\"(reducing\"" }, "value": "(reducing" }, { "type": "MemberExpression", "start": 26027, "end": 26043, "loc": { "start": { "line": 736, "column": 16 }, "end": { "line": 736, "column": 32 } }, "object": { "type": "ThisExpression", "start": 26027, "end": 26031, "loc": { "start": { "line": 736, "column": 16 }, "end": { "line": 736, "column": 20 } } }, "property": { "type": "Identifier", "start": 26032, "end": 26043, "loc": { "start": { "line": 736, "column": 21 }, "end": { "line": 736, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 26062, "end": 26067, "loc": { "start": { "line": 737, "column": 16 }, "end": { "line": 737, "column": 21 } }, "extra": { "rawValue": " by", "raw": "\" by\"" }, "value": " by" }, { "type": "Identifier", "start": 26086, "end": 26096, "loc": { "start": { "line": 738, "column": 16 }, "end": { "line": 738, "column": 26 }, "identifierName": "beltLength" }, "name": "beltLength" }, { "type": "StringLiteral", "start": 26115, "end": 26118, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 19 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } }, { "type": "ExpressionStatement", "start": 26144, "end": 26175, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 26144, "end": 26174, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 38 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 26144, "end": 26160, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 24 } }, "object": { "type": "ThisExpression", "start": 26144, "end": 26148, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 12 } } }, "property": { "type": "Identifier", "start": 26149, "end": 26160, "loc": { "start": { "line": 741, "column": 13 }, "end": { "line": 741, "column": 24 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "right": { "type": "Identifier", "start": 26164, "end": 26174, "loc": { "start": { "line": 741, "column": 28 }, "end": { "line": 741, "column": 38 }, "identifierName": "beltLength" }, "name": "beltLength" } } }, { "type": "ExpressionStatement", "start": 26185, "end": 26207, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 30 } }, "expression": { "type": "CallExpression", "start": 26185, "end": 26206, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 26185, "end": 26204, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 27 } }, "object": { "type": "MemberExpression", "start": 26185, "end": 26200, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 23 } }, "object": { "type": "ThisExpression", "start": 26185, "end": 26189, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 12 } } }, "property": { "type": "Identifier", "start": 26190, "end": 26200, "loc": { "start": { "line": 742, "column": 13 }, "end": { "line": 742, "column": 23 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 26201, "end": 26204, "loc": { "start": { "line": 742, "column": 24 }, "end": { "line": 742, "column": 27 }, "identifierName": "pop" }, "name": "pop" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 26217, "end": 26238, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 743, "column": 29 } }, "expression": { "type": "CallExpression", "start": 26217, "end": 26237, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 743, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 26217, "end": 26235, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 743, "column": 26 } }, "object": { "type": "ThisExpression", "start": 26217, "end": 26221, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 743, "column": 12 } } }, "property": { "type": "Identifier", "start": 26222, "end": 26235, "loc": { "start": { "line": 743, "column": 13 }, "end": { "line": 743, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 26250, "end": 26473, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 752, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 26250, "end": 26472, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 752, "column": 13 } }, "left": { "type": "Identifier", "start": 26250, "end": 26255, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 745, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 26272, "end": 26472, "loc": { "start": { "line": 746, "column": 12 }, "end": { "line": 752, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 26272, "end": 26282, "loc": { "start": { "line": 746, "column": 12 }, "end": { "line": 746, "column": 22 } }, "object": { "type": "Identifier", "start": 26272, "end": 26278, "loc": { "start": { "line": 746, "column": 12 }, "end": { "line": 746, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 26279, "end": 26282, "loc": { "start": { "line": 746, "column": 19 }, "end": { "line": 746, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 26301, "end": 26327, "loc": { "start": { "line": 747, "column": 16 }, "end": { "line": 747, "column": 42 } }, "extra": { "rawValue": " New path has length of", "raw": "\" New path has length of\"" }, "value": " New path has length of" }, { "type": "MemberExpression", "start": 26346, "end": 26362, "loc": { "start": { "line": 748, "column": 16 }, "end": { "line": 748, "column": 32 } }, "object": { "type": "ThisExpression", "start": 26346, "end": 26350, "loc": { "start": { "line": 748, "column": 16 }, "end": { "line": 748, "column": 20 } } }, "property": { "type": "Identifier", "start": 26351, "end": 26362, "loc": { "start": { "line": 748, "column": 21 }, "end": { "line": 748, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 26381, "end": 26387, "loc": { "start": { "line": 749, "column": 16 }, "end": { "line": 749, "column": 22 } }, "extra": { "rawValue": "with", "raw": "\"with\"" }, "value": "with" }, { "type": "MemberExpression", "start": 26406, "end": 26428, "loc": { "start": { "line": 750, "column": 16 }, "end": { "line": 750, "column": 38 } }, "object": { "type": "MemberExpression", "start": 26406, "end": 26421, "loc": { "start": { "line": 750, "column": 16 }, "end": { "line": 750, "column": 31 } }, "object": { "type": "ThisExpression", "start": 26406, "end": 26410, "loc": { "start": { "line": 750, "column": 16 }, "end": { "line": 750, "column": 20 } } }, "property": { "type": "Identifier", "start": 26411, "end": 26421, "loc": { "start": { "line": 750, "column": 21 }, "end": { "line": 750, "column": 31 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 26422, "end": 26428, "loc": { "start": { "line": 750, "column": 32 }, "end": { "line": 750, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 26447, "end": 26457, "loc": { "start": { "line": 751, "column": 16 }, "end": { "line": 751, "column": 26 } }, "extra": { "rawValue": "entities", "raw": "\"entities\"" }, "value": "entities" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " This is just for sanity", "start": 26485, "end": 26511, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 26521, "end": 26550, "loc": { "start": { "line": 755, "column": 8 }, "end": { "line": 755, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 26521, "end": 26549, "loc": { "start": { "line": 755, "column": 8 }, "end": { "line": 755, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26521, "end": 26542, "loc": { "start": { "line": 755, "column": 8 }, "end": { "line": 755, "column": 29 } }, "object": { "type": "Identifier", "start": 26521, "end": 26529, "loc": { "start": { "line": 755, "column": 8 }, "end": { "line": 755, "column": 16 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 26530, "end": 26542, "loc": { "start": { "line": 755, "column": 17 }, "end": { "line": 755, "column": 29 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 26545, "end": 26549, "loc": { "start": { "line": 755, "column": 32 }, "end": { "line": 755, "column": 36 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " This is just for sanity", "start": 26485, "end": 26511, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 34 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Clean up items", "start": 26562, "end": 26579, "loc": { "start": { "line": 757, "column": 8 }, "end": { "line": 757, "column": 25 } } } ] }, { "type": "IfStatement", "start": 26589, "end": 29105, "loc": { "start": { "line": 758, "column": 8 }, "end": { "line": 815, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 26593, "end": 26616, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 758, "column": 35 } }, "left": { "type": "MemberExpression", "start": 26593, "end": 26610, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 758, "column": 29 } }, "object": { "type": "MemberExpression", "start": 26593, "end": 26603, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 758, "column": 22 } }, "object": { "type": "ThisExpression", "start": 26593, "end": 26597, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 758, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 26598, "end": 26603, "loc": { "start": { "line": 758, "column": 17 }, "end": { "line": 758, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 26604, "end": 26610, "loc": { "start": { "line": 758, "column": 23 }, "end": { "line": 758, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 26615, "end": 26616, "loc": { "start": { "line": 758, "column": 34 }, "end": { "line": 758, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 26618, "end": 26765, "loc": { "start": { "line": 758, "column": 37 }, "end": { "line": 761, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 26711, "end": 26754, "loc": { "start": { "line": 760, "column": 12 }, "end": { "line": 760, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 26711, "end": 26753, "loc": { "start": { "line": 760, "column": 12 }, "end": { "line": 760, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26711, "end": 26734, "loc": { "start": { "line": 760, "column": 12 }, "end": { "line": 760, "column": 35 } }, "object": { "type": "ThisExpression", "start": 26711, "end": 26715, "loc": { "start": { "line": 760, "column": 12 }, "end": { "line": 760, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 26716, "end": 26734, "loc": { "start": { "line": 760, "column": 17 }, "end": { "line": 760, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 26737, "end": 26753, "loc": { "start": { "line": 760, "column": 38 }, "end": { "line": 760, "column": 54 } }, "object": { "type": "ThisExpression", "start": 26737, "end": 26741, "loc": { "start": { "line": 760, "column": 38 }, "end": { "line": 760, "column": 42 } } }, "property": { "type": "Identifier", "start": 26742, "end": 26753, "loc": { "start": { "line": 760, "column": 43 }, "end": { "line": 760, "column": 54 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Simple case with no items, just update the first item spacing", "start": 26633, "end": 26697, "loc": { "start": { "line": 759, "column": 12 }, "end": { "line": 759, "column": 76 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 26771, "end": 29105, "loc": { "start": { "line": 761, "column": 15 }, "end": { "line": 815, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 26871, "end": 26912, "loc": { "start": { "line": 763, "column": 12 }, "end": { "line": 763, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 26875, "end": 26911, "loc": { "start": { "line": 763, "column": 16 }, "end": { "line": 763, "column": 52 } }, "id": { "type": "Identifier", "start": 26875, "end": 26885, "loc": { "start": { "line": 763, "column": 16 }, "end": { "line": 763, "column": 26 }, "identifierName": "itemOffset" }, "name": "itemOffset", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 26888, "end": 26911, "loc": { "start": { "line": 763, "column": 29 }, "end": { "line": 763, "column": 52 } }, "object": { "type": "ThisExpression", "start": 26888, "end": 26892, "loc": { "start": { "line": 763, "column": 29 }, "end": { "line": 763, "column": 33 } } }, "property": { "type": "Identifier", "start": 26893, "end": 26911, "loc": { "start": { "line": 763, "column": 34 }, "end": { "line": 763, "column": 52 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Ok, make sure we simply drop all items which are no longer contained", "start": 26786, "end": 26857, "loc": { "start": { "line": 762, "column": 12 }, "end": { "line": 762, "column": 83 } } } ] }, { "type": "VariableDeclaration", "start": 26926, "end": 26958, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 26930, "end": 26957, "loc": { "start": { "line": 764, "column": 16 }, "end": { "line": 764, "column": 43 } }, "id": { "type": "Identifier", "start": 26930, "end": 26944, "loc": { "start": { "line": 764, "column": 16 }, "end": { "line": 764, "column": 30 }, "identifierName": "lastItemOffset" }, "name": "lastItemOffset" }, "init": { "type": "Identifier", "start": 26947, "end": 26957, "loc": { "start": { "line": 764, "column": 33 }, "end": { "line": 764, "column": 43 }, "identifierName": "itemOffset" }, "name": "itemOffset" } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 26974, "end": 27037, "loc": { "start": { "line": 766, "column": 12 }, "end": { "line": 766, "column": 75 } }, "expression": { "type": "LogicalExpression", "start": 26974, "end": 27036, "loc": { "start": { "line": 766, "column": 12 }, "end": { "line": 766, "column": 74 } }, "left": { "type": "Identifier", "start": 26974, "end": 26979, "loc": { "start": { "line": 766, "column": 12 }, "end": { "line": 766, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 26983, "end": 27036, "loc": { "start": { "line": 766, "column": 21 }, "end": { "line": 766, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 26983, "end": 26993, "loc": { "start": { "line": 766, "column": 21 }, "end": { "line": 766, "column": 31 } }, "object": { "type": "Identifier", "start": 26983, "end": 26989, "loc": { "start": { "line": 766, "column": 21 }, "end": { "line": 766, "column": 27 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 26990, "end": 26993, "loc": { "start": { "line": 766, "column": 28 }, "end": { "line": 766, "column": 31 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 26994, "end": 27007, "loc": { "start": { "line": 766, "column": 32 }, "end": { "line": 766, "column": 45 } }, "extra": { "rawValue": " Adjusting", "raw": "\" Adjusting\"" }, "value": " Adjusting" }, { "type": "MemberExpression", "start": 27009, "end": 27026, "loc": { "start": { "line": 766, "column": 47 }, "end": { "line": 766, "column": 64 } }, "object": { "type": "MemberExpression", "start": 27009, "end": 27019, "loc": { "start": { "line": 766, "column": 47 }, "end": { "line": 766, "column": 57 } }, "object": { "type": "ThisExpression", "start": 27009, "end": 27013, "loc": { "start": { "line": 766, "column": 47 }, "end": { "line": 766, "column": 51 } } }, "property": { "type": "Identifier", "start": 27014, "end": 27019, "loc": { "start": { "line": 766, "column": 52 }, "end": { "line": 766, "column": 57 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 27020, "end": 27026, "loc": { "start": { "line": 766, "column": 58 }, "end": { "line": 766, "column": 64 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 27028, "end": 27035, "loc": { "start": { "line": 766, "column": 66 }, "end": { "line": 766, "column": 73 } }, "extra": { "rawValue": "items", "raw": "\"items\"" }, "value": "items" } ] } } }, { "type": "ForStatement", "start": 27053, "end": 27686, "loc": { "start": { "line": 768, "column": 12 }, "end": { "line": 782, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 27058, "end": 27067, "loc": { "start": { "line": 768, "column": 17 }, "end": { "line": 768, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 27062, "end": 27067, "loc": { "start": { "line": 768, "column": 21 }, "end": { "line": 768, "column": 26 } }, "id": { "type": "Identifier", "start": 27062, "end": 27063, "loc": { "start": { "line": 768, "column": 21 }, "end": { "line": 768, "column": 22 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 27066, "end": 27067, "loc": { "start": { "line": 768, "column": 25 }, "end": { "line": 768, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 27069, "end": 27090, "loc": { "start": { "line": 768, "column": 28 }, "end": { "line": 768, "column": 49 } }, "left": { "type": "Identifier", "start": 27069, "end": 27070, "loc": { "start": { "line": 768, "column": 28 }, "end": { "line": 768, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 27073, "end": 27090, "loc": { "start": { "line": 768, "column": 32 }, "end": { "line": 768, "column": 49 } }, "object": { "type": "MemberExpression", "start": 27073, "end": 27083, "loc": { "start": { "line": 768, "column": 32 }, "end": { "line": 768, "column": 42 } }, "object": { "type": "ThisExpression", "start": 27073, "end": 27077, "loc": { "start": { "line": 768, "column": 32 }, "end": { "line": 768, "column": 36 } } }, "property": { "type": "Identifier", "start": 27078, "end": 27083, "loc": { "start": { "line": 768, "column": 37 }, "end": { "line": 768, "column": 42 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 27084, "end": 27090, "loc": { "start": { "line": 768, "column": 43 }, "end": { "line": 768, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 27092, "end": 27095, "loc": { "start": { "line": 768, "column": 51 }, "end": { "line": 768, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 27094, "end": 27095, "loc": { "start": { "line": 768, "column": 53 }, "end": { "line": 768, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 27097, "end": 27686, "loc": { "start": { "line": 768, "column": 56 }, "end": { "line": 782, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 27116, "end": 27143, "loc": { "start": { "line": 769, "column": 16 }, "end": { "line": 769, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 27122, "end": 27142, "loc": { "start": { "line": 769, "column": 22 }, "end": { "line": 769, "column": 42 } }, "id": { "type": "Identifier", "start": 27122, "end": 27126, "loc": { "start": { "line": 769, "column": 22 }, "end": { "line": 769, "column": 26 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 27129, "end": 27142, "loc": { "start": { "line": 769, "column": 29 }, "end": { "line": 769, "column": 42 } }, "object": { "type": "MemberExpression", "start": 27129, "end": 27139, "loc": { "start": { "line": 769, "column": 29 }, "end": { "line": 769, "column": 39 } }, "object": { "type": "ThisExpression", "start": 27129, "end": 27133, "loc": { "start": { "line": 769, "column": 29 }, "end": { "line": 769, "column": 33 } } }, "property": { "type": "Identifier", "start": 27134, "end": 27139, "loc": { "start": { "line": 769, "column": 34 }, "end": { "line": 769, "column": 39 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 27140, "end": 27141, "loc": { "start": { "line": 769, "column": 40 }, "end": { "line": 769, "column": 41 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Get rid of items past this path", "start": 27163, "end": 27197, "loc": { "start": { "line": 771, "column": 16 }, "end": { "line": 771, "column": 50 } } } ] }, { "type": "IfStatement", "start": 27215, "end": 27460, "loc": { "start": { "line": 772, "column": 16 }, "end": { "line": 777, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 27219, "end": 27249, "loc": { "start": { "line": 772, "column": 20 }, "end": { "line": 772, "column": 50 } }, "left": { "type": "Identifier", "start": 27219, "end": 27229, "loc": { "start": { "line": 772, "column": 20 }, "end": { "line": 772, "column": 30 }, "identifierName": "itemOffset" }, "name": "itemOffset", "leadingComments": null }, "operator": ">=", "right": { "type": "MemberExpression", "start": 27233, "end": 27249, "loc": { "start": { "line": 772, "column": 34 }, "end": { "line": 772, "column": 50 } }, "object": { "type": "ThisExpression", "start": 27233, "end": 27237, "loc": { "start": { "line": 772, "column": 34 }, "end": { "line": 772, "column": 38 } } }, "property": { "type": "Identifier", "start": 27238, "end": 27249, "loc": { "start": { "line": 772, "column": 39 }, "end": { "line": 772, "column": 50 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 27251, "end": 27460, "loc": { "start": { "line": 772, "column": 52 }, "end": { "line": 777, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 27274, "end": 27335, "loc": { "start": { "line": 773, "column": 20 }, "end": { "line": 773, "column": 81 } }, "expression": { "type": "LogicalExpression", "start": 27274, "end": 27334, "loc": { "start": { "line": 773, "column": 20 }, "end": { "line": 773, "column": 80 } }, "left": { "type": "Identifier", "start": 27274, "end": 27279, "loc": { "start": { "line": 773, "column": 20 }, "end": { "line": 773, "column": 25 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 27283, "end": 27334, "loc": { "start": { "line": 773, "column": 29 }, "end": { "line": 773, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 27283, "end": 27293, "loc": { "start": { "line": 773, "column": 29 }, "end": { "line": 773, "column": 39 } }, "object": { "type": "Identifier", "start": 27283, "end": 27289, "loc": { "start": { "line": 773, "column": 29 }, "end": { "line": 773, "column": 35 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 27290, "end": 27293, "loc": { "start": { "line": 773, "column": 36 }, "end": { "line": 773, "column": 39 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 27294, "end": 27325, "loc": { "start": { "line": 773, "column": 40 }, "end": { "line": 773, "column": 71 } }, "extra": { "rawValue": "Dropping item (current index=", "raw": "\"Dropping item (current index=\"" }, "value": "Dropping item (current index=" }, { "type": "Identifier", "start": 27327, "end": 27328, "loc": { "start": { "line": 773, "column": 73 }, "end": { "line": 773, "column": 74 }, "identifierName": "i" }, "name": "i" }, { "type": "StringLiteral", "start": 27330, "end": 27333, "loc": { "start": { "line": 773, "column": 76 }, "end": { "line": 773, "column": 79 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } }, { "type": "ExpressionStatement", "start": 27357, "end": 27381, "loc": { "start": { "line": 774, "column": 20 }, "end": { "line": 774, "column": 44 } }, "expression": { "type": "CallExpression", "start": 27357, "end": 27380, "loc": { "start": { "line": 774, "column": 20 }, "end": { "line": 774, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 27357, "end": 27374, "loc": { "start": { "line": 774, "column": 20 }, "end": { "line": 774, "column": 37 } }, "object": { "type": "MemberExpression", "start": 27357, "end": 27367, "loc": { "start": { "line": 774, "column": 20 }, "end": { "line": 774, "column": 30 } }, "object": { "type": "ThisExpression", "start": 27357, "end": 27361, "loc": { "start": { "line": 774, "column": 20 }, "end": { "line": 774, "column": 24 } } }, "property": { "type": "Identifier", "start": 27362, "end": 27367, "loc": { "start": { "line": 774, "column": 25 }, "end": { "line": 774, "column": 30 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 27368, "end": 27374, "loc": { "start": { "line": 774, "column": 31 }, "end": { "line": 774, "column": 37 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 27375, "end": 27376, "loc": { "start": { "line": 774, "column": 38 }, "end": { "line": 774, "column": 39 }, "identifierName": "i" }, "name": "i" }, { "type": "NumericLiteral", "start": 27378, "end": 27379, "loc": { "start": { "line": 774, "column": 41 }, "end": { "line": 774, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 27403, "end": 27410, "loc": { "start": { "line": 775, "column": 20 }, "end": { "line": 775, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 27403, "end": 27409, "loc": { "start": { "line": 775, "column": 20 }, "end": { "line": 775, "column": 26 } }, "operator": "-=", "left": { "type": "Identifier", "start": 27403, "end": 27404, "loc": { "start": { "line": 775, "column": 20 }, "end": { "line": 775, "column": 21 }, "identifierName": "i" }, "name": "i" }, "right": { "type": "NumericLiteral", "start": 27408, "end": 27409, "loc": { "start": { "line": 775, "column": 25 }, "end": { "line": 775, "column": 26 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, { "type": "ContinueStatement", "start": 27432, "end": 27441, "loc": { "start": { "line": 776, "column": 20 }, "end": { "line": 776, "column": 29 } }, "label": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Get rid of items past this path", "start": 27163, "end": 27197, "loc": { "start": { "line": 771, "column": 16 }, "end": { "line": 771, "column": 50 } } } ] }, { "type": "ExpressionStatement", "start": 27480, "end": 27573, "loc": { "start": { "line": 779, "column": 16 }, "end": { "line": 779, "column": 109 } }, "expression": { "type": "LogicalExpression", "start": 27480, "end": 27572, "loc": { "start": { "line": 779, "column": 16 }, "end": { "line": 779, "column": 108 } }, "left": { "type": "Identifier", "start": 27480, "end": 27485, "loc": { "start": { "line": 779, "column": 16 }, "end": { "line": 779, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 27489, "end": 27572, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 779, "column": 108 } }, "callee": { "type": "MemberExpression", "start": 27489, "end": 27499, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 779, "column": 35 } }, "object": { "type": "Identifier", "start": 27489, "end": 27495, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 779, "column": 31 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 27496, "end": 27499, "loc": { "start": { "line": 779, "column": 32 }, "end": { "line": 779, "column": 35 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 27500, "end": 27506, "loc": { "start": { "line": 779, "column": 36 }, "end": { "line": 779, "column": 42 } }, "extra": { "rawValue": "Item", "raw": "\"Item\"" }, "value": "Item" }, { "type": "Identifier", "start": 27508, "end": 27509, "loc": { "start": { "line": 779, "column": 44 }, "end": { "line": 779, "column": 45 }, "identifierName": "i" }, "name": "i" }, { "type": "StringLiteral", "start": 27511, "end": 27518, "loc": { "start": { "line": 779, "column": 47 }, "end": { "line": 779, "column": 54 } }, "extra": { "rawValue": "is at", "raw": "\"is at\"" }, "value": "is at" }, { "type": "Identifier", "start": 27520, "end": 27530, "loc": { "start": { "line": 779, "column": 56 }, "end": { "line": 779, "column": 66 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, { "type": "StringLiteral", "start": 27532, "end": 27550, "loc": { "start": { "line": 779, "column": 68 }, "end": { "line": 779, "column": 86 } }, "extra": { "rawValue": "with next offset", "raw": "\"with next offset\"" }, "value": "with next offset" }, { "type": "MemberExpression", "start": 27552, "end": 27571, "loc": { "start": { "line": 779, "column": 88 }, "end": { "line": 779, "column": 107 } }, "object": { "type": "Identifier", "start": 27552, "end": 27556, "loc": { "start": { "line": 779, "column": 88 }, "end": { "line": 779, "column": 92 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 27557, "end": 27570, "loc": { "start": { "line": 779, "column": 93 }, "end": { "line": 779, "column": 106 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } ] } } }, { "type": "ExpressionStatement", "start": 27591, "end": 27619, "loc": { "start": { "line": 780, "column": 16 }, "end": { "line": 780, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 27591, "end": 27618, "loc": { "start": { "line": 780, "column": 16 }, "end": { "line": 780, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", "start": 27591, "end": 27605, "loc": { "start": { "line": 780, "column": 16 }, "end": { "line": 780, "column": 30 }, "identifierName": "lastItemOffset" }, "name": "lastItemOffset" }, "right": { "type": "Identifier", "start": 27608, "end": 27618, "loc": { "start": { "line": 780, "column": 33 }, "end": { "line": 780, "column": 43 }, "identifierName": "itemOffset" }, "name": "itemOffset" } } }, { "type": "ExpressionStatement", "start": 27637, "end": 27671, "loc": { "start": { "line": 781, "column": 16 }, "end": { "line": 781, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 27637, "end": 27670, "loc": { "start": { "line": 781, "column": 16 }, "end": { "line": 781, "column": 49 } }, "operator": "+=", "left": { "type": "Identifier", "start": 27637, "end": 27647, "loc": { "start": { "line": 781, "column": 16 }, "end": { "line": 781, "column": 26 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, "right": { "type": "MemberExpression", "start": 27651, "end": 27670, "loc": { "start": { "line": 781, "column": 30 }, "end": { "line": 781, "column": 49 } }, "object": { "type": "Identifier", "start": 27651, "end": 27655, "loc": { "start": { "line": 781, "column": 30 }, "end": { "line": 781, "column": 34 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 27656, "end": 27669, "loc": { "start": { "line": 781, "column": 35 }, "end": { "line": 781, "column": 48 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " If we still have an item, make sure the last item matches", "start": 27702, "end": 27762, "loc": { "start": { "line": 784, "column": 12 }, "end": { "line": 784, "column": 72 } } } ] }, { "type": "IfStatement", "start": 27776, "end": 29094, "loc": { "start": { "line": 785, "column": 12 }, "end": { "line": 814, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 27780, "end": 27801, "loc": { "start": { "line": 785, "column": 16 }, "end": { "line": 785, "column": 37 } }, "left": { "type": "MemberExpression", "start": 27780, "end": 27797, "loc": { "start": { "line": 785, "column": 16 }, "end": { "line": 785, "column": 33 } }, "object": { "type": "MemberExpression", "start": 27780, "end": 27790, "loc": { "start": { "line": 785, "column": 16 }, "end": { "line": 785, "column": 26 } }, "object": { "type": "ThisExpression", "start": 27780, "end": 27784, "loc": { "start": { "line": 785, "column": 16 }, "end": { "line": 785, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 27785, "end": 27790, "loc": { "start": { "line": 785, "column": 21 }, "end": { "line": 785, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 27791, "end": 27797, "loc": { "start": { "line": 785, "column": 27 }, "end": { "line": 785, "column": 33 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "NumericLiteral", "start": 27800, "end": 27801, "loc": { "start": { "line": 785, "column": 36 }, "end": { "line": 785, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 27803, "end": 28845, "loc": { "start": { "line": 785, "column": 39 }, "end": { "line": 809, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 27923, "end": 27978, "loc": { "start": { "line": 787, "column": 16 }, "end": { "line": 787, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 27929, "end": 27977, "loc": { "start": { "line": 787, "column": 22 }, "end": { "line": 787, "column": 70 } }, "id": { "type": "Identifier", "start": 27929, "end": 27941, "loc": { "start": { "line": 787, "column": 22 }, "end": { "line": 787, "column": 34 }, "identifierName": "lastDistance" }, "name": "lastDistance", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 27944, "end": 27977, "loc": { "start": { "line": 787, "column": 37 }, "end": { "line": 787, "column": 70 } }, "left": { "type": "MemberExpression", "start": 27944, "end": 27960, "loc": { "start": { "line": 787, "column": 37 }, "end": { "line": 787, "column": 53 } }, "object": { "type": "ThisExpression", "start": 27944, "end": 27948, "loc": { "start": { "line": 787, "column": 37 }, "end": { "line": 787, "column": 41 } } }, "property": { "type": "Identifier", "start": 27949, "end": 27960, "loc": { "start": { "line": 787, "column": 42 }, "end": { "line": 787, "column": 53 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 27963, "end": 27977, "loc": { "start": { "line": 787, "column": 56 }, "end": { "line": 787, "column": 70 }, "identifierName": "lastItemOffset" }, "name": "lastItemOffset" } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " We can easily compute the next distance since we know where the last item is now", "start": 27822, "end": 27905, "loc": { "start": { "line": 786, "column": 16 }, "end": { "line": 786, "column": 99 } } } ] }, { "type": "ExpressionStatement", "start": 27996, "end": 28349, "loc": { "start": { "line": 788, "column": 16 }, "end": { "line": 796, "column": 18 } }, "expression": { "type": "CallExpression", "start": 27996, "end": 28348, "loc": { "start": { "line": 788, "column": 16 }, "end": { "line": 796, "column": 17 } }, "callee": { "type": "Identifier", "start": 27996, "end": 28002, "loc": { "start": { "line": 788, "column": 16 }, "end": { "line": 788, "column": 22 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 28025, "end": 28044, "loc": { "start": { "line": 789, "column": 20 }, "end": { "line": 789, "column": 39 } }, "left": { "type": "Identifier", "start": 28025, "end": 28037, "loc": { "start": { "line": 789, "column": 20 }, "end": { "line": 789, "column": 32 }, "identifierName": "lastDistance" }, "name": "lastDistance" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 28041, "end": 28044, "loc": { "start": { "line": 789, "column": 36 }, "end": { "line": 789, "column": 39 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } }, { "type": "BinaryExpression", "start": 28067, "end": 28329, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 795, "column": 38 } }, "left": { "type": "BinaryExpression", "start": 28067, "end": 28287, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 794, "column": 50 } }, "left": { "type": "BinaryExpression", "start": 28067, "end": 28233, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 793, "column": 40 } }, "left": { "type": "BinaryExpression", "start": 28067, "end": 28189, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 792, "column": 47 } }, "left": { "type": "BinaryExpression", "start": 28067, "end": 28138, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 791, "column": 36 } }, "left": { "type": "StringLiteral", "start": 28067, "end": 28098, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 790, "column": 51 } }, "extra": { "rawValue": "Last item distance mismatch: ", "raw": "\"Last item distance mismatch: \"" }, "value": "Last item distance mismatch: " }, "operator": "+", "right": { "type": "Identifier", "start": 28126, "end": 28138, "loc": { "start": { "line": 791, "column": 24 }, "end": { "line": 791, "column": 36 }, "identifierName": "lastDistance" }, "name": "lastDistance" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 28166, "end": 28189, "loc": { "start": { "line": 792, "column": 24 }, "end": { "line": 792, "column": 47 } }, "extra": { "rawValue": " -> Total length was ", "raw": "\" -> Total length was \"" }, "value": " -> Total length was " } }, "operator": "+", "right": { "type": "MemberExpression", "start": 28217, "end": 28233, "loc": { "start": { "line": 793, "column": 24 }, "end": { "line": 793, "column": 40 } }, "object": { "type": "ThisExpression", "start": 28217, "end": 28221, "loc": { "start": { "line": 793, "column": 24 }, "end": { "line": 793, "column": 28 } } }, "property": { "type": "Identifier", "start": 28222, "end": 28233, "loc": { "start": { "line": 793, "column": 29 }, "end": { "line": 793, "column": 40 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } }, "operator": "+", "right": { "type": "StringLiteral", "start": 28261, "end": 28287, "loc": { "start": { "line": 794, "column": 24 }, "end": { "line": 794, "column": 50 } }, "extra": { "rawValue": " and lastItemOffset was ", "raw": "\" and lastItemOffset was \"" }, "value": " and lastItemOffset was " } }, "operator": "+", "right": { "type": "Identifier", "start": 28315, "end": 28329, "loc": { "start": { "line": 795, "column": 24 }, "end": { "line": 795, "column": 38 }, "identifierName": "lastItemOffset" }, "name": "lastItemOffset" } } ] } }, { "type": "ExpressionStatement", "start": 28369, "end": 28748, "loc": { "start": { "line": 798, "column": 16 }, "end": { "line": 807, "column": 22 } }, "expression": { "type": "LogicalExpression", "start": 28369, "end": 28747, "loc": { "start": { "line": 798, "column": 16 }, "end": { "line": 807, "column": 21 } }, "left": { "type": "Identifier", "start": 28369, "end": 28374, "loc": { "start": { "line": 798, "column": 16 }, "end": { "line": 798, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 28399, "end": 28747, "loc": { "start": { "line": 799, "column": 20 }, "end": { "line": 807, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 28399, "end": 28409, "loc": { "start": { "line": 799, "column": 20 }, "end": { "line": 799, "column": 30 } }, "object": { "type": "Identifier", "start": 28399, "end": 28405, "loc": { "start": { "line": 799, "column": 20 }, "end": { "line": 799, "column": 26 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 28406, "end": 28409, "loc": { "start": { "line": 799, "column": 27 }, "end": { "line": 799, "column": 30 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 28436, "end": 28478, "loc": { "start": { "line": 800, "column": 24 }, "end": { "line": 800, "column": 66 } }, "extra": { "rawValue": "Adjusted distance of last item: it is at", "raw": "\"Adjusted distance of last item: it is at\"" }, "value": "Adjusted distance of last item: it is at" }, { "type": "Identifier", "start": 28505, "end": 28519, "loc": { "start": { "line": 801, "column": 24 }, "end": { "line": 801, "column": 38 }, "identifierName": "lastItemOffset" }, "name": "lastItemOffset" }, { "type": "StringLiteral", "start": 28546, "end": 28571, "loc": { "start": { "line": 802, "column": 24 }, "end": { "line": 802, "column": 49 } }, "extra": { "rawValue": "so it has a distance of", "raw": "\"so it has a distance of\"" }, "value": "so it has a distance of" }, { "type": "Identifier", "start": 28598, "end": 28610, "loc": { "start": { "line": 803, "column": 24 }, "end": { "line": 803, "column": 36 }, "identifierName": "lastDistance" }, "name": "lastDistance" }, { "type": "StringLiteral", "start": 28637, "end": 28651, "loc": { "start": { "line": 804, "column": 24 }, "end": { "line": 804, "column": 38 } }, "extra": { "rawValue": "to the end (", "raw": "\"to the end (\"" }, "value": "to the end (" }, { "type": "MemberExpression", "start": 28678, "end": 28694, "loc": { "start": { "line": 805, "column": 24 }, "end": { "line": 805, "column": 40 } }, "object": { "type": "ThisExpression", "start": 28678, "end": 28682, "loc": { "start": { "line": 805, "column": 24 }, "end": { "line": 805, "column": 28 } } }, "property": { "type": "Identifier", "start": 28683, "end": 28694, "loc": { "start": { "line": 805, "column": 29 }, "end": { "line": 805, "column": 40 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 28721, "end": 28724, "loc": { "start": { "line": 806, "column": 24 }, "end": { "line": 806, "column": 27 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } }, { "type": "ExpressionStatement", "start": 28766, "end": 28830, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 80 } }, "expression": { "type": "AssignmentExpression", "start": 28766, "end": 28829, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 79 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28766, "end": 28814, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 64 } }, "object": { "type": "MemberExpression", "start": 28766, "end": 28799, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 49 } }, "object": { "type": "MemberExpression", "start": 28766, "end": 28776, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 26 } }, "object": { "type": "ThisExpression", "start": 28766, "end": 28770, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 20 } } }, "property": { "type": "Identifier", "start": 28771, "end": 28776, "loc": { "start": { "line": 808, "column": 21 }, "end": { "line": 808, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 28777, "end": 28798, "loc": { "start": { "line": 808, "column": 27 }, "end": { "line": 808, "column": 48 } }, "left": { "type": "MemberExpression", "start": 28777, "end": 28794, "loc": { "start": { "line": 808, "column": 27 }, "end": { "line": 808, "column": 44 } }, "object": { "type": "MemberExpression", "start": 28777, "end": 28787, "loc": { "start": { "line": 808, "column": 27 }, "end": { "line": 808, "column": 37 } }, "object": { "type": "ThisExpression", "start": 28777, "end": 28781, "loc": { "start": { "line": 808, "column": 27 }, "end": { "line": 808, "column": 31 } } }, "property": { "type": "Identifier", "start": 28782, "end": 28787, "loc": { "start": { "line": 808, "column": 32 }, "end": { "line": 808, "column": 37 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 28788, "end": 28794, "loc": { "start": { "line": 808, "column": 38 }, "end": { "line": 808, "column": 44 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 28797, "end": 28798, "loc": { "start": { "line": 808, "column": 47 }, "end": { "line": 808, "column": 48 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "property": { "type": "Identifier", "start": 28800, "end": 28813, "loc": { "start": { "line": 808, "column": 50 }, "end": { "line": 808, "column": 63 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "right": { "type": "Identifier", "start": 28817, "end": 28829, "loc": { "start": { "line": 808, "column": 67 }, "end": { "line": 808, "column": 79 }, "identifierName": "lastDistance" }, "name": "lastDistance" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 28851, "end": 29094, "loc": { "start": { "line": 809, "column": 19 }, "end": { "line": 814, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 28870, "end": 28953, "loc": { "start": { "line": 810, "column": 16 }, "end": { "line": 810, "column": 99 } }, "expression": { "type": "LogicalExpression", "start": 28870, "end": 28952, "loc": { "start": { "line": 810, "column": 16 }, "end": { "line": 810, "column": 98 } }, "left": { "type": "Identifier", "start": 28870, "end": 28875, "loc": { "start": { "line": 810, "column": 16 }, "end": { "line": 810, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 28879, "end": 28952, "loc": { "start": { "line": 810, "column": 25 }, "end": { "line": 810, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 28879, "end": 28889, "loc": { "start": { "line": 810, "column": 25 }, "end": { "line": 810, "column": 35 } }, "object": { "type": "Identifier", "start": 28879, "end": 28885, "loc": { "start": { "line": 810, "column": 25 }, "end": { "line": 810, "column": 31 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 28886, "end": 28889, "loc": { "start": { "line": 810, "column": 32 }, "end": { "line": 810, "column": 35 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 28890, "end": 28951, "loc": { "start": { "line": 810, "column": 36 }, "end": { "line": 810, "column": 97 } }, "extra": { "rawValue": " Removed all items so we'll update spacing to total length", "raw": "\" Removed all items so we'll update spacing to total length\"" }, "value": " Removed all items so we'll update spacing to total length" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " We removed all items so update our spacing", "start": 28973, "end": 29018, "loc": { "start": { "line": 812, "column": 16 }, "end": { "line": 812, "column": 61 } } } ] }, { "type": "ExpressionStatement", "start": 29036, "end": 29079, "loc": { "start": { "line": 813, "column": 16 }, "end": { "line": 813, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 29036, "end": 29078, "loc": { "start": { "line": 813, "column": 16 }, "end": { "line": 813, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 29036, "end": 29059, "loc": { "start": { "line": 813, "column": 16 }, "end": { "line": 813, "column": 39 } }, "object": { "type": "ThisExpression", "start": 29036, "end": 29040, "loc": { "start": { "line": 813, "column": 16 }, "end": { "line": 813, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 29041, "end": 29059, "loc": { "start": { "line": 813, "column": 21 }, "end": { "line": 813, "column": 39 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 29062, "end": 29078, "loc": { "start": { "line": 813, "column": 42 }, "end": { "line": 813, "column": 58 } }, "object": { "type": "ThisExpression", "start": 29062, "end": 29066, "loc": { "start": { "line": 813, "column": 42 }, "end": { "line": 813, "column": 46 } } }, "property": { "type": "Identifier", "start": 29067, "end": 29078, "loc": { "start": { "line": 813, "column": 47 }, "end": { "line": 813, "column": 58 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " We removed all items so update our spacing", "start": 28973, "end": 29018, "loc": { "start": { "line": 812, "column": 16 }, "end": { "line": 812, "column": 61 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If we still have an item, make sure the last item matches", "start": 27702, "end": 27762, "loc": { "start": { "line": 784, "column": 12 }, "end": { "line": 784, "column": 72 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Clean up items", "start": 26562, "end": 26579, "loc": { "start": { "line": 757, "column": 8 }, "end": { "line": 757, "column": 25 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 29117, "end": 29133, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 29143, "end": 29183, "loc": { "start": { "line": 818, "column": 8 }, "end": { "line": 818, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 29143, "end": 29182, "loc": { "start": { "line": 818, "column": 8 }, "end": { "line": 818, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 29143, "end": 29159, "loc": { "start": { "line": 818, "column": 8 }, "end": { "line": 818, "column": 24 } }, "object": { "type": "ThisExpression", "start": 29143, "end": 29147, "loc": { "start": { "line": 818, "column": 8 }, "end": { "line": 818, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 29148, "end": 29159, "loc": { "start": { "line": 818, "column": 13 }, "end": { "line": 818, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 29162, "end": 29182, "loc": { "start": { "line": 818, "column": 27 }, "end": { "line": 818, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 29162, "end": 29180, "loc": { "start": { "line": 818, "column": 27 }, "end": { "line": 818, "column": 45 } }, "object": { "type": "ThisExpression", "start": 29162, "end": 29166, "loc": { "start": { "line": 818, "column": 27 }, "end": { "line": 818, "column": 31 } } }, "property": { "type": "Identifier", "start": 29167, "end": 29180, "loc": { "start": { "line": 818, "column": 32 }, "end": { "line": 818, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 29117, "end": 29133, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 24 } } } ] }, { "type": "IfStatement", "start": 29195, "end": 29315, "loc": { "start": { "line": 820, "column": 8 }, "end": { "line": 822, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 29199, "end": 29244, "loc": { "start": { "line": 820, "column": 12 }, "end": { "line": 820, "column": 57 } }, "left": { "type": "Identifier", "start": 29199, "end": 29207, "loc": { "start": { "line": 820, "column": 12 }, "end": { "line": 820, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 29211, "end": 29244, "loc": { "start": { "line": 820, "column": 24 }, "end": { "line": 820, "column": 57 } }, "object": { "type": "MemberExpression", "start": 29211, "end": 29229, "loc": { "start": { "line": 820, "column": 24 }, "end": { "line": 820, "column": 42 } }, "object": { "type": "Identifier", "start": 29211, "end": 29223, "loc": { "start": { "line": 820, "column": 24 }, "end": { "line": 820, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 29224, "end": 29229, "loc": { "start": { "line": 820, "column": 37 }, "end": { "line": 820, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 29230, "end": 29244, "loc": { "start": { "line": 820, "column": 43 }, "end": { "line": 820, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 29246, "end": 29315, "loc": { "start": { "line": 820, "column": 59 }, "end": { "line": 822, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 29261, "end": 29304, "loc": { "start": { "line": 821, "column": 12 }, "end": { "line": 821, "column": 55 } }, "expression": { "type": "CallExpression", "start": 29261, "end": 29303, "loc": { "start": { "line": 821, "column": 12 }, "end": { "line": 821, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 29261, "end": 29286, "loc": { "start": { "line": 821, "column": 12 }, "end": { "line": 821, "column": 37 } }, "object": { "type": "ThisExpression", "start": 29261, "end": 29265, "loc": { "start": { "line": 821, "column": 12 }, "end": { "line": 821, "column": 16 } } }, "property": { "type": "Identifier", "start": 29266, "end": 29286, "loc": { "start": { "line": 821, "column": 17 }, "end": { "line": 821, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 29287, "end": 29302, "loc": { "start": { "line": 821, "column": 38 }, "end": { "line": 821, "column": 53 } }, "extra": { "rawValue": "delete-on-end", "raw": "\"delete-on-end\"" }, "value": "delete-on-end" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the last entity\r\n * @param {Entity} entity\r\n ", "start": 25376, "end": 25451, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 720, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the entity of the start of the path\r\n * @see deleteEntityOnEnd\r\n * @param {Entity} entity\r\n ", "start": 29330, "end": 29456, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 829, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 29462, "end": 34237, "loc": { "start": { "line": 830, "column": 4 }, "end": { "line": 952, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 29462, "end": 29481, "loc": { "start": { "line": 830, "column": 4 }, "end": { "line": 830, "column": 23 }, "identifierName": "deleteEntityOnStart" }, "name": "deleteEntityOnStart", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 29482, "end": 29488, "loc": { "start": { "line": 830, "column": 24 }, "end": { "line": 830, "column": 30 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 29490, "end": 34237, "loc": { "start": { "line": 830, "column": 32 }, "end": { "line": 952, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 29501, "end": 29659, "loc": { "start": { "line": 831, "column": 8 }, "end": { "line": 834, "column": 10 } }, "expression": { "type": "CallExpression", "start": 29501, "end": 29658, "loc": { "start": { "line": 831, "column": 8 }, "end": { "line": 834, "column": 9 } }, "callee": { "type": "Identifier", "start": 29501, "end": 29507, "loc": { "start": { "line": 831, "column": 8 }, "end": { "line": 831, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 29522, "end": 29551, "loc": { "start": { "line": 832, "column": 12 }, "end": { "line": 832, "column": 41 } }, "left": { "type": "Identifier", "start": 29522, "end": 29528, "loc": { "start": { "line": 832, "column": 12 }, "end": { "line": 832, "column": 18 }, "identifierName": "entity" }, "name": "entity" }, "operator": "===", "right": { "type": "MemberExpression", "start": 29533, "end": 29551, "loc": { "start": { "line": 832, "column": 23 }, "end": { "line": 832, "column": 41 } }, "object": { "type": "MemberExpression", "start": 29533, "end": 29548, "loc": { "start": { "line": 832, "column": 23 }, "end": { "line": 832, "column": 38 } }, "object": { "type": "ThisExpression", "start": 29533, "end": 29537, "loc": { "start": { "line": 832, "column": 23 }, "end": { "line": 832, "column": 27 } } }, "property": { "type": "Identifier", "start": 29538, "end": 29548, "loc": { "start": { "line": 832, "column": 28 }, "end": { "line": 832, "column": 38 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 29549, "end": 29550, "loc": { "start": { "line": 832, "column": 39 }, "end": { "line": 832, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } }, { "type": "BinaryExpression", "start": 29566, "end": 29647, "loc": { "start": { "line": 833, "column": 12 }, "end": { "line": 833, "column": 93 } }, "left": { "type": "BinaryExpression", "start": 29566, "end": 29641, "loc": { "start": { "line": 833, "column": 12 }, "end": { "line": 833, "column": 87 } }, "left": { "type": "StringLiteral", "start": 29566, "end": 29607, "loc": { "start": { "line": 833, "column": 12 }, "end": { "line": 833, "column": 53 } }, "extra": { "rawValue": "Not actually the start entity (instead ", "raw": "\"Not actually the start entity (instead \"" }, "value": "Not actually the start entity (instead " }, "operator": "+", "right": { "type": "CallExpression", "start": 29610, "end": 29641, "loc": { "start": { "line": 833, "column": 56 }, "end": { "line": 833, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 29610, "end": 29633, "loc": { "start": { "line": 833, "column": 56 }, "end": { "line": 833, "column": 79 } }, "object": { "type": "MemberExpression", "start": 29610, "end": 29625, "loc": { "start": { "line": 833, "column": 56 }, "end": { "line": 833, "column": 71 } }, "object": { "type": "ThisExpression", "start": 29610, "end": 29614, "loc": { "start": { "line": 833, "column": 56 }, "end": { "line": 833, "column": 60 } } }, "property": { "type": "Identifier", "start": 29615, "end": 29625, "loc": { "start": { "line": 833, "column": 61 }, "end": { "line": 833, "column": 71 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 29626, "end": 29633, "loc": { "start": { "line": 833, "column": 72 }, "end": { "line": 833, "column": 79 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 29634, "end": 29640, "loc": { "start": { "line": 833, "column": 80 }, "end": { "line": 833, "column": 86 }, "identifierName": "entity" }, "name": "entity" } ] } }, "operator": "+", "right": { "type": "StringLiteral", "start": 29644, "end": 29647, "loc": { "start": { "line": 833, "column": 90 }, "end": { "line": 833, "column": 93 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 29671, "end": 29701, "loc": { "start": { "line": 836, "column": 8 }, "end": { "line": 836, "column": 38 } } } ] }, { "type": "VariableDeclaration", "start": 29711, "end": 29751, "loc": { "start": { "line": 837, "column": 8 }, "end": { "line": 837, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 29717, "end": 29750, "loc": { "start": { "line": 837, "column": 14 }, "end": { "line": 837, "column": 47 } }, "id": { "type": "Identifier", "start": 29717, "end": 29725, "loc": { "start": { "line": 837, "column": 14 }, "end": { "line": 837, "column": 22 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 29728, "end": 29750, "loc": { "start": { "line": 837, "column": 25 }, "end": { "line": 837, "column": 47 } }, "object": { "type": "MemberExpression", "start": 29728, "end": 29745, "loc": { "start": { "line": 837, "column": 25 }, "end": { "line": 837, "column": 42 } }, "object": { "type": "Identifier", "start": 29728, "end": 29734, "loc": { "start": { "line": 837, "column": 25 }, "end": { "line": 837, "column": 31 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 29735, "end": 29745, "loc": { "start": { "line": 837, "column": 32 }, "end": { "line": 837, "column": 42 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 29746, "end": 29750, "loc": { "start": { "line": 837, "column": 43 }, "end": { "line": 837, "column": 47 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 29671, "end": 29701, "loc": { "start": { "line": 836, "column": 8 }, "end": { "line": 836, "column": 38 } } } ] }, { "type": "VariableDeclaration", "start": 29761, "end": 29815, "loc": { "start": { "line": 838, "column": 8 }, "end": { "line": 838, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 29767, "end": 29814, "loc": { "start": { "line": 838, "column": 14 }, "end": { "line": 838, "column": 61 } }, "id": { "type": "Identifier", "start": 29767, "end": 29777, "loc": { "start": { "line": 838, "column": 14 }, "end": { "line": 838, "column": 24 }, "identifierName": "beltLength" }, "name": "beltLength" }, "init": { "type": "CallExpression", "start": 29780, "end": 29814, "loc": { "start": { "line": 838, "column": 27 }, "end": { "line": 838, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 29780, "end": 29812, "loc": { "start": { "line": 838, "column": 27 }, "end": { "line": 838, "column": 59 } }, "object": { "type": "Identifier", "start": 29780, "end": 29788, "loc": { "start": { "line": 838, "column": 27 }, "end": { "line": 838, "column": 35 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 29789, "end": 29812, "loc": { "start": { "line": 838, "column": 36 }, "end": { "line": 838, "column": 59 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 29827, "end": 30118, "loc": { "start": { "line": 840, "column": 8 }, "end": { "line": 849, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 29827, "end": 30117, "loc": { "start": { "line": 840, "column": 8 }, "end": { "line": 849, "column": 13 } }, "left": { "type": "Identifier", "start": 29827, "end": 29832, "loc": { "start": { "line": 840, "column": 8 }, "end": { "line": 840, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 29849, "end": 30117, "loc": { "start": { "line": 841, "column": 12 }, "end": { "line": 849, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 29849, "end": 29859, "loc": { "start": { "line": 841, "column": 12 }, "end": { "line": 841, "column": 22 } }, "object": { "type": "Identifier", "start": 29849, "end": 29855, "loc": { "start": { "line": 841, "column": 12 }, "end": { "line": 841, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 29856, "end": 29859, "loc": { "start": { "line": 841, "column": 19 }, "end": { "line": 841, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 29878, "end": 29921, "loc": { "start": { "line": 842, "column": 16 }, "end": { "line": 842, "column": 59 } }, "extra": { "rawValue": "Deleting first entity on path with length", "raw": "\"Deleting first entity on path with length\"" }, "value": "Deleting first entity on path with length" }, { "type": "MemberExpression", "start": 29940, "end": 29962, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 38 } }, "object": { "type": "MemberExpression", "start": 29940, "end": 29955, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 31 } }, "object": { "type": "ThisExpression", "start": 29940, "end": 29944, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 20 } } }, "property": { "type": "Identifier", "start": 29945, "end": 29955, "loc": { "start": { "line": 843, "column": 21 }, "end": { "line": 843, "column": 31 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 29956, "end": 29962, "loc": { "start": { "line": 843, "column": 32 }, "end": { "line": 843, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 29981, "end": 29992, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 27 } }, "extra": { "rawValue": "(reducing", "raw": "\"(reducing\"" }, "value": "(reducing" }, { "type": "MemberExpression", "start": 30011, "end": 30027, "loc": { "start": { "line": 845, "column": 16 }, "end": { "line": 845, "column": 32 } }, "object": { "type": "ThisExpression", "start": 30011, "end": 30015, "loc": { "start": { "line": 845, "column": 16 }, "end": { "line": 845, "column": 20 } } }, "property": { "type": "Identifier", "start": 30016, "end": 30027, "loc": { "start": { "line": 845, "column": 21 }, "end": { "line": 845, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 30046, "end": 30051, "loc": { "start": { "line": 846, "column": 16 }, "end": { "line": 846, "column": 21 } }, "extra": { "rawValue": " by", "raw": "\" by\"" }, "value": " by" }, { "type": "Identifier", "start": 30070, "end": 30080, "loc": { "start": { "line": 847, "column": 16 }, "end": { "line": 847, "column": 26 }, "identifierName": "beltLength" }, "name": "beltLength" }, { "type": "StringLiteral", "start": 30099, "end": 30102, "loc": { "start": { "line": 848, "column": 16 }, "end": { "line": 848, "column": 19 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } }, { "type": "ExpressionStatement", "start": 30128, "end": 30159, "loc": { "start": { "line": 850, "column": 8 }, "end": { "line": 850, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 30128, "end": 30158, "loc": { "start": { "line": 850, "column": 8 }, "end": { "line": 850, "column": 38 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 30128, "end": 30144, "loc": { "start": { "line": 850, "column": 8 }, "end": { "line": 850, "column": 24 } }, "object": { "type": "ThisExpression", "start": 30128, "end": 30132, "loc": { "start": { "line": 850, "column": 8 }, "end": { "line": 850, "column": 12 } } }, "property": { "type": "Identifier", "start": 30133, "end": 30144, "loc": { "start": { "line": 850, "column": 13 }, "end": { "line": 850, "column": 24 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "right": { "type": "Identifier", "start": 30148, "end": 30158, "loc": { "start": { "line": 850, "column": 28 }, "end": { "line": 850, "column": 38 }, "identifierName": "beltLength" }, "name": "beltLength" } } }, { "type": "ExpressionStatement", "start": 30169, "end": 30193, "loc": { "start": { "line": 851, "column": 8 }, "end": { "line": 851, "column": 32 } }, "expression": { "type": "CallExpression", "start": 30169, "end": 30192, "loc": { "start": { "line": 851, "column": 8 }, "end": { "line": 851, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 30169, "end": 30190, "loc": { "start": { "line": 851, "column": 8 }, "end": { "line": 851, "column": 29 } }, "object": { "type": "MemberExpression", "start": 30169, "end": 30184, "loc": { "start": { "line": 851, "column": 8 }, "end": { "line": 851, "column": 23 } }, "object": { "type": "ThisExpression", "start": 30169, "end": 30173, "loc": { "start": { "line": 851, "column": 8 }, "end": { "line": 851, "column": 12 } } }, "property": { "type": "Identifier", "start": 30174, "end": 30184, "loc": { "start": { "line": 851, "column": 13 }, "end": { "line": 851, "column": 23 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 30185, "end": 30190, "loc": { "start": { "line": 851, "column": 24 }, "end": { "line": 851, "column": 29 }, "identifierName": "shift" }, "name": "shift" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 30203, "end": 30224, "loc": { "start": { "line": 852, "column": 8 }, "end": { "line": 852, "column": 29 } }, "expression": { "type": "CallExpression", "start": 30203, "end": 30223, "loc": { "start": { "line": 852, "column": 8 }, "end": { "line": 852, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 30203, "end": 30221, "loc": { "start": { "line": 852, "column": 8 }, "end": { "line": 852, "column": 26 } }, "object": { "type": "ThisExpression", "start": 30203, "end": 30207, "loc": { "start": { "line": 852, "column": 8 }, "end": { "line": 852, "column": 12 } } }, "property": { "type": "Identifier", "start": 30208, "end": 30221, "loc": { "start": { "line": 852, "column": 13 }, "end": { "line": 852, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 30236, "end": 30459, "loc": { "start": { "line": 854, "column": 8 }, "end": { "line": 861, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 30236, "end": 30458, "loc": { "start": { "line": 854, "column": 8 }, "end": { "line": 861, "column": 13 } }, "left": { "type": "Identifier", "start": 30236, "end": 30241, "loc": { "start": { "line": 854, "column": 8 }, "end": { "line": 854, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 30258, "end": 30458, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 861, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 30258, "end": 30268, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 22 } }, "object": { "type": "Identifier", "start": 30258, "end": 30264, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 30265, "end": 30268, "loc": { "start": { "line": 855, "column": 19 }, "end": { "line": 855, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 30287, "end": 30313, "loc": { "start": { "line": 856, "column": 16 }, "end": { "line": 856, "column": 42 } }, "extra": { "rawValue": " New path has length of", "raw": "\" New path has length of\"" }, "value": " New path has length of" }, { "type": "MemberExpression", "start": 30332, "end": 30348, "loc": { "start": { "line": 857, "column": 16 }, "end": { "line": 857, "column": 32 } }, "object": { "type": "ThisExpression", "start": 30332, "end": 30336, "loc": { "start": { "line": 857, "column": 16 }, "end": { "line": 857, "column": 20 } } }, "property": { "type": "Identifier", "start": 30337, "end": 30348, "loc": { "start": { "line": 857, "column": 21 }, "end": { "line": 857, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 30367, "end": 30373, "loc": { "start": { "line": 858, "column": 16 }, "end": { "line": 858, "column": 22 } }, "extra": { "rawValue": "with", "raw": "\"with\"" }, "value": "with" }, { "type": "MemberExpression", "start": 30392, "end": 30414, "loc": { "start": { "line": 859, "column": 16 }, "end": { "line": 859, "column": 38 } }, "object": { "type": "MemberExpression", "start": 30392, "end": 30407, "loc": { "start": { "line": 859, "column": 16 }, "end": { "line": 859, "column": 31 } }, "object": { "type": "ThisExpression", "start": 30392, "end": 30396, "loc": { "start": { "line": 859, "column": 16 }, "end": { "line": 859, "column": 20 } } }, "property": { "type": "Identifier", "start": 30397, "end": 30407, "loc": { "start": { "line": 859, "column": 21 }, "end": { "line": 859, "column": 31 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 30408, "end": 30414, "loc": { "start": { "line": 859, "column": 32 }, "end": { "line": 859, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 30433, "end": 30443, "loc": { "start": { "line": 860, "column": 16 }, "end": { "line": 860, "column": 26 } }, "extra": { "rawValue": "entities", "raw": "\"entities\"" }, "value": "entities" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " This is just for sanity", "start": 30471, "end": 30497, "loc": { "start": { "line": 863, "column": 8 }, "end": { "line": 863, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 30507, "end": 30536, "loc": { "start": { "line": 864, "column": 8 }, "end": { "line": 864, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 30507, "end": 30535, "loc": { "start": { "line": 864, "column": 8 }, "end": { "line": 864, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 30507, "end": 30528, "loc": { "start": { "line": 864, "column": 8 }, "end": { "line": 864, "column": 29 } }, "object": { "type": "Identifier", "start": 30507, "end": 30515, "loc": { "start": { "line": 864, "column": 8 }, "end": { "line": 864, "column": 16 }, "identifierName": "beltComp" }, "name": "beltComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 30516, "end": 30528, "loc": { "start": { "line": 864, "column": 17 }, "end": { "line": 864, "column": 29 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 30531, "end": 30535, "loc": { "start": { "line": 864, "column": 32 }, "end": { "line": 864, "column": 36 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " This is just for sanity", "start": 30471, "end": 30497, "loc": { "start": { "line": 863, "column": 8 }, "end": { "line": 863, "column": 34 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Clean up items", "start": 30548, "end": 30565, "loc": { "start": { "line": 866, "column": 8 }, "end": { "line": 866, "column": 25 } } } ] }, { "type": "IfStatement", "start": 30575, "end": 34018, "loc": { "start": { "line": 867, "column": 8 }, "end": { "line": 944, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 30579, "end": 30602, "loc": { "start": { "line": 867, "column": 12 }, "end": { "line": 867, "column": 35 } }, "left": { "type": "MemberExpression", "start": 30579, "end": 30596, "loc": { "start": { "line": 867, "column": 12 }, "end": { "line": 867, "column": 29 } }, "object": { "type": "MemberExpression", "start": 30579, "end": 30589, "loc": { "start": { "line": 867, "column": 12 }, "end": { "line": 867, "column": 22 } }, "object": { "type": "ThisExpression", "start": 30579, "end": 30583, "loc": { "start": { "line": 867, "column": 12 }, "end": { "line": 867, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 30584, "end": 30589, "loc": { "start": { "line": 867, "column": 17 }, "end": { "line": 867, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 30590, "end": 30596, "loc": { "start": { "line": 867, "column": 23 }, "end": { "line": 867, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 30601, "end": 30602, "loc": { "start": { "line": 867, "column": 34 }, "end": { "line": 867, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 30604, "end": 30751, "loc": { "start": { "line": 867, "column": 37 }, "end": { "line": 870, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 30697, "end": 30740, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 30697, "end": 30739, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 30697, "end": 30720, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "column": 35 } }, "object": { "type": "ThisExpression", "start": 30697, "end": 30701, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 30702, "end": 30720, "loc": { "start": { "line": 869, "column": 17 }, "end": { "line": 869, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 30723, "end": 30739, "loc": { "start": { "line": 869, "column": 38 }, "end": { "line": 869, "column": 54 } }, "object": { "type": "ThisExpression", "start": 30723, "end": 30727, "loc": { "start": { "line": 869, "column": 38 }, "end": { "line": 869, "column": 42 } } }, "property": { "type": "Identifier", "start": 30728, "end": 30739, "loc": { "start": { "line": 869, "column": 43 }, "end": { "line": 869, "column": 54 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Simple case with no items, just update the first item spacing", "start": 30619, "end": 30683, "loc": { "start": { "line": 868, "column": 12 }, "end": { "line": 868, "column": 76 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 30757, "end": 34018, "loc": { "start": { "line": 870, "column": 15 }, "end": { "line": 944, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 30845, "end": 34007, "loc": { "start": { "line": 872, "column": 12 }, "end": { "line": 943, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 30849, "end": 30886, "loc": { "start": { "line": 872, "column": 16 }, "end": { "line": 872, "column": 53 } }, "left": { "type": "MemberExpression", "start": 30849, "end": 30872, "loc": { "start": { "line": 872, "column": 16 }, "end": { "line": 872, "column": 39 } }, "object": { "type": "ThisExpression", "start": 30849, "end": 30853, "loc": { "start": { "line": 872, "column": 16 }, "end": { "line": 872, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 30854, "end": 30872, "loc": { "start": { "line": 872, "column": 21 }, "end": { "line": 872, "column": 39 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "operator": ">=", "right": { "type": "Identifier", "start": 30876, "end": 30886, "loc": { "start": { "line": 872, "column": 43 }, "end": { "line": 872, "column": 53 }, "identifierName": "beltLength" }, "name": "beltLength" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 30888, "end": 31271, "loc": { "start": { "line": 872, "column": 55 }, "end": { "line": 881, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 30907, "end": 31200, "loc": { "start": { "line": 873, "column": 16 }, "end": { "line": 879, "column": 22 } }, "expression": { "type": "LogicalExpression", "start": 30907, "end": 31199, "loc": { "start": { "line": 873, "column": 16 }, "end": { "line": 879, "column": 21 } }, "left": { "type": "Identifier", "start": 30907, "end": 30912, "loc": { "start": { "line": 873, "column": 16 }, "end": { "line": 873, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 30937, "end": 31199, "loc": { "start": { "line": 874, "column": 20 }, "end": { "line": 879, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 30937, "end": 30947, "loc": { "start": { "line": 874, "column": 20 }, "end": { "line": 874, "column": 30 } }, "object": { "type": "Identifier", "start": 30937, "end": 30943, "loc": { "start": { "line": 874, "column": 20 }, "end": { "line": 874, "column": 26 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 30944, "end": 30947, "loc": { "start": { "line": 874, "column": 27 }, "end": { "line": 874, "column": 30 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 30974, "end": 31049, "loc": { "start": { "line": 875, "column": 24 }, "end": { "line": 875, "column": 99 } }, "extra": { "rawValue": " No item on the first place, so we can just adjust the spacing (spacing=", "raw": "\" No item on the first place, so we can just adjust the spacing (spacing=\"" }, "value": " No item on the first place, so we can just adjust the spacing (spacing=" }, { "type": "MemberExpression", "start": 31076, "end": 31099, "loc": { "start": { "line": 876, "column": 24 }, "end": { "line": 876, "column": 47 } }, "object": { "type": "ThisExpression", "start": 31076, "end": 31080, "loc": { "start": { "line": 876, "column": 24 }, "end": { "line": 876, "column": 28 } } }, "property": { "type": "Identifier", "start": 31081, "end": 31099, "loc": { "start": { "line": 876, "column": 29 }, "end": { "line": 876, "column": 47 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "StringLiteral", "start": 31126, "end": 31139, "loc": { "start": { "line": 877, "column": 24 }, "end": { "line": 877, "column": 37 } }, "extra": { "rawValue": ") removed =", "raw": "\") removed =\"" }, "value": ") removed =" }, { "type": "Identifier", "start": 31166, "end": 31176, "loc": { "start": { "line": 878, "column": 24 }, "end": { "line": 878, "column": 34 }, "identifierName": "beltLength" }, "name": "beltLength" } ] } } }, { "type": "ExpressionStatement", "start": 31218, "end": 31256, "loc": { "start": { "line": 880, "column": 16 }, "end": { "line": 880, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 31218, "end": 31255, "loc": { "start": { "line": 880, "column": 16 }, "end": { "line": 880, "column": 53 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 31218, "end": 31241, "loc": { "start": { "line": 880, "column": 16 }, "end": { "line": 880, "column": 39 } }, "object": { "type": "ThisExpression", "start": 31218, "end": 31222, "loc": { "start": { "line": 880, "column": 16 }, "end": { "line": 880, "column": 20 } } }, "property": { "type": "Identifier", "start": 31223, "end": 31241, "loc": { "start": { "line": 880, "column": 21 }, "end": { "line": 880, "column": 39 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "Identifier", "start": 31245, "end": 31255, "loc": { "start": { "line": 880, "column": 43 }, "end": { "line": 880, "column": 53 }, "identifierName": "beltLength" }, "name": "beltLength" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 31277, "end": 34007, "loc": { "start": { "line": 881, "column": 19 }, "end": { "line": 943, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 31440, "end": 31801, "loc": { "start": { "line": 885, "column": 16 }, "end": { "line": 892, "column": 22 } }, "expression": { "type": "LogicalExpression", "start": 31440, "end": 31800, "loc": { "start": { "line": 885, "column": 16 }, "end": { "line": 892, "column": 21 } }, "left": { "type": "Identifier", "start": 31440, "end": 31445, "loc": { "start": { "line": 885, "column": 16 }, "end": { "line": 885, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 31470, "end": 31800, "loc": { "start": { "line": 886, "column": 20 }, "end": { "line": 892, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 31470, "end": 31480, "loc": { "start": { "line": 886, "column": 20 }, "end": { "line": 886, "column": 30 } }, "object": { "type": "Identifier", "start": 31470, "end": 31476, "loc": { "start": { "line": 886, "column": 20 }, "end": { "line": 886, "column": 26 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 31477, "end": 31480, "loc": { "start": { "line": 886, "column": 27 }, "end": { "line": 886, "column": 30 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 31507, "end": 31598, "loc": { "start": { "line": 887, "column": 24 }, "end": { "line": 887, "column": 115 } }, "extra": { "rawValue": " We have at least one item in the beginning, drop those and adjust spacing (first item @", "raw": "\" We have at least one item in the beginning, drop those and adjust spacing (first item @\"" }, "value": " We have at least one item in the beginning, drop those and adjust spacing (first item @" }, { "type": "MemberExpression", "start": 31625, "end": 31648, "loc": { "start": { "line": 888, "column": 24 }, "end": { "line": 888, "column": 47 } }, "object": { "type": "ThisExpression", "start": 31625, "end": 31629, "loc": { "start": { "line": 888, "column": 24 }, "end": { "line": 888, "column": 28 } } }, "property": { "type": "Identifier", "start": 31630, "end": 31648, "loc": { "start": { "line": 888, "column": 29 }, "end": { "line": 888, "column": 47 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "StringLiteral", "start": 31675, "end": 31695, "loc": { "start": { "line": 889, "column": 24 }, "end": { "line": 889, "column": 44 } }, "extra": { "rawValue": ") since we removed", "raw": "\") since we removed\"" }, "value": ") since we removed" }, { "type": "Identifier", "start": 31722, "end": 31732, "loc": { "start": { "line": 890, "column": 24 }, "end": { "line": 890, "column": 34 }, "identifierName": "beltLength" }, "name": "beltLength" }, { "type": "StringLiteral", "start": 31759, "end": 31777, "loc": { "start": { "line": 891, "column": 24 }, "end": { "line": 891, "column": 42 } }, "extra": { "rawValue": "length from path", "raw": "\"length from path\"" }, "value": "length from path" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Welp, okay we need to drop all items which are < beltLength and adjust", "start": 31296, "end": 31369, "loc": { "start": { "line": 882, "column": 16 }, "end": { "line": 882, "column": 89 } } }, { "type": "CommentLine", "value": " the other item offsets as well", "start": 31387, "end": 31420, "loc": { "start": { "line": 883, "column": 16 }, "end": { "line": 883, "column": 49 } } } ] }, { "type": "ExpressionStatement", "start": 31819, "end": 31986, "loc": { "start": { "line": 893, "column": 16 }, "end": { "line": 897, "column": 22 } }, "expression": { "type": "LogicalExpression", "start": 31819, "end": 31985, "loc": { "start": { "line": 893, "column": 16 }, "end": { "line": 897, "column": 21 } }, "left": { "type": "Identifier", "start": 31819, "end": 31824, "loc": { "start": { "line": 893, "column": 16 }, "end": { "line": 893, "column": 21 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 31849, "end": 31985, "loc": { "start": { "line": 894, "column": 20 }, "end": { "line": 897, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 31849, "end": 31859, "loc": { "start": { "line": 894, "column": 20 }, "end": { "line": 894, "column": 30 } }, "object": { "type": "Identifier", "start": 31849, "end": 31855, "loc": { "start": { "line": 894, "column": 20 }, "end": { "line": 894, "column": 26 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 31856, "end": 31859, "loc": { "start": { "line": 894, "column": 27 }, "end": { "line": 894, "column": 30 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 31886, "end": 31898, "loc": { "start": { "line": 895, "column": 24 }, "end": { "line": 895, "column": 36 } }, "extra": { "rawValue": " Items:", "raw": "\" Items:\"" }, "value": " Items:" }, { "type": "CallExpression", "start": 31925, "end": 31962, "loc": { "start": { "line": 896, "column": 24 }, "end": { "line": 896, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 31925, "end": 31939, "loc": { "start": { "line": 896, "column": 24 }, "end": { "line": 896, "column": 38 } }, "object": { "type": "MemberExpression", "start": 31925, "end": 31935, "loc": { "start": { "line": 896, "column": 24 }, "end": { "line": 896, "column": 34 } }, "object": { "type": "ThisExpression", "start": 31925, "end": 31929, "loc": { "start": { "line": 896, "column": 24 }, "end": { "line": 896, "column": 28 } } }, "property": { "type": "Identifier", "start": 31930, "end": 31935, "loc": { "start": { "line": 896, "column": 29 }, "end": { "line": 896, "column": 34 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 31936, "end": 31939, "loc": { "start": { "line": 896, "column": 35 }, "end": { "line": 896, "column": 38 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 31940, "end": 31961, "loc": { "start": { "line": 896, "column": 39 }, "end": { "line": 896, "column": 60 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 31940, "end": 31941, "loc": { "start": { "line": 896, "column": 39 }, "end": { "line": 896, "column": 40 }, "identifierName": "i" }, "name": "i" } ], "body": { "type": "MemberExpression", "start": 31945, "end": 31961, "loc": { "start": { "line": 896, "column": 44 }, "end": { "line": 896, "column": 60 } }, "object": { "type": "Identifier", "start": 31945, "end": 31946, "loc": { "start": { "line": 896, "column": 44 }, "end": { "line": 896, "column": 45 }, "identifierName": "i" }, "name": "i" }, "property": { "type": "Identifier", "start": 31947, "end": 31960, "loc": { "start": { "line": 896, "column": 46 }, "end": { "line": 896, "column": 59 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } ] } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Find offset to first item", "start": 32006, "end": 32034, "loc": { "start": { "line": 899, "column": 16 }, "end": { "line": 899, "column": 44 } } } ] }, { "type": "VariableDeclaration", "start": 32052, "end": 32093, "loc": { "start": { "line": 900, "column": 16 }, "end": { "line": 900, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32056, "end": 32092, "loc": { "start": { "line": 900, "column": 20 }, "end": { "line": 900, "column": 56 } }, "id": { "type": "Identifier", "start": 32056, "end": 32066, "loc": { "start": { "line": 900, "column": 20 }, "end": { "line": 900, "column": 30 }, "identifierName": "itemOffset" }, "name": "itemOffset", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 32069, "end": 32092, "loc": { "start": { "line": 900, "column": 33 }, "end": { "line": 900, "column": 56 } }, "object": { "type": "ThisExpression", "start": 32069, "end": 32073, "loc": { "start": { "line": 900, "column": 33 }, "end": { "line": 900, "column": 37 } } }, "property": { "type": "Identifier", "start": 32074, "end": 32092, "loc": { "start": { "line": 900, "column": 38 }, "end": { "line": 900, "column": 56 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Find offset to first item", "start": 32006, "end": 32034, "loc": { "start": { "line": 899, "column": 16 }, "end": { "line": 899, "column": 44 } } } ] }, { "type": "ForStatement", "start": 32111, "end": 33033, "loc": { "start": { "line": 901, "column": 16 }, "end": { "line": 921, "column": 17 } }, "init": { "type": "VariableDeclaration", "start": 32116, "end": 32125, "loc": { "start": { "line": 901, "column": 21 }, "end": { "line": 901, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32120, "end": 32125, "loc": { "start": { "line": 901, "column": 25 }, "end": { "line": 901, "column": 30 } }, "id": { "type": "Identifier", "start": 32120, "end": 32121, "loc": { "start": { "line": 901, "column": 25 }, "end": { "line": 901, "column": 26 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 32124, "end": 32125, "loc": { "start": { "line": 901, "column": 29 }, "end": { "line": 901, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 32127, "end": 32148, "loc": { "start": { "line": 901, "column": 32 }, "end": { "line": 901, "column": 53 } }, "left": { "type": "Identifier", "start": 32127, "end": 32128, "loc": { "start": { "line": 901, "column": 32 }, "end": { "line": 901, "column": 33 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 32131, "end": 32148, "loc": { "start": { "line": 901, "column": 36 }, "end": { "line": 901, "column": 53 } }, "object": { "type": "MemberExpression", "start": 32131, "end": 32141, "loc": { "start": { "line": 901, "column": 36 }, "end": { "line": 901, "column": 46 } }, "object": { "type": "ThisExpression", "start": 32131, "end": 32135, "loc": { "start": { "line": 901, "column": 36 }, "end": { "line": 901, "column": 40 } } }, "property": { "type": "Identifier", "start": 32136, "end": 32141, "loc": { "start": { "line": 901, "column": 41 }, "end": { "line": 901, "column": 46 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 32142, "end": 32148, "loc": { "start": { "line": 901, "column": 47 }, "end": { "line": 901, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 32150, "end": 32153, "loc": { "start": { "line": 901, "column": 55 }, "end": { "line": 901, "column": 58 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 32152, "end": 32153, "loc": { "start": { "line": 901, "column": 57 }, "end": { "line": 901, "column": 58 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 32155, "end": 33033, "loc": { "start": { "line": 901, "column": 60 }, "end": { "line": 921, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 32178, "end": 32205, "loc": { "start": { "line": 902, "column": 20 }, "end": { "line": 902, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32184, "end": 32204, "loc": { "start": { "line": 902, "column": 26 }, "end": { "line": 902, "column": 46 } }, "id": { "type": "Identifier", "start": 32184, "end": 32188, "loc": { "start": { "line": 902, "column": 26 }, "end": { "line": 902, "column": 30 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 32191, "end": 32204, "loc": { "start": { "line": 902, "column": 33 }, "end": { "line": 902, "column": 46 } }, "object": { "type": "MemberExpression", "start": 32191, "end": 32201, "loc": { "start": { "line": 902, "column": 33 }, "end": { "line": 902, "column": 43 } }, "object": { "type": "ThisExpression", "start": 32191, "end": 32195, "loc": { "start": { "line": 902, "column": 33 }, "end": { "line": 902, "column": 37 } } }, "property": { "type": "Identifier", "start": 32196, "end": 32201, "loc": { "start": { "line": 902, "column": 38 }, "end": { "line": 902, "column": 43 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 32202, "end": 32203, "loc": { "start": { "line": 902, "column": 44 }, "end": { "line": 902, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 32227, "end": 33014, "loc": { "start": { "line": 903, "column": 20 }, "end": { "line": 920, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 32231, "end": 32255, "loc": { "start": { "line": 903, "column": 24 }, "end": { "line": 903, "column": 48 } }, "left": { "type": "Identifier", "start": 32231, "end": 32241, "loc": { "start": { "line": 903, "column": 24 }, "end": { "line": 903, "column": 34 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, "operator": "<=", "right": { "type": "Identifier", "start": 32245, "end": 32255, "loc": { "start": { "line": 903, "column": 38 }, "end": { "line": 903, "column": 48 }, "identifierName": "beltLength" }, "name": "beltLength" } }, "consequent": { "type": "BlockStatement", "start": 32257, "end": 32874, "loc": { "start": { "line": 903, "column": 50 }, "end": { "line": 917, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 32284, "end": 32619, "loc": { "start": { "line": 904, "column": 24 }, "end": { "line": 911, "column": 30 } }, "expression": { "type": "LogicalExpression", "start": 32284, "end": 32618, "loc": { "start": { "line": 904, "column": 24 }, "end": { "line": 911, "column": 29 } }, "left": { "type": "Identifier", "start": 32284, "end": 32289, "loc": { "start": { "line": 904, "column": 24 }, "end": { "line": 904, "column": 29 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 32322, "end": 32618, "loc": { "start": { "line": 905, "column": 28 }, "end": { "line": 911, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 32322, "end": 32332, "loc": { "start": { "line": 905, "column": 28 }, "end": { "line": 905, "column": 38 } }, "object": { "type": "Identifier", "start": 32322, "end": 32328, "loc": { "start": { "line": 905, "column": 28 }, "end": { "line": 905, "column": 34 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 32329, "end": 32332, "loc": { "start": { "line": 905, "column": 35 }, "end": { "line": 905, "column": 38 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 32367, "end": 32398, "loc": { "start": { "line": 906, "column": 32 }, "end": { "line": 906, "column": 63 } }, "extra": { "rawValue": " -> Dropping item with index", "raw": "\" -> Dropping item with index\"" }, "value": " -> Dropping item with index" }, { "type": "Identifier", "start": 32433, "end": 32434, "loc": { "start": { "line": 907, "column": 32 }, "end": { "line": 907, "column": 33 }, "identifierName": "i" }, "name": "i" }, { "type": "StringLiteral", "start": 32469, "end": 32473, "loc": { "start": { "line": 908, "column": 32 }, "end": { "line": 908, "column": 36 } }, "extra": { "rawValue": "at", "raw": "\"at\"" }, "value": "at" }, { "type": "Identifier", "start": 32508, "end": 32518, "loc": { "start": { "line": 909, "column": 32 }, "end": { "line": 909, "column": 42 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, { "type": "StringLiteral", "start": 32553, "end": 32587, "loc": { "start": { "line": 910, "column": 32 }, "end": { "line": 910, "column": 66 } }, "extra": { "rawValue": "since it was on the removed belt", "raw": "\"since it was on the removed belt\"" }, "value": "since it was on the removed belt" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " This item must be dropped", "start": 32645, "end": 32673, "loc": { "start": { "line": 912, "column": 24 }, "end": { "line": 912, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 32699, "end": 32723, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 48 } }, "expression": { "type": "CallExpression", "start": 32699, "end": 32722, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 32699, "end": 32716, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 41 } }, "object": { "type": "MemberExpression", "start": 32699, "end": 32709, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 34 } }, "object": { "type": "ThisExpression", "start": 32699, "end": 32703, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 28 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 32704, "end": 32709, "loc": { "start": { "line": 913, "column": 29 }, "end": { "line": 913, "column": 34 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 32710, "end": 32716, "loc": { "start": { "line": 913, "column": 35 }, "end": { "line": 913, "column": 41 }, "identifierName": "splice" }, "name": "splice" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 32717, "end": 32718, "loc": { "start": { "line": 913, "column": 42 }, "end": { "line": 913, "column": 43 }, "identifierName": "i" }, "name": "i" }, { "type": "NumericLiteral", "start": 32720, "end": 32721, "loc": { "start": { "line": 913, "column": 45 }, "end": { "line": 913, "column": 46 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " This item must be dropped", "start": 32645, "end": 32673, "loc": { "start": { "line": 912, "column": 24 }, "end": { "line": 912, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 32749, "end": 32756, "loc": { "start": { "line": 914, "column": 24 }, "end": { "line": 914, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 32749, "end": 32755, "loc": { "start": { "line": 914, "column": 24 }, "end": { "line": 914, "column": 30 } }, "operator": "-=", "left": { "type": "Identifier", "start": 32749, "end": 32750, "loc": { "start": { "line": 914, "column": 24 }, "end": { "line": 914, "column": 25 }, "identifierName": "i" }, "name": "i" }, "right": { "type": "NumericLiteral", "start": 32754, "end": 32755, "loc": { "start": { "line": 914, "column": 29 }, "end": { "line": 914, "column": 30 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, { "type": "ExpressionStatement", "start": 32782, "end": 32816, "loc": { "start": { "line": 915, "column": 24 }, "end": { "line": 915, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 32782, "end": 32815, "loc": { "start": { "line": 915, "column": 24 }, "end": { "line": 915, "column": 57 } }, "operator": "+=", "left": { "type": "Identifier", "start": 32782, "end": 32792, "loc": { "start": { "line": 915, "column": 24 }, "end": { "line": 915, "column": 34 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, "right": { "type": "MemberExpression", "start": 32796, "end": 32815, "loc": { "start": { "line": 915, "column": 38 }, "end": { "line": 915, "column": 57 } }, "object": { "type": "Identifier", "start": 32796, "end": 32800, "loc": { "start": { "line": 915, "column": 38 }, "end": { "line": 915, "column": 42 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 32801, "end": 32814, "loc": { "start": { "line": 915, "column": 43 }, "end": { "line": 915, "column": 56 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } }, { "type": "ContinueStatement", "start": 32842, "end": 32851, "loc": { "start": { "line": 916, "column": 24 }, "end": { "line": 916, "column": 33 } }, "label": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 32880, "end": 33014, "loc": { "start": { "line": 917, "column": 27 }, "end": { "line": 920, "column": 21 } }, "body": [ { "type": "BreakStatement", "start": 32985, "end": 32991, "loc": { "start": { "line": 919, "column": 24 }, "end": { "line": 919, "column": 30 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " This item can be kept, thus its the first we know", "start": 32907, "end": 32959, "loc": { "start": { "line": 918, "column": 24 }, "end": { "line": 918, "column": 76 } } } ] } ], "directives": [] } } ], "directives": [] } }, { "type": "IfStatement", "start": 33053, "end": 33992, "loc": { "start": { "line": 923, "column": 16 }, "end": { "line": 942, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 33057, "end": 33078, "loc": { "start": { "line": 923, "column": 20 }, "end": { "line": 923, "column": 41 } }, "left": { "type": "MemberExpression", "start": 33057, "end": 33074, "loc": { "start": { "line": 923, "column": 20 }, "end": { "line": 923, "column": 37 } }, "object": { "type": "MemberExpression", "start": 33057, "end": 33067, "loc": { "start": { "line": 923, "column": 20 }, "end": { "line": 923, "column": 30 } }, "object": { "type": "ThisExpression", "start": 33057, "end": 33061, "loc": { "start": { "line": 923, "column": 20 }, "end": { "line": 923, "column": 24 } } }, "property": { "type": "Identifier", "start": 33062, "end": 33067, "loc": { "start": { "line": 923, "column": 25 }, "end": { "line": 923, "column": 30 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 33068, "end": 33074, "loc": { "start": { "line": 923, "column": 31 }, "end": { "line": 923, "column": 37 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 33077, "end": 33078, "loc": { "start": { "line": 923, "column": 40 }, "end": { "line": 923, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 33080, "end": 33740, "loc": { "start": { "line": 923, "column": 43 }, "end": { "line": 938, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 33103, "end": 33444, "loc": { "start": { "line": 924, "column": 20 }, "end": { "line": 931, "column": 26 } }, "expression": { "type": "LogicalExpression", "start": 33103, "end": 33443, "loc": { "start": { "line": 924, "column": 20 }, "end": { "line": 931, "column": 25 } }, "left": { "type": "Identifier", "start": 33103, "end": 33108, "loc": { "start": { "line": 924, "column": 20 }, "end": { "line": 924, "column": 25 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 33137, "end": 33443, "loc": { "start": { "line": 925, "column": 24 }, "end": { "line": 931, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 33137, "end": 33147, "loc": { "start": { "line": 925, "column": 24 }, "end": { "line": 925, "column": 34 } }, "object": { "type": "Identifier", "start": 33137, "end": 33143, "loc": { "start": { "line": 925, "column": 24 }, "end": { "line": 925, "column": 30 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 33144, "end": 33147, "loc": { "start": { "line": 925, "column": 31 }, "end": { "line": 925, "column": 34 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 33178, "end": 33222, "loc": { "start": { "line": 926, "column": 28 }, "end": { "line": 926, "column": 72 } }, "extra": { "rawValue": " Offset of first non-dropped item was at:", "raw": "\" Offset of first non-dropped item was at:\"" }, "value": " Offset of first non-dropped item was at:" }, { "type": "Identifier", "start": 33253, "end": 33263, "loc": { "start": { "line": 927, "column": 28 }, "end": { "line": 927, "column": 38 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, { "type": "StringLiteral", "start": 33294, "end": 33335, "loc": { "start": { "line": 928, "column": 28 }, "end": { "line": 928, "column": 69 } }, "extra": { "rawValue": "-> setting spacing to it (total length=", "raw": "\"-> setting spacing to it (total length=\"" }, "value": "-> setting spacing to it (total length=" }, { "type": "MemberExpression", "start": 33366, "end": 33382, "loc": { "start": { "line": 929, "column": 28 }, "end": { "line": 929, "column": 44 } }, "object": { "type": "ThisExpression", "start": 33366, "end": 33370, "loc": { "start": { "line": 929, "column": 28 }, "end": { "line": 929, "column": 32 } } }, "property": { "type": "Identifier", "start": 33371, "end": 33382, "loc": { "start": { "line": 929, "column": 33 }, "end": { "line": 929, "column": 44 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, { "type": "StringLiteral", "start": 33413, "end": 33416, "loc": { "start": { "line": 930, "column": 28 }, "end": { "line": 930, "column": 31 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } } }, { "type": "ExpressionStatement", "start": 33468, "end": 33518, "loc": { "start": { "line": 933, "column": 20 }, "end": { "line": 933, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 33468, "end": 33517, "loc": { "start": { "line": 933, "column": 20 }, "end": { "line": 933, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 33468, "end": 33491, "loc": { "start": { "line": 933, "column": 20 }, "end": { "line": 933, "column": 43 } }, "object": { "type": "ThisExpression", "start": 33468, "end": 33472, "loc": { "start": { "line": 933, "column": 20 }, "end": { "line": 933, "column": 24 } } }, "property": { "type": "Identifier", "start": 33473, "end": 33491, "loc": { "start": { "line": 933, "column": 25 }, "end": { "line": 933, "column": 43 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 33494, "end": 33517, "loc": { "start": { "line": 933, "column": 46 }, "end": { "line": 933, "column": 69 } }, "left": { "type": "Identifier", "start": 33494, "end": 33504, "loc": { "start": { "line": 933, "column": 46 }, "end": { "line": 933, "column": 56 }, "identifierName": "itemOffset" }, "name": "itemOffset" }, "operator": "-", "right": { "type": "Identifier", "start": 33507, "end": 33517, "loc": { "start": { "line": 933, "column": 59 }, "end": { "line": 933, "column": 69 }, "identifierName": "beltLength" }, "name": "beltLength" } } } }, { "type": "ExpressionStatement", "start": 33540, "end": 33721, "loc": { "start": { "line": 934, "column": 20 }, "end": { "line": 937, "column": 22 } }, "expression": { "type": "CallExpression", "start": 33540, "end": 33720, "loc": { "start": { "line": 934, "column": 20 }, "end": { "line": 937, "column": 21 } }, "callee": { "type": "Identifier", "start": 33540, "end": 33546, "loc": { "start": { "line": 934, "column": 20 }, "end": { "line": 934, "column": 26 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 33573, "end": 33603, "loc": { "start": { "line": 935, "column": 24 }, "end": { "line": 935, "column": 54 } }, "left": { "type": "MemberExpression", "start": 33573, "end": 33596, "loc": { "start": { "line": 935, "column": 24 }, "end": { "line": 935, "column": 47 } }, "object": { "type": "ThisExpression", "start": 33573, "end": 33577, "loc": { "start": { "line": 935, "column": 24 }, "end": { "line": 935, "column": 28 } } }, "property": { "type": "Identifier", "start": 33578, "end": 33596, "loc": { "start": { "line": 935, "column": 29 }, "end": { "line": 935, "column": 47 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 33600, "end": 33603, "loc": { "start": { "line": 935, "column": 51 }, "end": { "line": 935, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } }, { "type": "BinaryExpression", "start": 33630, "end": 33697, "loc": { "start": { "line": 936, "column": 24 }, "end": { "line": 936, "column": 91 } }, "left": { "type": "StringLiteral", "start": 33630, "end": 33671, "loc": { "start": { "line": 936, "column": 24 }, "end": { "line": 936, "column": 65 } }, "extra": { "rawValue": "Invalid spacing after delete on start: ", "raw": "\"Invalid spacing after delete on start: \"" }, "value": "Invalid spacing after delete on start: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 33674, "end": 33697, "loc": { "start": { "line": 936, "column": 68 }, "end": { "line": 936, "column": 91 } }, "object": { "type": "ThisExpression", "start": 33674, "end": 33678, "loc": { "start": { "line": 936, "column": 68 }, "end": { "line": 936, "column": 72 } } }, "property": { "type": "Identifier", "start": 33679, "end": 33697, "loc": { "start": { "line": 936, "column": 73 }, "end": { "line": 936, "column": 91 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 33746, "end": 33992, "loc": { "start": { "line": 938, "column": 23 }, "end": { "line": 942, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 33769, "end": 33851, "loc": { "start": { "line": 939, "column": 20 }, "end": { "line": 939, "column": 102 } }, "expression": { "type": "LogicalExpression", "start": 33769, "end": 33850, "loc": { "start": { "line": 939, "column": 20 }, "end": { "line": 939, "column": 101 } }, "left": { "type": "Identifier", "start": 33769, "end": 33774, "loc": { "start": { "line": 939, "column": 20 }, "end": { "line": 939, "column": 25 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 33778, "end": 33850, "loc": { "start": { "line": 939, "column": 29 }, "end": { "line": 939, "column": 101 } }, "callee": { "type": "MemberExpression", "start": 33778, "end": 33788, "loc": { "start": { "line": 939, "column": 29 }, "end": { "line": 939, "column": 39 } }, "object": { "type": "Identifier", "start": 33778, "end": 33784, "loc": { "start": { "line": 939, "column": 29 }, "end": { "line": 939, "column": 35 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 33785, "end": 33788, "loc": { "start": { "line": 939, "column": 36 }, "end": { "line": 939, "column": 39 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 33789, "end": 33849, "loc": { "start": { "line": 939, "column": 40 }, "end": { "line": 939, "column": 100 } }, "extra": { "rawValue": " We dropped all items, simply set spacing to total length", "raw": "\" We dropped all items, simply set spacing to total length\"" }, "value": " We dropped all items, simply set spacing to total length" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " We dropped all items, simple one", "start": 33873, "end": 33908, "loc": { "start": { "line": 940, "column": 20 }, "end": { "line": 940, "column": 55 } } } ] }, { "type": "ExpressionStatement", "start": 33930, "end": 33973, "loc": { "start": { "line": 941, "column": 20 }, "end": { "line": 941, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 33930, "end": 33972, "loc": { "start": { "line": 941, "column": 20 }, "end": { "line": 941, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 33930, "end": 33953, "loc": { "start": { "line": 941, "column": 20 }, "end": { "line": 941, "column": 43 } }, "object": { "type": "ThisExpression", "start": 33930, "end": 33934, "loc": { "start": { "line": 941, "column": 20 }, "end": { "line": 941, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 33935, "end": 33953, "loc": { "start": { "line": 941, "column": 25 }, "end": { "line": 941, "column": 43 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 33956, "end": 33972, "loc": { "start": { "line": 941, "column": 46 }, "end": { "line": 941, "column": 62 } }, "object": { "type": "ThisExpression", "start": 33956, "end": 33960, "loc": { "start": { "line": 941, "column": 46 }, "end": { "line": 941, "column": 50 } } }, "property": { "type": "Identifier", "start": 33961, "end": 33972, "loc": { "start": { "line": 941, "column": 51 }, "end": { "line": 941, "column": 62 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " We dropped all items, simple one", "start": 33873, "end": 33908, "loc": { "start": { "line": 940, "column": 20 }, "end": { "line": 940, "column": 55 } } } ] } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Simple case, we had no item on the beginning -> all good", "start": 30772, "end": 30831, "loc": { "start": { "line": 871, "column": 12 }, "end": { "line": 871, "column": 71 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Clean up items", "start": 30548, "end": 30565, "loc": { "start": { "line": 866, "column": 8 }, "end": { "line": 866, "column": 25 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 34030, "end": 34046, "loc": { "start": { "line": 946, "column": 8 }, "end": { "line": 946, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 34056, "end": 34096, "loc": { "start": { "line": 947, "column": 8 }, "end": { "line": 947, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 34056, "end": 34095, "loc": { "start": { "line": 947, "column": 8 }, "end": { "line": 947, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 34056, "end": 34072, "loc": { "start": { "line": 947, "column": 8 }, "end": { "line": 947, "column": 24 } }, "object": { "type": "ThisExpression", "start": 34056, "end": 34060, "loc": { "start": { "line": 947, "column": 8 }, "end": { "line": 947, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 34061, "end": 34072, "loc": { "start": { "line": 947, "column": 13 }, "end": { "line": 947, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 34075, "end": 34095, "loc": { "start": { "line": 947, "column": 27 }, "end": { "line": 947, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 34075, "end": 34093, "loc": { "start": { "line": 947, "column": 27 }, "end": { "line": 947, "column": 45 } }, "object": { "type": "ThisExpression", "start": 34075, "end": 34079, "loc": { "start": { "line": 947, "column": 27 }, "end": { "line": 947, "column": 31 } } }, "property": { "type": "Identifier", "start": 34080, "end": 34093, "loc": { "start": { "line": 947, "column": 32 }, "end": { "line": 947, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 34030, "end": 34046, "loc": { "start": { "line": 946, "column": 8 }, "end": { "line": 946, "column": 24 } } } ] }, { "type": "IfStatement", "start": 34108, "end": 34230, "loc": { "start": { "line": 949, "column": 8 }, "end": { "line": 951, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 34112, "end": 34157, "loc": { "start": { "line": 949, "column": 12 }, "end": { "line": 949, "column": 57 } }, "left": { "type": "Identifier", "start": 34112, "end": 34120, "loc": { "start": { "line": 949, "column": 12 }, "end": { "line": 949, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 34124, "end": 34157, "loc": { "start": { "line": 949, "column": 24 }, "end": { "line": 949, "column": 57 } }, "object": { "type": "MemberExpression", "start": 34124, "end": 34142, "loc": { "start": { "line": 949, "column": 24 }, "end": { "line": 949, "column": 42 } }, "object": { "type": "Identifier", "start": 34124, "end": 34136, "loc": { "start": { "line": 949, "column": 24 }, "end": { "line": 949, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 34137, "end": 34142, "loc": { "start": { "line": 949, "column": 37 }, "end": { "line": 949, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 34143, "end": 34157, "loc": { "start": { "line": 949, "column": 43 }, "end": { "line": 949, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 34159, "end": 34230, "loc": { "start": { "line": 949, "column": 59 }, "end": { "line": 951, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 34174, "end": 34219, "loc": { "start": { "line": 950, "column": 12 }, "end": { "line": 950, "column": 57 } }, "expression": { "type": "CallExpression", "start": 34174, "end": 34218, "loc": { "start": { "line": 950, "column": 12 }, "end": { "line": 950, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 34174, "end": 34199, "loc": { "start": { "line": 950, "column": 12 }, "end": { "line": 950, "column": 37 } }, "object": { "type": "ThisExpression", "start": 34174, "end": 34178, "loc": { "start": { "line": 950, "column": 12 }, "end": { "line": 950, "column": 16 } } }, "property": { "type": "Identifier", "start": 34179, "end": 34199, "loc": { "start": { "line": 950, "column": 17 }, "end": { "line": 950, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 34200, "end": 34217, "loc": { "start": { "line": 950, "column": 38 }, "end": { "line": 950, "column": 55 } }, "extra": { "rawValue": "delete-on-start", "raw": "\"delete-on-start\"" }, "value": "delete-on-start" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the entity of the start of the path\r\n * @see deleteEntityOnEnd\r\n * @param {Entity} entity\r\n ", "start": 29330, "end": 29456, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 829, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Extends the path by the given other path\r\n * @param {BeltPath} otherPath\r\n ", "start": 34245, "end": 34342, "loc": { "start": { "line": 954, "column": 4 }, "end": { "line": 957, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 34348, "end": 36941, "loc": { "start": { "line": 958, "column": 4 }, "end": { "line": 1026, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 34348, "end": 34360, "loc": { "start": { "line": 958, "column": 4 }, "end": { "line": 958, "column": 16 }, "identifierName": "extendByPath" }, "name": "extendByPath", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 34361, "end": 34370, "loc": { "start": { "line": 958, "column": 17 }, "end": { "line": 958, "column": 26 }, "identifierName": "otherPath" }, "name": "otherPath" } ], "body": { "type": "BlockStatement", "start": 34372, "end": 36941, "loc": { "start": { "line": 958, "column": 28 }, "end": { "line": 1026, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 34383, "end": 34438, "loc": { "start": { "line": 959, "column": 8 }, "end": { "line": 959, "column": 63 } }, "expression": { "type": "CallExpression", "start": 34383, "end": 34437, "loc": { "start": { "line": 959, "column": 8 }, "end": { "line": 959, "column": 62 } }, "callee": { "type": "Identifier", "start": 34383, "end": 34389, "loc": { "start": { "line": 959, "column": 8 }, "end": { "line": 959, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 34390, "end": 34408, "loc": { "start": { "line": 959, "column": 15 }, "end": { "line": 959, "column": 33 } }, "left": { "type": "Identifier", "start": 34390, "end": 34399, "loc": { "start": { "line": 959, "column": 15 }, "end": { "line": 959, "column": 24 }, "identifierName": "otherPath" }, "name": "otherPath" }, "operator": "!==", "right": { "type": "ThisExpression", "start": 34404, "end": 34408, "loc": { "start": { "line": 959, "column": 29 }, "end": { "line": 959, "column": 33 } } } }, { "type": "StringLiteral", "start": 34410, "end": 34436, "loc": { "start": { "line": 959, "column": 35 }, "end": { "line": 959, "column": 61 } }, "extra": { "rawValue": "Circular path dependency", "raw": "\"Circular path dependency\"" }, "value": "Circular path dependency" } ] } }, { "type": "VariableDeclaration", "start": 34450, "end": 34488, "loc": { "start": { "line": 961, "column": 8 }, "end": { "line": 961, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 34456, "end": 34487, "loc": { "start": { "line": 961, "column": 14 }, "end": { "line": 961, "column": 45 } }, "id": { "type": "Identifier", "start": 34456, "end": 34464, "loc": { "start": { "line": 961, "column": 14 }, "end": { "line": 961, "column": 22 }, "identifierName": "entities" }, "name": "entities" }, "init": { "type": "MemberExpression", "start": 34467, "end": 34487, "loc": { "start": { "line": 961, "column": 25 }, "end": { "line": 961, "column": 45 } }, "object": { "type": "Identifier", "start": 34467, "end": 34476, "loc": { "start": { "line": 961, "column": 25 }, "end": { "line": 961, "column": 34 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 34477, "end": 34487, "loc": { "start": { "line": 961, "column": 35 }, "end": { "line": 961, "column": 45 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 34498, "end": 34576, "loc": { "start": { "line": 962, "column": 8 }, "end": { "line": 962, "column": 86 } }, "expression": { "type": "LogicalExpression", "start": 34498, "end": 34575, "loc": { "start": { "line": 962, "column": 8 }, "end": { "line": 962, "column": 85 } }, "left": { "type": "Identifier", "start": 34498, "end": 34503, "loc": { "start": { "line": 962, "column": 8 }, "end": { "line": 962, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 34507, "end": 34575, "loc": { "start": { "line": 962, "column": 17 }, "end": { "line": 962, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 34507, "end": 34517, "loc": { "start": { "line": 962, "column": 17 }, "end": { "line": 962, "column": 27 } }, "object": { "type": "Identifier", "start": 34507, "end": 34513, "loc": { "start": { "line": 962, "column": 17 }, "end": { "line": 962, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 34514, "end": 34517, "loc": { "start": { "line": 962, "column": 24 }, "end": { "line": 962, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 34518, "end": 34574, "loc": { "start": { "line": 962, "column": 28 }, "end": { "line": 962, "column": 84 } }, "extra": { "rawValue": "Extending path by other path, starting to add entities", "raw": "\"Extending path by other path, starting to add entities\"" }, "value": "Extending path by other path, starting to add entities" } ] } } }, { "type": "VariableDeclaration", "start": 34588, "end": 34623, "loc": { "start": { "line": 964, "column": 8 }, "end": { "line": 964, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 34594, "end": 34622, "loc": { "start": { "line": 964, "column": 14 }, "end": { "line": 964, "column": 42 } }, "id": { "type": "Identifier", "start": 34594, "end": 34603, "loc": { "start": { "line": 964, "column": 14 }, "end": { "line": 964, "column": 23 }, "identifierName": "oldLength" }, "name": "oldLength" }, "init": { "type": "MemberExpression", "start": 34606, "end": 34622, "loc": { "start": { "line": 964, "column": 26 }, "end": { "line": 964, "column": 42 } }, "object": { "type": "ThisExpression", "start": 34606, "end": 34610, "loc": { "start": { "line": 964, "column": 26 }, "end": { "line": 964, "column": 30 } } }, "property": { "type": "Identifier", "start": 34611, "end": 34622, "loc": { "start": { "line": 964, "column": 31 }, "end": { "line": 964, "column": 42 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 34635, "end": 34736, "loc": { "start": { "line": 966, "column": 8 }, "end": { "line": 966, "column": 109 } }, "expression": { "type": "LogicalExpression", "start": 34635, "end": 34735, "loc": { "start": { "line": 966, "column": 8 }, "end": { "line": 966, "column": 108 } }, "left": { "type": "Identifier", "start": 34635, "end": 34640, "loc": { "start": { "line": 966, "column": 8 }, "end": { "line": 966, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 34644, "end": 34735, "loc": { "start": { "line": 966, "column": 17 }, "end": { "line": 966, "column": 108 } }, "callee": { "type": "MemberExpression", "start": 34644, "end": 34654, "loc": { "start": { "line": 966, "column": 17 }, "end": { "line": 966, "column": 27 } }, "object": { "type": "Identifier", "start": 34644, "end": 34650, "loc": { "start": { "line": 966, "column": 17 }, "end": { "line": 966, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 34651, "end": 34654, "loc": { "start": { "line": 966, "column": 24 }, "end": { "line": 966, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 34655, "end": 34665, "loc": { "start": { "line": 966, "column": 28 }, "end": { "line": 966, "column": 38 } }, "extra": { "rawValue": " Adding", "raw": "\" Adding\"" }, "value": " Adding" }, { "type": "MemberExpression", "start": 34667, "end": 34682, "loc": { "start": { "line": 966, "column": 40 }, "end": { "line": 966, "column": 55 } }, "object": { "type": "Identifier", "start": 34667, "end": 34675, "loc": { "start": { "line": 966, "column": 40 }, "end": { "line": 966, "column": 48 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 34676, "end": 34682, "loc": { "start": { "line": 966, "column": 49 }, "end": { "line": 966, "column": 55 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 34684, "end": 34716, "loc": { "start": { "line": 966, "column": 57 }, "end": { "line": 966, "column": 89 } }, "extra": { "rawValue": "new entities, current length =", "raw": "\"new entities, current length =\"" }, "value": "new entities, current length =" }, { "type": "MemberExpression", "start": 34718, "end": 34734, "loc": { "start": { "line": 966, "column": 91 }, "end": { "line": 966, "column": 107 } }, "object": { "type": "ThisExpression", "start": 34718, "end": 34722, "loc": { "start": { "line": 966, "column": 91 }, "end": { "line": 966, "column": 95 } } }, "property": { "type": "Identifier", "start": 34723, "end": 34734, "loc": { "start": { "line": 966, "column": 96 }, "end": { "line": 966, "column": 107 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " First, append entities", "start": 34748, "end": 34773, "loc": { "start": { "line": 968, "column": 8 }, "end": { "line": 968, "column": 33 } } } ] }, { "type": "ForStatement", "start": 34783, "end": 35231, "loc": { "start": { "line": 969, "column": 8 }, "end": { "line": 980, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 34788, "end": 34797, "loc": { "start": { "line": 969, "column": 13 }, "end": { "line": 969, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 34792, "end": 34797, "loc": { "start": { "line": 969, "column": 17 }, "end": { "line": 969, "column": 22 } }, "id": { "type": "Identifier", "start": 34792, "end": 34793, "loc": { "start": { "line": 969, "column": 17 }, "end": { "line": 969, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 34796, "end": 34797, "loc": { "start": { "line": 969, "column": 21 }, "end": { "line": 969, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 34799, "end": 34818, "loc": { "start": { "line": 969, "column": 24 }, "end": { "line": 969, "column": 43 } }, "left": { "type": "Identifier", "start": 34799, "end": 34800, "loc": { "start": { "line": 969, "column": 24 }, "end": { "line": 969, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 34803, "end": 34818, "loc": { "start": { "line": 969, "column": 28 }, "end": { "line": 969, "column": 43 } }, "object": { "type": "Identifier", "start": 34803, "end": 34811, "loc": { "start": { "line": 969, "column": 28 }, "end": { "line": 969, "column": 36 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 34812, "end": 34818, "loc": { "start": { "line": 969, "column": 37 }, "end": { "line": 969, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 34820, "end": 34823, "loc": { "start": { "line": 969, "column": 45 }, "end": { "line": 969, "column": 48 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 34822, "end": 34823, "loc": { "start": { "line": 969, "column": 47 }, "end": { "line": 969, "column": 48 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 34825, "end": 35231, "loc": { "start": { "line": 969, "column": 50 }, "end": { "line": 980, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 34840, "end": 34867, "loc": { "start": { "line": 970, "column": 12 }, "end": { "line": 970, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 34846, "end": 34866, "loc": { "start": { "line": 970, "column": 18 }, "end": { "line": 970, "column": 38 } }, "id": { "type": "Identifier", "start": 34846, "end": 34852, "loc": { "start": { "line": 970, "column": 18 }, "end": { "line": 970, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 34855, "end": 34866, "loc": { "start": { "line": 970, "column": 27 }, "end": { "line": 970, "column": 38 } }, "object": { "type": "Identifier", "start": 34855, "end": 34863, "loc": { "start": { "line": 970, "column": 27 }, "end": { "line": 970, "column": 35 }, "identifierName": "entities" }, "name": "entities" }, "property": { "type": "Identifier", "start": 34864, "end": 34865, "loc": { "start": { "line": 970, "column": 36 }, "end": { "line": 970, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 34881, "end": 34921, "loc": { "start": { "line": 971, "column": 12 }, "end": { "line": 971, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 34887, "end": 34920, "loc": { "start": { "line": 971, "column": 18 }, "end": { "line": 971, "column": 51 } }, "id": { "type": "Identifier", "start": 34887, "end": 34895, "loc": { "start": { "line": 971, "column": 18 }, "end": { "line": 971, "column": 26 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 34898, "end": 34920, "loc": { "start": { "line": 971, "column": 29 }, "end": { "line": 971, "column": 51 } }, "object": { "type": "MemberExpression", "start": 34898, "end": 34915, "loc": { "start": { "line": 971, "column": 29 }, "end": { "line": 971, "column": 46 } }, "object": { "type": "Identifier", "start": 34898, "end": 34904, "loc": { "start": { "line": 971, "column": 29 }, "end": { "line": 971, "column": 35 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 34905, "end": 34915, "loc": { "start": { "line": 971, "column": 36 }, "end": { "line": 971, "column": 46 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 34916, "end": 34920, "loc": { "start": { "line": 971, "column": 47 }, "end": { "line": 971, "column": 51 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Add to path and update references", "start": 34937, "end": 34973, "loc": { "start": { "line": 973, "column": 12 }, "end": { "line": 973, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 34987, "end": 35016, "loc": { "start": { "line": 974, "column": 12 }, "end": { "line": 974, "column": 41 } }, "expression": { "type": "CallExpression", "start": 34987, "end": 35015, "loc": { "start": { "line": 974, "column": 12 }, "end": { "line": 974, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 34987, "end": 35007, "loc": { "start": { "line": 974, "column": 12 }, "end": { "line": 974, "column": 32 } }, "object": { "type": "MemberExpression", "start": 34987, "end": 35002, "loc": { "start": { "line": 974, "column": 12 }, "end": { "line": 974, "column": 27 } }, "object": { "type": "ThisExpression", "start": 34987, "end": 34991, "loc": { "start": { "line": 974, "column": 12 }, "end": { "line": 974, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 34992, "end": 35002, "loc": { "start": { "line": 974, "column": 17 }, "end": { "line": 974, "column": 27 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 35003, "end": 35007, "loc": { "start": { "line": 974, "column": 28 }, "end": { "line": 974, "column": 32 }, "identifierName": "push" }, "name": "push" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 35008, "end": 35014, "loc": { "start": { "line": 974, "column": 33 }, "end": { "line": 974, "column": 39 }, "identifierName": "entity" }, "name": "entity" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Add to path and update references", "start": 34937, "end": 34973, "loc": { "start": { "line": 973, "column": 12 }, "end": { "line": 973, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 35030, "end": 35059, "loc": { "start": { "line": 975, "column": 12 }, "end": { "line": 975, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 35030, "end": 35058, "loc": { "start": { "line": 975, "column": 12 }, "end": { "line": 975, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 35030, "end": 35051, "loc": { "start": { "line": 975, "column": 12 }, "end": { "line": 975, "column": 33 } }, "object": { "type": "Identifier", "start": 35030, "end": 35038, "loc": { "start": { "line": 975, "column": 12 }, "end": { "line": 975, "column": 20 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 35039, "end": 35051, "loc": { "start": { "line": 975, "column": 21 }, "end": { "line": 975, "column": 33 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false }, "right": { "type": "ThisExpression", "start": 35054, "end": 35058, "loc": { "start": { "line": 975, "column": 36 }, "end": { "line": 975, "column": 40 } } } }, "trailingComments": [ { "type": "CommentLine", "value": " Update our length", "start": 35075, "end": 35095, "loc": { "start": { "line": 977, "column": 12 }, "end": { "line": 977, "column": 32 } } } ] }, { "type": "VariableDeclaration", "start": 35109, "end": 35169, "loc": { "start": { "line": 978, "column": 12 }, "end": { "line": 978, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 35115, "end": 35168, "loc": { "start": { "line": 978, "column": 18 }, "end": { "line": 978, "column": 71 } }, "id": { "type": "Identifier", "start": 35115, "end": 35131, "loc": { "start": { "line": 978, "column": 18 }, "end": { "line": 978, "column": 34 }, "identifierName": "additionalLength" }, "name": "additionalLength", "leadingComments": null }, "init": { "type": "CallExpression", "start": 35134, "end": 35168, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 35134, "end": 35166, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 69 } }, "object": { "type": "Identifier", "start": 35134, "end": 35142, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 45 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 35143, "end": 35166, "loc": { "start": { "line": 978, "column": 46 }, "end": { "line": 978, "column": 69 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Update our length", "start": 35075, "end": 35095, "loc": { "start": { "line": 977, "column": 12 }, "end": { "line": 977, "column": 32 } } } ] }, { "type": "ExpressionStatement", "start": 35183, "end": 35220, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 35183, "end": 35219, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 48 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 35183, "end": 35199, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 28 } }, "object": { "type": "ThisExpression", "start": 35183, "end": 35187, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 16 } } }, "property": { "type": "Identifier", "start": 35188, "end": 35199, "loc": { "start": { "line": 979, "column": 17 }, "end": { "line": 979, "column": 28 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "right": { "type": "Identifier", "start": 35203, "end": 35219, "loc": { "start": { "line": 979, "column": 32 }, "end": { "line": 979, "column": 48 }, "identifierName": "additionalLength" }, "name": "additionalLength" } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " First, append entities", "start": 34748, "end": 34773, "loc": { "start": { "line": 968, "column": 8 }, "end": { "line": 968, "column": 33 } } } ] }, { "type": "ExpressionStatement", "start": 35243, "end": 35450, "loc": { "start": { "line": 982, "column": 8 }, "end": { "line": 988, "column": 14 } }, "expression": { "type": "LogicalExpression", "start": 35243, "end": 35449, "loc": { "start": { "line": 982, "column": 8 }, "end": { "line": 988, "column": 13 } }, "left": { "type": "Identifier", "start": 35243, "end": 35248, "loc": { "start": { "line": 982, "column": 8 }, "end": { "line": 982, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 35265, "end": 35449, "loc": { "start": { "line": 983, "column": 12 }, "end": { "line": 988, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 35265, "end": 35275, "loc": { "start": { "line": 983, "column": 12 }, "end": { "line": 983, "column": 22 } }, "object": { "type": "Identifier", "start": 35265, "end": 35271, "loc": { "start": { "line": 983, "column": 12 }, "end": { "line": 983, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 35272, "end": 35275, "loc": { "start": { "line": 983, "column": 19 }, "end": { "line": 983, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 35294, "end": 35309, "loc": { "start": { "line": 984, "column": 16 }, "end": { "line": 984, "column": 31 } }, "extra": { "rawValue": " Path is now", "raw": "\" Path is now\"" }, "value": " Path is now" }, { "type": "MemberExpression", "start": 35328, "end": 35350, "loc": { "start": { "line": 985, "column": 16 }, "end": { "line": 985, "column": 38 } }, "object": { "type": "MemberExpression", "start": 35328, "end": 35343, "loc": { "start": { "line": 985, "column": 16 }, "end": { "line": 985, "column": 31 } }, "object": { "type": "ThisExpression", "start": 35328, "end": 35332, "loc": { "start": { "line": 985, "column": 16 }, "end": { "line": 985, "column": 20 } } }, "property": { "type": "Identifier", "start": 35333, "end": 35343, "loc": { "start": { "line": 985, "column": 21 }, "end": { "line": 985, "column": 31 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 35344, "end": 35350, "loc": { "start": { "line": 985, "column": 32 }, "end": { "line": 985, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 35369, "end": 35399, "loc": { "start": { "line": 986, "column": 16 }, "end": { "line": 986, "column": 46 } }, "extra": { "rawValue": "entities and has a length of", "raw": "\"entities and has a length of\"" }, "value": "entities and has a length of" }, { "type": "MemberExpression", "start": 35418, "end": 35434, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 32 } }, "object": { "type": "ThisExpression", "start": 35418, "end": 35422, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 20 } } }, "property": { "type": "Identifier", "start": 35423, "end": 35434, "loc": { "start": { "line": 987, "column": 21 }, "end": { "line": 987, "column": 32 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Now, update the distance of our last item", "start": 35462, "end": 35506, "loc": { "start": { "line": 990, "column": 8 }, "end": { "line": 990, "column": 52 } } } ] }, { "type": "IfStatement", "start": 35516, "end": 36366, "loc": { "start": { "line": 991, "column": 8 }, "end": { "line": 1008, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 35520, "end": 35543, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 991, "column": 35 } }, "left": { "type": "MemberExpression", "start": 35520, "end": 35537, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 991, "column": 29 } }, "object": { "type": "MemberExpression", "start": 35520, "end": 35530, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 991, "column": 22 } }, "object": { "type": "ThisExpression", "start": 35520, "end": 35524, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 991, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 35525, "end": 35530, "loc": { "start": { "line": 991, "column": 17 }, "end": { "line": 991, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 35531, "end": 35537, "loc": { "start": { "line": 991, "column": 23 }, "end": { "line": 991, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 35542, "end": 35543, "loc": { "start": { "line": 991, "column": 34 }, "end": { "line": 991, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 35545, "end": 35825, "loc": { "start": { "line": 991, "column": 37 }, "end": { "line": 996, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 35560, "end": 35611, "loc": { "start": { "line": 992, "column": 12 }, "end": { "line": 992, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 35566, "end": 35610, "loc": { "start": { "line": 992, "column": 18 }, "end": { "line": 992, "column": 62 } }, "id": { "type": "Identifier", "start": 35566, "end": 35574, "loc": { "start": { "line": 992, "column": 18 }, "end": { "line": 992, "column": 26 }, "identifierName": "lastItem" }, "name": "lastItem" }, "init": { "type": "MemberExpression", "start": 35577, "end": 35610, "loc": { "start": { "line": 992, "column": 29 }, "end": { "line": 992, "column": 62 } }, "object": { "type": "MemberExpression", "start": 35577, "end": 35587, "loc": { "start": { "line": 992, "column": 29 }, "end": { "line": 992, "column": 39 } }, "object": { "type": "ThisExpression", "start": 35577, "end": 35581, "loc": { "start": { "line": 992, "column": 29 }, "end": { "line": 992, "column": 33 } } }, "property": { "type": "Identifier", "start": 35582, "end": 35587, "loc": { "start": { "line": 992, "column": 34 }, "end": { "line": 992, "column": 39 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 35588, "end": 35609, "loc": { "start": { "line": 992, "column": 40 }, "end": { "line": 992, "column": 61 } }, "left": { "type": "MemberExpression", "start": 35588, "end": 35605, "loc": { "start": { "line": 992, "column": 40 }, "end": { "line": 992, "column": 57 } }, "object": { "type": "MemberExpression", "start": 35588, "end": 35598, "loc": { "start": { "line": 992, "column": 40 }, "end": { "line": 992, "column": 50 } }, "object": { "type": "ThisExpression", "start": 35588, "end": 35592, "loc": { "start": { "line": 992, "column": 40 }, "end": { "line": 992, "column": 44 } } }, "property": { "type": "Identifier", "start": 35593, "end": 35598, "loc": { "start": { "line": 992, "column": 45 }, "end": { "line": 992, "column": 50 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 35599, "end": 35605, "loc": { "start": { "line": 992, "column": 51 }, "end": { "line": 992, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 35608, "end": 35609, "loc": { "start": { "line": 992, "column": 60 }, "end": { "line": 992, "column": 61 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 35625, "end": 35681, "loc": { "start": { "line": 993, "column": 12 }, "end": { "line": 993, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 35625, "end": 35680, "loc": { "start": { "line": 993, "column": 12 }, "end": { "line": 993, "column": 67 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 35625, "end": 35648, "loc": { "start": { "line": 993, "column": 12 }, "end": { "line": 993, "column": 35 } }, "object": { "type": "Identifier", "start": 35625, "end": 35633, "loc": { "start": { "line": 993, "column": 12 }, "end": { "line": 993, "column": 20 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 35634, "end": 35647, "loc": { "start": { "line": 993, "column": 21 }, "end": { "line": 993, "column": 34 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "right": { "type": "MemberExpression", "start": 35652, "end": 35680, "loc": { "start": { "line": 993, "column": 39 }, "end": { "line": 993, "column": 67 } }, "object": { "type": "Identifier", "start": 35652, "end": 35661, "loc": { "start": { "line": 993, "column": 39 }, "end": { "line": 993, "column": 48 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 35662, "end": 35680, "loc": { "start": { "line": 993, "column": 49 }, "end": { "line": 993, "column": 67 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 35695, "end": 35814, "loc": { "start": { "line": 994, "column": 12 }, "end": { "line": 995, "column": 109 } }, "expression": { "type": "LogicalExpression", "start": 35695, "end": 35813, "loc": { "start": { "line": 994, "column": 12 }, "end": { "line": 995, "column": 108 } }, "left": { "type": "Identifier", "start": 35695, "end": 35700, "loc": { "start": { "line": 994, "column": 12 }, "end": { "line": 994, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 35721, "end": 35813, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 108 } }, "callee": { "type": "MemberExpression", "start": 35721, "end": 35731, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 26 } }, "object": { "type": "Identifier", "start": 35721, "end": 35727, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 22 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 35728, "end": 35731, "loc": { "start": { "line": 995, "column": 23 }, "end": { "line": 995, "column": 26 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 35732, "end": 35780, "loc": { "start": { "line": 995, "column": 27 }, "end": { "line": 995, "column": 75 } }, "extra": { "rawValue": " Add distance to last item, effectively being", "raw": "\" Add distance to last item, effectively being\"" }, "value": " Add distance to last item, effectively being" }, { "type": "MemberExpression", "start": 35782, "end": 35805, "loc": { "start": { "line": 995, "column": 77 }, "end": { "line": 995, "column": 100 } }, "object": { "type": "Identifier", "start": 35782, "end": 35790, "loc": { "start": { "line": 995, "column": 77 }, "end": { "line": 995, "column": 85 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 35791, "end": 35804, "loc": { "start": { "line": 995, "column": 86 }, "end": { "line": 995, "column": 99 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, { "type": "StringLiteral", "start": 35807, "end": 35812, "loc": { "start": { "line": 995, "column": 102 }, "end": { "line": 995, "column": 107 } }, "extra": { "rawValue": "now", "raw": "\"now\"" }, "value": "now" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 35831, "end": 36366, "loc": { "start": { "line": 996, "column": 15 }, "end": { "line": 1008, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 35917, "end": 35984, "loc": { "start": { "line": 998, "column": 12 }, "end": { "line": 998, "column": 79 } }, "expression": { "type": "AssignmentExpression", "start": 35917, "end": 35983, "loc": { "start": { "line": 998, "column": 12 }, "end": { "line": 998, "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 35917, "end": 35940, "loc": { "start": { "line": 998, "column": 12 }, "end": { "line": 998, "column": 35 } }, "object": { "type": "ThisExpression", "start": 35917, "end": 35921, "loc": { "start": { "line": 998, "column": 12 }, "end": { "line": 998, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 35922, "end": 35940, "loc": { "start": { "line": 998, "column": 17 }, "end": { "line": 998, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "BinaryExpression", "start": 35943, "end": 35983, "loc": { "start": { "line": 998, "column": 38 }, "end": { "line": 998, "column": 78 } }, "left": { "type": "Identifier", "start": 35943, "end": 35952, "loc": { "start": { "line": 998, "column": 38 }, "end": { "line": 998, "column": 47 }, "identifierName": "oldLength" }, "name": "oldLength" }, "operator": "+", "right": { "type": "MemberExpression", "start": 35955, "end": 35983, "loc": { "start": { "line": 998, "column": 50 }, "end": { "line": 998, "column": 78 } }, "object": { "type": "Identifier", "start": 35955, "end": 35964, "loc": { "start": { "line": 998, "column": 50 }, "end": { "line": 998, "column": 59 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 35965, "end": 35983, "loc": { "start": { "line": 998, "column": 60 }, "end": { "line": 998, "column": 78 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Seems we have no items, update our first item distance", "start": 35846, "end": 35903, "loc": { "start": { "line": 997, "column": 12 }, "end": { "line": 997, "column": 69 } } } ] }, { "type": "ExpressionStatement", "start": 35998, "end": 36355, "loc": { "start": { "line": 999, "column": 12 }, "end": { "line": 1007, "column": 18 } }, "expression": { "type": "LogicalExpression", "start": 35998, "end": 36354, "loc": { "start": { "line": 999, "column": 12 }, "end": { "line": 1007, "column": 17 } }, "left": { "type": "Identifier", "start": 35998, "end": 36003, "loc": { "start": { "line": 999, "column": 12 }, "end": { "line": 999, "column": 17 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 36024, "end": 36354, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1007, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 36024, "end": 36034, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 26 } }, "object": { "type": "Identifier", "start": 36024, "end": 36030, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 22 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 36031, "end": 36034, "loc": { "start": { "line": 1000, "column": 23 }, "end": { "line": 1000, "column": 26 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 36057, "end": 36121, "loc": { "start": { "line": 1001, "column": 20 }, "end": { "line": 1001, "column": 84 } }, "extra": { "rawValue": " We had no items, so our new spacing to first is old length (", "raw": "\" We had no items, so our new spacing to first is old length (\"" }, "value": " We had no items, so our new spacing to first is old length (" }, { "type": "Identifier", "start": 36144, "end": 36153, "loc": { "start": { "line": 1002, "column": 20 }, "end": { "line": 1002, "column": 29 }, "identifierName": "oldLength" }, "name": "oldLength" }, { "type": "StringLiteral", "start": 36176, "end": 36210, "loc": { "start": { "line": 1003, "column": 20 }, "end": { "line": 1003, "column": 54 } }, "extra": { "rawValue": ") plus others spacing to first (", "raw": "\") plus others spacing to first (\"" }, "value": ") plus others spacing to first (" }, { "type": "MemberExpression", "start": 36233, "end": 36261, "loc": { "start": { "line": 1004, "column": 20 }, "end": { "line": 1004, "column": 48 } }, "object": { "type": "Identifier", "start": 36233, "end": 36242, "loc": { "start": { "line": 1004, "column": 20 }, "end": { "line": 1004, "column": 29 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 36243, "end": 36261, "loc": { "start": { "line": 1004, "column": 30 }, "end": { "line": 1004, "column": 48 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, { "type": "StringLiteral", "start": 36284, "end": 36289, "loc": { "start": { "line": 1005, "column": 20 }, "end": { "line": 1005, "column": 25 } }, "extra": { "rawValue": ") =", "raw": "\") =\"" }, "value": ") =" }, { "type": "MemberExpression", "start": 36312, "end": 36335, "loc": { "start": { "line": 1006, "column": 20 }, "end": { "line": 1006, "column": 43 } }, "object": { "type": "ThisExpression", "start": 36312, "end": 36316, "loc": { "start": { "line": 1006, "column": 20 }, "end": { "line": 1006, "column": 24 } } }, "property": { "type": "Identifier", "start": 36317, "end": 36335, "loc": { "start": { "line": 1006, "column": 25 }, "end": { "line": 1006, "column": 43 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false } ] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Now, update the distance of our last item", "start": 35462, "end": 35506, "loc": { "start": { "line": 990, "column": 8 }, "end": { "line": 990, "column": 52 } } } ] }, { "type": "ExpressionStatement", "start": 36378, "end": 36460, "loc": { "start": { "line": 1010, "column": 8 }, "end": { "line": 1010, "column": 90 } }, "expression": { "type": "LogicalExpression", "start": 36378, "end": 36459, "loc": { "start": { "line": 1010, "column": 8 }, "end": { "line": 1010, "column": 89 } }, "left": { "type": "Identifier", "start": 36378, "end": 36383, "loc": { "start": { "line": 1010, "column": 8 }, "end": { "line": 1010, "column": 13 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "operator": "&&", "right": { "type": "CallExpression", "start": 36387, "end": 36459, "loc": { "start": { "line": 1010, "column": 17 }, "end": { "line": 1010, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 36387, "end": 36397, "loc": { "start": { "line": 1010, "column": 17 }, "end": { "line": 1010, "column": 27 } }, "object": { "type": "Identifier", "start": 36387, "end": 36393, "loc": { "start": { "line": 1010, "column": 17 }, "end": { "line": 1010, "column": 23 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 36394, "end": 36397, "loc": { "start": { "line": 1010, "column": 24 }, "end": { "line": 1010, "column": 27 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 36398, "end": 36409, "loc": { "start": { "line": 1010, "column": 28 }, "end": { "line": 1010, "column": 39 } }, "extra": { "rawValue": " Pushing", "raw": "\" Pushing\"" }, "value": " Pushing" }, { "type": "MemberExpression", "start": 36411, "end": 36433, "loc": { "start": { "line": 1010, "column": 41 }, "end": { "line": 1010, "column": 63 } }, "object": { "type": "MemberExpression", "start": 36411, "end": 36426, "loc": { "start": { "line": 1010, "column": 41 }, "end": { "line": 1010, "column": 56 } }, "object": { "type": "Identifier", "start": 36411, "end": 36420, "loc": { "start": { "line": 1010, "column": 41 }, "end": { "line": 1010, "column": 50 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 36421, "end": 36426, "loc": { "start": { "line": 1010, "column": 51 }, "end": { "line": 1010, "column": 56 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 36427, "end": 36433, "loc": { "start": { "line": 1010, "column": 57 }, "end": { "line": 1010, "column": 63 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "StringLiteral", "start": 36435, "end": 36458, "loc": { "start": { "line": 1010, "column": 65 }, "end": { "line": 1010, "column": 88 } }, "extra": { "rawValue": "items from other path", "raw": "\"items from other path\"" }, "value": "items from other path" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Aaand push the other paths items", "start": 36472, "end": 36507, "loc": { "start": { "line": 1012, "column": 8 }, "end": { "line": 1012, "column": 43 } } } ] }, { "type": "ForStatement", "start": 36517, "end": 36690, "loc": { "start": { "line": 1013, "column": 8 }, "end": { "line": 1016, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 36522, "end": 36531, "loc": { "start": { "line": 1013, "column": 13 }, "end": { "line": 1013, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 36526, "end": 36531, "loc": { "start": { "line": 1013, "column": 17 }, "end": { "line": 1013, "column": 22 } }, "id": { "type": "Identifier", "start": 36526, "end": 36527, "loc": { "start": { "line": 1013, "column": 17 }, "end": { "line": 1013, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 36530, "end": 36531, "loc": { "start": { "line": 1013, "column": 21 }, "end": { "line": 1013, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 36533, "end": 36559, "loc": { "start": { "line": 1013, "column": 24 }, "end": { "line": 1013, "column": 50 } }, "left": { "type": "Identifier", "start": 36533, "end": 36534, "loc": { "start": { "line": 1013, "column": 24 }, "end": { "line": 1013, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 36537, "end": 36559, "loc": { "start": { "line": 1013, "column": 28 }, "end": { "line": 1013, "column": 50 } }, "object": { "type": "MemberExpression", "start": 36537, "end": 36552, "loc": { "start": { "line": 1013, "column": 28 }, "end": { "line": 1013, "column": 43 } }, "object": { "type": "Identifier", "start": 36537, "end": 36546, "loc": { "start": { "line": 1013, "column": 28 }, "end": { "line": 1013, "column": 37 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 36547, "end": 36552, "loc": { "start": { "line": 1013, "column": 38 }, "end": { "line": 1013, "column": 43 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 36553, "end": 36559, "loc": { "start": { "line": 1013, "column": 44 }, "end": { "line": 1013, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 36561, "end": 36564, "loc": { "start": { "line": 1013, "column": 52 }, "end": { "line": 1013, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 36563, "end": 36564, "loc": { "start": { "line": 1013, "column": 54 }, "end": { "line": 1013, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 36566, "end": 36690, "loc": { "start": { "line": 1013, "column": 57 }, "end": { "line": 1016, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 36581, "end": 36613, "loc": { "start": { "line": 1014, "column": 12 }, "end": { "line": 1014, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 36587, "end": 36612, "loc": { "start": { "line": 1014, "column": 18 }, "end": { "line": 1014, "column": 43 } }, "id": { "type": "Identifier", "start": 36587, "end": 36591, "loc": { "start": { "line": 1014, "column": 18 }, "end": { "line": 1014, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 36594, "end": 36612, "loc": { "start": { "line": 1014, "column": 25 }, "end": { "line": 1014, "column": 43 } }, "object": { "type": "MemberExpression", "start": 36594, "end": 36609, "loc": { "start": { "line": 1014, "column": 25 }, "end": { "line": 1014, "column": 40 } }, "object": { "type": "Identifier", "start": 36594, "end": 36603, "loc": { "start": { "line": 1014, "column": 25 }, "end": { "line": 1014, "column": 34 }, "identifierName": "otherPath" }, "name": "otherPath" }, "property": { "type": "Identifier", "start": 36604, "end": 36609, "loc": { "start": { "line": 1014, "column": 35 }, "end": { "line": 1014, "column": 40 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 36610, "end": 36611, "loc": { "start": { "line": 1014, "column": 41 }, "end": { "line": 1014, "column": 42 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 36627, "end": 36679, "loc": { "start": { "line": 1015, "column": 12 }, "end": { "line": 1015, "column": 64 } }, "expression": { "type": "CallExpression", "start": 36627, "end": 36678, "loc": { "start": { "line": 1015, "column": 12 }, "end": { "line": 1015, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 36627, "end": 36642, "loc": { "start": { "line": 1015, "column": 12 }, "end": { "line": 1015, "column": 27 } }, "object": { "type": "MemberExpression", "start": 36627, "end": 36637, "loc": { "start": { "line": 1015, "column": 12 }, "end": { "line": 1015, "column": 22 } }, "object": { "type": "ThisExpression", "start": 36627, "end": 36631, "loc": { "start": { "line": 1015, "column": 12 }, "end": { "line": 1015, "column": 16 } } }, "property": { "type": "Identifier", "start": 36632, "end": 36637, "loc": { "start": { "line": 1015, "column": 17 }, "end": { "line": 1015, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 36638, "end": 36642, "loc": { "start": { "line": 1015, "column": 23 }, "end": { "line": 1015, "column": 27 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ArrayExpression", "start": 36643, "end": 36677, "loc": { "start": { "line": 1015, "column": 28 }, "end": { "line": 1015, "column": 62 } }, "elements": [ { "type": "MemberExpression", "start": 36644, "end": 36663, "loc": { "start": { "line": 1015, "column": 29 }, "end": { "line": 1015, "column": 48 } }, "object": { "type": "Identifier", "start": 36644, "end": 36648, "loc": { "start": { "line": 1015, "column": 29 }, "end": { "line": 1015, "column": 33 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 36649, "end": 36662, "loc": { "start": { "line": 1015, "column": 34 }, "end": { "line": 1015, "column": 47 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, { "type": "MemberExpression", "start": 36665, "end": 36676, "loc": { "start": { "line": 1015, "column": 50 }, "end": { "line": 1015, "column": 61 } }, "object": { "type": "Identifier", "start": 36665, "end": 36669, "loc": { "start": { "line": 1015, "column": 50 }, "end": { "line": 1015, "column": 54 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 36670, "end": 36675, "loc": { "start": { "line": 1015, "column": 55 }, "end": { "line": 1015, "column": 60 }, "identifierName": "_item" }, "name": "_item" }, "computed": true } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Aaand push the other paths items", "start": 36472, "end": 36507, "loc": { "start": { "line": 1012, "column": 8 }, "end": { "line": 1012, "column": 43 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 36702, "end": 36718, "loc": { "start": { "line": 1018, "column": 8 }, "end": { "line": 1018, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 36728, "end": 36768, "loc": { "start": { "line": 1019, "column": 8 }, "end": { "line": 1019, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 36728, "end": 36767, "loc": { "start": { "line": 1019, "column": 8 }, "end": { "line": 1019, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 36728, "end": 36744, "loc": { "start": { "line": 1019, "column": 8 }, "end": { "line": 1019, "column": 24 } }, "object": { "type": "ThisExpression", "start": 36728, "end": 36732, "loc": { "start": { "line": 1019, "column": 8 }, "end": { "line": 1019, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 36733, "end": 36744, "loc": { "start": { "line": 1019, "column": 13 }, "end": { "line": 1019, "column": 24 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 36747, "end": 36767, "loc": { "start": { "line": 1019, "column": 27 }, "end": { "line": 1019, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 36747, "end": 36765, "loc": { "start": { "line": 1019, "column": 27 }, "end": { "line": 1019, "column": 45 } }, "object": { "type": "ThisExpression", "start": 36747, "end": 36751, "loc": { "start": { "line": 1019, "column": 27 }, "end": { "line": 1019, "column": 31 } } }, "property": { "type": "Identifier", "start": 36752, "end": 36765, "loc": { "start": { "line": 1019, "column": 32 }, "end": { "line": 1019, "column": 45 }, "identifierName": "computeBounds" }, "name": "computeBounds" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update bounds", "start": 36702, "end": 36718, "loc": { "start": { "line": 1018, "column": 8 }, "end": { "line": 1018, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 36780, "end": 36801, "loc": { "start": { "line": 1021, "column": 8 }, "end": { "line": 1021, "column": 29 } }, "expression": { "type": "CallExpression", "start": 36780, "end": 36800, "loc": { "start": { "line": 1021, "column": 8 }, "end": { "line": 1021, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 36780, "end": 36798, "loc": { "start": { "line": 1021, "column": 8 }, "end": { "line": 1021, "column": 26 } }, "object": { "type": "ThisExpression", "start": 36780, "end": 36784, "loc": { "start": { "line": 1021, "column": 8 }, "end": { "line": 1021, "column": 12 } } }, "property": { "type": "Identifier", "start": 36785, "end": 36798, "loc": { "start": { "line": 1021, "column": 13 }, "end": { "line": 1021, "column": 26 }, "identifierName": "onPathChanged" }, "name": "onPathChanged" }, "computed": false }, "arguments": [] } }, { "type": "IfStatement", "start": 36813, "end": 36934, "loc": { "start": { "line": 1023, "column": 8 }, "end": { "line": 1025, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 36817, "end": 36862, "loc": { "start": { "line": 1023, "column": 12 }, "end": { "line": 1023, "column": 57 } }, "left": { "type": "Identifier", "start": 36817, "end": 36825, "loc": { "start": { "line": 1023, "column": 12 }, "end": { "line": 1023, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 36829, "end": 36862, "loc": { "start": { "line": 1023, "column": 24 }, "end": { "line": 1023, "column": 57 } }, "object": { "type": "MemberExpression", "start": 36829, "end": 36847, "loc": { "start": { "line": 1023, "column": 24 }, "end": { "line": 1023, "column": 42 } }, "object": { "type": "Identifier", "start": 36829, "end": 36841, "loc": { "start": { "line": 1023, "column": 24 }, "end": { "line": 1023, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 36842, "end": 36847, "loc": { "start": { "line": 1023, "column": 37 }, "end": { "line": 1023, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 36848, "end": 36862, "loc": { "start": { "line": 1023, "column": 43 }, "end": { "line": 1023, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 36864, "end": 36934, "loc": { "start": { "line": 1023, "column": 59 }, "end": { "line": 1025, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 36879, "end": 36923, "loc": { "start": { "line": 1024, "column": 12 }, "end": { "line": 1024, "column": 56 } }, "expression": { "type": "CallExpression", "start": 36879, "end": 36922, "loc": { "start": { "line": 1024, "column": 12 }, "end": { "line": 1024, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 36879, "end": 36904, "loc": { "start": { "line": 1024, "column": 12 }, "end": { "line": 1024, "column": 37 } }, "object": { "type": "ThisExpression", "start": 36879, "end": 36883, "loc": { "start": { "line": 1024, "column": 12 }, "end": { "line": 1024, "column": 16 } } }, "property": { "type": "Identifier", "start": 36884, "end": 36904, "loc": { "start": { "line": 1024, "column": 17 }, "end": { "line": 1024, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 36905, "end": 36921, "loc": { "start": { "line": 1024, "column": 38 }, "end": { "line": 1024, "column": 54 } }, "extra": { "rawValue": "extend-by-path", "raw": "\"extend-by-path\"" }, "value": "extend-by-path" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Extends the path by the given other path\r\n * @param {BeltPath} otherPath\r\n ", "start": 34245, "end": 34342, "loc": { "start": { "line": 954, "column": 4 }, "end": { "line": 957, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Computes the total length of the path\r\n * @returns {number}\r\n ", "start": 36949, "end": 37033, "loc": { "start": { "line": 1028, "column": 4 }, "end": { "line": 1031, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 37039, "end": 37309, "loc": { "start": { "line": 1032, "column": 4 }, "end": { "line": 1039, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 37039, "end": 37057, "loc": { "start": { "line": 1032, "column": 4 }, "end": { "line": 1032, "column": 22 }, "identifierName": "computeTotalLength" }, "name": "computeTotalLength", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 37060, "end": 37309, "loc": { "start": { "line": 1032, "column": 25 }, "end": { "line": 1039, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 37071, "end": 37086, "loc": { "start": { "line": 1033, "column": 8 }, "end": { "line": 1033, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 37075, "end": 37085, "loc": { "start": { "line": 1033, "column": 12 }, "end": { "line": 1033, "column": 22 } }, "id": { "type": "Identifier", "start": 37075, "end": 37081, "loc": { "start": { "line": 1033, "column": 12 }, "end": { "line": 1033, "column": 18 }, "identifierName": "length" }, "name": "length" }, "init": { "type": "NumericLiteral", "start": 37084, "end": 37085, "loc": { "start": { "line": 1033, "column": 21 }, "end": { "line": 1033, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "ForStatement", "start": 37096, "end": 37278, "loc": { "start": { "line": 1034, "column": 8 }, "end": { "line": 1037, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 37101, "end": 37110, "loc": { "start": { "line": 1034, "column": 13 }, "end": { "line": 1034, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 37105, "end": 37110, "loc": { "start": { "line": 1034, "column": 17 }, "end": { "line": 1034, "column": 22 } }, "id": { "type": "Identifier", "start": 37105, "end": 37106, "loc": { "start": { "line": 1034, "column": 17 }, "end": { "line": 1034, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 37109, "end": 37110, "loc": { "start": { "line": 1034, "column": 21 }, "end": { "line": 1034, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 37112, "end": 37138, "loc": { "start": { "line": 1034, "column": 24 }, "end": { "line": 1034, "column": 50 } }, "left": { "type": "Identifier", "start": 37112, "end": 37113, "loc": { "start": { "line": 1034, "column": 24 }, "end": { "line": 1034, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 37116, "end": 37138, "loc": { "start": { "line": 1034, "column": 28 }, "end": { "line": 1034, "column": 50 } }, "object": { "type": "MemberExpression", "start": 37116, "end": 37131, "loc": { "start": { "line": 1034, "column": 28 }, "end": { "line": 1034, "column": 43 } }, "object": { "type": "ThisExpression", "start": 37116, "end": 37120, "loc": { "start": { "line": 1034, "column": 28 }, "end": { "line": 1034, "column": 32 } } }, "property": { "type": "Identifier", "start": 37121, "end": 37131, "loc": { "start": { "line": 1034, "column": 33 }, "end": { "line": 1034, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 37132, "end": 37138, "loc": { "start": { "line": 1034, "column": 44 }, "end": { "line": 1034, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 37140, "end": 37143, "loc": { "start": { "line": 1034, "column": 52 }, "end": { "line": 1034, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 37142, "end": 37143, "loc": { "start": { "line": 1034, "column": 54 }, "end": { "line": 1034, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 37145, "end": 37278, "loc": { "start": { "line": 1034, "column": 57 }, "end": { "line": 1037, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 37160, "end": 37194, "loc": { "start": { "line": 1035, "column": 12 }, "end": { "line": 1035, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 37166, "end": 37193, "loc": { "start": { "line": 1035, "column": 18 }, "end": { "line": 1035, "column": 45 } }, "id": { "type": "Identifier", "start": 37166, "end": 37172, "loc": { "start": { "line": 1035, "column": 18 }, "end": { "line": 1035, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 37175, "end": 37193, "loc": { "start": { "line": 1035, "column": 27 }, "end": { "line": 1035, "column": 45 } }, "object": { "type": "MemberExpression", "start": 37175, "end": 37190, "loc": { "start": { "line": 1035, "column": 27 }, "end": { "line": 1035, "column": 42 } }, "object": { "type": "ThisExpression", "start": 37175, "end": 37179, "loc": { "start": { "line": 1035, "column": 27 }, "end": { "line": 1035, "column": 31 } } }, "property": { "type": "Identifier", "start": 37180, "end": 37190, "loc": { "start": { "line": 1035, "column": 32 }, "end": { "line": 1035, "column": 42 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 37191, "end": 37192, "loc": { "start": { "line": 1035, "column": 43 }, "end": { "line": 1035, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 37208, "end": 37267, "loc": { "start": { "line": 1036, "column": 12 }, "end": { "line": 1036, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 37208, "end": 37266, "loc": { "start": { "line": 1036, "column": 12 }, "end": { "line": 1036, "column": 70 } }, "operator": "+=", "left": { "type": "Identifier", "start": 37208, "end": 37214, "loc": { "start": { "line": 1036, "column": 12 }, "end": { "line": 1036, "column": 18 }, "identifierName": "length" }, "name": "length" }, "right": { "type": "CallExpression", "start": 37218, "end": 37266, "loc": { "start": { "line": 1036, "column": 22 }, "end": { "line": 1036, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 37218, "end": 37264, "loc": { "start": { "line": 1036, "column": 22 }, "end": { "line": 1036, "column": 68 } }, "object": { "type": "MemberExpression", "start": 37218, "end": 37240, "loc": { "start": { "line": 1036, "column": 22 }, "end": { "line": 1036, "column": 44 } }, "object": { "type": "MemberExpression", "start": 37218, "end": 37235, "loc": { "start": { "line": 1036, "column": 22 }, "end": { "line": 1036, "column": 39 } }, "object": { "type": "Identifier", "start": 37218, "end": 37224, "loc": { "start": { "line": 1036, "column": 22 }, "end": { "line": 1036, "column": 28 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 37225, "end": 37235, "loc": { "start": { "line": 1036, "column": 29 }, "end": { "line": 1036, "column": 39 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 37236, "end": 37240, "loc": { "start": { "line": 1036, "column": 40 }, "end": { "line": 1036, "column": 44 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "property": { "type": "Identifier", "start": 37241, "end": 37264, "loc": { "start": { "line": 1036, "column": 45 }, "end": { "line": 1036, "column": 68 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 37288, "end": 37302, "loc": { "start": { "line": 1038, "column": 8 }, "end": { "line": 1038, "column": 22 } }, "argument": { "type": "Identifier", "start": 37295, "end": 37301, "loc": { "start": { "line": 1038, "column": 15 }, "end": { "line": 1038, "column": 21 }, "identifierName": "length" }, "name": "length" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Computes the total length of the path\r\n * @returns {number}\r\n ", "start": 36949, "end": 37033, "loc": { "start": { "line": 1028, "column": 4 }, "end": { "line": 1031, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Performs one tick\r\n ", "start": 37317, "end": 37355, "loc": { "start": { "line": 1041, "column": 4 }, "end": { "line": 1043, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 37361, "end": 42524, "loc": { "start": { "line": 1044, "column": 4 }, "end": { "line": 1161, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 37361, "end": 37367, "loc": { "start": { "line": 1044, "column": 4 }, "end": { "line": 1044, "column": 10 }, "identifierName": "update" }, "name": "update", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 37370, "end": 42524, "loc": { "start": { "line": 1044, "column": 13 }, "end": { "line": 1161, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 37381, "end": 37498, "loc": { "start": { "line": 1045, "column": 8 }, "end": { "line": 1047, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 37385, "end": 37430, "loc": { "start": { "line": 1045, "column": 12 }, "end": { "line": 1045, "column": 57 } }, "left": { "type": "Identifier", "start": 37385, "end": 37393, "loc": { "start": { "line": 1045, "column": 12 }, "end": { "line": 1045, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 37397, "end": 37430, "loc": { "start": { "line": 1045, "column": 24 }, "end": { "line": 1045, "column": 57 } }, "object": { "type": "MemberExpression", "start": 37397, "end": 37415, "loc": { "start": { "line": 1045, "column": 24 }, "end": { "line": 1045, "column": 42 } }, "object": { "type": "Identifier", "start": 37397, "end": 37409, "loc": { "start": { "line": 1045, "column": 24 }, "end": { "line": 1045, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 37410, "end": 37415, "loc": { "start": { "line": 1045, "column": 37 }, "end": { "line": 1045, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 37416, "end": 37430, "loc": { "start": { "line": 1045, "column": 43 }, "end": { "line": 1045, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 37432, "end": 37498, "loc": { "start": { "line": 1045, "column": 59 }, "end": { "line": 1047, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 37447, "end": 37487, "loc": { "start": { "line": 1046, "column": 12 }, "end": { "line": 1046, "column": 52 } }, "expression": { "type": "CallExpression", "start": 37447, "end": 37486, "loc": { "start": { "line": 1046, "column": 12 }, "end": { "line": 1046, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 37447, "end": 37472, "loc": { "start": { "line": 1046, "column": 12 }, "end": { "line": 1046, "column": 37 } }, "object": { "type": "ThisExpression", "start": 37447, "end": 37451, "loc": { "start": { "line": 1046, "column": 12 }, "end": { "line": 1046, "column": 16 } } }, "property": { "type": "Identifier", "start": 37452, "end": 37472, "loc": { "start": { "line": 1046, "column": 17 }, "end": { "line": 1046, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 37473, "end": 37485, "loc": { "start": { "line": 1046, "column": 38 }, "end": { "line": 1046, "column": 50 } }, "extra": { "rawValue": "pre-update", "raw": "\"pre-update\"" }, "value": "pre-update" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Divide by item spacing on belts since we use throughput and not speed", "start": 37510, "end": 37582, "loc": { "start": { "line": 1049, "column": 8 }, "end": { "line": 1049, "column": 80 } } } ] }, { "type": "VariableDeclaration", "start": 37592, "end": 37760, "loc": { "start": { "line": 1050, "column": 8 }, "end": { "line": 1053, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 37596, "end": 37759, "loc": { "start": { "line": 1050, "column": 12 }, "end": { "line": 1053, "column": 43 } }, "id": { "type": "Identifier", "start": 37596, "end": 37605, "loc": { "start": { "line": 1050, "column": 12 }, "end": { "line": 1050, "column": 21 }, "identifierName": "beltSpeed" }, "name": "beltSpeed", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 37621, "end": 37759, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1053, "column": 43 } }, "left": { "type": "BinaryExpression", "start": 37621, "end": 37712, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1052, "column": 50 } }, "left": { "type": "CallExpression", "start": 37621, "end": 37658, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1051, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 37621, "end": 37656, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1051, "column": 47 } }, "object": { "type": "MemberExpression", "start": 37621, "end": 37639, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1051, "column": 30 } }, "object": { "type": "MemberExpression", "start": 37621, "end": 37630, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1051, "column": 21 } }, "object": { "type": "ThisExpression", "start": 37621, "end": 37625, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1051, "column": 16 } } }, "property": { "type": "Identifier", "start": 37626, "end": 37630, "loc": { "start": { "line": 1051, "column": 17 }, "end": { "line": 1051, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 37631, "end": 37639, "loc": { "start": { "line": 1051, "column": 22 }, "end": { "line": 1051, "column": 30 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 37640, "end": 37656, "loc": { "start": { "line": 1051, "column": 31 }, "end": { "line": 1051, "column": 47 }, "identifierName": "getBeltBaseSpeed" }, "name": "getBeltBaseSpeed" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "MemberExpression", "start": 37674, "end": 37712, "loc": { "start": { "line": 1052, "column": 12 }, "end": { "line": 1052, "column": 50 } }, "object": { "type": "MemberExpression", "start": 37674, "end": 37699, "loc": { "start": { "line": 1052, "column": 12 }, "end": { "line": 1052, "column": 37 } }, "object": { "type": "MemberExpression", "start": 37674, "end": 37683, "loc": { "start": { "line": 1052, "column": 12 }, "end": { "line": 1052, "column": 21 } }, "object": { "type": "ThisExpression", "start": 37674, "end": 37678, "loc": { "start": { "line": 1052, "column": 12 }, "end": { "line": 1052, "column": 16 } } }, "property": { "type": "Identifier", "start": 37679, "end": 37683, "loc": { "start": { "line": 1052, "column": 17 }, "end": { "line": 1052, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 37684, "end": 37699, "loc": { "start": { "line": 1052, "column": 22 }, "end": { "line": 1052, "column": 37 }, "identifierName": "dynamicTickrate" }, "name": "dynamicTickrate" }, "computed": false }, "property": { "type": "Identifier", "start": 37700, "end": 37712, "loc": { "start": { "line": 1052, "column": 38 }, "end": { "line": 1052, "column": 50 }, "identifierName": "deltaSeconds" }, "name": "deltaSeconds" }, "computed": false } }, "operator": "*", "right": { "type": "MemberExpression", "start": 37728, "end": 37759, "loc": { "start": { "line": 1053, "column": 12 }, "end": { "line": 1053, "column": 43 } }, "object": { "type": "Identifier", "start": 37728, "end": 37740, "loc": { "start": { "line": 1053, "column": 12 }, "end": { "line": 1053, "column": 24 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 37741, "end": 37759, "loc": { "start": { "line": 1053, "column": 25 }, "end": { "line": 1053, "column": 43 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false } }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Divide by item spacing on belts since we use throughput and not speed", "start": 37510, "end": 37582, "loc": { "start": { "line": 1049, "column": 8 }, "end": { "line": 1049, "column": 80 } } } ] }, { "type": "IfStatement", "start": 37772, "end": 37864, "loc": { "start": { "line": 1055, "column": 8 }, "end": { "line": 1057, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 37776, "end": 37819, "loc": { "start": { "line": 1055, "column": 12 }, "end": { "line": 1055, "column": 55 } }, "left": { "type": "Identifier", "start": 37776, "end": 37784, "loc": { "start": { "line": 1055, "column": 12 }, "end": { "line": 1055, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 37788, "end": 37819, "loc": { "start": { "line": 1055, "column": 24 }, "end": { "line": 1055, "column": 55 } }, "object": { "type": "MemberExpression", "start": 37788, "end": 37806, "loc": { "start": { "line": 1055, "column": 24 }, "end": { "line": 1055, "column": 42 } }, "object": { "type": "Identifier", "start": 37788, "end": 37800, "loc": { "start": { "line": 1055, "column": 24 }, "end": { "line": 1055, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 37801, "end": 37806, "loc": { "start": { "line": 1055, "column": 37 }, "end": { "line": 1055, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 37807, "end": 37819, "loc": { "start": { "line": 1055, "column": 43 }, "end": { "line": 1055, "column": 55 }, "identifierName": "instantBelts" }, "name": "instantBelts" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 37821, "end": 37864, "loc": { "start": { "line": 1055, "column": 57 }, "end": { "line": 1057, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 37836, "end": 37853, "loc": { "start": { "line": 1056, "column": 12 }, "end": { "line": 1056, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 37836, "end": 37852, "loc": { "start": { "line": 1056, "column": 12 }, "end": { "line": 1056, "column": 28 } }, "operator": "*=", "left": { "type": "Identifier", "start": 37836, "end": 37845, "loc": { "start": { "line": 1056, "column": 12 }, "end": { "line": 1056, "column": 21 }, "identifierName": "beltSpeed" }, "name": "beltSpeed" }, "right": { "type": "NumericLiteral", "start": 37849, "end": 37852, "loc": { "start": { "line": 1056, "column": 25 }, "end": { "line": 1056, "column": 28 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Store whether this is the first item we processed, so premature", "start": 37876, "end": 37942, "loc": { "start": { "line": 1059, "column": 8 }, "end": { "line": 1059, "column": 74 } } }, { "type": "CommentLine", "value": " item ejection is available", "start": 37952, "end": 37981, "loc": { "start": { "line": 1060, "column": 8 }, "end": { "line": 1060, "column": 37 } } } ] }, { "type": "VariableDeclaration", "start": 37991, "end": 38023, "loc": { "start": { "line": 1061, "column": 8 }, "end": { "line": 1061, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 37995, "end": 38022, "loc": { "start": { "line": 1061, "column": 12 }, "end": { "line": 1061, "column": 39 } }, "id": { "type": "Identifier", "start": 37995, "end": 38015, "loc": { "start": { "line": 1061, "column": 12 }, "end": { "line": 1061, "column": 32 }, "identifierName": "isFirstItemProcessed" }, "name": "isFirstItemProcessed", "leadingComments": null }, "init": { "type": "BooleanLiteral", "start": 38018, "end": 38022, "loc": { "start": { "line": 1061, "column": 35 }, "end": { "line": 1061, "column": 39 } }, "value": true }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Store whether this is the first item we processed, so premature", "start": 37876, "end": 37942, "loc": { "start": { "line": 1059, "column": 8 }, "end": { "line": 1059, "column": 74 } } }, { "type": "CommentLine", "value": " item ejection is available", "start": 37952, "end": 37981, "loc": { "start": { "line": 1060, "column": 8 }, "end": { "line": 1060, "column": 37 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Store how much velocity (strictly its distance, not velocity) we have to distribute over all items", "start": 38035, "end": 38136, "loc": { "start": { "line": 1063, "column": 8 }, "end": { "line": 1063, "column": 109 } } } ] }, { "type": "VariableDeclaration", "start": 38146, "end": 38180, "loc": { "start": { "line": 1064, "column": 8 }, "end": { "line": 1064, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 38150, "end": 38179, "loc": { "start": { "line": 1064, "column": 12 }, "end": { "line": 1064, "column": 41 } }, "id": { "type": "Identifier", "start": 38150, "end": 38167, "loc": { "start": { "line": 1064, "column": 12 }, "end": { "line": 1064, "column": 29 }, "identifierName": "remainingVelocity" }, "name": "remainingVelocity", "leadingComments": null }, "init": { "type": "Identifier", "start": 38170, "end": 38179, "loc": { "start": { "line": 1064, "column": 32 }, "end": { "line": 1064, "column": 41 }, "identifierName": "beltSpeed" }, "name": "beltSpeed" }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Store how much velocity (strictly its distance, not velocity) we have to distribute over all items", "start": 38035, "end": 38136, "loc": { "start": { "line": 1063, "column": 8 }, "end": { "line": 1063, "column": 109 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Store the last item we processed, so we can skip clashed ones", "start": 38192, "end": 38256, "loc": { "start": { "line": 1066, "column": 8 }, "end": { "line": 1066, "column": 72 } } } ] }, { "type": "VariableDeclaration", "start": 38266, "end": 38288, "loc": { "start": { "line": 1067, "column": 8 }, "end": { "line": 1067, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 38270, "end": 38287, "loc": { "start": { "line": 1067, "column": 12 }, "end": { "line": 1067, "column": 29 } }, "id": { "type": "Identifier", "start": 38270, "end": 38287, "loc": { "start": { "line": 1067, "column": 12 }, "end": { "line": 1067, "column": 29 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Store the last item we processed, so we can skip clashed ones", "start": 38192, "end": 38256, "loc": { "start": { "line": 1066, "column": 8 }, "end": { "line": 1066, "column": 72 } } } ] }, { "type": "ForStatement", "start": 38300, "end": 41646, "loc": { "start": { "line": 1069, "column": 8 }, "end": { "line": 1137, "column": 9 } }, "init": { "type": "AssignmentExpression", "start": 38305, "end": 38346, "loc": { "start": { "line": 1069, "column": 13 }, "end": { "line": 1069, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 38305, "end": 38322, "loc": { "start": { "line": 1069, "column": 13 }, "end": { "line": 1069, "column": 30 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" }, "right": { "type": "BinaryExpression", "start": 38325, "end": 38346, "loc": { "start": { "line": 1069, "column": 33 }, "end": { "line": 1069, "column": 54 } }, "left": { "type": "MemberExpression", "start": 38325, "end": 38342, "loc": { "start": { "line": 1069, "column": 33 }, "end": { "line": 1069, "column": 50 } }, "object": { "type": "MemberExpression", "start": 38325, "end": 38335, "loc": { "start": { "line": 1069, "column": 33 }, "end": { "line": 1069, "column": 43 } }, "object": { "type": "ThisExpression", "start": 38325, "end": 38329, "loc": { "start": { "line": 1069, "column": 33 }, "end": { "line": 1069, "column": 37 } } }, "property": { "type": "Identifier", "start": 38330, "end": 38335, "loc": { "start": { "line": 1069, "column": 38 }, "end": { "line": 1069, "column": 43 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 38336, "end": 38342, "loc": { "start": { "line": 1069, "column": 44 }, "end": { "line": 1069, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 38345, "end": 38346, "loc": { "start": { "line": 1069, "column": 53 }, "end": { "line": 1069, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, "test": { "type": "BinaryExpression", "start": 38348, "end": 38370, "loc": { "start": { "line": 1069, "column": 56 }, "end": { "line": 1069, "column": 78 } }, "left": { "type": "Identifier", "start": 38348, "end": 38365, "loc": { "start": { "line": 1069, "column": 56 }, "end": { "line": 1069, "column": 73 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 38369, "end": 38370, "loc": { "start": { "line": 1069, "column": 77 }, "end": { "line": 1069, "column": 78 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "update": { "type": "UpdateExpression", "start": 38372, "end": 38391, "loc": { "start": { "line": 1069, "column": 80 }, "end": { "line": 1069, "column": 99 } }, "operator": "--", "prefix": true, "argument": { "type": "Identifier", "start": 38374, "end": 38391, "loc": { "start": { "line": 1069, "column": 82 }, "end": { "line": 1069, "column": 99 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 38393, "end": 41646, "loc": { "start": { "line": 1069, "column": 101 }, "end": { "line": 1137, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 38408, "end": 38466, "loc": { "start": { "line": 1070, "column": 12 }, "end": { "line": 1070, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", "start": 38414, "end": 38465, "loc": { "start": { "line": 1070, "column": 18 }, "end": { "line": 1070, "column": 69 } }, "id": { "type": "Identifier", "start": 38414, "end": 38433, "loc": { "start": { "line": 1070, "column": 18 }, "end": { "line": 1070, "column": 37 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "init": { "type": "MemberExpression", "start": 38436, "end": 38465, "loc": { "start": { "line": 1070, "column": 40 }, "end": { "line": 1070, "column": 69 } }, "object": { "type": "MemberExpression", "start": 38436, "end": 38446, "loc": { "start": { "line": 1070, "column": 40 }, "end": { "line": 1070, "column": 50 } }, "object": { "type": "ThisExpression", "start": 38436, "end": 38440, "loc": { "start": { "line": 1070, "column": 40 }, "end": { "line": 1070, "column": 44 } } }, "property": { "type": "Identifier", "start": 38441, "end": 38446, "loc": { "start": { "line": 1070, "column": 45 }, "end": { "line": 1070, "column": 50 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 38447, "end": 38464, "loc": { "start": { "line": 1070, "column": 51 }, "end": { "line": 1070, "column": 68 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" }, "computed": true } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Compute how much spacing we need at least", "start": 38482, "end": 38526, "loc": { "start": { "line": 1072, "column": 12 }, "end": { "line": 1072, "column": 56 } } } ] }, { "type": "VariableDeclaration", "start": 38540, "end": 38662, "loc": { "start": { "line": 1073, "column": 12 }, "end": { "line": 1074, "column": 98 } }, "declarations": [ { "type": "VariableDeclarator", "start": 38546, "end": 38661, "loc": { "start": { "line": 1073, "column": 18 }, "end": { "line": 1074, "column": 97 } }, "id": { "type": "Identifier", "start": 38546, "end": 38560, "loc": { "start": { "line": 1073, "column": 18 }, "end": { "line": 1073, "column": 32 }, "identifierName": "minimumSpacing" }, "name": "minimumSpacing", "leadingComments": null }, "init": { "type": "ConditionalExpression", "start": 38580, "end": 38661, "loc": { "start": { "line": 1074, "column": 16 }, "end": { "line": 1074, "column": 97 } }, "test": { "type": "BinaryExpression", "start": 38580, "end": 38623, "loc": { "start": { "line": 1074, "column": 16 }, "end": { "line": 1074, "column": 59 } }, "left": { "type": "Identifier", "start": 38580, "end": 38597, "loc": { "start": { "line": 1074, "column": 16 }, "end": { "line": 1074, "column": 33 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" }, "operator": "===", "right": { "type": "BinaryExpression", "start": 38602, "end": 38623, "loc": { "start": { "line": 1074, "column": 38 }, "end": { "line": 1074, "column": 59 } }, "left": { "type": "MemberExpression", "start": 38602, "end": 38619, "loc": { "start": { "line": 1074, "column": 38 }, "end": { "line": 1074, "column": 55 } }, "object": { "type": "MemberExpression", "start": 38602, "end": 38612, "loc": { "start": { "line": 1074, "column": 38 }, "end": { "line": 1074, "column": 48 } }, "object": { "type": "ThisExpression", "start": 38602, "end": 38606, "loc": { "start": { "line": 1074, "column": 38 }, "end": { "line": 1074, "column": 42 } } }, "property": { "type": "Identifier", "start": 38607, "end": 38612, "loc": { "start": { "line": 1074, "column": 43 }, "end": { "line": 1074, "column": 48 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 38613, "end": 38619, "loc": { "start": { "line": 1074, "column": 49 }, "end": { "line": 1074, "column": 55 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 38622, "end": 38623, "loc": { "start": { "line": 1074, "column": 58 }, "end": { "line": 1074, "column": 59 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, "consequent": { "type": "NumericLiteral", "start": 38626, "end": 38627, "loc": { "start": { "line": 1074, "column": 62 }, "end": { "line": 1074, "column": 63 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "alternate": { "type": "MemberExpression", "start": 38630, "end": 38661, "loc": { "start": { "line": 1074, "column": 66 }, "end": { "line": 1074, "column": 97 } }, "object": { "type": "Identifier", "start": 38630, "end": 38642, "loc": { "start": { "line": 1074, "column": 66 }, "end": { "line": 1074, "column": 78 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 38643, "end": 38661, "loc": { "start": { "line": 1074, "column": 79 }, "end": { "line": 1074, "column": 97 }, "identifierName": "itemSpacingOnBelts" }, "name": "itemSpacingOnBelts" }, "computed": false } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Compute how much spacing we need at least", "start": 38482, "end": 38526, "loc": { "start": { "line": 1072, "column": 12 }, "end": { "line": 1072, "column": 56 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Compute how much we can advance", "start": 38678, "end": 38712, "loc": { "start": { "line": 1076, "column": 12 }, "end": { "line": 1076, "column": 46 } } } ] }, { "type": "VariableDeclaration", "start": 38726, "end": 38893, "loc": { "start": { "line": 1077, "column": 12 }, "end": { "line": 1080, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", "start": 38732, "end": 38892, "loc": { "start": { "line": 1077, "column": 18 }, "end": { "line": 1080, "column": 13 } }, "id": { "type": "Identifier", "start": 38732, "end": 38747, "loc": { "start": { "line": 1077, "column": 18 }, "end": { "line": 1077, "column": 33 }, "identifierName": "clampedProgress" }, "name": "clampedProgress", "leadingComments": null }, "init": { "type": "CallExpression", "start": 38750, "end": 38892, "loc": { "start": { "line": 1077, "column": 36 }, "end": { "line": 1080, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 38750, "end": 38758, "loc": { "start": { "line": 1077, "column": 36 }, "end": { "line": 1077, "column": 44 } }, "object": { "type": "Identifier", "start": 38750, "end": 38754, "loc": { "start": { "line": 1077, "column": 36 }, "end": { "line": 1077, "column": 40 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 38755, "end": 38758, "loc": { "start": { "line": 1077, "column": 41 }, "end": { "line": 1077, "column": 44 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 38777, "end": 38778, "loc": { "start": { "line": 1078, "column": 16 }, "end": { "line": 1078, "column": 17 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "CallExpression", "start": 38797, "end": 38877, "loc": { "start": { "line": 1079, "column": 16 }, "end": { "line": 1079, "column": 96 } }, "callee": { "type": "MemberExpression", "start": 38797, "end": 38805, "loc": { "start": { "line": 1079, "column": 16 }, "end": { "line": 1079, "column": 24 } }, "object": { "type": "Identifier", "start": 38797, "end": 38801, "loc": { "start": { "line": 1079, "column": 16 }, "end": { "line": 1079, "column": 20 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 38802, "end": 38805, "loc": { "start": { "line": 1079, "column": 21 }, "end": { "line": 1079, "column": 24 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 38806, "end": 38823, "loc": { "start": { "line": 1079, "column": 25 }, "end": { "line": 1079, "column": 42 }, "identifierName": "remainingVelocity" }, "name": "remainingVelocity" }, { "type": "BinaryExpression", "start": 38825, "end": 38876, "loc": { "start": { "line": 1079, "column": 44 }, "end": { "line": 1079, "column": 95 } }, "left": { "type": "MemberExpression", "start": 38825, "end": 38859, "loc": { "start": { "line": 1079, "column": 44 }, "end": { "line": 1079, "column": 78 } }, "object": { "type": "Identifier", "start": 38825, "end": 38844, "loc": { "start": { "line": 1079, "column": 44 }, "end": { "line": 1079, "column": 63 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "property": { "type": "Identifier", "start": 38845, "end": 38858, "loc": { "start": { "line": 1079, "column": 64 }, "end": { "line": 1079, "column": 77 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": "-", "right": { "type": "Identifier", "start": 38862, "end": 38876, "loc": { "start": { "line": 1079, "column": 81 }, "end": { "line": 1079, "column": 95 }, "identifierName": "minimumSpacing" }, "name": "minimumSpacing" } } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Compute how much we can advance", "start": 38678, "end": 38712, "loc": { "start": { "line": 1076, "column": 12 }, "end": { "line": 1076, "column": 46 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Reduce our velocity by the amount we consumed", "start": 38909, "end": 38957, "loc": { "start": { "line": 1082, "column": 12 }, "end": { "line": 1082, "column": 60 } } } ] }, { "type": "ExpressionStatement", "start": 38971, "end": 39008, "loc": { "start": { "line": 1083, "column": 12 }, "end": { "line": 1083, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 38971, "end": 39007, "loc": { "start": { "line": 1083, "column": 12 }, "end": { "line": 1083, "column": 48 } }, "operator": "-=", "left": { "type": "Identifier", "start": 38971, "end": 38988, "loc": { "start": { "line": 1083, "column": 12 }, "end": { "line": 1083, "column": 29 }, "identifierName": "remainingVelocity" }, "name": "remainingVelocity", "leadingComments": null }, "right": { "type": "Identifier", "start": 38992, "end": 39007, "loc": { "start": { "line": 1083, "column": 33 }, "end": { "line": 1083, "column": 48 }, "identifierName": "clampedProgress" }, "name": "clampedProgress" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Reduce our velocity by the amount we consumed", "start": 38909, "end": 38957, "loc": { "start": { "line": 1082, "column": 12 }, "end": { "line": 1082, "column": 60 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Reduce the spacing", "start": 39024, "end": 39045, "loc": { "start": { "line": 1085, "column": 12 }, "end": { "line": 1085, "column": 33 } } } ] }, { "type": "ExpressionStatement", "start": 39059, "end": 39113, "loc": { "start": { "line": 1086, "column": 12 }, "end": { "line": 1086, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 39059, "end": 39112, "loc": { "start": { "line": 1086, "column": 12 }, "end": { "line": 1086, "column": 65 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 39059, "end": 39093, "loc": { "start": { "line": 1086, "column": 12 }, "end": { "line": 1086, "column": 46 } }, "object": { "type": "Identifier", "start": 39059, "end": 39078, "loc": { "start": { "line": 1086, "column": 12 }, "end": { "line": 1086, "column": 31 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem", "leadingComments": null }, "property": { "type": "Identifier", "start": 39079, "end": 39092, "loc": { "start": { "line": 1086, "column": 32 }, "end": { "line": 1086, "column": 45 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true, "leadingComments": null }, "right": { "type": "Identifier", "start": 39097, "end": 39112, "loc": { "start": { "line": 1086, "column": 50 }, "end": { "line": 1086, "column": 65 }, "identifierName": "clampedProgress" }, "name": "clampedProgress" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Reduce the spacing", "start": 39024, "end": 39045, "loc": { "start": { "line": 1085, "column": 12 }, "end": { "line": 1085, "column": 33 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Advance all items behind by the progress we made", "start": 39129, "end": 39180, "loc": { "start": { "line": 1088, "column": 12 }, "end": { "line": 1088, "column": 63 } } } ] }, { "type": "ExpressionStatement", "start": 39194, "end": 39237, "loc": { "start": { "line": 1089, "column": 12 }, "end": { "line": 1089, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 39194, "end": 39236, "loc": { "start": { "line": 1089, "column": 12 }, "end": { "line": 1089, "column": 54 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 39194, "end": 39217, "loc": { "start": { "line": 1089, "column": 12 }, "end": { "line": 1089, "column": 35 } }, "object": { "type": "ThisExpression", "start": 39194, "end": 39198, "loc": { "start": { "line": 1089, "column": 12 }, "end": { "line": 1089, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 39199, "end": 39217, "loc": { "start": { "line": 1089, "column": 17 }, "end": { "line": 1089, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 39221, "end": 39236, "loc": { "start": { "line": 1089, "column": 39 }, "end": { "line": 1089, "column": 54 }, "identifierName": "clampedProgress" }, "name": "clampedProgress" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Advance all items behind by the progress we made", "start": 39129, "end": 39180, "loc": { "start": { "line": 1088, "column": 12 }, "end": { "line": 1088, "column": 63 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " If the last item can be ejected, eject it and reduce the spacing, because otherwise", "start": 39253, "end": 39339, "loc": { "start": { "line": 1091, "column": 12 }, "end": { "line": 1091, "column": 98 } } }, { "type": "CommentLine", "value": " we lose velocity", "start": 39353, "end": 39372, "loc": { "start": { "line": 1092, "column": 12 }, "end": { "line": 1092, "column": 31 } } } ] }, { "type": "IfStatement", "start": 39386, "end": 41315, "loc": { "start": { "line": 1093, "column": 12 }, "end": { "line": 1126, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 39390, "end": 39455, "loc": { "start": { "line": 1093, "column": 16 }, "end": { "line": 1093, "column": 81 } }, "left": { "type": "Identifier", "start": 39390, "end": 39410, "loc": { "start": { "line": 1093, "column": 16 }, "end": { "line": 1093, "column": 36 }, "identifierName": "isFirstItemProcessed" }, "name": "isFirstItemProcessed", "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 39414, "end": 39455, "loc": { "start": { "line": 1093, "column": 40 }, "end": { "line": 1093, "column": 81 } }, "left": { "type": "MemberExpression", "start": 39414, "end": 39448, "loc": { "start": { "line": 1093, "column": 40 }, "end": { "line": 1093, "column": 74 } }, "object": { "type": "Identifier", "start": 39414, "end": 39433, "loc": { "start": { "line": 1093, "column": 40 }, "end": { "line": 1093, "column": 59 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "property": { "type": "Identifier", "start": 39434, "end": 39447, "loc": { "start": { "line": 1093, "column": 60 }, "end": { "line": 1093, "column": 73 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": "<", "right": { "type": "NumericLiteral", "start": 39451, "end": 39455, "loc": { "start": { "line": 1093, "column": 77 }, "end": { "line": 1093, "column": 81 } }, "extra": { "rawValue": 1e-7, "raw": "1e-7" }, "value": 1e-7 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 39457, "end": 41315, "loc": { "start": { "line": 1093, "column": 83 }, "end": { "line": 1126, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 39776, "end": 39827, "loc": { "start": { "line": 1097, "column": 16 }, "end": { "line": 1097, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 39782, "end": 39826, "loc": { "start": { "line": 1097, "column": 22 }, "end": { "line": 1097, "column": 66 } }, "id": { "type": "Identifier", "start": 39782, "end": 39796, "loc": { "start": { "line": 1097, "column": 22 }, "end": { "line": 1097, "column": 36 }, "identifierName": "excessVelocity" }, "name": "excessVelocity", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 39799, "end": 39826, "loc": { "start": { "line": 1097, "column": 39 }, "end": { "line": 1097, "column": 66 } }, "left": { "type": "Identifier", "start": 39799, "end": 39808, "loc": { "start": { "line": 1097, "column": 39 }, "end": { "line": 1097, "column": 48 }, "identifierName": "beltSpeed" }, "name": "beltSpeed" }, "operator": "-", "right": { "type": "Identifier", "start": 39811, "end": 39826, "loc": { "start": { "line": 1097, "column": 51 }, "end": { "line": 1097, "column": 66 }, "identifierName": "clampedProgress" }, "name": "clampedProgress" } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Store how much velocity we \"lost\" because we bumped the item to the end of the", "start": 39476, "end": 39557, "loc": { "start": { "line": 1094, "column": 16 }, "end": { "line": 1094, "column": 97 } } }, { "type": "CommentLine", "value": " belt but couldn't move it any farther. We need this to tell the item acceptor", "start": 39575, "end": 39655, "loc": { "start": { "line": 1095, "column": 16 }, "end": { "line": 1095, "column": 96 } } }, { "type": "CommentLine", "value": " animation to start a tad later, so everything matches up. Yes I'm a perfectionist.", "start": 39673, "end": 39758, "loc": { "start": { "line": 1096, "column": 16 }, "end": { "line": 1096, "column": 101 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Try to directly get rid of the item", "start": 39847, "end": 39885, "loc": { "start": { "line": 1099, "column": 16 }, "end": { "line": 1099, "column": 54 } } } ] }, { "type": "IfStatement", "start": 39903, "end": 41300, "loc": { "start": { "line": 1100, "column": 16 }, "end": { "line": 1125, "column": 17 } }, "test": { "type": "CallExpression", "start": 39907, "end": 39971, "loc": { "start": { "line": 1100, "column": 20 }, "end": { "line": 1100, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 39907, "end": 39927, "loc": { "start": { "line": 1100, "column": 20 }, "end": { "line": 1100, "column": 40 } }, "object": { "type": "ThisExpression", "start": 39907, "end": 39911, "loc": { "start": { "line": 1100, "column": 20 }, "end": { "line": 1100, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 39912, "end": 39927, "loc": { "start": { "line": 1100, "column": 25 }, "end": { "line": 1100, "column": 40 }, "identifierName": "tryHandOverItem" }, "name": "tryHandOverItem" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 39928, "end": 39954, "loc": { "start": { "line": 1100, "column": 41 }, "end": { "line": 1100, "column": 67 } }, "object": { "type": "Identifier", "start": 39928, "end": 39947, "loc": { "start": { "line": 1100, "column": 41 }, "end": { "line": 1100, "column": 60 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "property": { "type": "Identifier", "start": 39948, "end": 39953, "loc": { "start": { "line": 1100, "column": 61 }, "end": { "line": 1100, "column": 66 }, "identifierName": "_item" }, "name": "_item" }, "computed": true }, { "type": "Identifier", "start": 39956, "end": 39970, "loc": { "start": { "line": 1100, "column": 69 }, "end": { "line": 1100, "column": 83 }, "identifierName": "excessVelocity" }, "name": "excessVelocity" } ], "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 39973, "end": 41300, "loc": { "start": { "line": 1100, "column": 86 }, "end": { "line": 1125, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 39996, "end": 40013, "loc": { "start": { "line": 1101, "column": 20 }, "end": { "line": 1101, "column": 37 } }, "expression": { "type": "CallExpression", "start": 39996, "end": 40012, "loc": { "start": { "line": 1101, "column": 20 }, "end": { "line": 1101, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 39996, "end": 40010, "loc": { "start": { "line": 1101, "column": 20 }, "end": { "line": 1101, "column": 34 } }, "object": { "type": "MemberExpression", "start": 39996, "end": 40006, "loc": { "start": { "line": 1101, "column": 20 }, "end": { "line": 1101, "column": 30 } }, "object": { "type": "ThisExpression", "start": 39996, "end": 40000, "loc": { "start": { "line": 1101, "column": 20 }, "end": { "line": 1101, "column": 24 } } }, "property": { "type": "Identifier", "start": 40001, "end": 40006, "loc": { "start": { "line": 1101, "column": 25 }, "end": { "line": 1101, "column": 30 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 40007, "end": 40010, "loc": { "start": { "line": 1101, "column": 31 }, "end": { "line": 1101, "column": 34 }, "identifierName": "pop" }, "name": "pop" }, "computed": false }, "arguments": [] } }, { "type": "VariableDeclaration", "start": 40037, "end": 40090, "loc": { "start": { "line": 1103, "column": 20 }, "end": { "line": 1103, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 40043, "end": 40089, "loc": { "start": { "line": 1103, "column": 26 }, "end": { "line": 1103, "column": 72 } }, "id": { "type": "Identifier", "start": 40043, "end": 40053, "loc": { "start": { "line": 1103, "column": 26 }, "end": { "line": 1103, "column": 36 }, "identifierName": "itemBehind" }, "name": "itemBehind" }, "init": { "type": "MemberExpression", "start": 40056, "end": 40089, "loc": { "start": { "line": 1103, "column": 39 }, "end": { "line": 1103, "column": 72 } }, "object": { "type": "MemberExpression", "start": 40056, "end": 40066, "loc": { "start": { "line": 1103, "column": 39 }, "end": { "line": 1103, "column": 49 } }, "object": { "type": "ThisExpression", "start": 40056, "end": 40060, "loc": { "start": { "line": 1103, "column": 39 }, "end": { "line": 1103, "column": 43 } } }, "property": { "type": "Identifier", "start": 40061, "end": 40066, "loc": { "start": { "line": 1103, "column": 44 }, "end": { "line": 1103, "column": 49 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 40067, "end": 40088, "loc": { "start": { "line": 1103, "column": 50 }, "end": { "line": 1103, "column": 71 } }, "left": { "type": "Identifier", "start": 40067, "end": 40084, "loc": { "start": { "line": 1103, "column": 50 }, "end": { "line": 1103, "column": 67 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 40087, "end": 40088, "loc": { "start": { "line": 1103, "column": 70 }, "end": { "line": 1103, "column": 71 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 40112, "end": 40989, "loc": { "start": { "line": 1104, "column": 20 }, "end": { "line": 1118, "column": 21 } }, "test": { "type": "LogicalExpression", "start": 40116, "end": 40171, "loc": { "start": { "line": 1104, "column": 24 }, "end": { "line": 1104, "column": 79 } }, "left": { "type": "Identifier", "start": 40116, "end": 40126, "loc": { "start": { "line": 1104, "column": 24 }, "end": { "line": 1104, "column": 34 }, "identifierName": "itemBehind" }, "name": "itemBehind" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 40130, "end": 40171, "loc": { "start": { "line": 1104, "column": 38 }, "end": { "line": 1104, "column": 79 } }, "left": { "type": "MemberExpression", "start": 40130, "end": 40167, "loc": { "start": { "line": 1104, "column": 38 }, "end": { "line": 1104, "column": 75 } }, "object": { "type": "ThisExpression", "start": 40130, "end": 40134, "loc": { "start": { "line": 1104, "column": 38 }, "end": { "line": 1104, "column": 42 } } }, "property": { "type": "Identifier", "start": 40135, "end": 40167, "loc": { "start": { "line": 1104, "column": 43 }, "end": { "line": 1104, "column": 75 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 40170, "end": 40171, "loc": { "start": { "line": 1104, "column": 78 }, "end": { "line": 1104, "column": 79 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 40173, "end": 40989, "loc": { "start": { "line": 1104, "column": 81 }, "end": { "line": 1118, "column": 21 } }, "body": [ { "type": "VariableDeclaration", "start": 40554, "end": 40729, "loc": { "start": { "line": 1109, "column": 24 }, "end": { "line": 1112, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 40560, "end": 40728, "loc": { "start": { "line": 1109, "column": 30 }, "end": { "line": 1112, "column": 25 } }, "id": { "type": "Identifier", "start": 40560, "end": 40573, "loc": { "start": { "line": 1109, "column": 30 }, "end": { "line": 1109, "column": 43 }, "identifierName": "fixupProgress" }, "name": "fixupProgress", "leadingComments": null }, "init": { "type": "CallExpression", "start": 40576, "end": 40728, "loc": { "start": { "line": 1109, "column": 46 }, "end": { "line": 1112, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 40576, "end": 40584, "loc": { "start": { "line": 1109, "column": 46 }, "end": { "line": 1109, "column": 54 } }, "object": { "type": "Identifier", "start": 40576, "end": 40580, "loc": { "start": { "line": 1109, "column": 46 }, "end": { "line": 1109, "column": 50 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 40581, "end": 40584, "loc": { "start": { "line": 1109, "column": 51 }, "end": { "line": 1109, "column": 54 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 40615, "end": 40616, "loc": { "start": { "line": 1110, "column": 28 }, "end": { "line": 1110, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "CallExpression", "start": 40647, "end": 40701, "loc": { "start": { "line": 1111, "column": 28 }, "end": { "line": 1111, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 40647, "end": 40655, "loc": { "start": { "line": 1111, "column": 28 }, "end": { "line": 1111, "column": 36 } }, "object": { "type": "Identifier", "start": 40647, "end": 40651, "loc": { "start": { "line": 1111, "column": 28 }, "end": { "line": 1111, "column": 32 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 40652, "end": 40655, "loc": { "start": { "line": 1111, "column": 33 }, "end": { "line": 1111, "column": 36 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 40656, "end": 40673, "loc": { "start": { "line": 1111, "column": 37 }, "end": { "line": 1111, "column": 54 }, "identifierName": "remainingVelocity" }, "name": "remainingVelocity" }, { "type": "MemberExpression", "start": 40675, "end": 40700, "loc": { "start": { "line": 1111, "column": 56 }, "end": { "line": 1111, "column": 81 } }, "object": { "type": "Identifier", "start": 40675, "end": 40685, "loc": { "start": { "line": 1111, "column": 56 }, "end": { "line": 1111, "column": 66 }, "identifierName": "itemBehind" }, "name": "itemBehind" }, "property": { "type": "Identifier", "start": 40686, "end": 40699, "loc": { "start": { "line": 1111, "column": 67 }, "end": { "line": 1111, "column": 80 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " So, with the next tick we will skip this item, but it actually has the potential", "start": 40200, "end": 40283, "loc": { "start": { "line": 1105, "column": 24 }, "end": { "line": 1105, "column": 107 } } }, { "type": "CommentLine", "value": " to process farther -> If we don't advance here, we loose a tiny bit of progress", "start": 40309, "end": 40391, "loc": { "start": { "line": 1106, "column": 24 }, "end": { "line": 1106, "column": 106 } } }, { "type": "CommentLine", "value": " every tick which causes the belt to be slower than it actually is.", "start": 40417, "end": 40486, "loc": { "start": { "line": 1107, "column": 24 }, "end": { "line": 1107, "column": 93 } } }, { "type": "CommentLine", "value": " Also see #999", "start": 40512, "end": 40528, "loc": { "start": { "line": 1108, "column": 24 }, "end": { "line": 1108, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " See above", "start": 40757, "end": 40769, "loc": { "start": { "line": 1114, "column": 24 }, "end": { "line": 1114, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 40795, "end": 40838, "loc": { "start": { "line": 1115, "column": 24 }, "end": { "line": 1115, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 40795, "end": 40837, "loc": { "start": { "line": 1115, "column": 24 }, "end": { "line": 1115, "column": 66 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 40795, "end": 40820, "loc": { "start": { "line": 1115, "column": 24 }, "end": { "line": 1115, "column": 49 } }, "object": { "type": "Identifier", "start": 40795, "end": 40805, "loc": { "start": { "line": 1115, "column": 24 }, "end": { "line": 1115, "column": 34 }, "identifierName": "itemBehind" }, "name": "itemBehind", "leadingComments": null }, "property": { "type": "Identifier", "start": 40806, "end": 40819, "loc": { "start": { "line": 1115, "column": 35 }, "end": { "line": 1115, "column": 48 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true, "leadingComments": null }, "right": { "type": "Identifier", "start": 40824, "end": 40837, "loc": { "start": { "line": 1115, "column": 53 }, "end": { "line": 1115, "column": 66 }, "identifierName": "fixupProgress" }, "name": "fixupProgress" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " See above", "start": 40757, "end": 40769, "loc": { "start": { "line": 1114, "column": 24 }, "end": { "line": 1114, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 40864, "end": 40899, "loc": { "start": { "line": 1116, "column": 24 }, "end": { "line": 1116, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 40864, "end": 40898, "loc": { "start": { "line": 1116, "column": 24 }, "end": { "line": 1116, "column": 58 } }, "operator": "-=", "left": { "type": "Identifier", "start": 40864, "end": 40881, "loc": { "start": { "line": 1116, "column": 24 }, "end": { "line": 1116, "column": 41 }, "identifierName": "remainingVelocity" }, "name": "remainingVelocity" }, "right": { "type": "Identifier", "start": 40885, "end": 40898, "loc": { "start": { "line": 1116, "column": 45 }, "end": { "line": 1116, "column": 58 }, "identifierName": "fixupProgress" }, "name": "fixupProgress" } } }, { "type": "ExpressionStatement", "start": 40925, "end": 40966, "loc": { "start": { "line": 1117, "column": 24 }, "end": { "line": 1117, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 40925, "end": 40965, "loc": { "start": { "line": 1117, "column": 24 }, "end": { "line": 1117, "column": 64 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 40925, "end": 40948, "loc": { "start": { "line": 1117, "column": 24 }, "end": { "line": 1117, "column": 47 } }, "object": { "type": "ThisExpression", "start": 40925, "end": 40929, "loc": { "start": { "line": 1117, "column": 24 }, "end": { "line": 1117, "column": 28 } } }, "property": { "type": "Identifier", "start": 40930, "end": 40948, "loc": { "start": { "line": 1117, "column": 29 }, "end": { "line": 1117, "column": 47 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "right": { "type": "Identifier", "start": 40952, "end": 40965, "loc": { "start": { "line": 1117, "column": 51 }, "end": { "line": 1117, "column": 64 }, "identifierName": "fixupProgress" }, "name": "fixupProgress" } } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Reduce the number of compressed items since the first item no longer exists", "start": 41013, "end": 41091, "loc": { "start": { "line": 1120, "column": 20 }, "end": { "line": 1120, "column": 98 } } } ] }, { "type": "ExpressionStatement", "start": 41113, "end": 41281, "loc": { "start": { "line": 1121, "column": 20 }, "end": { "line": 1124, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 41113, "end": 41280, "loc": { "start": { "line": 1121, "column": 20 }, "end": { "line": 1124, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 41113, "end": 41150, "loc": { "start": { "line": 1121, "column": 20 }, "end": { "line": 1121, "column": 57 } }, "object": { "type": "ThisExpression", "start": 41113, "end": 41117, "loc": { "start": { "line": 1121, "column": 20 }, "end": { "line": 1121, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 41118, "end": 41150, "loc": { "start": { "line": 1121, "column": 25 }, "end": { "line": 1121, "column": 57 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 41153, "end": 41280, "loc": { "start": { "line": 1121, "column": 60 }, "end": { "line": 1124, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 41153, "end": 41161, "loc": { "start": { "line": 1121, "column": 60 }, "end": { "line": 1121, "column": 68 } }, "object": { "type": "Identifier", "start": 41153, "end": 41157, "loc": { "start": { "line": 1121, "column": 60 }, "end": { "line": 1121, "column": 64 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 41158, "end": 41161, "loc": { "start": { "line": 1121, "column": 65 }, "end": { "line": 1121, "column": 68 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 41188, "end": 41189, "loc": { "start": { "line": 1122, "column": 24 }, "end": { "line": 1122, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 41216, "end": 41257, "loc": { "start": { "line": 1123, "column": 24 }, "end": { "line": 1123, "column": 65 } }, "left": { "type": "MemberExpression", "start": 41216, "end": 41253, "loc": { "start": { "line": 1123, "column": 24 }, "end": { "line": 1123, "column": 61 } }, "object": { "type": "ThisExpression", "start": 41216, "end": 41220, "loc": { "start": { "line": 1123, "column": 24 }, "end": { "line": 1123, "column": 28 } } }, "property": { "type": "Identifier", "start": 41221, "end": 41253, "loc": { "start": { "line": 1123, "column": 29 }, "end": { "line": 1123, "column": 61 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 41256, "end": 41257, "loc": { "start": { "line": 1123, "column": 64 }, "end": { "line": 1123, "column": 65 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Reduce the number of compressed items since the first item no longer exists", "start": 41013, "end": 41091, "loc": { "start": { "line": 1120, "column": 20 }, "end": { "line": 1120, "column": 98 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Try to directly get rid of the item", "start": 39847, "end": 39885, "loc": { "start": { "line": 1099, "column": 16 }, "end": { "line": 1099, "column": 54 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " If the last item can be ejected, eject it and reduce the spacing, because otherwise", "start": 39253, "end": 39339, "loc": { "start": { "line": 1091, "column": 12 }, "end": { "line": 1091, "column": 98 } } }, { "type": "CommentLine", "value": " we lose velocity", "start": 39353, "end": 39372, "loc": { "start": { "line": 1092, "column": 12 }, "end": { "line": 1092, "column": 31 } } } ] }, { "type": "IfStatement", "start": 41331, "end": 41506, "loc": { "start": { "line": 1128, "column": 12 }, "end": { "line": 1131, "column": 13 } }, "test": { "type": "Identifier", "start": 41335, "end": 41355, "loc": { "start": { "line": 1128, "column": 16 }, "end": { "line": 1128, "column": 36 }, "identifierName": "isFirstItemProcessed" }, "name": "isFirstItemProcessed" }, "consequent": { "type": "BlockStatement", "start": 41357, "end": 41506, "loc": { "start": { "line": 1128, "column": 38 }, "end": { "line": 1131, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 41432, "end": 41491, "loc": { "start": { "line": 1130, "column": 16 }, "end": { "line": 1130, "column": 75 } }, "expression": { "type": "AssignmentExpression", "start": 41432, "end": 41490, "loc": { "start": { "line": 1130, "column": 16 }, "end": { "line": 1130, "column": 74 } }, "operator": "-=", "left": { "type": "Identifier", "start": 41432, "end": 41449, "loc": { "start": { "line": 1130, "column": 16 }, "end": { "line": 1130, "column": 33 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 41453, "end": 41490, "loc": { "start": { "line": 1130, "column": 37 }, "end": { "line": 1130, "column": 74 } }, "object": { "type": "ThisExpression", "start": 41453, "end": 41457, "loc": { "start": { "line": 1130, "column": 37 }, "end": { "line": 1130, "column": 41 } } }, "property": { "type": "Identifier", "start": 41458, "end": 41490, "loc": { "start": { "line": 1130, "column": 42 }, "end": { "line": 1130, "column": 74 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Skip N null items after first items", "start": 41376, "end": 41414, "loc": { "start": { "line": 1129, "column": 16 }, "end": { "line": 1129, "column": 54 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 41522, "end": 41551, "loc": { "start": { "line": 1133, "column": 12 }, "end": { "line": 1133, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 41522, "end": 41550, "loc": { "start": { "line": 1133, "column": 12 }, "end": { "line": 1133, "column": 40 } }, "operator": "=", "left": { "type": "Identifier", "start": 41522, "end": 41542, "loc": { "start": { "line": 1133, "column": 12 }, "end": { "line": 1133, "column": 32 }, "identifierName": "isFirstItemProcessed" }, "name": "isFirstItemProcessed" }, "right": { "type": "BooleanLiteral", "start": 41545, "end": 41550, "loc": { "start": { "line": 1133, "column": 35 }, "end": { "line": 1133, "column": 40 } }, "value": false } } }, { "type": "IfStatement", "start": 41565, "end": 41635, "loc": { "start": { "line": 1134, "column": 12 }, "end": { "line": 1136, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 41569, "end": 41593, "loc": { "start": { "line": 1134, "column": 16 }, "end": { "line": 1134, "column": 40 } }, "left": { "type": "Identifier", "start": 41569, "end": 41586, "loc": { "start": { "line": 1134, "column": 16 }, "end": { "line": 1134, "column": 33 }, "identifierName": "remainingVelocity" }, "name": "remainingVelocity" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 41589, "end": 41593, "loc": { "start": { "line": 1134, "column": 36 }, "end": { "line": 1134, "column": 40 } }, "extra": { "rawValue": 1e-7, "raw": "1e-7" }, "value": 1e-7 } }, "consequent": { "type": "BlockStatement", "start": 41595, "end": 41635, "loc": { "start": { "line": 1134, "column": 42 }, "end": { "line": 1136, "column": 13 } }, "body": [ { "type": "BreakStatement", "start": 41614, "end": 41620, "loc": { "start": { "line": 1135, "column": 16 }, "end": { "line": 1135, "column": 22 } }, "label": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Compute compressed item count", "start": 41658, "end": 41690, "loc": { "start": { "line": 1139, "column": 8 }, "end": { "line": 1139, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 41700, "end": 41884, "loc": { "start": { "line": 1140, "column": 8 }, "end": { "line": 1144, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 41700, "end": 41883, "loc": { "start": { "line": 1140, "column": 8 }, "end": { "line": 1144, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 41700, "end": 41737, "loc": { "start": { "line": 1140, "column": 8 }, "end": { "line": 1140, "column": 45 } }, "object": { "type": "ThisExpression", "start": 41700, "end": 41704, "loc": { "start": { "line": 1140, "column": 8 }, "end": { "line": 1140, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 41705, "end": 41737, "loc": { "start": { "line": 1140, "column": 13 }, "end": { "line": 1140, "column": 45 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 41740, "end": 41883, "loc": { "start": { "line": 1140, "column": 48 }, "end": { "line": 1144, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 41740, "end": 41748, "loc": { "start": { "line": 1140, "column": 48 }, "end": { "line": 1140, "column": 56 } }, "object": { "type": "Identifier", "start": 41740, "end": 41744, "loc": { "start": { "line": 1140, "column": 48 }, "end": { "line": 1140, "column": 52 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 41745, "end": 41748, "loc": { "start": { "line": 1140, "column": 53 }, "end": { "line": 1140, "column": 56 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 41763, "end": 41764, "loc": { "start": { "line": 1141, "column": 12 }, "end": { "line": 1141, "column": 13 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "MemberExpression", "start": 41779, "end": 41816, "loc": { "start": { "line": 1142, "column": 12 }, "end": { "line": 1142, "column": 49 } }, "object": { "type": "ThisExpression", "start": 41779, "end": 41783, "loc": { "start": { "line": 1142, "column": 12 }, "end": { "line": 1142, "column": 16 } } }, "property": { "type": "Identifier", "start": 41784, "end": 41816, "loc": { "start": { "line": 1142, "column": 17 }, "end": { "line": 1142, "column": 49 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false }, { "type": "BinaryExpression", "start": 41831, "end": 41872, "loc": { "start": { "line": 1143, "column": 12 }, "end": { "line": 1143, "column": 53 } }, "left": { "type": "BinaryExpression", "start": 41831, "end": 41852, "loc": { "start": { "line": 1143, "column": 12 }, "end": { "line": 1143, "column": 33 } }, "left": { "type": "MemberExpression", "start": 41831, "end": 41848, "loc": { "start": { "line": 1143, "column": 12 }, "end": { "line": 1143, "column": 29 } }, "object": { "type": "MemberExpression", "start": 41831, "end": 41841, "loc": { "start": { "line": 1143, "column": 12 }, "end": { "line": 1143, "column": 22 } }, "object": { "type": "ThisExpression", "start": 41831, "end": 41835, "loc": { "start": { "line": 1143, "column": 12 }, "end": { "line": 1143, "column": 16 } } }, "property": { "type": "Identifier", "start": 41836, "end": 41841, "loc": { "start": { "line": 1143, "column": 17 }, "end": { "line": 1143, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 41842, "end": 41848, "loc": { "start": { "line": 1143, "column": 23 }, "end": { "line": 1143, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 41851, "end": 41852, "loc": { "start": { "line": 1143, "column": 32 }, "end": { "line": 1143, "column": 33 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "operator": "-", "right": { "type": "Identifier", "start": 41855, "end": 41872, "loc": { "start": { "line": 1143, "column": 36 }, "end": { "line": 1143, "column": 53 }, "identifierName": "lastItemProcessed" }, "name": "lastItemProcessed" } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Compute compressed item count", "start": 41658, "end": 41690, "loc": { "start": { "line": 1139, "column": 8 }, "end": { "line": 1139, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check if we have an item which is ready to be emitted", "start": 41896, "end": 41952, "loc": { "start": { "line": 1146, "column": 8 }, "end": { "line": 1146, "column": 64 } } } ] }, { "type": "VariableDeclaration", "start": 41962, "end": 42013, "loc": { "start": { "line": 1147, "column": 8 }, "end": { "line": 1147, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 41968, "end": 42012, "loc": { "start": { "line": 1147, "column": 14 }, "end": { "line": 1147, "column": 58 } }, "id": { "type": "Identifier", "start": 41968, "end": 41976, "loc": { "start": { "line": 1147, "column": 14 }, "end": { "line": 1147, "column": 22 }, "identifierName": "lastItem" }, "name": "lastItem", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 41979, "end": 42012, "loc": { "start": { "line": 1147, "column": 25 }, "end": { "line": 1147, "column": 58 } }, "object": { "type": "MemberExpression", "start": 41979, "end": 41989, "loc": { "start": { "line": 1147, "column": 25 }, "end": { "line": 1147, "column": 35 } }, "object": { "type": "ThisExpression", "start": 41979, "end": 41983, "loc": { "start": { "line": 1147, "column": 25 }, "end": { "line": 1147, "column": 29 } } }, "property": { "type": "Identifier", "start": 41984, "end": 41989, "loc": { "start": { "line": 1147, "column": 30 }, "end": { "line": 1147, "column": 35 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 41990, "end": 42011, "loc": { "start": { "line": 1147, "column": 36 }, "end": { "line": 1147, "column": 57 } }, "left": { "type": "MemberExpression", "start": 41990, "end": 42007, "loc": { "start": { "line": 1147, "column": 36 }, "end": { "line": 1147, "column": 53 } }, "object": { "type": "MemberExpression", "start": 41990, "end": 42000, "loc": { "start": { "line": 1147, "column": 36 }, "end": { "line": 1147, "column": 46 } }, "object": { "type": "ThisExpression", "start": 41990, "end": 41994, "loc": { "start": { "line": 1147, "column": 36 }, "end": { "line": 1147, "column": 40 } } }, "property": { "type": "Identifier", "start": 41995, "end": 42000, "loc": { "start": { "line": 1147, "column": 41 }, "end": { "line": 1147, "column": 46 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 42001, "end": 42007, "loc": { "start": { "line": 1147, "column": 47 }, "end": { "line": 1147, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 42010, "end": 42011, "loc": { "start": { "line": 1147, "column": 56 }, "end": { "line": 1147, "column": 57 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check if we have an item which is ready to be emitted", "start": 41896, "end": 41952, "loc": { "start": { "line": 1146, "column": 8 }, "end": { "line": 1146, "column": 64 } } } ] }, { "type": "IfStatement", "start": 42023, "end": 42387, "loc": { "start": { "line": 1148, "column": 8 }, "end": { "line": 1156, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 42027, "end": 42091, "loc": { "start": { "line": 1148, "column": 12 }, "end": { "line": 1148, "column": 76 } }, "left": { "type": "LogicalExpression", "start": 42027, "end": 42068, "loc": { "start": { "line": 1148, "column": 12 }, "end": { "line": 1148, "column": 53 } }, "left": { "type": "Identifier", "start": 42027, "end": 42035, "loc": { "start": { "line": 1148, "column": 12 }, "end": { "line": 1148, "column": 20 }, "identifierName": "lastItem" }, "name": "lastItem" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 42039, "end": 42068, "loc": { "start": { "line": 1148, "column": 24 }, "end": { "line": 1148, "column": 53 } }, "left": { "type": "MemberExpression", "start": 42039, "end": 42062, "loc": { "start": { "line": 1148, "column": 24 }, "end": { "line": 1148, "column": 47 } }, "object": { "type": "Identifier", "start": 42039, "end": 42047, "loc": { "start": { "line": 1148, "column": 24 }, "end": { "line": 1148, "column": 32 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 42048, "end": 42061, "loc": { "start": { "line": 1148, "column": 33 }, "end": { "line": 1148, "column": 46 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "operator": "===", "right": { "type": "NumericLiteral", "start": 42067, "end": 42068, "loc": { "start": { "line": 1148, "column": 52 }, "end": { "line": 1148, "column": 53 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "operator": "&&", "right": { "type": "MemberExpression", "start": 42072, "end": 42091, "loc": { "start": { "line": 1148, "column": 57 }, "end": { "line": 1148, "column": 76 } }, "object": { "type": "ThisExpression", "start": 42072, "end": 42076, "loc": { "start": { "line": 1148, "column": 57 }, "end": { "line": 1148, "column": 61 } } }, "property": { "type": "Identifier", "start": 42077, "end": 42091, "loc": { "start": { "line": 1148, "column": 62 }, "end": { "line": 1148, "column": 76 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 42093, "end": 42387, "loc": { "start": { "line": 1148, "column": 78 }, "end": { "line": 1156, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 42108, "end": 42376, "loc": { "start": { "line": 1149, "column": 12 }, "end": { "line": 1155, "column": 13 } }, "test": { "type": "CallExpression", "start": 42112, "end": 42149, "loc": { "start": { "line": 1149, "column": 16 }, "end": { "line": 1149, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 42112, "end": 42132, "loc": { "start": { "line": 1149, "column": 16 }, "end": { "line": 1149, "column": 36 } }, "object": { "type": "ThisExpression", "start": 42112, "end": 42116, "loc": { "start": { "line": 1149, "column": 16 }, "end": { "line": 1149, "column": 20 } } }, "property": { "type": "Identifier", "start": 42117, "end": 42132, "loc": { "start": { "line": 1149, "column": 21 }, "end": { "line": 1149, "column": 36 }, "identifierName": "tryHandOverItem" }, "name": "tryHandOverItem" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 42133, "end": 42148, "loc": { "start": { "line": 1149, "column": 37 }, "end": { "line": 1149, "column": 52 } }, "object": { "type": "Identifier", "start": 42133, "end": 42141, "loc": { "start": { "line": 1149, "column": 37 }, "end": { "line": 1149, "column": 45 }, "identifierName": "lastItem" }, "name": "lastItem" }, "property": { "type": "Identifier", "start": 42142, "end": 42147, "loc": { "start": { "line": 1149, "column": 46 }, "end": { "line": 1149, "column": 51 }, "identifierName": "_item" }, "name": "_item" }, "computed": true } ] }, "consequent": { "type": "BlockStatement", "start": 42151, "end": 42376, "loc": { "start": { "line": 1149, "column": 55 }, "end": { "line": 1155, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 42170, "end": 42187, "loc": { "start": { "line": 1150, "column": 16 }, "end": { "line": 1150, "column": 33 } }, "expression": { "type": "CallExpression", "start": 42170, "end": 42186, "loc": { "start": { "line": 1150, "column": 16 }, "end": { "line": 1150, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 42170, "end": 42184, "loc": { "start": { "line": 1150, "column": 16 }, "end": { "line": 1150, "column": 30 } }, "object": { "type": "MemberExpression", "start": 42170, "end": 42180, "loc": { "start": { "line": 1150, "column": 16 }, "end": { "line": 1150, "column": 26 } }, "object": { "type": "ThisExpression", "start": 42170, "end": 42174, "loc": { "start": { "line": 1150, "column": 16 }, "end": { "line": 1150, "column": 20 } } }, "property": { "type": "Identifier", "start": 42175, "end": 42180, "loc": { "start": { "line": 1150, "column": 21 }, "end": { "line": 1150, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 42181, "end": 42184, "loc": { "start": { "line": 1150, "column": 27 }, "end": { "line": 1150, "column": 30 }, "identifierName": "pop" }, "name": "pop" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 42205, "end": 42361, "loc": { "start": { "line": 1151, "column": 16 }, "end": { "line": 1154, "column": 18 } }, "expression": { "type": "AssignmentExpression", "start": 42205, "end": 42360, "loc": { "start": { "line": 1151, "column": 16 }, "end": { "line": 1154, "column": 17 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 42205, "end": 42242, "loc": { "start": { "line": 1151, "column": 16 }, "end": { "line": 1151, "column": 53 } }, "object": { "type": "ThisExpression", "start": 42205, "end": 42209, "loc": { "start": { "line": 1151, "column": 16 }, "end": { "line": 1151, "column": 20 } } }, "property": { "type": "Identifier", "start": 42210, "end": 42242, "loc": { "start": { "line": 1151, "column": 21 }, "end": { "line": 1151, "column": 53 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false }, "right": { "type": "CallExpression", "start": 42245, "end": 42360, "loc": { "start": { "line": 1151, "column": 56 }, "end": { "line": 1154, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 42245, "end": 42253, "loc": { "start": { "line": 1151, "column": 56 }, "end": { "line": 1151, "column": 64 } }, "object": { "type": "Identifier", "start": 42245, "end": 42249, "loc": { "start": { "line": 1151, "column": 56 }, "end": { "line": 1151, "column": 60 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 42250, "end": 42253, "loc": { "start": { "line": 1151, "column": 61 }, "end": { "line": 1151, "column": 64 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 42276, "end": 42277, "loc": { "start": { "line": 1152, "column": 20 }, "end": { "line": 1152, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 42300, "end": 42341, "loc": { "start": { "line": 1153, "column": 20 }, "end": { "line": 1153, "column": 61 } }, "left": { "type": "MemberExpression", "start": 42300, "end": 42337, "loc": { "start": { "line": 1153, "column": 20 }, "end": { "line": 1153, "column": 57 } }, "object": { "type": "ThisExpression", "start": 42300, "end": 42304, "loc": { "start": { "line": 1153, "column": 20 }, "end": { "line": 1153, "column": 24 } } }, "property": { "type": "Identifier", "start": 42305, "end": 42337, "loc": { "start": { "line": 1153, "column": 25 }, "end": { "line": 1153, "column": 57 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 42340, "end": 42341, "loc": { "start": { "line": 1153, "column": 60 }, "end": { "line": 1153, "column": 61 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 42399, "end": 42517, "loc": { "start": { "line": 1158, "column": 8 }, "end": { "line": 1160, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 42403, "end": 42448, "loc": { "start": { "line": 1158, "column": 12 }, "end": { "line": 1158, "column": 57 } }, "left": { "type": "Identifier", "start": 42403, "end": 42411, "loc": { "start": { "line": 1158, "column": 12 }, "end": { "line": 1158, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 42415, "end": 42448, "loc": { "start": { "line": 1158, "column": 24 }, "end": { "line": 1158, "column": 57 } }, "object": { "type": "MemberExpression", "start": 42415, "end": 42433, "loc": { "start": { "line": 1158, "column": 24 }, "end": { "line": 1158, "column": 42 } }, "object": { "type": "Identifier", "start": 42415, "end": 42427, "loc": { "start": { "line": 1158, "column": 24 }, "end": { "line": 1158, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 42428, "end": 42433, "loc": { "start": { "line": 1158, "column": 37 }, "end": { "line": 1158, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 42434, "end": 42448, "loc": { "start": { "line": 1158, "column": 43 }, "end": { "line": 1158, "column": 57 }, "identifierName": "checkBeltPaths" }, "name": "checkBeltPaths" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 42450, "end": 42517, "loc": { "start": { "line": 1158, "column": 59 }, "end": { "line": 1160, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 42465, "end": 42506, "loc": { "start": { "line": 1159, "column": 12 }, "end": { "line": 1159, "column": 53 } }, "expression": { "type": "CallExpression", "start": 42465, "end": 42505, "loc": { "start": { "line": 1159, "column": 12 }, "end": { "line": 1159, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 42465, "end": 42490, "loc": { "start": { "line": 1159, "column": 12 }, "end": { "line": 1159, "column": 37 } }, "object": { "type": "ThisExpression", "start": 42465, "end": 42469, "loc": { "start": { "line": 1159, "column": 12 }, "end": { "line": 1159, "column": 16 } } }, "property": { "type": "Identifier", "start": 42470, "end": 42490, "loc": { "start": { "line": 1159, "column": 17 }, "end": { "line": 1159, "column": 37 }, "identifierName": "debug_checkIntegrity" }, "name": "debug_checkIntegrity" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 42491, "end": 42504, "loc": { "start": { "line": 1159, "column": 38 }, "end": { "line": 1159, "column": 51 } }, "extra": { "rawValue": "post-update", "raw": "\"post-update\"" }, "value": "post-update" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Performs one tick\r\n ", "start": 37317, "end": 37355, "loc": { "start": { "line": 1041, "column": 4 }, "end": { "line": 1043, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to hand over the item to the end entity\r\n * @param {BaseItem} item\r\n ", "start": 42532, "end": 42629, "loc": { "start": { "line": 1163, "column": 4 }, "end": { "line": 1166, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 42635, "end": 43979, "loc": { "start": { "line": 1167, "column": 4 }, "end": { "line": 1205, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 42635, "end": 42650, "loc": { "start": { "line": 1167, "column": 4 }, "end": { "line": 1167, "column": 19 }, "identifierName": "tryHandOverItem" }, "name": "tryHandOverItem", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 42651, "end": 42655, "loc": { "start": { "line": 1167, "column": 20 }, "end": { "line": 1167, "column": 24 }, "identifierName": "item" }, "name": "item" }, { "type": "AssignmentPattern", "start": 42657, "end": 42680, "loc": { "start": { "line": 1167, "column": 26 }, "end": { "line": 1167, "column": 49 } }, "left": { "type": "Identifier", "start": 42657, "end": 42674, "loc": { "start": { "line": 1167, "column": 26 }, "end": { "line": 1167, "column": 43 }, "identifierName": "remainingProgress" }, "name": "remainingProgress" }, "right": { "type": "NumericLiteral", "start": 42677, "end": 42680, "loc": { "start": { "line": 1167, "column": 46 }, "end": { "line": 1167, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } } ], "body": { "type": "BlockStatement", "start": 42682, "end": 43979, "loc": { "start": { "line": 1167, "column": 51 }, "end": { "line": 1205, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 42693, "end": 42752, "loc": { "start": { "line": 1168, "column": 8 }, "end": { "line": 1170, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 42697, "end": 42717, "loc": { "start": { "line": 1168, "column": 12 }, "end": { "line": 1168, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 42698, "end": 42717, "loc": { "start": { "line": 1168, "column": 13 }, "end": { "line": 1168, "column": 32 } }, "object": { "type": "ThisExpression", "start": 42698, "end": 42702, "loc": { "start": { "line": 1168, "column": 13 }, "end": { "line": 1168, "column": 17 } } }, "property": { "type": "Identifier", "start": 42703, "end": 42717, "loc": { "start": { "line": 1168, "column": 18 }, "end": { "line": 1168, "column": 32 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 42719, "end": 42752, "loc": { "start": { "line": 1168, "column": 34 }, "end": { "line": 1170, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 42734, "end": 42741, "loc": { "start": { "line": 1169, "column": 12 }, "end": { "line": 1169, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 42764, "end": 42842, "loc": { "start": { "line": 1172, "column": 8 }, "end": { "line": 1172, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", "start": 42770, "end": 42841, "loc": { "start": { "line": 1172, "column": 14 }, "end": { "line": 1172, "column": 85 } }, "id": { "type": "Identifier", "start": 42770, "end": 42788, "loc": { "start": { "line": 1172, "column": 14 }, "end": { "line": 1172, "column": 32 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp" }, "init": { "type": "MemberExpression", "start": 42791, "end": 42841, "loc": { "start": { "line": 1172, "column": 35 }, "end": { "line": 1172, "column": 85 } }, "object": { "type": "MemberExpression", "start": 42791, "end": 42828, "loc": { "start": { "line": 1172, "column": 35 }, "end": { "line": 1172, "column": 72 } }, "object": { "type": "MemberExpression", "start": 42791, "end": 42817, "loc": { "start": { "line": 1172, "column": 35 }, "end": { "line": 1172, "column": 61 } }, "object": { "type": "MemberExpression", "start": 42791, "end": 42810, "loc": { "start": { "line": 1172, "column": 35 }, "end": { "line": 1172, "column": 54 } }, "object": { "type": "ThisExpression", "start": 42791, "end": 42795, "loc": { "start": { "line": 1172, "column": 35 }, "end": { "line": 1172, "column": 39 } } }, "property": { "type": "Identifier", "start": 42796, "end": 42810, "loc": { "start": { "line": 1172, "column": 40 }, "end": { "line": 1172, "column": 54 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 42811, "end": 42817, "loc": { "start": { "line": 1172, "column": 55 }, "end": { "line": 1172, "column": 61 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 42818, "end": 42828, "loc": { "start": { "line": 1172, "column": 62 }, "end": { "line": 1172, "column": 72 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 42829, "end": 42841, "loc": { "start": { "line": 1172, "column": 73 }, "end": { "line": 1172, "column": 85 }, "identifierName": "ItemAcceptor" }, "name": "ItemAcceptor" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Check if the acceptor has a filter for example", "start": 42854, "end": 42903, "loc": { "start": { "line": 1174, "column": 8 }, "end": { "line": 1174, "column": 57 } } } ] }, { "type": "IfStatement", "start": 42913, "end": 43093, "loc": { "start": { "line": 1175, "column": 8 }, "end": { "line": 1178, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 42917, "end": 43004, "loc": { "start": { "line": 1175, "column": 12 }, "end": { "line": 1175, "column": 99 } }, "left": { "type": "Identifier", "start": 42917, "end": 42935, "loc": { "start": { "line": 1175, "column": 12 }, "end": { "line": 1175, "column": 30 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp", "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 42939, "end": 43004, "loc": { "start": { "line": 1175, "column": 34 }, "end": { "line": 1175, "column": 99 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 42940, "end": 43004, "loc": { "start": { "line": 1175, "column": 35 }, "end": { "line": 1175, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 42940, "end": 42972, "loc": { "start": { "line": 1175, "column": 35 }, "end": { "line": 1175, "column": 67 } }, "object": { "type": "Identifier", "start": 42940, "end": 42958, "loc": { "start": { "line": 1175, "column": 35 }, "end": { "line": 1175, "column": 53 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp" }, "property": { "type": "Identifier", "start": 42959, "end": 42972, "loc": { "start": { "line": 1175, "column": 54 }, "end": { "line": 1175, "column": 67 }, "identifierName": "canAcceptItem" }, "name": "canAcceptItem" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 42973, "end": 42997, "loc": { "start": { "line": 1175, "column": 68 }, "end": { "line": 1175, "column": 92 } }, "object": { "type": "MemberExpression", "start": 42973, "end": 42992, "loc": { "start": { "line": 1175, "column": 68 }, "end": { "line": 1175, "column": 87 } }, "object": { "type": "ThisExpression", "start": 42973, "end": 42977, "loc": { "start": { "line": 1175, "column": 68 }, "end": { "line": 1175, "column": 72 } } }, "property": { "type": "Identifier", "start": 42978, "end": 42992, "loc": { "start": { "line": 1175, "column": 73 }, "end": { "line": 1175, "column": 87 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 42993, "end": 42997, "loc": { "start": { "line": 1175, "column": 88 }, "end": { "line": 1175, "column": 92 }, "identifierName": "slot" }, "name": "slot" }, "computed": false }, { "type": "Identifier", "start": 42999, "end": 43003, "loc": { "start": { "line": 1175, "column": 94 }, "end": { "line": 1175, "column": 98 }, "identifierName": "item" }, "name": "item" } ] }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 43006, "end": 43093, "loc": { "start": { "line": 1175, "column": 101 }, "end": { "line": 1178, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 43069, "end": 43082, "loc": { "start": { "line": 1177, "column": 12 }, "end": { "line": 1177, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 43076, "end": 43081, "loc": { "start": { "line": 1177, "column": 19 }, "end": { "line": 1177, "column": 24 } }, "value": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Well, this item is not accepted", "start": 43021, "end": 43055, "loc": { "start": { "line": 1176, "column": 12 }, "end": { "line": 1176, "column": 46 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check if the acceptor has a filter for example", "start": 42854, "end": 42903, "loc": { "start": { "line": 1174, "column": 8 }, "end": { "line": 1174, "column": 57 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Try to pass over", "start": 43105, "end": 43124, "loc": { "start": { "line": 1180, "column": 8 }, "end": { "line": 1180, "column": 27 } } } ] }, { "type": "IfStatement", "start": 43134, "end": 43947, "loc": { "start": { "line": 1181, "column": 8 }, "end": { "line": 1202, "column": 9 } }, "test": { "type": "CallExpression", "start": 43152, "end": 43333, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1186, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 43152, "end": 43207, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 67 } }, "object": { "type": "MemberExpression", "start": 43152, "end": 43191, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 51 } }, "object": { "type": "MemberExpression", "start": 43152, "end": 43179, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 39 } }, "object": { "type": "MemberExpression", "start": 43152, "end": 43171, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 31 } }, "object": { "type": "MemberExpression", "start": 43152, "end": 43161, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 21 } }, "object": { "type": "ThisExpression", "start": 43152, "end": 43156, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 43157, "end": 43161, "loc": { "start": { "line": 1182, "column": 17 }, "end": { "line": 1182, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 43162, "end": 43171, "loc": { "start": { "line": 1182, "column": 22 }, "end": { "line": 1182, "column": 31 }, "identifierName": "systemMgr" }, "name": "systemMgr" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 43172, "end": 43179, "loc": { "start": { "line": 1182, "column": 32 }, "end": { "line": 1182, "column": 39 }, "identifierName": "systems" }, "name": "systems" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 43180, "end": 43191, "loc": { "start": { "line": 1182, "column": 40 }, "end": { "line": 1182, "column": 51 }, "identifierName": "itemEjector" }, "name": "itemEjector" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 43192, "end": 43207, "loc": { "start": { "line": 1182, "column": 52 }, "end": { "line": 1182, "column": 67 }, "identifierName": "tryPassOverItem" }, "name": "tryPassOverItem" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 43226, "end": 43230, "loc": { "start": { "line": 1183, "column": 16 }, "end": { "line": 1183, "column": 20 }, "identifierName": "item" }, "name": "item" }, { "type": "MemberExpression", "start": 43249, "end": 43275, "loc": { "start": { "line": 1184, "column": 16 }, "end": { "line": 1184, "column": 42 } }, "object": { "type": "MemberExpression", "start": 43249, "end": 43268, "loc": { "start": { "line": 1184, "column": 16 }, "end": { "line": 1184, "column": 35 } }, "object": { "type": "ThisExpression", "start": 43249, "end": 43253, "loc": { "start": { "line": 1184, "column": 16 }, "end": { "line": 1184, "column": 20 } } }, "property": { "type": "Identifier", "start": 43254, "end": 43268, "loc": { "start": { "line": 1184, "column": 21 }, "end": { "line": 1184, "column": 35 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 43269, "end": 43275, "loc": { "start": { "line": 1184, "column": 36 }, "end": { "line": 1184, "column": 42 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, { "type": "MemberExpression", "start": 43294, "end": 43318, "loc": { "start": { "line": 1185, "column": 16 }, "end": { "line": 1185, "column": 40 } }, "object": { "type": "MemberExpression", "start": 43294, "end": 43313, "loc": { "start": { "line": 1185, "column": 16 }, "end": { "line": 1185, "column": 35 } }, "object": { "type": "ThisExpression", "start": 43294, "end": 43298, "loc": { "start": { "line": 1185, "column": 16 }, "end": { "line": 1185, "column": 20 } } }, "property": { "type": "Identifier", "start": 43299, "end": 43313, "loc": { "start": { "line": 1185, "column": 21 }, "end": { "line": 1185, "column": 35 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 43314, "end": 43318, "loc": { "start": { "line": 1185, "column": 36 }, "end": { "line": 1185, "column": 40 }, "identifierName": "slot" }, "name": "slot" }, "computed": false } ], "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 43345, "end": 43947, "loc": { "start": { "line": 1187, "column": 10 }, "end": { "line": 1202, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 43415, "end": 43493, "loc": { "start": { "line": 1189, "column": 12 }, "end": { "line": 1189, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 43421, "end": 43492, "loc": { "start": { "line": 1189, "column": 18 }, "end": { "line": 1189, "column": 89 } }, "id": { "type": "Identifier", "start": 43421, "end": 43439, "loc": { "start": { "line": 1189, "column": 18 }, "end": { "line": 1189, "column": 36 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 43442, "end": 43492, "loc": { "start": { "line": 1189, "column": 39 }, "end": { "line": 1189, "column": 89 } }, "object": { "type": "MemberExpression", "start": 43442, "end": 43479, "loc": { "start": { "line": 1189, "column": 39 }, "end": { "line": 1189, "column": 76 } }, "object": { "type": "MemberExpression", "start": 43442, "end": 43468, "loc": { "start": { "line": 1189, "column": 39 }, "end": { "line": 1189, "column": 65 } }, "object": { "type": "MemberExpression", "start": 43442, "end": 43461, "loc": { "start": { "line": 1189, "column": 39 }, "end": { "line": 1189, "column": 58 } }, "object": { "type": "ThisExpression", "start": 43442, "end": 43446, "loc": { "start": { "line": 1189, "column": 39 }, "end": { "line": 1189, "column": 43 } } }, "property": { "type": "Identifier", "start": 43447, "end": 43461, "loc": { "start": { "line": 1189, "column": 44 }, "end": { "line": 1189, "column": 58 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 43462, "end": 43468, "loc": { "start": { "line": 1189, "column": 59 }, "end": { "line": 1189, "column": 65 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 43469, "end": 43479, "loc": { "start": { "line": 1189, "column": 66 }, "end": { "line": 1189, "column": 76 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 43480, "end": 43492, "loc": { "start": { "line": 1189, "column": 77 }, "end": { "line": 1189, "column": 89 }, "identifierName": "ItemAcceptor" }, "name": "ItemAcceptor" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Trigger animation on the acceptor comp", "start": 43360, "end": 43401, "loc": { "start": { "line": 1188, "column": 12 }, "end": { "line": 1188, "column": 53 } } } ] }, { "type": "IfStatement", "start": 43507, "end": 43908, "loc": { "start": { "line": 1190, "column": 12 }, "end": { "line": 1199, "column": 13 } }, "test": { "type": "Identifier", "start": 43511, "end": 43529, "loc": { "start": { "line": 1190, "column": 16 }, "end": { "line": 1190, "column": 34 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp" }, "consequent": { "type": "BlockStatement", "start": 43531, "end": 43908, "loc": { "start": { "line": 1190, "column": 36 }, "end": { "line": 1199, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 43550, "end": 43893, "loc": { "start": { "line": 1191, "column": 16 }, "end": { "line": 1198, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 43554, "end": 43610, "loc": { "start": { "line": 1191, "column": 20 }, "end": { "line": 1191, "column": 76 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 43555, "end": 43610, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 76 } }, "object": { "type": "CallExpression", "start": 43555, "end": 43594, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 43555, "end": 43592, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 58 } }, "object": { "type": "MemberExpression", "start": 43555, "end": 43577, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 43 } }, "object": { "type": "MemberExpression", "start": 43555, "end": 43568, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 34 } }, "object": { "type": "MemberExpression", "start": 43555, "end": 43564, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 30 } }, "object": { "type": "ThisExpression", "start": 43555, "end": 43559, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 25 } } }, "property": { "type": "Identifier", "start": 43560, "end": 43564, "loc": { "start": { "line": 1191, "column": 26 }, "end": { "line": 1191, "column": 30 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 43565, "end": 43568, "loc": { "start": { "line": 1191, "column": 31 }, "end": { "line": 1191, "column": 34 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 43569, "end": 43577, "loc": { "start": { "line": 1191, "column": 35 }, "end": { "line": 1191, "column": 43 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 43578, "end": 43592, "loc": { "start": { "line": 1191, "column": 44 }, "end": { "line": 1191, "column": 58 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 43595, "end": 43610, "loc": { "start": { "line": 1191, "column": 61 }, "end": { "line": 1191, "column": 76 }, "identifierName": "simplifiedBelts" }, "name": "simplifiedBelts" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 43612, "end": 43893, "loc": { "start": { "line": 1191, "column": 78 }, "end": { "line": 1198, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 43635, "end": 43874, "loc": { "start": { "line": 1192, "column": 20 }, "end": { "line": 1197, "column": 22 } }, "expression": { "type": "CallExpression", "start": 43635, "end": 43873, "loc": { "start": { "line": 1192, "column": 20 }, "end": { "line": 1197, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 43635, "end": 43668, "loc": { "start": { "line": 1192, "column": 20 }, "end": { "line": 1192, "column": 53 } }, "object": { "type": "Identifier", "start": 43635, "end": 43653, "loc": { "start": { "line": 1192, "column": 20 }, "end": { "line": 1192, "column": 38 }, "identifierName": "targetAcceptorComp" }, "name": "targetAcceptorComp" }, "property": { "type": "Identifier", "start": 43654, "end": 43668, "loc": { "start": { "line": 1192, "column": 39 }, "end": { "line": 1192, "column": 53 }, "identifierName": "onItemAccepted" }, "name": "onItemAccepted" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 43695, "end": 43719, "loc": { "start": { "line": 1193, "column": 24 }, "end": { "line": 1193, "column": 48 } }, "object": { "type": "MemberExpression", "start": 43695, "end": 43714, "loc": { "start": { "line": 1193, "column": 24 }, "end": { "line": 1193, "column": 43 } }, "object": { "type": "ThisExpression", "start": 43695, "end": 43699, "loc": { "start": { "line": 1193, "column": 24 }, "end": { "line": 1193, "column": 28 } } }, "property": { "type": "Identifier", "start": 43700, "end": 43714, "loc": { "start": { "line": 1193, "column": 29 }, "end": { "line": 1193, "column": 43 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 43715, "end": 43719, "loc": { "start": { "line": 1193, "column": 44 }, "end": { "line": 1193, "column": 48 }, "identifierName": "slot" }, "name": "slot" }, "computed": false }, { "type": "MemberExpression", "start": 43746, "end": 43775, "loc": { "start": { "line": 1194, "column": 24 }, "end": { "line": 1194, "column": 53 } }, "object": { "type": "MemberExpression", "start": 43746, "end": 43765, "loc": { "start": { "line": 1194, "column": 24 }, "end": { "line": 1194, "column": 43 } }, "object": { "type": "ThisExpression", "start": 43746, "end": 43750, "loc": { "start": { "line": 1194, "column": 24 }, "end": { "line": 1194, "column": 28 } } }, "property": { "type": "Identifier", "start": 43751, "end": 43765, "loc": { "start": { "line": 1194, "column": 29 }, "end": { "line": 1194, "column": 43 }, "identifierName": "acceptorTarget" }, "name": "acceptorTarget" }, "computed": false }, "property": { "type": "Identifier", "start": 43766, "end": 43775, "loc": { "start": { "line": 1194, "column": 44 }, "end": { "line": 1194, "column": 53 }, "identifierName": "direction" }, "name": "direction" }, "computed": false }, { "type": "Identifier", "start": 43802, "end": 43806, "loc": { "start": { "line": 1195, "column": 24 }, "end": { "line": 1195, "column": 28 }, "identifierName": "item" }, "name": "item" }, { "type": "Identifier", "start": 43833, "end": 43850, "loc": { "start": { "line": 1196, "column": 24 }, "end": { "line": 1196, "column": 41 }, "identifierName": "remainingProgress" }, "name": "remainingProgress" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 43924, "end": 43936, "loc": { "start": { "line": 1201, "column": 12 }, "end": { "line": 1201, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 43931, "end": 43935, "loc": { "start": { "line": 1201, "column": 19 }, "end": { "line": 1201, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Try to pass over", "start": 43105, "end": 43124, "loc": { "start": { "line": 1180, "column": 8 }, "end": { "line": 1180, "column": 27 } } } ] }, { "type": "ReturnStatement", "start": 43959, "end": 43972, "loc": { "start": { "line": 1204, "column": 8 }, "end": { "line": 1204, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 43966, "end": 43971, "loc": { "start": { "line": 1204, "column": 15 }, "end": { "line": 1204, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to hand over the item to the end entity\r\n * @param {BaseItem} item\r\n ", "start": 42532, "end": 42629, "loc": { "start": { "line": 1163, "column": 4 }, "end": { "line": 1166, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Computes a world space position from the given progress\r\n * @param {number} progress\r\n * @returns {Vector}\r\n ", "start": 43987, "end": 44122, "loc": { "start": { "line": 1207, "column": 4 }, "end": { "line": 1211, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 44128, "end": 45219, "loc": { "start": { "line": 1212, "column": 4 }, "end": { "line": 1234, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 44128, "end": 44155, "loc": { "start": { "line": 1212, "column": 4 }, "end": { "line": 1212, "column": 31 }, "identifierName": "computePositionFromProgress" }, "name": "computePositionFromProgress", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 44156, "end": 44164, "loc": { "start": { "line": 1212, "column": 32 }, "end": { "line": 1212, "column": 40 }, "identifierName": "progress" }, "name": "progress" } ], "body": { "type": "BlockStatement", "start": 44166, "end": 45219, "loc": { "start": { "line": 1212, "column": 42 }, "end": { "line": 1234, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 44177, "end": 44199, "loc": { "start": { "line": 1213, "column": 8 }, "end": { "line": 1213, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 44181, "end": 44198, "loc": { "start": { "line": 1213, "column": 12 }, "end": { "line": 1213, "column": 29 } }, "id": { "type": "Identifier", "start": 44181, "end": 44194, "loc": { "start": { "line": 1213, "column": 12 }, "end": { "line": 1213, "column": 25 }, "identifierName": "currentLength" }, "name": "currentLength" }, "init": { "type": "NumericLiteral", "start": 44197, "end": 44198, "loc": { "start": { "line": 1213, "column": 28 }, "end": { "line": 1213, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " floating point issues ..", "start": 44211, "end": 44238, "loc": { "start": { "line": 1215, "column": 8 }, "end": { "line": 1215, "column": 35 } } } ] }, { "type": "ExpressionStatement", "start": 44248, "end": 44325, "loc": { "start": { "line": 1216, "column": 8 }, "end": { "line": 1216, "column": 85 } }, "expression": { "type": "CallExpression", "start": 44248, "end": 44324, "loc": { "start": { "line": 1216, "column": 8 }, "end": { "line": 1216, "column": 84 } }, "callee": { "type": "Identifier", "start": 44248, "end": 44254, "loc": { "start": { "line": 1216, "column": 8 }, "end": { "line": 1216, "column": 14 }, "identifierName": "assert" }, "name": "assert", "leadingComments": null }, "arguments": [ { "type": "BinaryExpression", "start": 44255, "end": 44290, "loc": { "start": { "line": 1216, "column": 15 }, "end": { "line": 1216, "column": 50 } }, "left": { "type": "Identifier", "start": 44255, "end": 44263, "loc": { "start": { "line": 1216, "column": 15 }, "end": { "line": 1216, "column": 23 }, "identifierName": "progress" }, "name": "progress" }, "operator": "<=", "right": { "type": "BinaryExpression", "start": 44267, "end": 44290, "loc": { "start": { "line": 1216, "column": 27 }, "end": { "line": 1216, "column": 50 } }, "left": { "type": "MemberExpression", "start": 44267, "end": 44283, "loc": { "start": { "line": 1216, "column": 27 }, "end": { "line": 1216, "column": 43 } }, "object": { "type": "ThisExpression", "start": 44267, "end": 44271, "loc": { "start": { "line": 1216, "column": 27 }, "end": { "line": 1216, "column": 31 } } }, "property": { "type": "Identifier", "start": 44272, "end": 44283, "loc": { "start": { "line": 1216, "column": 32 }, "end": { "line": 1216, "column": 43 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 44286, "end": 44290, "loc": { "start": { "line": 1216, "column": 46 }, "end": { "line": 1216, "column": 50 } }, "extra": { "rawValue": 0.02, "raw": "0.02" }, "value": 0.02 } } }, { "type": "BinaryExpression", "start": 44292, "end": 44323, "loc": { "start": { "line": 1216, "column": 52 }, "end": { "line": 1216, "column": 83 } }, "left": { "type": "StringLiteral", "start": 44292, "end": 44312, "loc": { "start": { "line": 1216, "column": 52 }, "end": { "line": 1216, "column": 72 } }, "extra": { "rawValue": "Progress too big: ", "raw": "\"Progress too big: \"" }, "value": "Progress too big: " }, "operator": "+", "right": { "type": "Identifier", "start": 44315, "end": 44323, "loc": { "start": { "line": 1216, "column": 75 }, "end": { "line": 1216, "column": 83 }, "identifierName": "progress" }, "name": "progress" } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " floating point issues ..", "start": 44211, "end": 44238, "loc": { "start": { "line": 1215, "column": 8 }, "end": { "line": 1215, "column": 35 } } } ] }, { "type": "ForStatement", "start": 44337, "end": 45116, "loc": { "start": { "line": 1218, "column": 8 }, "end": { "line": 1231, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 44342, "end": 44351, "loc": { "start": { "line": 1218, "column": 13 }, "end": { "line": 1218, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 44346, "end": 44351, "loc": { "start": { "line": 1218, "column": 17 }, "end": { "line": 1218, "column": 22 } }, "id": { "type": "Identifier", "start": 44346, "end": 44347, "loc": { "start": { "line": 1218, "column": 17 }, "end": { "line": 1218, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 44350, "end": 44351, "loc": { "start": { "line": 1218, "column": 21 }, "end": { "line": 1218, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 44353, "end": 44379, "loc": { "start": { "line": 1218, "column": 24 }, "end": { "line": 1218, "column": 50 } }, "left": { "type": "Identifier", "start": 44353, "end": 44354, "loc": { "start": { "line": 1218, "column": 24 }, "end": { "line": 1218, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 44357, "end": 44379, "loc": { "start": { "line": 1218, "column": 28 }, "end": { "line": 1218, "column": 50 } }, "object": { "type": "MemberExpression", "start": 44357, "end": 44372, "loc": { "start": { "line": 1218, "column": 28 }, "end": { "line": 1218, "column": 43 } }, "object": { "type": "ThisExpression", "start": 44357, "end": 44361, "loc": { "start": { "line": 1218, "column": 28 }, "end": { "line": 1218, "column": 32 } } }, "property": { "type": "Identifier", "start": 44362, "end": 44372, "loc": { "start": { "line": 1218, "column": 33 }, "end": { "line": 1218, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 44373, "end": 44379, "loc": { "start": { "line": 1218, "column": 44 }, "end": { "line": 1218, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 44381, "end": 44384, "loc": { "start": { "line": 1218, "column": 52 }, "end": { "line": 1218, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 44383, "end": 44384, "loc": { "start": { "line": 1218, "column": 54 }, "end": { "line": 1218, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 44386, "end": 45116, "loc": { "start": { "line": 1218, "column": 57 }, "end": { "line": 1231, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 44401, "end": 44453, "loc": { "start": { "line": 1219, "column": 12 }, "end": { "line": 1219, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 44407, "end": 44452, "loc": { "start": { "line": 1219, "column": 18 }, "end": { "line": 1219, "column": 63 } }, "id": { "type": "Identifier", "start": 44407, "end": 44415, "loc": { "start": { "line": 1219, "column": 18 }, "end": { "line": 1219, "column": 26 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 44418, "end": 44452, "loc": { "start": { "line": 1219, "column": 29 }, "end": { "line": 1219, "column": 63 } }, "object": { "type": "MemberExpression", "start": 44418, "end": 44447, "loc": { "start": { "line": 1219, "column": 29 }, "end": { "line": 1219, "column": 58 } }, "object": { "type": "MemberExpression", "start": 44418, "end": 44436, "loc": { "start": { "line": 1219, "column": 29 }, "end": { "line": 1219, "column": 47 } }, "object": { "type": "MemberExpression", "start": 44418, "end": 44433, "loc": { "start": { "line": 1219, "column": 29 }, "end": { "line": 1219, "column": 44 } }, "object": { "type": "ThisExpression", "start": 44418, "end": 44422, "loc": { "start": { "line": 1219, "column": 29 }, "end": { "line": 1219, "column": 33 } } }, "property": { "type": "Identifier", "start": 44423, "end": 44433, "loc": { "start": { "line": 1219, "column": 34 }, "end": { "line": 1219, "column": 44 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 44434, "end": 44435, "loc": { "start": { "line": 1219, "column": 45 }, "end": { "line": 1219, "column": 46 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 44437, "end": 44447, "loc": { "start": { "line": 1219, "column": 48 }, "end": { "line": 1219, "column": 58 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 44448, "end": 44452, "loc": { "start": { "line": 1219, "column": 59 }, "end": { "line": 1219, "column": 63 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 44467, "end": 44522, "loc": { "start": { "line": 1220, "column": 12 }, "end": { "line": 1220, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 44473, "end": 44521, "loc": { "start": { "line": 1220, "column": 18 }, "end": { "line": 1220, "column": 66 } }, "id": { "type": "Identifier", "start": 44473, "end": 44484, "loc": { "start": { "line": 1220, "column": 18 }, "end": { "line": 1220, "column": 29 }, "identifierName": "localLength" }, "name": "localLength" }, "init": { "type": "CallExpression", "start": 44487, "end": 44521, "loc": { "start": { "line": 1220, "column": 32 }, "end": { "line": 1220, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 44487, "end": 44519, "loc": { "start": { "line": 1220, "column": 32 }, "end": { "line": 1220, "column": 64 } }, "object": { "type": "Identifier", "start": 44487, "end": 44495, "loc": { "start": { "line": 1220, "column": 32 }, "end": { "line": 1220, "column": 40 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 44496, "end": 44519, "loc": { "start": { "line": 1220, "column": 41 }, "end": { "line": 1220, "column": 64 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 44538, "end": 45062, "loc": { "start": { "line": 1222, "column": 12 }, "end": { "line": 1229, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 44542, "end": 44617, "loc": { "start": { "line": 1222, "column": 16 }, "end": { "line": 1222, "column": 91 } }, "left": { "type": "BinaryExpression", "start": 44542, "end": 44581, "loc": { "start": { "line": 1222, "column": 16 }, "end": { "line": 1222, "column": 55 } }, "left": { "type": "BinaryExpression", "start": 44542, "end": 44569, "loc": { "start": { "line": 1222, "column": 16 }, "end": { "line": 1222, "column": 43 } }, "left": { "type": "Identifier", "start": 44542, "end": 44555, "loc": { "start": { "line": 1222, "column": 16 }, "end": { "line": 1222, "column": 29 }, "identifierName": "currentLength" }, "name": "currentLength" }, "operator": "+", "right": { "type": "Identifier", "start": 44558, "end": 44569, "loc": { "start": { "line": 1222, "column": 32 }, "end": { "line": 1222, "column": 43 }, "identifierName": "localLength" }, "name": "localLength" } }, "operator": ">=", "right": { "type": "Identifier", "start": 44573, "end": 44581, "loc": { "start": { "line": 1222, "column": 47 }, "end": { "line": 1222, "column": 55 }, "identifierName": "progress" }, "name": "progress" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 44585, "end": 44617, "loc": { "start": { "line": 1222, "column": 59 }, "end": { "line": 1222, "column": 91 } }, "left": { "type": "Identifier", "start": 44585, "end": 44586, "loc": { "start": { "line": 1222, "column": 59 }, "end": { "line": 1222, "column": 60 }, "identifierName": "i" }, "name": "i" }, "operator": "===", "right": { "type": "BinaryExpression", "start": 44591, "end": 44617, "loc": { "start": { "line": 1222, "column": 65 }, "end": { "line": 1222, "column": 91 } }, "left": { "type": "MemberExpression", "start": 44591, "end": 44613, "loc": { "start": { "line": 1222, "column": 65 }, "end": { "line": 1222, "column": 87 } }, "object": { "type": "MemberExpression", "start": 44591, "end": 44606, "loc": { "start": { "line": 1222, "column": 65 }, "end": { "line": 1222, "column": 80 } }, "object": { "type": "ThisExpression", "start": 44591, "end": 44595, "loc": { "start": { "line": 1222, "column": 65 }, "end": { "line": 1222, "column": 69 } } }, "property": { "type": "Identifier", "start": 44596, "end": 44606, "loc": { "start": { "line": 1222, "column": 70 }, "end": { "line": 1222, "column": 80 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 44607, "end": 44613, "loc": { "start": { "line": 1222, "column": 81 }, "end": { "line": 1222, "column": 87 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 44616, "end": 44617, "loc": { "start": { "line": 1222, "column": 90 }, "end": { "line": 1222, "column": 91 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } }, "consequent": { "type": "BlockStatement", "start": 44619, "end": 45062, "loc": { "start": { "line": 1222, "column": 93 }, "end": { "line": 1229, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 44705, "end": 44767, "loc": { "start": { "line": 1224, "column": 16 }, "end": { "line": 1224, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", "start": 44711, "end": 44766, "loc": { "start": { "line": 1224, "column": 22 }, "end": { "line": 1224, "column": 77 } }, "id": { "type": "Identifier", "start": 44711, "end": 44724, "loc": { "start": { "line": 1224, "column": 22 }, "end": { "line": 1224, "column": 35 }, "identifierName": "localProgress" }, "name": "localProgress", "leadingComments": null }, "init": { "type": "CallExpression", "start": 44727, "end": 44766, "loc": { "start": { "line": 1224, "column": 38 }, "end": { "line": 1224, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 44727, "end": 44735, "loc": { "start": { "line": 1224, "column": 38 }, "end": { "line": 1224, "column": 46 } }, "object": { "type": "Identifier", "start": 44727, "end": 44731, "loc": { "start": { "line": 1224, "column": 38 }, "end": { "line": 1224, "column": 42 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 44732, "end": 44735, "loc": { "start": { "line": 1224, "column": 43 }, "end": { "line": 1224, "column": 46 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 44736, "end": 44739, "loc": { "start": { "line": 1224, "column": 47 }, "end": { "line": 1224, "column": 50 } }, "extra": { "rawValue": 1, "raw": "1.0" }, "value": 1 }, { "type": "BinaryExpression", "start": 44741, "end": 44765, "loc": { "start": { "line": 1224, "column": 52 }, "end": { "line": 1224, "column": 76 } }, "left": { "type": "Identifier", "start": 44741, "end": 44749, "loc": { "start": { "line": 1224, "column": 52 }, "end": { "line": 1224, "column": 60 }, "identifierName": "progress" }, "name": "progress" }, "operator": "-", "right": { "type": "Identifier", "start": 44752, "end": 44765, "loc": { "start": { "line": 1224, "column": 63 }, "end": { "line": 1224, "column": 76 }, "identifierName": "currentLength" }, "name": "currentLength" } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Min required here due to floating point issues", "start": 44638, "end": 44687, "loc": { "start": { "line": 1223, "column": 16 }, "end": { "line": 1223, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 44787, "end": 44860, "loc": { "start": { "line": 1226, "column": 16 }, "end": { "line": 1226, "column": 89 } }, "expression": { "type": "CallExpression", "start": 44787, "end": 44859, "loc": { "start": { "line": 1226, "column": 16 }, "end": { "line": 1226, "column": 88 } }, "callee": { "type": "Identifier", "start": 44787, "end": 44793, "loc": { "start": { "line": 1226, "column": 16 }, "end": { "line": 1226, "column": 22 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 44794, "end": 44814, "loc": { "start": { "line": 1226, "column": 23 }, "end": { "line": 1226, "column": 43 } }, "left": { "type": "Identifier", "start": 44794, "end": 44807, "loc": { "start": { "line": 1226, "column": 23 }, "end": { "line": 1226, "column": 36 }, "identifierName": "localProgress" }, "name": "localProgress" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 44811, "end": 44814, "loc": { "start": { "line": 1226, "column": 40 }, "end": { "line": 1226, "column": 43 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } }, { "type": "BinaryExpression", "start": 44816, "end": 44858, "loc": { "start": { "line": 1226, "column": 45 }, "end": { "line": 1226, "column": 87 } }, "left": { "type": "StringLiteral", "start": 44816, "end": 44842, "loc": { "start": { "line": 1226, "column": 45 }, "end": { "line": 1226, "column": 71 } }, "extra": { "rawValue": "Invalid local progress: ", "raw": "\"Invalid local progress: \"" }, "value": "Invalid local progress: " }, "operator": "+", "right": { "type": "Identifier", "start": 44845, "end": 44858, "loc": { "start": { "line": 1226, "column": 74 }, "end": { "line": 1226, "column": 87 }, "identifierName": "localProgress" }, "name": "localProgress" } } ] } }, { "type": "VariableDeclaration", "start": 44878, "end": 44947, "loc": { "start": { "line": 1227, "column": 16 }, "end": { "line": 1227, "column": 85 } }, "declarations": [ { "type": "VariableDeclarator", "start": 44884, "end": 44946, "loc": { "start": { "line": 1227, "column": 22 }, "end": { "line": 1227, "column": 84 } }, "id": { "type": "Identifier", "start": 44884, "end": 44894, "loc": { "start": { "line": 1227, "column": 22 }, "end": { "line": 1227, "column": 32 }, "identifierName": "localSpace" }, "name": "localSpace" }, "init": { "type": "CallExpression", "start": 44897, "end": 44946, "loc": { "start": { "line": 1227, "column": 35 }, "end": { "line": 1227, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 44897, "end": 44931, "loc": { "start": { "line": 1227, "column": 35 }, "end": { "line": 1227, "column": 69 } }, "object": { "type": "Identifier", "start": 44897, "end": 44905, "loc": { "start": { "line": 1227, "column": 35 }, "end": { "line": 1227, "column": 43 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 44906, "end": 44931, "loc": { "start": { "line": 1227, "column": 44 }, "end": { "line": 1227, "column": 69 }, "identifierName": "transformBeltToLocalSpace" }, "name": "transformBeltToLocalSpace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 44932, "end": 44945, "loc": { "start": { "line": 1227, "column": 70 }, "end": { "line": 1227, "column": 83 }, "identifierName": "localProgress" }, "name": "localProgress" } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 44965, "end": 45047, "loc": { "start": { "line": 1228, "column": 16 }, "end": { "line": 1228, "column": 98 } }, "argument": { "type": "CallExpression", "start": 44972, "end": 45046, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 44972, "end": 45034, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 85 } }, "object": { "type": "MemberExpression", "start": 44972, "end": 45017, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 68 } }, "object": { "type": "MemberExpression", "start": 44972, "end": 45001, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 52 } }, "object": { "type": "MemberExpression", "start": 44972, "end": 44990, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 41 } }, "object": { "type": "MemberExpression", "start": 44972, "end": 44987, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 38 } }, "object": { "type": "ThisExpression", "start": 44972, "end": 44976, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 27 } } }, "property": { "type": "Identifier", "start": 44977, "end": 44987, "loc": { "start": { "line": 1228, "column": 28 }, "end": { "line": 1228, "column": 38 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 44988, "end": 44989, "loc": { "start": { "line": 1228, "column": 39 }, "end": { "line": 1228, "column": 40 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 44991, "end": 45001, "loc": { "start": { "line": 1228, "column": 42 }, "end": { "line": 1228, "column": 52 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 45002, "end": 45017, "loc": { "start": { "line": 1228, "column": 53 }, "end": { "line": 1228, "column": 68 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 45018, "end": 45034, "loc": { "start": { "line": 1228, "column": 69 }, "end": { "line": 1228, "column": 85 }, "identifierName": "localTileToWorld" }, "name": "localTileToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 45035, "end": 45045, "loc": { "start": { "line": 1228, "column": 86 }, "end": { "line": 1228, "column": 96 }, "identifierName": "localSpace" }, "name": "localSpace" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 45076, "end": 45105, "loc": { "start": { "line": 1230, "column": 12 }, "end": { "line": 1230, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 45076, "end": 45104, "loc": { "start": { "line": 1230, "column": 12 }, "end": { "line": 1230, "column": 40 } }, "operator": "+=", "left": { "type": "Identifier", "start": 45076, "end": 45089, "loc": { "start": { "line": 1230, "column": 12 }, "end": { "line": 1230, "column": 25 }, "identifierName": "currentLength" }, "name": "currentLength" }, "right": { "type": "Identifier", "start": 45093, "end": 45104, "loc": { "start": { "line": 1230, "column": 29 }, "end": { "line": 1230, "column": 40 }, "identifierName": "localLength" }, "name": "localLength" } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 45128, "end": 45212, "loc": { "start": { "line": 1233, "column": 8 }, "end": { "line": 1233, "column": 92 } }, "expression": { "type": "CallExpression", "start": 45128, "end": 45211, "loc": { "start": { "line": 1233, "column": 8 }, "end": { "line": 1233, "column": 91 } }, "callee": { "type": "Identifier", "start": 45128, "end": 45134, "loc": { "start": { "line": 1233, "column": 8 }, "end": { "line": 1233, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BooleanLiteral", "start": 45135, "end": 45140, "loc": { "start": { "line": 1233, "column": 15 }, "end": { "line": 1233, "column": 20 } }, "value": false }, { "type": "BinaryExpression", "start": 45142, "end": 45210, "loc": { "start": { "line": 1233, "column": 22 }, "end": { "line": 1233, "column": 90 } }, "left": { "type": "BinaryExpression", "start": 45142, "end": 45204, "loc": { "start": { "line": 1233, "column": 22 }, "end": { "line": 1233, "column": 84 } }, "left": { "type": "BinaryExpression", "start": 45142, "end": 45185, "loc": { "start": { "line": 1233, "column": 22 }, "end": { "line": 1233, "column": 65 } }, "left": { "type": "BinaryExpression", "start": 45142, "end": 45173, "loc": { "start": { "line": 1233, "column": 22 }, "end": { "line": 1233, "column": 53 } }, "left": { "type": "StringLiteral", "start": 45142, "end": 45162, "loc": { "start": { "line": 1233, "column": 22 }, "end": { "line": 1233, "column": 42 } }, "extra": { "rawValue": "invalid progress: ", "raw": "\"invalid progress: \"" }, "value": "invalid progress: " }, "operator": "+", "right": { "type": "Identifier", "start": 45165, "end": 45173, "loc": { "start": { "line": 1233, "column": 45 }, "end": { "line": 1233, "column": 53 }, "identifierName": "progress" }, "name": "progress" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 45176, "end": 45185, "loc": { "start": { "line": 1233, "column": 56 }, "end": { "line": 1233, "column": 65 } }, "extra": { "rawValue": " (max: ", "raw": "\" (max: \"" }, "value": " (max: " } }, "operator": "+", "right": { "type": "MemberExpression", "start": 45188, "end": 45204, "loc": { "start": { "line": 1233, "column": 68 }, "end": { "line": 1233, "column": 84 } }, "object": { "type": "ThisExpression", "start": 45188, "end": 45192, "loc": { "start": { "line": 1233, "column": 68 }, "end": { "line": 1233, "column": 72 } } }, "property": { "type": "Identifier", "start": 45193, "end": 45204, "loc": { "start": { "line": 1233, "column": 73 }, "end": { "line": 1233, "column": 84 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false } }, "operator": "+", "right": { "type": "StringLiteral", "start": 45207, "end": 45210, "loc": { "start": { "line": 1233, "column": 87 }, "end": { "line": 1233, "column": 90 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Computes a world space position from the given progress\r\n * @param {number} progress\r\n * @returns {Vector}\r\n ", "start": 43987, "end": 44122, "loc": { "start": { "line": 1207, "column": 4 }, "end": { "line": 1211, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 45227, "end": 45290, "loc": { "start": { "line": 1236, "column": 4 }, "end": { "line": 1239, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 45296, "end": 48241, "loc": { "start": { "line": 1240, "column": 4 }, "end": { "line": 1306, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 45296, "end": 45305, "loc": { "start": { "line": 1240, "column": 4 }, "end": { "line": 1240, "column": 13 }, "identifierName": "drawDebug" }, "name": "drawDebug", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 45306, "end": 45316, "loc": { "start": { "line": 1240, "column": 14 }, "end": { "line": 1240, "column": 24 }, "identifierName": "parameters" }, "name": "parameters" } ], "body": { "type": "BlockStatement", "start": 45318, "end": 48241, "loc": { "start": { "line": 1240, "column": 26 }, "end": { "line": 1306, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 45329, "end": 45422, "loc": { "start": { "line": 1241, "column": 8 }, "end": { "line": 1243, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 45333, "end": 45387, "loc": { "start": { "line": 1241, "column": 12 }, "end": { "line": 1241, "column": 66 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 45334, "end": 45387, "loc": { "start": { "line": 1241, "column": 13 }, "end": { "line": 1241, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 45334, "end": 45369, "loc": { "start": { "line": 1241, "column": 13 }, "end": { "line": 1241, "column": 48 } }, "object": { "type": "MemberExpression", "start": 45334, "end": 45356, "loc": { "start": { "line": 1241, "column": 13 }, "end": { "line": 1241, "column": 35 } }, "object": { "type": "Identifier", "start": 45334, "end": 45344, "loc": { "start": { "line": 1241, "column": 13 }, "end": { "line": 1241, "column": 23 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 45345, "end": 45356, "loc": { "start": { "line": 1241, "column": 24 }, "end": { "line": 1241, "column": 35 }, "identifierName": "visibleRect" }, "name": "visibleRect" }, "computed": false }, "property": { "type": "Identifier", "start": 45357, "end": 45369, "loc": { "start": { "line": 1241, "column": 36 }, "end": { "line": 1241, "column": 48 }, "identifierName": "containsRect" }, "name": "containsRect" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 45370, "end": 45386, "loc": { "start": { "line": 1241, "column": 49 }, "end": { "line": 1241, "column": 65 } }, "object": { "type": "ThisExpression", "start": 45370, "end": 45374, "loc": { "start": { "line": 1241, "column": 49 }, "end": { "line": 1241, "column": 53 } } }, "property": { "type": "Identifier", "start": 45375, "end": 45386, "loc": { "start": { "line": 1241, "column": 54 }, "end": { "line": 1241, "column": 65 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 45389, "end": 45422, "loc": { "start": { "line": 1241, "column": 68 }, "end": { "line": 1243, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 45404, "end": 45411, "loc": { "start": { "line": 1242, "column": 12 }, "end": { "line": 1242, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 45434, "end": 45475, "loc": { "start": { "line": 1245, "column": 8 }, "end": { "line": 1245, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 45434, "end": 45474, "loc": { "start": { "line": 1245, "column": 8 }, "end": { "line": 1245, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 45434, "end": 45462, "loc": { "start": { "line": 1245, "column": 8 }, "end": { "line": 1245, "column": 36 } }, "object": { "type": "MemberExpression", "start": 45434, "end": 45452, "loc": { "start": { "line": 1245, "column": 8 }, "end": { "line": 1245, "column": 26 } }, "object": { "type": "Identifier", "start": 45434, "end": 45444, "loc": { "start": { "line": 1245, "column": 8 }, "end": { "line": 1245, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 45445, "end": 45452, "loc": { "start": { "line": 1245, "column": 19 }, "end": { "line": 1245, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 45453, "end": 45462, "loc": { "start": { "line": 1245, "column": 27 }, "end": { "line": 1245, "column": 36 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 45465, "end": 45474, "loc": { "start": { "line": 1245, "column": 39 }, "end": { "line": 1245, "column": 48 } }, "extra": { "rawValue": "#d79a25", "raw": "\"#d79a25\"" }, "value": "#d79a25" } } }, { "type": "ExpressionStatement", "start": 45485, "end": 45528, "loc": { "start": { "line": 1246, "column": 8 }, "end": { "line": 1246, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 45485, "end": 45527, "loc": { "start": { "line": 1246, "column": 8 }, "end": { "line": 1246, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 45485, "end": 45515, "loc": { "start": { "line": 1246, "column": 8 }, "end": { "line": 1246, "column": 38 } }, "object": { "type": "MemberExpression", "start": 45485, "end": 45503, "loc": { "start": { "line": 1246, "column": 8 }, "end": { "line": 1246, "column": 26 } }, "object": { "type": "Identifier", "start": 45485, "end": 45495, "loc": { "start": { "line": 1246, "column": 8 }, "end": { "line": 1246, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 45496, "end": 45503, "loc": { "start": { "line": 1246, "column": 19 }, "end": { "line": 1246, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 45504, "end": 45515, "loc": { "start": { "line": 1246, "column": 27 }, "end": { "line": 1246, "column": 38 }, "identifierName": "strokeStyle" }, "name": "strokeStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 45518, "end": 45527, "loc": { "start": { "line": 1246, "column": 41 }, "end": { "line": 1246, "column": 50 } }, "extra": { "rawValue": "#d79a25", "raw": "\"#d79a25\"" }, "value": "#d79a25" } } }, { "type": "ExpressionStatement", "start": 45538, "end": 45569, "loc": { "start": { "line": 1247, "column": 8 }, "end": { "line": 1247, "column": 39 } }, "expression": { "type": "CallExpression", "start": 45538, "end": 45568, "loc": { "start": { "line": 1247, "column": 8 }, "end": { "line": 1247, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 45538, "end": 45566, "loc": { "start": { "line": 1247, "column": 8 }, "end": { "line": 1247, "column": 36 } }, "object": { "type": "MemberExpression", "start": 45538, "end": 45556, "loc": { "start": { "line": 1247, "column": 8 }, "end": { "line": 1247, "column": 26 } }, "object": { "type": "Identifier", "start": 45538, "end": 45548, "loc": { "start": { "line": 1247, "column": 8 }, "end": { "line": 1247, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 45549, "end": 45556, "loc": { "start": { "line": 1247, "column": 19 }, "end": { "line": 1247, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 45557, "end": 45566, "loc": { "start": { "line": 1247, "column": 27 }, "end": { "line": 1247, "column": 36 }, "identifierName": "beginPath" }, "name": "beginPath" }, "computed": false }, "arguments": [] } }, { "type": "ForStatement", "start": 45581, "end": 46022, "loc": { "start": { "line": 1249, "column": 8 }, "end": { "line": 1259, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 45586, "end": 45595, "loc": { "start": { "line": 1249, "column": 13 }, "end": { "line": 1249, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 45590, "end": 45595, "loc": { "start": { "line": 1249, "column": 17 }, "end": { "line": 1249, "column": 22 } }, "id": { "type": "Identifier", "start": 45590, "end": 45591, "loc": { "start": { "line": 1249, "column": 17 }, "end": { "line": 1249, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 45594, "end": 45595, "loc": { "start": { "line": 1249, "column": 21 }, "end": { "line": 1249, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 45597, "end": 45623, "loc": { "start": { "line": 1249, "column": 24 }, "end": { "line": 1249, "column": 50 } }, "left": { "type": "Identifier", "start": 45597, "end": 45598, "loc": { "start": { "line": 1249, "column": 24 }, "end": { "line": 1249, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 45601, "end": 45623, "loc": { "start": { "line": 1249, "column": 28 }, "end": { "line": 1249, "column": 50 } }, "object": { "type": "MemberExpression", "start": 45601, "end": 45616, "loc": { "start": { "line": 1249, "column": 28 }, "end": { "line": 1249, "column": 43 } }, "object": { "type": "ThisExpression", "start": 45601, "end": 45605, "loc": { "start": { "line": 1249, "column": 28 }, "end": { "line": 1249, "column": 32 } } }, "property": { "type": "Identifier", "start": 45606, "end": 45616, "loc": { "start": { "line": 1249, "column": 33 }, "end": { "line": 1249, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 45617, "end": 45623, "loc": { "start": { "line": 1249, "column": 44 }, "end": { "line": 1249, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 45625, "end": 45628, "loc": { "start": { "line": 1249, "column": 52 }, "end": { "line": 1249, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 45627, "end": 45628, "loc": { "start": { "line": 1249, "column": 54 }, "end": { "line": 1249, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 45630, "end": 46022, "loc": { "start": { "line": 1249, "column": 57 }, "end": { "line": 1259, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 45645, "end": 45679, "loc": { "start": { "line": 1250, "column": 12 }, "end": { "line": 1250, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 45651, "end": 45678, "loc": { "start": { "line": 1250, "column": 18 }, "end": { "line": 1250, "column": 45 } }, "id": { "type": "Identifier", "start": 45651, "end": 45657, "loc": { "start": { "line": 1250, "column": 18 }, "end": { "line": 1250, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 45660, "end": 45678, "loc": { "start": { "line": 1250, "column": 27 }, "end": { "line": 1250, "column": 45 } }, "object": { "type": "MemberExpression", "start": 45660, "end": 45675, "loc": { "start": { "line": 1250, "column": 27 }, "end": { "line": 1250, "column": 42 } }, "object": { "type": "ThisExpression", "start": 45660, "end": 45664, "loc": { "start": { "line": 1250, "column": 27 }, "end": { "line": 1250, "column": 31 } } }, "property": { "type": "Identifier", "start": 45665, "end": 45675, "loc": { "start": { "line": 1250, "column": 32 }, "end": { "line": 1250, "column": 42 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 45676, "end": 45677, "loc": { "start": { "line": 1250, "column": 43 }, "end": { "line": 1250, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 45693, "end": 45739, "loc": { "start": { "line": 1251, "column": 12 }, "end": { "line": 1251, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 45699, "end": 45738, "loc": { "start": { "line": 1251, "column": 18 }, "end": { "line": 1251, "column": 57 } }, "id": { "type": "Identifier", "start": 45699, "end": 45702, "loc": { "start": { "line": 1251, "column": 18 }, "end": { "line": 1251, "column": 21 }, "identifierName": "pos" }, "name": "pos" }, "init": { "type": "MemberExpression", "start": 45705, "end": 45738, "loc": { "start": { "line": 1251, "column": 24 }, "end": { "line": 1251, "column": 57 } }, "object": { "type": "MemberExpression", "start": 45705, "end": 45722, "loc": { "start": { "line": 1251, "column": 24 }, "end": { "line": 1251, "column": 41 } }, "object": { "type": "Identifier", "start": 45705, "end": 45711, "loc": { "start": { "line": 1251, "column": 24 }, "end": { "line": 1251, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 45712, "end": 45722, "loc": { "start": { "line": 1251, "column": 31 }, "end": { "line": 1251, "column": 41 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 45723, "end": 45738, "loc": { "start": { "line": 1251, "column": 42 }, "end": { "line": 1251, "column": 57 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 45753, "end": 45808, "loc": { "start": { "line": 1252, "column": 12 }, "end": { "line": 1252, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 45759, "end": 45807, "loc": { "start": { "line": 1252, "column": 18 }, "end": { "line": 1252, "column": 66 } }, "id": { "type": "Identifier", "start": 45759, "end": 45767, "loc": { "start": { "line": 1252, "column": 18 }, "end": { "line": 1252, "column": 26 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 45770, "end": 45807, "loc": { "start": { "line": 1252, "column": 29 }, "end": { "line": 1252, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 45770, "end": 45805, "loc": { "start": { "line": 1252, "column": 29 }, "end": { "line": 1252, "column": 64 } }, "object": { "type": "MemberExpression", "start": 45770, "end": 45780, "loc": { "start": { "line": 1252, "column": 29 }, "end": { "line": 1252, "column": 39 } }, "object": { "type": "Identifier", "start": 45770, "end": 45773, "loc": { "start": { "line": 1252, "column": 29 }, "end": { "line": 1252, "column": 32 }, "identifierName": "pos" }, "name": "pos" }, "property": { "type": "Identifier", "start": 45774, "end": 45780, "loc": { "start": { "line": 1252, "column": 33 }, "end": { "line": 1252, "column": 39 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "property": { "type": "Identifier", "start": 45781, "end": 45805, "loc": { "start": { "line": 1252, "column": 40 }, "end": { "line": 1252, "column": 64 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 45824, "end": 46011, "loc": { "start": { "line": 1254, "column": 12 }, "end": { "line": 1258, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 45828, "end": 45835, "loc": { "start": { "line": 1254, "column": 16 }, "end": { "line": 1254, "column": 23 } }, "left": { "type": "Identifier", "start": 45828, "end": 45829, "loc": { "start": { "line": 1254, "column": 16 }, "end": { "line": 1254, "column": 17 }, "identifierName": "i" }, "name": "i" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 45834, "end": 45835, "loc": { "start": { "line": 1254, "column": 22 }, "end": { "line": 1254, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 45837, "end": 45921, "loc": { "start": { "line": 1254, "column": 25 }, "end": { "line": 1256, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 45856, "end": 45906, "loc": { "start": { "line": 1255, "column": 16 }, "end": { "line": 1255, "column": 66 } }, "expression": { "type": "CallExpression", "start": 45856, "end": 45905, "loc": { "start": { "line": 1255, "column": 16 }, "end": { "line": 1255, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 45856, "end": 45881, "loc": { "start": { "line": 1255, "column": 16 }, "end": { "line": 1255, "column": 41 } }, "object": { "type": "MemberExpression", "start": 45856, "end": 45874, "loc": { "start": { "line": 1255, "column": 16 }, "end": { "line": 1255, "column": 34 } }, "object": { "type": "Identifier", "start": 45856, "end": 45866, "loc": { "start": { "line": 1255, "column": 16 }, "end": { "line": 1255, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 45867, "end": 45874, "loc": { "start": { "line": 1255, "column": 27 }, "end": { "line": 1255, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 45875, "end": 45881, "loc": { "start": { "line": 1255, "column": 35 }, "end": { "line": 1255, "column": 41 }, "identifierName": "moveTo" }, "name": "moveTo" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 45882, "end": 45892, "loc": { "start": { "line": 1255, "column": 42 }, "end": { "line": 1255, "column": 52 } }, "object": { "type": "Identifier", "start": 45882, "end": 45890, "loc": { "start": { "line": 1255, "column": 42 }, "end": { "line": 1255, "column": 50 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 45891, "end": 45892, "loc": { "start": { "line": 1255, "column": 51 }, "end": { "line": 1255, "column": 52 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 45894, "end": 45904, "loc": { "start": { "line": 1255, "column": 54 }, "end": { "line": 1255, "column": 64 } }, "object": { "type": "Identifier", "start": 45894, "end": 45902, "loc": { "start": { "line": 1255, "column": 54 }, "end": { "line": 1255, "column": 62 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 45903, "end": 45904, "loc": { "start": { "line": 1255, "column": 63 }, "end": { "line": 1255, "column": 64 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 45927, "end": 46011, "loc": { "start": { "line": 1256, "column": 19 }, "end": { "line": 1258, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 45946, "end": 45996, "loc": { "start": { "line": 1257, "column": 16 }, "end": { "line": 1257, "column": 66 } }, "expression": { "type": "CallExpression", "start": 45946, "end": 45995, "loc": { "start": { "line": 1257, "column": 16 }, "end": { "line": 1257, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 45946, "end": 45971, "loc": { "start": { "line": 1257, "column": 16 }, "end": { "line": 1257, "column": 41 } }, "object": { "type": "MemberExpression", "start": 45946, "end": 45964, "loc": { "start": { "line": 1257, "column": 16 }, "end": { "line": 1257, "column": 34 } }, "object": { "type": "Identifier", "start": 45946, "end": 45956, "loc": { "start": { "line": 1257, "column": 16 }, "end": { "line": 1257, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 45957, "end": 45964, "loc": { "start": { "line": 1257, "column": 27 }, "end": { "line": 1257, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 45965, "end": 45971, "loc": { "start": { "line": 1257, "column": 35 }, "end": { "line": 1257, "column": 41 }, "identifierName": "lineTo" }, "name": "lineTo" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 45972, "end": 45982, "loc": { "start": { "line": 1257, "column": 42 }, "end": { "line": 1257, "column": 52 } }, "object": { "type": "Identifier", "start": 45972, "end": 45980, "loc": { "start": { "line": 1257, "column": 42 }, "end": { "line": 1257, "column": 50 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 45981, "end": 45982, "loc": { "start": { "line": 1257, "column": 51 }, "end": { "line": 1257, "column": 52 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 45984, "end": 45994, "loc": { "start": { "line": 1257, "column": 54 }, "end": { "line": 1257, "column": 64 } }, "object": { "type": "Identifier", "start": 45984, "end": 45992, "loc": { "start": { "line": 1257, "column": 54 }, "end": { "line": 1257, "column": 62 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 45993, "end": 45994, "loc": { "start": { "line": 1257, "column": 63 }, "end": { "line": 1257, "column": 64 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 46032, "end": 46060, "loc": { "start": { "line": 1260, "column": 8 }, "end": { "line": 1260, "column": 36 } }, "expression": { "type": "CallExpression", "start": 46032, "end": 46059, "loc": { "start": { "line": 1260, "column": 8 }, "end": { "line": 1260, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 46032, "end": 46057, "loc": { "start": { "line": 1260, "column": 8 }, "end": { "line": 1260, "column": 33 } }, "object": { "type": "MemberExpression", "start": 46032, "end": 46050, "loc": { "start": { "line": 1260, "column": 8 }, "end": { "line": 1260, "column": 26 } }, "object": { "type": "Identifier", "start": 46032, "end": 46042, "loc": { "start": { "line": 1260, "column": 8 }, "end": { "line": 1260, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46043, "end": 46050, "loc": { "start": { "line": 1260, "column": 19 }, "end": { "line": 1260, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46051, "end": 46057, "loc": { "start": { "line": 1260, "column": 27 }, "end": { "line": 1260, "column": 33 }, "identifierName": "stroke" }, "name": "stroke" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Items", "start": 46072, "end": 46080, "loc": { "start": { "line": 1262, "column": 8 }, "end": { "line": 1262, "column": 16 } } } ] }, { "type": "VariableDeclaration", "start": 46090, "end": 46129, "loc": { "start": { "line": 1263, "column": 8 }, "end": { "line": 1263, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 46094, "end": 46128, "loc": { "start": { "line": 1263, "column": 12 }, "end": { "line": 1263, "column": 46 } }, "id": { "type": "Identifier", "start": 46094, "end": 46102, "loc": { "start": { "line": 1263, "column": 12 }, "end": { "line": 1263, "column": 20 }, "identifierName": "progress" }, "name": "progress", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 46105, "end": 46128, "loc": { "start": { "line": 1263, "column": 23 }, "end": { "line": 1263, "column": 46 } }, "object": { "type": "ThisExpression", "start": 46105, "end": 46109, "loc": { "start": { "line": 1263, "column": 23 }, "end": { "line": 1263, "column": 27 } } }, "property": { "type": "Identifier", "start": 46110, "end": 46128, "loc": { "start": { "line": 1263, "column": 28 }, "end": { "line": 1263, "column": 46 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Items", "start": 46072, "end": 46080, "loc": { "start": { "line": 1262, "column": 8 }, "end": { "line": 1262, "column": 16 } } } ] }, { "type": "ForStatement", "start": 46139, "end": 47144, "loc": { "start": { "line": 1264, "column": 8 }, "end": { "line": 1283, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 46144, "end": 46153, "loc": { "start": { "line": 1264, "column": 13 }, "end": { "line": 1264, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 46148, "end": 46153, "loc": { "start": { "line": 1264, "column": 17 }, "end": { "line": 1264, "column": 22 } }, "id": { "type": "Identifier", "start": 46148, "end": 46149, "loc": { "start": { "line": 1264, "column": 17 }, "end": { "line": 1264, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 46152, "end": 46153, "loc": { "start": { "line": 1264, "column": 21 }, "end": { "line": 1264, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 46155, "end": 46176, "loc": { "start": { "line": 1264, "column": 24 }, "end": { "line": 1264, "column": 45 } }, "left": { "type": "Identifier", "start": 46155, "end": 46156, "loc": { "start": { "line": 1264, "column": 24 }, "end": { "line": 1264, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 46159, "end": 46176, "loc": { "start": { "line": 1264, "column": 28 }, "end": { "line": 1264, "column": 45 } }, "object": { "type": "MemberExpression", "start": 46159, "end": 46169, "loc": { "start": { "line": 1264, "column": 28 }, "end": { "line": 1264, "column": 38 } }, "object": { "type": "ThisExpression", "start": 46159, "end": 46163, "loc": { "start": { "line": 1264, "column": 28 }, "end": { "line": 1264, "column": 32 } } }, "property": { "type": "Identifier", "start": 46164, "end": 46169, "loc": { "start": { "line": 1264, "column": 33 }, "end": { "line": 1264, "column": 38 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 46170, "end": 46176, "loc": { "start": { "line": 1264, "column": 39 }, "end": { "line": 1264, "column": 45 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 46178, "end": 46181, "loc": { "start": { "line": 1264, "column": 47 }, "end": { "line": 1264, "column": 50 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 46180, "end": 46181, "loc": { "start": { "line": 1264, "column": 49 }, "end": { "line": 1264, "column": 50 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 46183, "end": 47144, "loc": { "start": { "line": 1264, "column": 52 }, "end": { "line": 1283, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 46198, "end": 46240, "loc": { "start": { "line": 1265, "column": 12 }, "end": { "line": 1265, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 46204, "end": 46239, "loc": { "start": { "line": 1265, "column": 18 }, "end": { "line": 1265, "column": 53 } }, "id": { "type": "Identifier", "start": 46204, "end": 46223, "loc": { "start": { "line": 1265, "column": 18 }, "end": { "line": 1265, "column": 37 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "init": { "type": "MemberExpression", "start": 46226, "end": 46239, "loc": { "start": { "line": 1265, "column": 40 }, "end": { "line": 1265, "column": 53 } }, "object": { "type": "MemberExpression", "start": 46226, "end": 46236, "loc": { "start": { "line": 1265, "column": 40 }, "end": { "line": 1265, "column": 50 } }, "object": { "type": "ThisExpression", "start": 46226, "end": 46230, "loc": { "start": { "line": 1265, "column": 40 }, "end": { "line": 1265, "column": 44 } } }, "property": { "type": "Identifier", "start": 46231, "end": 46236, "loc": { "start": { "line": 1265, "column": 45 }, "end": { "line": 1265, "column": 50 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 46237, "end": 46238, "loc": { "start": { "line": 1265, "column": 51 }, "end": { "line": 1265, "column": 52 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 46254, "end": 46341, "loc": { "start": { "line": 1266, "column": 12 }, "end": { "line": 1266, "column": 99 } }, "declarations": [ { "type": "VariableDeclarator", "start": 46260, "end": 46340, "loc": { "start": { "line": 1266, "column": 18 }, "end": { "line": 1266, "column": 98 } }, "id": { "type": "Identifier", "start": 46260, "end": 46268, "loc": { "start": { "line": 1266, "column": 18 }, "end": { "line": 1266, "column": 26 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 46271, "end": 46340, "loc": { "start": { "line": 1266, "column": 29 }, "end": { "line": 1266, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 46271, "end": 46338, "loc": { "start": { "line": 1266, "column": 29 }, "end": { "line": 1266, "column": 96 } }, "object": { "type": "CallExpression", "start": 46271, "end": 46313, "loc": { "start": { "line": 1266, "column": 29 }, "end": { "line": 1266, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 46271, "end": 46303, "loc": { "start": { "line": 1266, "column": 29 }, "end": { "line": 1266, "column": 61 } }, "object": { "type": "ThisExpression", "start": 46271, "end": 46275, "loc": { "start": { "line": 1266, "column": 29 }, "end": { "line": 1266, "column": 33 } } }, "property": { "type": "Identifier", "start": 46276, "end": 46303, "loc": { "start": { "line": 1266, "column": 34 }, "end": { "line": 1266, "column": 61 }, "identifierName": "computePositionFromProgress" }, "name": "computePositionFromProgress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 46304, "end": 46312, "loc": { "start": { "line": 1266, "column": 62 }, "end": { "line": 1266, "column": 70 }, "identifierName": "progress" }, "name": "progress" } ] }, "property": { "type": "Identifier", "start": 46314, "end": 46338, "loc": { "start": { "line": 1266, "column": 72 }, "end": { "line": 1266, "column": 96 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 46355, "end": 46396, "loc": { "start": { "line": 1267, "column": 12 }, "end": { "line": 1267, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 46355, "end": 46395, "loc": { "start": { "line": 1267, "column": 12 }, "end": { "line": 1267, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 46355, "end": 46383, "loc": { "start": { "line": 1267, "column": 12 }, "end": { "line": 1267, "column": 40 } }, "object": { "type": "MemberExpression", "start": 46355, "end": 46373, "loc": { "start": { "line": 1267, "column": 12 }, "end": { "line": 1267, "column": 30 } }, "object": { "type": "Identifier", "start": 46355, "end": 46365, "loc": { "start": { "line": 1267, "column": 12 }, "end": { "line": 1267, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46366, "end": 46373, "loc": { "start": { "line": 1267, "column": 23 }, "end": { "line": 1267, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46374, "end": 46383, "loc": { "start": { "line": 1267, "column": 31 }, "end": { "line": 1267, "column": 40 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 46386, "end": 46395, "loc": { "start": { "line": 1267, "column": 43 }, "end": { "line": 1267, "column": 52 } }, "extra": { "rawValue": "#268e4d", "raw": "\"#268e4d\"" }, "value": "#268e4d" } } }, { "type": "ExpressionStatement", "start": 46410, "end": 46489, "loc": { "start": { "line": 1268, "column": 12 }, "end": { "line": 1268, "column": 91 } }, "expression": { "type": "CallExpression", "start": 46410, "end": 46488, "loc": { "start": { "line": 1268, "column": 12 }, "end": { "line": 1268, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 46410, "end": 46445, "loc": { "start": { "line": 1268, "column": 12 }, "end": { "line": 1268, "column": 47 } }, "object": { "type": "MemberExpression", "start": 46410, "end": 46428, "loc": { "start": { "line": 1268, "column": 12 }, "end": { "line": 1268, "column": 30 } }, "object": { "type": "Identifier", "start": 46410, "end": 46420, "loc": { "start": { "line": 1268, "column": 12 }, "end": { "line": 1268, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46421, "end": 46428, "loc": { "start": { "line": 1268, "column": 23 }, "end": { "line": 1268, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46429, "end": 46445, "loc": { "start": { "line": 1268, "column": 31 }, "end": { "line": 1268, "column": 47 }, "identifierName": "beginRoundedRect" }, "name": "beginRoundedRect" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 46446, "end": 46460, "loc": { "start": { "line": 1268, "column": 48 }, "end": { "line": 1268, "column": 62 } }, "left": { "type": "MemberExpression", "start": 46446, "end": 46456, "loc": { "start": { "line": 1268, "column": 48 }, "end": { "line": 1268, "column": 58 } }, "object": { "type": "Identifier", "start": 46446, "end": 46454, "loc": { "start": { "line": 1268, "column": 48 }, "end": { "line": 1268, "column": 56 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 46455, "end": 46456, "loc": { "start": { "line": 1268, "column": 57 }, "end": { "line": 1268, "column": 58 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 46459, "end": 46460, "loc": { "start": { "line": 1268, "column": 61 }, "end": { "line": 1268, "column": 62 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } }, { "type": "BinaryExpression", "start": 46462, "end": 46476, "loc": { "start": { "line": 1268, "column": 64 }, "end": { "line": 1268, "column": 78 } }, "left": { "type": "MemberExpression", "start": 46462, "end": 46472, "loc": { "start": { "line": 1268, "column": 64 }, "end": { "line": 1268, "column": 74 } }, "object": { "type": "Identifier", "start": 46462, "end": 46470, "loc": { "start": { "line": 1268, "column": 64 }, "end": { "line": 1268, "column": 72 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 46471, "end": 46472, "loc": { "start": { "line": 1268, "column": 73 }, "end": { "line": 1268, "column": 74 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 46475, "end": 46476, "loc": { "start": { "line": 1268, "column": 77 }, "end": { "line": 1268, "column": 78 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } }, { "type": "NumericLiteral", "start": 46478, "end": 46480, "loc": { "start": { "line": 1268, "column": 80 }, "end": { "line": 1268, "column": 82 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, { "type": "NumericLiteral", "start": 46482, "end": 46484, "loc": { "start": { "line": 1268, "column": 84 }, "end": { "line": 1268, "column": 86 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, { "type": "NumericLiteral", "start": 46486, "end": 46487, "loc": { "start": { "line": 1268, "column": 88 }, "end": { "line": 1268, "column": 89 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } ] } }, { "type": "ExpressionStatement", "start": 46503, "end": 46529, "loc": { "start": { "line": 1269, "column": 12 }, "end": { "line": 1269, "column": 38 } }, "expression": { "type": "CallExpression", "start": 46503, "end": 46528, "loc": { "start": { "line": 1269, "column": 12 }, "end": { "line": 1269, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 46503, "end": 46526, "loc": { "start": { "line": 1269, "column": 12 }, "end": { "line": 1269, "column": 35 } }, "object": { "type": "MemberExpression", "start": 46503, "end": 46521, "loc": { "start": { "line": 1269, "column": 12 }, "end": { "line": 1269, "column": 30 } }, "object": { "type": "Identifier", "start": 46503, "end": 46513, "loc": { "start": { "line": 1269, "column": 12 }, "end": { "line": 1269, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46514, "end": 46521, "loc": { "start": { "line": 1269, "column": 23 }, "end": { "line": 1269, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46522, "end": 46526, "loc": { "start": { "line": 1269, "column": 31 }, "end": { "line": 1269, "column": 35 }, "identifierName": "fill" }, "name": "fill" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 46543, "end": 46584, "loc": { "start": { "line": 1270, "column": 12 }, "end": { "line": 1270, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 46543, "end": 46583, "loc": { "start": { "line": 1270, "column": 12 }, "end": { "line": 1270, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 46543, "end": 46566, "loc": { "start": { "line": 1270, "column": 12 }, "end": { "line": 1270, "column": 35 } }, "object": { "type": "MemberExpression", "start": 46543, "end": 46561, "loc": { "start": { "line": 1270, "column": 12 }, "end": { "line": 1270, "column": 30 } }, "object": { "type": "Identifier", "start": 46543, "end": 46553, "loc": { "start": { "line": 1270, "column": 12 }, "end": { "line": 1270, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46554, "end": 46561, "loc": { "start": { "line": 1270, "column": 23 }, "end": { "line": 1270, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46562, "end": 46566, "loc": { "start": { "line": 1270, "column": 31 }, "end": { "line": 1270, "column": 35 }, "identifierName": "font" }, "name": "font" }, "computed": false }, "right": { "type": "StringLiteral", "start": 46569, "end": 46583, "loc": { "start": { "line": 1270, "column": 38 }, "end": { "line": 1270, "column": 52 } }, "extra": { "rawValue": "6px GameFont", "raw": "\"6px GameFont\"" }, "value": "6px GameFont" } } }, { "type": "ExpressionStatement", "start": 46598, "end": 46636, "loc": { "start": { "line": 1271, "column": 12 }, "end": { "line": 1271, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 46598, "end": 46635, "loc": { "start": { "line": 1271, "column": 12 }, "end": { "line": 1271, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 46598, "end": 46626, "loc": { "start": { "line": 1271, "column": 12 }, "end": { "line": 1271, "column": 40 } }, "object": { "type": "MemberExpression", "start": 46598, "end": 46616, "loc": { "start": { "line": 1271, "column": 12 }, "end": { "line": 1271, "column": 30 } }, "object": { "type": "Identifier", "start": 46598, "end": 46608, "loc": { "start": { "line": 1271, "column": 12 }, "end": { "line": 1271, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46609, "end": 46616, "loc": { "start": { "line": 1271, "column": 23 }, "end": { "line": 1271, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46617, "end": 46626, "loc": { "start": { "line": 1271, "column": 31 }, "end": { "line": 1271, "column": 40 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 46629, "end": 46635, "loc": { "start": { "line": 1271, "column": 43 }, "end": { "line": 1271, "column": 49 } }, "extra": { "rawValue": "#111", "raw": "\"#111\"" }, "value": "#111" } } }, { "type": "ExpressionStatement", "start": 46650, "end": 46831, "loc": { "start": { "line": 1272, "column": 12 }, "end": { "line": 1276, "column": 14 } }, "expression": { "type": "CallExpression", "start": 46650, "end": 46830, "loc": { "start": { "line": 1272, "column": 12 }, "end": { "line": 1276, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 46650, "end": 46677, "loc": { "start": { "line": 1272, "column": 12 }, "end": { "line": 1272, "column": 39 } }, "object": { "type": "MemberExpression", "start": 46650, "end": 46668, "loc": { "start": { "line": 1272, "column": 12 }, "end": { "line": 1272, "column": 30 } }, "object": { "type": "Identifier", "start": 46650, "end": 46660, "loc": { "start": { "line": 1272, "column": 12 }, "end": { "line": 1272, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 46661, "end": 46668, "loc": { "start": { "line": 1272, "column": 23 }, "end": { "line": 1272, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 46669, "end": 46677, "loc": { "start": { "line": 1272, "column": 31 }, "end": { "line": 1272, "column": 39 }, "identifierName": "fillText" }, "name": "fillText" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 46696, "end": 46749, "loc": { "start": { "line": 1273, "column": 16 }, "end": { "line": 1273, "column": 69 } }, "left": { "type": "StringLiteral", "start": 46696, "end": 46698, "loc": { "start": { "line": 1273, "column": 16 }, "end": { "line": 1273, "column": 18 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "CallExpression", "start": 46701, "end": 46749, "loc": { "start": { "line": 1273, "column": 21 }, "end": { "line": 1273, "column": 69 } }, "callee": { "type": "Identifier", "start": 46701, "end": 46713, "loc": { "start": { "line": 1273, "column": 21 }, "end": { "line": 1273, "column": 33 }, "identifierName": "round4Digits" }, "name": "round4Digits" }, "arguments": [ { "type": "MemberExpression", "start": 46714, "end": 46748, "loc": { "start": { "line": 1273, "column": 34 }, "end": { "line": 1273, "column": 68 } }, "object": { "type": "Identifier", "start": 46714, "end": 46733, "loc": { "start": { "line": 1273, "column": 34 }, "end": { "line": 1273, "column": 53 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "property": { "type": "Identifier", "start": 46734, "end": 46747, "loc": { "start": { "line": 1273, "column": 54 }, "end": { "line": 1273, "column": 67 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } ] } }, { "type": "BinaryExpression", "start": 46768, "end": 46782, "loc": { "start": { "line": 1274, "column": 16 }, "end": { "line": 1274, "column": 30 } }, "left": { "type": "MemberExpression", "start": 46768, "end": 46778, "loc": { "start": { "line": 1274, "column": 16 }, "end": { "line": 1274, "column": 26 } }, "object": { "type": "Identifier", "start": 46768, "end": 46776, "loc": { "start": { "line": 1274, "column": 16 }, "end": { "line": 1274, "column": 24 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 46777, "end": 46778, "loc": { "start": { "line": 1274, "column": 25 }, "end": { "line": 1274, "column": 26 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 46781, "end": 46782, "loc": { "start": { "line": 1274, "column": 29 }, "end": { "line": 1274, "column": 30 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } }, { "type": "BinaryExpression", "start": 46801, "end": 46815, "loc": { "start": { "line": 1275, "column": 16 }, "end": { "line": 1275, "column": 30 } }, "left": { "type": "MemberExpression", "start": 46801, "end": 46811, "loc": { "start": { "line": 1275, "column": 16 }, "end": { "line": 1275, "column": 26 } }, "object": { "type": "Identifier", "start": 46801, "end": 46809, "loc": { "start": { "line": 1275, "column": 16 }, "end": { "line": 1275, "column": 24 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 46810, "end": 46811, "loc": { "start": { "line": 1275, "column": 25 }, "end": { "line": 1275, "column": 26 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 46814, "end": 46815, "loc": { "start": { "line": 1275, "column": 29 }, "end": { "line": 1275, "column": 30 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } }, { "type": "ExpressionStatement", "start": 46845, "end": 46892, "loc": { "start": { "line": 1277, "column": 12 }, "end": { "line": 1277, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 46845, "end": 46891, "loc": { "start": { "line": 1277, "column": 12 }, "end": { "line": 1277, "column": 58 } }, "operator": "+=", "left": { "type": "Identifier", "start": 46845, "end": 46853, "loc": { "start": { "line": 1277, "column": 12 }, "end": { "line": 1277, "column": 20 }, "identifierName": "progress" }, "name": "progress" }, "right": { "type": "MemberExpression", "start": 46857, "end": 46891, "loc": { "start": { "line": 1277, "column": 24 }, "end": { "line": 1277, "column": 58 } }, "object": { "type": "Identifier", "start": 46857, "end": 46876, "loc": { "start": { "line": 1277, "column": 24 }, "end": { "line": 1277, "column": 43 }, "identifierName": "nextDistanceAndItem" }, "name": "nextDistanceAndItem" }, "property": { "type": "Identifier", "start": 46877, "end": 46890, "loc": { "start": { "line": 1277, "column": 44 }, "end": { "line": 1277, "column": 57 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true } } }, { "type": "IfStatement", "start": 46908, "end": 47133, "loc": { "start": { "line": 1279, "column": 12 }, "end": { "line": 1282, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 46912, "end": 46979, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 83 } }, "left": { "type": "BinaryExpression", "start": 46912, "end": 46973, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 77 } }, "left": { "type": "BinaryExpression", "start": 46912, "end": 46933, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 37 } }, "left": { "type": "MemberExpression", "start": 46912, "end": 46929, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 33 } }, "object": { "type": "MemberExpression", "start": 46912, "end": 46922, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 26 } }, "object": { "type": "ThisExpression", "start": 46912, "end": 46916, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 20 } } }, "property": { "type": "Identifier", "start": 46917, "end": 46922, "loc": { "start": { "line": 1279, "column": 21 }, "end": { "line": 1279, "column": 26 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 46923, "end": 46929, "loc": { "start": { "line": 1279, "column": 27 }, "end": { "line": 1279, "column": 33 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 46932, "end": 46933, "loc": { "start": { "line": 1279, "column": 36 }, "end": { "line": 1279, "column": 37 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "operator": "-", "right": { "type": "MemberExpression", "start": 46936, "end": 46973, "loc": { "start": { "line": 1279, "column": 40 }, "end": { "line": 1279, "column": 77 } }, "object": { "type": "ThisExpression", "start": 46936, "end": 46940, "loc": { "start": { "line": 1279, "column": 40 }, "end": { "line": 1279, "column": 44 } } }, "property": { "type": "Identifier", "start": 46941, "end": 46973, "loc": { "start": { "line": 1279, "column": 45 }, "end": { "line": 1279, "column": 77 }, "identifierName": "numCompressedItemsAfterFirstItem" }, "name": "numCompressedItemsAfterFirstItem" }, "computed": false } }, "operator": "===", "right": { "type": "Identifier", "start": 46978, "end": 46979, "loc": { "start": { "line": 1279, "column": 82 }, "end": { "line": 1279, "column": 83 }, "identifierName": "i" }, "name": "i" } }, "consequent": { "type": "BlockStatement", "start": 46981, "end": 47133, "loc": { "start": { "line": 1279, "column": 85 }, "end": { "line": 1282, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 47000, "end": 47037, "loc": { "start": { "line": 1280, "column": 16 }, "end": { "line": 1280, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 47000, "end": 47036, "loc": { "start": { "line": 1280, "column": 16 }, "end": { "line": 1280, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 47000, "end": 47028, "loc": { "start": { "line": 1280, "column": 16 }, "end": { "line": 1280, "column": 44 } }, "object": { "type": "MemberExpression", "start": 47000, "end": 47018, "loc": { "start": { "line": 1280, "column": 16 }, "end": { "line": 1280, "column": 34 } }, "object": { "type": "Identifier", "start": 47000, "end": 47010, "loc": { "start": { "line": 1280, "column": 16 }, "end": { "line": 1280, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47011, "end": 47018, "loc": { "start": { "line": 1280, "column": 27 }, "end": { "line": 1280, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47019, "end": 47028, "loc": { "start": { "line": 1280, "column": 35 }, "end": { "line": 1280, "column": 44 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 47031, "end": 47036, "loc": { "start": { "line": 1280, "column": 47 }, "end": { "line": 1280, "column": 52 } }, "extra": { "rawValue": "red", "raw": "\"red\"" }, "value": "red" } } }, { "type": "ExpressionStatement", "start": 47055, "end": 47118, "loc": { "start": { "line": 1281, "column": 16 }, "end": { "line": 1281, "column": 79 } }, "expression": { "type": "CallExpression", "start": 47055, "end": 47117, "loc": { "start": { "line": 1281, "column": 16 }, "end": { "line": 1281, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 47055, "end": 47082, "loc": { "start": { "line": 1281, "column": 16 }, "end": { "line": 1281, "column": 43 } }, "object": { "type": "MemberExpression", "start": 47055, "end": 47073, "loc": { "start": { "line": 1281, "column": 16 }, "end": { "line": 1281, "column": 34 } }, "object": { "type": "Identifier", "start": 47055, "end": 47065, "loc": { "start": { "line": 1281, "column": 16 }, "end": { "line": 1281, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47066, "end": 47073, "loc": { "start": { "line": 1281, "column": 27 }, "end": { "line": 1281, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47074, "end": 47082, "loc": { "start": { "line": 1281, "column": 35 }, "end": { "line": 1281, "column": 43 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 47083, "end": 47097, "loc": { "start": { "line": 1281, "column": 44 }, "end": { "line": 1281, "column": 58 } }, "left": { "type": "MemberExpression", "start": 47083, "end": 47093, "loc": { "start": { "line": 1281, "column": 44 }, "end": { "line": 1281, "column": 54 } }, "object": { "type": "Identifier", "start": 47083, "end": 47091, "loc": { "start": { "line": 1281, "column": 44 }, "end": { "line": 1281, "column": 52 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 47092, "end": 47093, "loc": { "start": { "line": 1281, "column": 53 }, "end": { "line": 1281, "column": 54 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 47096, "end": 47097, "loc": { "start": { "line": 1281, "column": 57 }, "end": { "line": 1281, "column": 58 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } }, { "type": "MemberExpression", "start": 47099, "end": 47109, "loc": { "start": { "line": 1281, "column": 60 }, "end": { "line": 1281, "column": 70 } }, "object": { "type": "Identifier", "start": 47099, "end": 47107, "loc": { "start": { "line": 1281, "column": 60 }, "end": { "line": 1281, "column": 68 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 47108, "end": 47109, "loc": { "start": { "line": 1281, "column": 69 }, "end": { "line": 1281, "column": 70 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "NumericLiteral", "start": 47111, "end": 47113, "loc": { "start": { "line": 1281, "column": 72 }, "end": { "line": 1281, "column": 74 } }, "extra": { "rawValue": 20, "raw": "20" }, "value": 20 }, { "type": "NumericLiteral", "start": 47115, "end": 47116, "loc": { "start": { "line": 1281, "column": 76 }, "end": { "line": 1281, "column": 77 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ForStatement", "start": 47156, "end": 47575, "loc": { "start": { "line": 1285, "column": 8 }, "end": { "line": 1292, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 47161, "end": 47170, "loc": { "start": { "line": 1285, "column": 13 }, "end": { "line": 1285, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47165, "end": 47170, "loc": { "start": { "line": 1285, "column": 17 }, "end": { "line": 1285, "column": 22 } }, "id": { "type": "Identifier", "start": 47165, "end": 47166, "loc": { "start": { "line": 1285, "column": 17 }, "end": { "line": 1285, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 47169, "end": 47170, "loc": { "start": { "line": 1285, "column": 21 }, "end": { "line": 1285, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 47172, "end": 47198, "loc": { "start": { "line": 1285, "column": 24 }, "end": { "line": 1285, "column": 50 } }, "left": { "type": "Identifier", "start": 47172, "end": 47173, "loc": { "start": { "line": 1285, "column": 24 }, "end": { "line": 1285, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 47176, "end": 47198, "loc": { "start": { "line": 1285, "column": 28 }, "end": { "line": 1285, "column": 50 } }, "object": { "type": "MemberExpression", "start": 47176, "end": 47191, "loc": { "start": { "line": 1285, "column": 28 }, "end": { "line": 1285, "column": 43 } }, "object": { "type": "ThisExpression", "start": 47176, "end": 47180, "loc": { "start": { "line": 1285, "column": 28 }, "end": { "line": 1285, "column": 32 } } }, "property": { "type": "Identifier", "start": 47181, "end": 47191, "loc": { "start": { "line": 1285, "column": 33 }, "end": { "line": 1285, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 47192, "end": 47198, "loc": { "start": { "line": 1285, "column": 44 }, "end": { "line": 1285, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 47200, "end": 47203, "loc": { "start": { "line": 1285, "column": 52 }, "end": { "line": 1285, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 47202, "end": 47203, "loc": { "start": { "line": 1285, "column": 54 }, "end": { "line": 1285, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 47205, "end": 47575, "loc": { "start": { "line": 1285, "column": 57 }, "end": { "line": 1292, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 47220, "end": 47254, "loc": { "start": { "line": 1286, "column": 12 }, "end": { "line": 1286, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47226, "end": 47253, "loc": { "start": { "line": 1286, "column": 18 }, "end": { "line": 1286, "column": 45 } }, "id": { "type": "Identifier", "start": 47226, "end": 47232, "loc": { "start": { "line": 1286, "column": 18 }, "end": { "line": 1286, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 47235, "end": 47253, "loc": { "start": { "line": 1286, "column": 27 }, "end": { "line": 1286, "column": 45 } }, "object": { "type": "MemberExpression", "start": 47235, "end": 47250, "loc": { "start": { "line": 1286, "column": 27 }, "end": { "line": 1286, "column": 42 } }, "object": { "type": "ThisExpression", "start": 47235, "end": 47239, "loc": { "start": { "line": 1286, "column": 27 }, "end": { "line": 1286, "column": 31 } } }, "property": { "type": "Identifier", "start": 47240, "end": 47250, "loc": { "start": { "line": 1286, "column": 32 }, "end": { "line": 1286, "column": 42 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 47251, "end": 47252, "loc": { "start": { "line": 1286, "column": 43 }, "end": { "line": 1286, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 47268, "end": 47309, "loc": { "start": { "line": 1287, "column": 12 }, "end": { "line": 1287, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 47268, "end": 47308, "loc": { "start": { "line": 1287, "column": 12 }, "end": { "line": 1287, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 47268, "end": 47296, "loc": { "start": { "line": 1287, "column": 12 }, "end": { "line": 1287, "column": 40 } }, "object": { "type": "MemberExpression", "start": 47268, "end": 47286, "loc": { "start": { "line": 1287, "column": 12 }, "end": { "line": 1287, "column": 30 } }, "object": { "type": "Identifier", "start": 47268, "end": 47278, "loc": { "start": { "line": 1287, "column": 12 }, "end": { "line": 1287, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47279, "end": 47286, "loc": { "start": { "line": 1287, "column": 23 }, "end": { "line": 1287, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47287, "end": 47296, "loc": { "start": { "line": 1287, "column": 31 }, "end": { "line": 1287, "column": 40 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 47299, "end": 47308, "loc": { "start": { "line": 1287, "column": 43 }, "end": { "line": 1287, "column": 52 } }, "extra": { "rawValue": "#d79a25", "raw": "\"#d79a25\"" }, "value": "#d79a25" } } }, { "type": "VariableDeclaration", "start": 47323, "end": 47369, "loc": { "start": { "line": 1288, "column": 12 }, "end": { "line": 1288, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47329, "end": 47368, "loc": { "start": { "line": 1288, "column": 18 }, "end": { "line": 1288, "column": 57 } }, "id": { "type": "Identifier", "start": 47329, "end": 47332, "loc": { "start": { "line": 1288, "column": 18 }, "end": { "line": 1288, "column": 21 }, "identifierName": "pos" }, "name": "pos" }, "init": { "type": "MemberExpression", "start": 47335, "end": 47368, "loc": { "start": { "line": 1288, "column": 24 }, "end": { "line": 1288, "column": 57 } }, "object": { "type": "MemberExpression", "start": 47335, "end": 47352, "loc": { "start": { "line": 1288, "column": 24 }, "end": { "line": 1288, "column": 41 } }, "object": { "type": "Identifier", "start": 47335, "end": 47341, "loc": { "start": { "line": 1288, "column": 24 }, "end": { "line": 1288, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 47342, "end": 47352, "loc": { "start": { "line": 1288, "column": 31 }, "end": { "line": 1288, "column": 41 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 47353, "end": 47368, "loc": { "start": { "line": 1288, "column": 42 }, "end": { "line": 1288, "column": 57 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 47383, "end": 47438, "loc": { "start": { "line": 1289, "column": 12 }, "end": { "line": 1289, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47389, "end": 47437, "loc": { "start": { "line": 1289, "column": 18 }, "end": { "line": 1289, "column": 66 } }, "id": { "type": "Identifier", "start": 47389, "end": 47397, "loc": { "start": { "line": 1289, "column": 18 }, "end": { "line": 1289, "column": 26 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 47400, "end": 47437, "loc": { "start": { "line": 1289, "column": 29 }, "end": { "line": 1289, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 47400, "end": 47435, "loc": { "start": { "line": 1289, "column": 29 }, "end": { "line": 1289, "column": 64 } }, "object": { "type": "MemberExpression", "start": 47400, "end": 47410, "loc": { "start": { "line": 1289, "column": 29 }, "end": { "line": 1289, "column": 39 } }, "object": { "type": "Identifier", "start": 47400, "end": 47403, "loc": { "start": { "line": 1289, "column": 29 }, "end": { "line": 1289, "column": 32 }, "identifierName": "pos" }, "name": "pos" }, "property": { "type": "Identifier", "start": 47404, "end": 47410, "loc": { "start": { "line": 1289, "column": 33 }, "end": { "line": 1289, "column": 39 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "property": { "type": "Identifier", "start": 47411, "end": 47435, "loc": { "start": { "line": 1289, "column": 40 }, "end": { "line": 1289, "column": 64 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 47452, "end": 47524, "loc": { "start": { "line": 1290, "column": 12 }, "end": { "line": 1290, "column": 84 } }, "expression": { "type": "CallExpression", "start": 47452, "end": 47523, "loc": { "start": { "line": 1290, "column": 12 }, "end": { "line": 1290, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 47452, "end": 47482, "loc": { "start": { "line": 1290, "column": 12 }, "end": { "line": 1290, "column": 42 } }, "object": { "type": "MemberExpression", "start": 47452, "end": 47470, "loc": { "start": { "line": 1290, "column": 12 }, "end": { "line": 1290, "column": 30 } }, "object": { "type": "Identifier", "start": 47452, "end": 47462, "loc": { "start": { "line": 1290, "column": 12 }, "end": { "line": 1290, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47463, "end": 47470, "loc": { "start": { "line": 1290, "column": 23 }, "end": { "line": 1290, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47471, "end": 47482, "loc": { "start": { "line": 1290, "column": 31 }, "end": { "line": 1290, "column": 42 }, "identifierName": "beginCircle" }, "name": "beginCircle" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 47483, "end": 47493, "loc": { "start": { "line": 1290, "column": 43 }, "end": { "line": 1290, "column": 53 } }, "object": { "type": "Identifier", "start": 47483, "end": 47491, "loc": { "start": { "line": 1290, "column": 43 }, "end": { "line": 1290, "column": 51 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 47492, "end": 47493, "loc": { "start": { "line": 1290, "column": 52 }, "end": { "line": 1290, "column": 53 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 47495, "end": 47505, "loc": { "start": { "line": 1290, "column": 55 }, "end": { "line": 1290, "column": 65 } }, "object": { "type": "Identifier", "start": 47495, "end": 47503, "loc": { "start": { "line": 1290, "column": 55 }, "end": { "line": 1290, "column": 63 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 47504, "end": 47505, "loc": { "start": { "line": 1290, "column": 64 }, "end": { "line": 1290, "column": 65 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "ConditionalExpression", "start": 47507, "end": 47522, "loc": { "start": { "line": 1290, "column": 67 }, "end": { "line": 1290, "column": 82 } }, "test": { "type": "BinaryExpression", "start": 47507, "end": 47514, "loc": { "start": { "line": 1290, "column": 67 }, "end": { "line": 1290, "column": 74 } }, "left": { "type": "Identifier", "start": 47507, "end": 47508, "loc": { "start": { "line": 1290, "column": 67 }, "end": { "line": 1290, "column": 68 }, "identifierName": "i" }, "name": "i" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 47513, "end": 47514, "loc": { "start": { "line": 1290, "column": 73 }, "end": { "line": 1290, "column": 74 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "NumericLiteral", "start": 47517, "end": 47518, "loc": { "start": { "line": 1290, "column": 77 }, "end": { "line": 1290, "column": 78 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 }, "alternate": { "type": "NumericLiteral", "start": 47521, "end": 47522, "loc": { "start": { "line": 1290, "column": 81 }, "end": { "line": 1290, "column": 82 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } } ] } }, { "type": "ExpressionStatement", "start": 47538, "end": 47564, "loc": { "start": { "line": 1291, "column": 12 }, "end": { "line": 1291, "column": 38 } }, "expression": { "type": "CallExpression", "start": 47538, "end": 47563, "loc": { "start": { "line": 1291, "column": 12 }, "end": { "line": 1291, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 47538, "end": 47561, "loc": { "start": { "line": 1291, "column": 12 }, "end": { "line": 1291, "column": 35 } }, "object": { "type": "MemberExpression", "start": 47538, "end": 47556, "loc": { "start": { "line": 1291, "column": 12 }, "end": { "line": 1291, "column": 30 } }, "object": { "type": "Identifier", "start": 47538, "end": 47548, "loc": { "start": { "line": 1291, "column": 12 }, "end": { "line": 1291, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47549, "end": 47556, "loc": { "start": { "line": 1291, "column": 23 }, "end": { "line": 1291, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47557, "end": 47561, "loc": { "start": { "line": 1291, "column": 31 }, "end": { "line": 1291, "column": 35 }, "identifierName": "fill" }, "name": "fill" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ForStatement", "start": 47587, "end": 47940, "loc": { "start": { "line": 1294, "column": 8 }, "end": { "line": 1299, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 47592, "end": 47608, "loc": { "start": { "line": 1294, "column": 13 }, "end": { "line": 1294, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47596, "end": 47608, "loc": { "start": { "line": 1294, "column": 17 }, "end": { "line": 1294, "column": 29 } }, "id": { "type": "Identifier", "start": 47596, "end": 47604, "loc": { "start": { "line": 1294, "column": 17 }, "end": { "line": 1294, "column": 25 }, "identifierName": "progress" }, "name": "progress" }, "init": { "type": "NumericLiteral", "start": 47607, "end": 47608, "loc": { "start": { "line": 1294, "column": 28 }, "end": { "line": 1294, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 47610, "end": 47645, "loc": { "start": { "line": 1294, "column": 31 }, "end": { "line": 1294, "column": 66 } }, "left": { "type": "Identifier", "start": 47610, "end": 47618, "loc": { "start": { "line": 1294, "column": 31 }, "end": { "line": 1294, "column": 39 }, "identifierName": "progress" }, "name": "progress" }, "operator": "<=", "right": { "type": "BinaryExpression", "start": 47622, "end": 47645, "loc": { "start": { "line": 1294, "column": 43 }, "end": { "line": 1294, "column": 66 } }, "left": { "type": "MemberExpression", "start": 47622, "end": 47638, "loc": { "start": { "line": 1294, "column": 43 }, "end": { "line": 1294, "column": 59 } }, "object": { "type": "ThisExpression", "start": 47622, "end": 47626, "loc": { "start": { "line": 1294, "column": 43 }, "end": { "line": 1294, "column": 47 } } }, "property": { "type": "Identifier", "start": 47627, "end": 47638, "loc": { "start": { "line": 1294, "column": 48 }, "end": { "line": 1294, "column": 59 }, "identifierName": "totalLength" }, "name": "totalLength" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 47641, "end": 47645, "loc": { "start": { "line": 1294, "column": 62 }, "end": { "line": 1294, "column": 66 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } } }, "update": { "type": "AssignmentExpression", "start": 47647, "end": 47662, "loc": { "start": { "line": 1294, "column": 68 }, "end": { "line": 1294, "column": 83 } }, "operator": "+=", "left": { "type": "Identifier", "start": 47647, "end": 47655, "loc": { "start": { "line": 1294, "column": 68 }, "end": { "line": 1294, "column": 76 }, "identifierName": "progress" }, "name": "progress" }, "right": { "type": "NumericLiteral", "start": 47659, "end": 47662, "loc": { "start": { "line": 1294, "column": 80 }, "end": { "line": 1294, "column": 83 } }, "extra": { "rawValue": 0.2, "raw": "0.2" }, "value": 0.2 } }, "body": { "type": "BlockStatement", "start": 47664, "end": 47940, "loc": { "start": { "line": 1294, "column": 85 }, "end": { "line": 1299, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 47679, "end": 47766, "loc": { "start": { "line": 1295, "column": 12 }, "end": { "line": 1295, "column": 99 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47685, "end": 47765, "loc": { "start": { "line": 1295, "column": 18 }, "end": { "line": 1295, "column": 98 } }, "id": { "type": "Identifier", "start": 47685, "end": 47693, "loc": { "start": { "line": 1295, "column": 18 }, "end": { "line": 1295, "column": 26 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 47696, "end": 47765, "loc": { "start": { "line": 1295, "column": 29 }, "end": { "line": 1295, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 47696, "end": 47763, "loc": { "start": { "line": 1295, "column": 29 }, "end": { "line": 1295, "column": 96 } }, "object": { "type": "CallExpression", "start": 47696, "end": 47738, "loc": { "start": { "line": 1295, "column": 29 }, "end": { "line": 1295, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 47696, "end": 47728, "loc": { "start": { "line": 1295, "column": 29 }, "end": { "line": 1295, "column": 61 } }, "object": { "type": "ThisExpression", "start": 47696, "end": 47700, "loc": { "start": { "line": 1295, "column": 29 }, "end": { "line": 1295, "column": 33 } } }, "property": { "type": "Identifier", "start": 47701, "end": 47728, "loc": { "start": { "line": 1295, "column": 34 }, "end": { "line": 1295, "column": 61 }, "identifierName": "computePositionFromProgress" }, "name": "computePositionFromProgress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 47729, "end": 47737, "loc": { "start": { "line": 1295, "column": 62 }, "end": { "line": 1295, "column": 70 }, "identifierName": "progress" }, "name": "progress" } ] }, "property": { "type": "Identifier", "start": 47739, "end": 47763, "loc": { "start": { "line": 1295, "column": 72 }, "end": { "line": 1295, "column": 96 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 47780, "end": 47817, "loc": { "start": { "line": 1296, "column": 12 }, "end": { "line": 1296, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 47780, "end": 47816, "loc": { "start": { "line": 1296, "column": 12 }, "end": { "line": 1296, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 47780, "end": 47808, "loc": { "start": { "line": 1296, "column": 12 }, "end": { "line": 1296, "column": 40 } }, "object": { "type": "MemberExpression", "start": 47780, "end": 47798, "loc": { "start": { "line": 1296, "column": 12 }, "end": { "line": 1296, "column": 30 } }, "object": { "type": "Identifier", "start": 47780, "end": 47790, "loc": { "start": { "line": 1296, "column": 12 }, "end": { "line": 1296, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47791, "end": 47798, "loc": { "start": { "line": 1296, "column": 23 }, "end": { "line": 1296, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47799, "end": 47808, "loc": { "start": { "line": 1296, "column": 31 }, "end": { "line": 1296, "column": 40 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 47811, "end": 47816, "loc": { "start": { "line": 1296, "column": 43 }, "end": { "line": 1296, "column": 48 } }, "extra": { "rawValue": "red", "raw": "\"red\"" }, "value": "red" } } }, { "type": "ExpressionStatement", "start": 47831, "end": 47889, "loc": { "start": { "line": 1297, "column": 12 }, "end": { "line": 1297, "column": 70 } }, "expression": { "type": "CallExpression", "start": 47831, "end": 47888, "loc": { "start": { "line": 1297, "column": 12 }, "end": { "line": 1297, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 47831, "end": 47861, "loc": { "start": { "line": 1297, "column": 12 }, "end": { "line": 1297, "column": 42 } }, "object": { "type": "MemberExpression", "start": 47831, "end": 47849, "loc": { "start": { "line": 1297, "column": 12 }, "end": { "line": 1297, "column": 30 } }, "object": { "type": "Identifier", "start": 47831, "end": 47841, "loc": { "start": { "line": 1297, "column": 12 }, "end": { "line": 1297, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47842, "end": 47849, "loc": { "start": { "line": 1297, "column": 23 }, "end": { "line": 1297, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47850, "end": 47861, "loc": { "start": { "line": 1297, "column": 31 }, "end": { "line": 1297, "column": 42 }, "identifierName": "beginCircle" }, "name": "beginCircle" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 47862, "end": 47872, "loc": { "start": { "line": 1297, "column": 43 }, "end": { "line": 1297, "column": 53 } }, "object": { "type": "Identifier", "start": 47862, "end": 47870, "loc": { "start": { "line": 1297, "column": 43 }, "end": { "line": 1297, "column": 51 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 47871, "end": 47872, "loc": { "start": { "line": 1297, "column": 52 }, "end": { "line": 1297, "column": 53 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 47874, "end": 47884, "loc": { "start": { "line": 1297, "column": 55 }, "end": { "line": 1297, "column": 65 } }, "object": { "type": "Identifier", "start": 47874, "end": 47882, "loc": { "start": { "line": 1297, "column": 55 }, "end": { "line": 1297, "column": 63 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 47883, "end": 47884, "loc": { "start": { "line": 1297, "column": 64 }, "end": { "line": 1297, "column": 65 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "NumericLiteral", "start": 47886, "end": 47887, "loc": { "start": { "line": 1297, "column": 67 }, "end": { "line": 1297, "column": 68 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 47903, "end": 47929, "loc": { "start": { "line": 1298, "column": 12 }, "end": { "line": 1298, "column": 38 } }, "expression": { "type": "CallExpression", "start": 47903, "end": 47928, "loc": { "start": { "line": 1298, "column": 12 }, "end": { "line": 1298, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 47903, "end": 47926, "loc": { "start": { "line": 1298, "column": 12 }, "end": { "line": 1298, "column": 35 } }, "object": { "type": "MemberExpression", "start": 47903, "end": 47921, "loc": { "start": { "line": 1298, "column": 12 }, "end": { "line": 1298, "column": 30 } }, "object": { "type": "Identifier", "start": 47903, "end": 47913, "loc": { "start": { "line": 1298, "column": 12 }, "end": { "line": 1298, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 47914, "end": 47921, "loc": { "start": { "line": 1298, "column": 23 }, "end": { "line": 1298, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 47922, "end": 47926, "loc": { "start": { "line": 1298, "column": 31 }, "end": { "line": 1298, "column": 35 }, "identifierName": "fill" }, "name": "fill" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "VariableDeclaration", "start": 47952, "end": 48088, "loc": { "start": { "line": 1301, "column": 8 }, "end": { "line": 1303, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 47958, "end": 48087, "loc": { "start": { "line": 1301, "column": 14 }, "end": { "line": 1303, "column": 36 } }, "id": { "type": "Identifier", "start": 47958, "end": 47976, "loc": { "start": { "line": 1301, "column": 14 }, "end": { "line": 1301, "column": 32 }, "identifierName": "firstItemIndicator" }, "name": "firstItemIndicator" }, "init": { "type": "CallExpression", "start": 47979, "end": 48087, "loc": { "start": { "line": 1301, "column": 35 }, "end": { "line": 1303, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 47979, "end": 48085, "loc": { "start": { "line": 1301, "column": 35 }, "end": { "line": 1303, "column": 34 } }, "object": { "type": "CallExpression", "start": 47979, "end": 48060, "loc": { "start": { "line": 1301, "column": 35 }, "end": { "line": 1303, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 47979, "end": 48011, "loc": { "start": { "line": 1301, "column": 35 }, "end": { "line": 1301, "column": 67 } }, "object": { "type": "ThisExpression", "start": 47979, "end": 47983, "loc": { "start": { "line": 1301, "column": 35 }, "end": { "line": 1301, "column": 39 } } }, "property": { "type": "Identifier", "start": 47984, "end": 48011, "loc": { "start": { "line": 1301, "column": 40 }, "end": { "line": 1301, "column": 67 }, "identifierName": "computePositionFromProgress" }, "name": "computePositionFromProgress" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 48026, "end": 48049, "loc": { "start": { "line": 1302, "column": 12 }, "end": { "line": 1302, "column": 35 } }, "object": { "type": "ThisExpression", "start": 48026, "end": 48030, "loc": { "start": { "line": 1302, "column": 12 }, "end": { "line": 1302, "column": 16 } } }, "property": { "type": "Identifier", "start": 48031, "end": 48049, "loc": { "start": { "line": 1302, "column": 17 }, "end": { "line": 1302, "column": 35 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 48061, "end": 48085, "loc": { "start": { "line": 1303, "column": 10 }, "end": { "line": 1303, "column": 34 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 48098, "end": 48138, "loc": { "start": { "line": 1304, "column": 8 }, "end": { "line": 1304, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 48098, "end": 48137, "loc": { "start": { "line": 1304, "column": 8 }, "end": { "line": 1304, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 48098, "end": 48126, "loc": { "start": { "line": 1304, "column": 8 }, "end": { "line": 1304, "column": 36 } }, "object": { "type": "MemberExpression", "start": 48098, "end": 48116, "loc": { "start": { "line": 1304, "column": 8 }, "end": { "line": 1304, "column": 26 } }, "object": { "type": "Identifier", "start": 48098, "end": 48108, "loc": { "start": { "line": 1304, "column": 8 }, "end": { "line": 1304, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 48109, "end": 48116, "loc": { "start": { "line": 1304, "column": 19 }, "end": { "line": 1304, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 48117, "end": 48126, "loc": { "start": { "line": 1304, "column": 27 }, "end": { "line": 1304, "column": 36 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 48129, "end": 48137, "loc": { "start": { "line": 1304, "column": 39 }, "end": { "line": 1304, "column": 47 } }, "extra": { "rawValue": "purple", "raw": "\"purple\"" }, "value": "purple" } } }, { "type": "ExpressionStatement", "start": 48148, "end": 48234, "loc": { "start": { "line": 1305, "column": 8 }, "end": { "line": 1305, "column": 94 } }, "expression": { "type": "CallExpression", "start": 48148, "end": 48233, "loc": { "start": { "line": 1305, "column": 8 }, "end": { "line": 1305, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 48148, "end": 48175, "loc": { "start": { "line": 1305, "column": 8 }, "end": { "line": 1305, "column": 35 } }, "object": { "type": "MemberExpression", "start": 48148, "end": 48166, "loc": { "start": { "line": 1305, "column": 8 }, "end": { "line": 1305, "column": 26 } }, "object": { "type": "Identifier", "start": 48148, "end": 48158, "loc": { "start": { "line": 1305, "column": 8 }, "end": { "line": 1305, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 48159, "end": 48166, "loc": { "start": { "line": 1305, "column": 19 }, "end": { "line": 1305, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 48167, "end": 48175, "loc": { "start": { "line": 1305, "column": 27 }, "end": { "line": 1305, "column": 35 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 48176, "end": 48200, "loc": { "start": { "line": 1305, "column": 36 }, "end": { "line": 1305, "column": 60 } }, "left": { "type": "MemberExpression", "start": 48176, "end": 48196, "loc": { "start": { "line": 1305, "column": 36 }, "end": { "line": 1305, "column": 56 } }, "object": { "type": "Identifier", "start": 48176, "end": 48194, "loc": { "start": { "line": 1305, "column": 36 }, "end": { "line": 1305, "column": 54 }, "identifierName": "firstItemIndicator" }, "name": "firstItemIndicator" }, "property": { "type": "Identifier", "start": 48195, "end": 48196, "loc": { "start": { "line": 1305, "column": 55 }, "end": { "line": 1305, "column": 56 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 48199, "end": 48200, "loc": { "start": { "line": 1305, "column": 59 }, "end": { "line": 1305, "column": 60 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } }, { "type": "BinaryExpression", "start": 48202, "end": 48226, "loc": { "start": { "line": 1305, "column": 62 }, "end": { "line": 1305, "column": 86 } }, "left": { "type": "MemberExpression", "start": 48202, "end": 48222, "loc": { "start": { "line": 1305, "column": 62 }, "end": { "line": 1305, "column": 82 } }, "object": { "type": "Identifier", "start": 48202, "end": 48220, "loc": { "start": { "line": 1305, "column": 62 }, "end": { "line": 1305, "column": 80 }, "identifierName": "firstItemIndicator" }, "name": "firstItemIndicator" }, "property": { "type": "Identifier", "start": 48221, "end": 48222, "loc": { "start": { "line": 1305, "column": 81 }, "end": { "line": 1305, "column": 82 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 48225, "end": 48226, "loc": { "start": { "line": 1305, "column": 85 }, "end": { "line": 1305, "column": 86 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, { "type": "NumericLiteral", "start": 48228, "end": 48229, "loc": { "start": { "line": 1305, "column": 88 }, "end": { "line": 1305, "column": 89 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 }, { "type": "NumericLiteral", "start": 48231, "end": 48232, "loc": { "start": { "line": 1305, "column": 91 }, "end": { "line": 1305, "column": 92 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 45227, "end": 45290, "loc": { "start": { "line": 1236, "column": 4 }, "end": { "line": 1239, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if this belt path should render simplified\r\n ", "start": 48249, "end": 48319, "loc": { "start": { "line": 1308, "column": 4 }, "end": { "line": 1310, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 48325, "end": 49255, "loc": { "start": { "line": 1311, "column": 4 }, "end": { "line": 1340, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 48325, "end": 48342, "loc": { "start": { "line": 1311, "column": 4 }, "end": { "line": 1311, "column": 21 }, "identifierName": "checkIsPotatoMode" }, "name": "checkIsPotatoMode", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 48345, "end": 49255, "loc": { "start": { "line": 1311, "column": 24 }, "end": { "line": 1340, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 48418, "end": 48519, "loc": { "start": { "line": 1313, "column": 8 }, "end": { "line": 1315, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 48422, "end": 48478, "loc": { "start": { "line": 1313, "column": 12 }, "end": { "line": 1313, "column": 68 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 48423, "end": 48478, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 68 } }, "object": { "type": "CallExpression", "start": 48423, "end": 48462, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 48423, "end": 48460, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 50 } }, "object": { "type": "MemberExpression", "start": 48423, "end": 48445, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 35 } }, "object": { "type": "MemberExpression", "start": 48423, "end": 48436, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 26 } }, "object": { "type": "MemberExpression", "start": 48423, "end": 48432, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 22 } }, "object": { "type": "ThisExpression", "start": 48423, "end": 48427, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 17 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 48428, "end": 48432, "loc": { "start": { "line": 1313, "column": 18 }, "end": { "line": 1313, "column": 22 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 48433, "end": 48436, "loc": { "start": { "line": 1313, "column": 23 }, "end": { "line": 1313, "column": 26 }, "identifierName": "app" }, "name": "app" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 48437, "end": 48445, "loc": { "start": { "line": 1313, "column": 27 }, "end": { "line": 1313, "column": 35 }, "identifierName": "settings" }, "name": "settings" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 48446, "end": 48460, "loc": { "start": { "line": 1313, "column": 36 }, "end": { "line": 1313, "column": 50 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "property": { "type": "Identifier", "start": 48463, "end": 48478, "loc": { "start": { "line": 1313, "column": 53 }, "end": { "line": 1313, "column": 68 }, "identifierName": "simplifiedBelts" }, "name": "simplifiedBelts" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 48480, "end": 48519, "loc": { "start": { "line": 1313, "column": 70 }, "end": { "line": 1315, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 48495, "end": 48508, "loc": { "start": { "line": 1314, "column": 12 }, "end": { "line": 1314, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 48502, "end": 48507, "loc": { "start": { "line": 1314, "column": 19 }, "end": { "line": 1314, "column": 24 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " POTATO Mode: Only show items when belt is hovered", "start": 48356, "end": 48408, "loc": { "start": { "line": 1312, "column": 8 }, "end": { "line": 1312, "column": 60 } } } ] }, { "type": "IfStatement", "start": 48531, "end": 48648, "loc": { "start": { "line": 1317, "column": 8 }, "end": { "line": 1320, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 48535, "end": 48571, "loc": { "start": { "line": 1317, "column": 12 }, "end": { "line": 1317, "column": 48 } }, "left": { "type": "MemberExpression", "start": 48535, "end": 48557, "loc": { "start": { "line": 1317, "column": 12 }, "end": { "line": 1317, "column": 34 } }, "object": { "type": "MemberExpression", "start": 48535, "end": 48544, "loc": { "start": { "line": 1317, "column": 12 }, "end": { "line": 1317, "column": 21 } }, "object": { "type": "ThisExpression", "start": 48535, "end": 48539, "loc": { "start": { "line": 1317, "column": 12 }, "end": { "line": 1317, "column": 16 } } }, "property": { "type": "Identifier", "start": 48540, "end": 48544, "loc": { "start": { "line": 1317, "column": 17 }, "end": { "line": 1317, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 48545, "end": 48557, "loc": { "start": { "line": 1317, "column": 22 }, "end": { "line": 1317, "column": 34 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 48562, "end": 48571, "loc": { "start": { "line": 1317, "column": 39 }, "end": { "line": 1317, "column": 48 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } }, "consequent": { "type": "BlockStatement", "start": 48573, "end": 48648, "loc": { "start": { "line": 1317, "column": 50 }, "end": { "line": 1320, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 48625, "end": 48637, "loc": { "start": { "line": 1319, "column": 12 }, "end": { "line": 1319, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 48632, "end": 48636, "loc": { "start": { "line": 1319, "column": 19 }, "end": { "line": 1319, "column": 23 } }, "value": true, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Not in regular layer", "start": 48588, "end": 48611, "loc": { "start": { "line": 1318, "column": 12 }, "end": { "line": 1318, "column": 35 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 48660, "end": 48705, "loc": { "start": { "line": 1322, "column": 8 }, "end": { "line": 1322, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 48666, "end": 48704, "loc": { "start": { "line": 1322, "column": 14 }, "end": { "line": 1322, "column": 52 } }, "id": { "type": "Identifier", "start": 48666, "end": 48674, "loc": { "start": { "line": 1322, "column": 14 }, "end": { "line": 1322, "column": 22 }, "identifierName": "mousePos" }, "name": "mousePos" }, "init": { "type": "MemberExpression", "start": 48677, "end": 48704, "loc": { "start": { "line": 1322, "column": 25 }, "end": { "line": 1322, "column": 52 } }, "object": { "type": "MemberExpression", "start": 48677, "end": 48690, "loc": { "start": { "line": 1322, "column": 25 }, "end": { "line": 1322, "column": 38 } }, "object": { "type": "MemberExpression", "start": 48677, "end": 48686, "loc": { "start": { "line": 1322, "column": 25 }, "end": { "line": 1322, "column": 34 } }, "object": { "type": "ThisExpression", "start": 48677, "end": 48681, "loc": { "start": { "line": 1322, "column": 25 }, "end": { "line": 1322, "column": 29 } } }, "property": { "type": "Identifier", "start": 48682, "end": 48686, "loc": { "start": { "line": 1322, "column": 30 }, "end": { "line": 1322, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 48687, "end": 48690, "loc": { "start": { "line": 1322, "column": 35 }, "end": { "line": 1322, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 48691, "end": 48704, "loc": { "start": { "line": 1322, "column": 39 }, "end": { "line": 1322, "column": 52 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 48715, "end": 48805, "loc": { "start": { "line": 1323, "column": 8 }, "end": { "line": 1326, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 48719, "end": 48728, "loc": { "start": { "line": 1323, "column": 12 }, "end": { "line": 1323, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 48720, "end": 48728, "loc": { "start": { "line": 1323, "column": 13 }, "end": { "line": 1323, "column": 21 }, "identifierName": "mousePos" }, "name": "mousePos" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 48730, "end": 48805, "loc": { "start": { "line": 1323, "column": 23 }, "end": { "line": 1326, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 48782, "end": 48794, "loc": { "start": { "line": 1325, "column": 12 }, "end": { "line": 1325, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 48789, "end": 48793, "loc": { "start": { "line": 1325, "column": 19 }, "end": { "line": 1325, "column": 23 } }, "value": true, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Mouse not registered", "start": 48745, "end": 48768, "loc": { "start": { "line": 1324, "column": 12 }, "end": { "line": 1324, "column": 35 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 48817, "end": 48885, "loc": { "start": { "line": 1328, "column": 8 }, "end": { "line": 1328, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 48823, "end": 48884, "loc": { "start": { "line": 1328, "column": 14 }, "end": { "line": 1328, "column": 75 } }, "id": { "type": "Identifier", "start": 48823, "end": 48827, "loc": { "start": { "line": 1328, "column": 14 }, "end": { "line": 1328, "column": 18 }, "identifierName": "tile" }, "name": "tile" }, "init": { "type": "CallExpression", "start": 48830, "end": 48884, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 48830, "end": 48882, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 73 } }, "object": { "type": "CallExpression", "start": 48830, "end": 48870, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 48830, "end": 48860, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 51 } }, "object": { "type": "MemberExpression", "start": 48830, "end": 48846, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 37 } }, "object": { "type": "MemberExpression", "start": 48830, "end": 48839, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 30 } }, "object": { "type": "ThisExpression", "start": 48830, "end": 48834, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 25 } } }, "property": { "type": "Identifier", "start": 48835, "end": 48839, "loc": { "start": { "line": 1328, "column": 26 }, "end": { "line": 1328, "column": 30 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 48840, "end": 48846, "loc": { "start": { "line": 1328, "column": 31 }, "end": { "line": 1328, "column": 37 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 48847, "end": 48860, "loc": { "start": { "line": 1328, "column": 38 }, "end": { "line": 1328, "column": 51 }, "identifierName": "screenToWorld" }, "name": "screenToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 48861, "end": 48869, "loc": { "start": { "line": 1328, "column": 52 }, "end": { "line": 1328, "column": 60 }, "identifierName": "mousePos" }, "name": "mousePos" } ] }, "property": { "type": "Identifier", "start": 48871, "end": 48882, "loc": { "start": { "line": 1328, "column": 62 }, "end": { "line": 1328, "column": 73 }, "identifierName": "toTileSpace" }, "name": "toTileSpace" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 48895, "end": 48971, "loc": { "start": { "line": 1329, "column": 8 }, "end": { "line": 1329, "column": 84 } }, "declarations": [ { "type": "VariableDeclarator", "start": 48901, "end": 48970, "loc": { "start": { "line": 1329, "column": 14 }, "end": { "line": 1329, "column": 83 } }, "id": { "type": "Identifier", "start": 48901, "end": 48909, "loc": { "start": { "line": 1329, "column": 14 }, "end": { "line": 1329, "column": 22 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "CallExpression", "start": 48912, "end": 48970, "loc": { "start": { "line": 1329, "column": 25 }, "end": { "line": 1329, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 48912, "end": 48943, "loc": { "start": { "line": 1329, "column": 25 }, "end": { "line": 1329, "column": 56 } }, "object": { "type": "MemberExpression", "start": 48912, "end": 48925, "loc": { "start": { "line": 1329, "column": 25 }, "end": { "line": 1329, "column": 38 } }, "object": { "type": "MemberExpression", "start": 48912, "end": 48921, "loc": { "start": { "line": 1329, "column": 25 }, "end": { "line": 1329, "column": 34 } }, "object": { "type": "ThisExpression", "start": 48912, "end": 48916, "loc": { "start": { "line": 1329, "column": 25 }, "end": { "line": 1329, "column": 29 } } }, "property": { "type": "Identifier", "start": 48917, "end": 48921, "loc": { "start": { "line": 1329, "column": 30 }, "end": { "line": 1329, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 48922, "end": 48925, "loc": { "start": { "line": 1329, "column": 35 }, "end": { "line": 1329, "column": 38 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 48926, "end": 48943, "loc": { "start": { "line": 1329, "column": 39 }, "end": { "line": 1329, "column": 56 }, "identifierName": "getLayerContentXY" }, "name": "getLayerContentXY" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 48944, "end": 48950, "loc": { "start": { "line": 1329, "column": 57 }, "end": { "line": 1329, "column": 63 } }, "object": { "type": "Identifier", "start": 48944, "end": 48948, "loc": { "start": { "line": 1329, "column": 57 }, "end": { "line": 1329, "column": 61 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 48949, "end": 48950, "loc": { "start": { "line": 1329, "column": 62 }, "end": { "line": 1329, "column": 63 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 48952, "end": 48958, "loc": { "start": { "line": 1329, "column": 65 }, "end": { "line": 1329, "column": 71 } }, "object": { "type": "Identifier", "start": 48952, "end": 48956, "loc": { "start": { "line": 1329, "column": 65 }, "end": { "line": 1329, "column": 69 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 48957, "end": 48958, "loc": { "start": { "line": 1329, "column": 70 }, "end": { "line": 1329, "column": 71 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "StringLiteral", "start": 48960, "end": 48969, "loc": { "start": { "line": 1329, "column": 73 }, "end": { "line": 1329, "column": 82 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 48981, "end": 49093, "loc": { "start": { "line": 1330, "column": 8 }, "end": { "line": 1333, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 48985, "end": 49023, "loc": { "start": { "line": 1330, "column": 12 }, "end": { "line": 1330, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 48985, "end": 48994, "loc": { "start": { "line": 1330, "column": 12 }, "end": { "line": 1330, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 48986, "end": 48994, "loc": { "start": { "line": 1330, "column": 13 }, "end": { "line": 1330, "column": 21 }, "identifierName": "contents" }, "name": "contents" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 48998, "end": 49023, "loc": { "start": { "line": 1330, "column": 25 }, "end": { "line": 1330, "column": 50 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 48999, "end": 49023, "loc": { "start": { "line": 1330, "column": 26 }, "end": { "line": 1330, "column": 50 } }, "object": { "type": "MemberExpression", "start": 48999, "end": 49018, "loc": { "start": { "line": 1330, "column": 26 }, "end": { "line": 1330, "column": 45 } }, "object": { "type": "Identifier", "start": 48999, "end": 49007, "loc": { "start": { "line": 1330, "column": 26 }, "end": { "line": 1330, "column": 34 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 49008, "end": 49018, "loc": { "start": { "line": 1330, "column": 35 }, "end": { "line": 1330, "column": 45 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 49019, "end": 49023, "loc": { "start": { "line": 1330, "column": 46 }, "end": { "line": 1330, "column": 50 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 49025, "end": 49093, "loc": { "start": { "line": 1330, "column": 52 }, "end": { "line": 1333, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 49070, "end": 49082, "loc": { "start": { "line": 1332, "column": 12 }, "end": { "line": 1332, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 49077, "end": 49081, "loc": { "start": { "line": 1332, "column": 19 }, "end": { "line": 1332, "column": 23 } }, "value": true, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Nothing below", "start": 49040, "end": 49056, "loc": { "start": { "line": 1331, "column": 12 }, "end": { "line": 1331, "column": 28 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 49105, "end": 49225, "loc": { "start": { "line": 1335, "column": 8 }, "end": { "line": 1338, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 49109, "end": 49155, "loc": { "start": { "line": 1335, "column": 12 }, "end": { "line": 1335, "column": 58 } }, "left": { "type": "MemberExpression", "start": 49109, "end": 49146, "loc": { "start": { "line": 1335, "column": 12 }, "end": { "line": 1335, "column": 49 } }, "object": { "type": "MemberExpression", "start": 49109, "end": 49133, "loc": { "start": { "line": 1335, "column": 12 }, "end": { "line": 1335, "column": 36 } }, "object": { "type": "MemberExpression", "start": 49109, "end": 49128, "loc": { "start": { "line": 1335, "column": 12 }, "end": { "line": 1335, "column": 31 } }, "object": { "type": "Identifier", "start": 49109, "end": 49117, "loc": { "start": { "line": 1335, "column": 12 }, "end": { "line": 1335, "column": 20 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 49118, "end": 49128, "loc": { "start": { "line": 1335, "column": 21 }, "end": { "line": 1335, "column": 31 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 49129, "end": 49133, "loc": { "start": { "line": 1335, "column": 32 }, "end": { "line": 1335, "column": 36 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false }, "property": { "type": "Identifier", "start": 49134, "end": 49146, "loc": { "start": { "line": 1335, "column": 37 }, "end": { "line": 1335, "column": 49 }, "identifierName": "assignedPath" }, "name": "assignedPath" }, "computed": false }, "operator": "!==", "right": { "type": "ThisExpression", "start": 49151, "end": 49155, "loc": { "start": { "line": 1335, "column": 54 }, "end": { "line": 1335, "column": 58 } } } }, "consequent": { "type": "BlockStatement", "start": 49157, "end": 49225, "loc": { "start": { "line": 1335, "column": 60 }, "end": { "line": 1338, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 49202, "end": 49214, "loc": { "start": { "line": 1337, "column": 12 }, "end": { "line": 1337, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 49209, "end": 49213, "loc": { "start": { "line": 1337, "column": 19 }, "end": { "line": 1337, "column": 23 } }, "value": true, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Not this path", "start": 49172, "end": 49188, "loc": { "start": { "line": 1336, "column": 12 }, "end": { "line": 1336, "column": 28 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 49235, "end": 49248, "loc": { "start": { "line": 1339, "column": 8 }, "end": { "line": 1339, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 49242, "end": 49247, "loc": { "start": { "line": 1339, "column": 15 }, "end": { "line": 1339, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if this belt path should render simplified\r\n ", "start": 48249, "end": 48319, "loc": { "start": { "line": 1308, "column": 4 }, "end": { "line": 1310, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the path\r\n * @param {DrawParameters} parameters\r\n ", "start": 49263, "end": 49341, "loc": { "start": { "line": 1342, "column": 4 }, "end": { "line": 1345, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 49347, "end": 52442, "loc": { "start": { "line": 1346, "column": 4 }, "end": { "line": 1424, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 49347, "end": 49351, "loc": { "start": { "line": 1346, "column": 4 }, "end": { "line": 1346, "column": 8 }, "identifierName": "draw" }, "name": "draw", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 49352, "end": 49362, "loc": { "start": { "line": 1346, "column": 9 }, "end": { "line": 1346, "column": 19 }, "identifierName": "parameters" }, "name": "parameters" } ], "body": { "type": "BlockStatement", "start": 49364, "end": 52442, "loc": { "start": { "line": 1346, "column": 21 }, "end": { "line": 1424, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 49375, "end": 49468, "loc": { "start": { "line": 1347, "column": 8 }, "end": { "line": 1349, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 49379, "end": 49433, "loc": { "start": { "line": 1347, "column": 12 }, "end": { "line": 1347, "column": 66 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 49380, "end": 49433, "loc": { "start": { "line": 1347, "column": 13 }, "end": { "line": 1347, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 49380, "end": 49415, "loc": { "start": { "line": 1347, "column": 13 }, "end": { "line": 1347, "column": 48 } }, "object": { "type": "MemberExpression", "start": 49380, "end": 49402, "loc": { "start": { "line": 1347, "column": 13 }, "end": { "line": 1347, "column": 35 } }, "object": { "type": "Identifier", "start": 49380, "end": 49390, "loc": { "start": { "line": 1347, "column": 13 }, "end": { "line": 1347, "column": 23 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 49391, "end": 49402, "loc": { "start": { "line": 1347, "column": 24 }, "end": { "line": 1347, "column": 35 }, "identifierName": "visibleRect" }, "name": "visibleRect" }, "computed": false }, "property": { "type": "Identifier", "start": 49403, "end": 49415, "loc": { "start": { "line": 1347, "column": 36 }, "end": { "line": 1347, "column": 48 }, "identifierName": "containsRect" }, "name": "containsRect" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 49416, "end": 49432, "loc": { "start": { "line": 1347, "column": 49 }, "end": { "line": 1347, "column": 65 } }, "object": { "type": "ThisExpression", "start": 49416, "end": 49420, "loc": { "start": { "line": 1347, "column": 49 }, "end": { "line": 1347, "column": 53 } } }, "property": { "type": "Identifier", "start": 49421, "end": 49432, "loc": { "start": { "line": 1347, "column": 54 }, "end": { "line": 1347, "column": 65 }, "identifierName": "worldBounds" }, "name": "worldBounds" }, "computed": false } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 49435, "end": 49468, "loc": { "start": { "line": 1347, "column": 68 }, "end": { "line": 1349, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 49450, "end": 49457, "loc": { "start": { "line": 1348, "column": 12 }, "end": { "line": 1348, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 49480, "end": 49568, "loc": { "start": { "line": 1351, "column": 8 }, "end": { "line": 1354, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 49484, "end": 49507, "loc": { "start": { "line": 1351, "column": 12 }, "end": { "line": 1351, "column": 35 } }, "left": { "type": "MemberExpression", "start": 49484, "end": 49501, "loc": { "start": { "line": 1351, "column": 12 }, "end": { "line": 1351, "column": 29 } }, "object": { "type": "MemberExpression", "start": 49484, "end": 49494, "loc": { "start": { "line": 1351, "column": 12 }, "end": { "line": 1351, "column": 22 } }, "object": { "type": "ThisExpression", "start": 49484, "end": 49488, "loc": { "start": { "line": 1351, "column": 12 }, "end": { "line": 1351, "column": 16 } } }, "property": { "type": "Identifier", "start": 49489, "end": 49494, "loc": { "start": { "line": 1351, "column": 17 }, "end": { "line": 1351, "column": 22 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 49495, "end": 49501, "loc": { "start": { "line": 1351, "column": 23 }, "end": { "line": 1351, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 49506, "end": 49507, "loc": { "start": { "line": 1351, "column": 34 }, "end": { "line": 1351, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 49509, "end": 49568, "loc": { "start": { "line": 1351, "column": 37 }, "end": { "line": 1354, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 49550, "end": 49557, "loc": { "start": { "line": 1353, "column": 12 }, "end": { "line": 1353, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Early out", "start": 49524, "end": 49536, "loc": { "start": { "line": 1352, "column": 12 }, "end": { "line": 1352, "column": 24 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 49580, "end": 50685, "loc": { "start": { "line": 1356, "column": 8 }, "end": { "line": 1378, "column": 9 } }, "test": { "type": "CallExpression", "start": 49584, "end": 49608, "loc": { "start": { "line": 1356, "column": 12 }, "end": { "line": 1356, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 49584, "end": 49606, "loc": { "start": { "line": 1356, "column": 12 }, "end": { "line": 1356, "column": 34 } }, "object": { "type": "ThisExpression", "start": 49584, "end": 49588, "loc": { "start": { "line": 1356, "column": 12 }, "end": { "line": 1356, "column": 16 } } }, "property": { "type": "Identifier", "start": 49589, "end": 49606, "loc": { "start": { "line": 1356, "column": 17 }, "end": { "line": 1356, "column": 34 }, "identifierName": "checkIsPotatoMode" }, "name": "checkIsPotatoMode" }, "computed": false }, "arguments": [] }, "consequent": { "type": "BlockStatement", "start": 49610, "end": 50685, "loc": { "start": { "line": 1356, "column": 38 }, "end": { "line": 1378, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 49625, "end": 49657, "loc": { "start": { "line": 1357, "column": 12 }, "end": { "line": 1357, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 49631, "end": 49656, "loc": { "start": { "line": 1357, "column": 18 }, "end": { "line": 1357, "column": 43 } }, "id": { "type": "Identifier", "start": 49631, "end": 49640, "loc": { "start": { "line": 1357, "column": 18 }, "end": { "line": 1357, "column": 27 }, "identifierName": "firstItem" }, "name": "firstItem" }, "init": { "type": "MemberExpression", "start": 49643, "end": 49656, "loc": { "start": { "line": 1357, "column": 30 }, "end": { "line": 1357, "column": 43 } }, "object": { "type": "MemberExpression", "start": 49643, "end": 49653, "loc": { "start": { "line": 1357, "column": 30 }, "end": { "line": 1357, "column": 40 } }, "object": { "type": "ThisExpression", "start": 49643, "end": 49647, "loc": { "start": { "line": 1357, "column": 30 }, "end": { "line": 1357, "column": 34 } } }, "property": { "type": "Identifier", "start": 49648, "end": 49653, "loc": { "start": { "line": 1357, "column": 35 }, "end": { "line": 1357, "column": 40 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 49654, "end": 49655, "loc": { "start": { "line": 1357, "column": 41 }, "end": { "line": 1357, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 49671, "end": 50651, "loc": { "start": { "line": 1358, "column": 12 }, "end": { "line": 1375, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 49675, "end": 49714, "loc": { "start": { "line": 1358, "column": 16 }, "end": { "line": 1358, "column": 55 } }, "left": { "type": "BinaryExpression", "start": 49675, "end": 49701, "loc": { "start": { "line": 1358, "column": 16 }, "end": { "line": 1358, "column": 42 } }, "left": { "type": "MemberExpression", "start": 49675, "end": 49697, "loc": { "start": { "line": 1358, "column": 16 }, "end": { "line": 1358, "column": 38 } }, "object": { "type": "MemberExpression", "start": 49675, "end": 49690, "loc": { "start": { "line": 1358, "column": 16 }, "end": { "line": 1358, "column": 31 } }, "object": { "type": "ThisExpression", "start": 49675, "end": 49679, "loc": { "start": { "line": 1358, "column": 16 }, "end": { "line": 1358, "column": 20 } } }, "property": { "type": "Identifier", "start": 49680, "end": 49690, "loc": { "start": { "line": 1358, "column": 21 }, "end": { "line": 1358, "column": 31 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 49691, "end": 49697, "loc": { "start": { "line": 1358, "column": 32 }, "end": { "line": 1358, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 49700, "end": 49701, "loc": { "start": { "line": 1358, "column": 41 }, "end": { "line": 1358, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "operator": "&&", "right": { "type": "Identifier", "start": 49705, "end": 49714, "loc": { "start": { "line": 1358, "column": 46 }, "end": { "line": 1358, "column": 55 }, "identifierName": "firstItem" }, "name": "firstItem" } }, "consequent": { "type": "BlockStatement", "start": 49716, "end": 50651, "loc": { "start": { "line": 1358, "column": 57 }, "end": { "line": 1375, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 49735, "end": 49922, "loc": { "start": { "line": 1359, "column": 16 }, "end": { "line": 1363, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 49741, "end": 49921, "loc": { "start": { "line": 1359, "column": 22 }, "end": { "line": 1363, "column": 17 } }, "id": { "type": "Identifier", "start": 49741, "end": 49756, "loc": { "start": { "line": 1359, "column": 22 }, "end": { "line": 1359, "column": 37 }, "identifierName": "medianBeltIndex" }, "name": "medianBeltIndex" }, "init": { "type": "CallExpression", "start": 49759, "end": 49921, "loc": { "start": { "line": 1359, "column": 40 }, "end": { "line": 1363, "column": 17 } }, "callee": { "type": "Identifier", "start": 49759, "end": 49764, "loc": { "start": { "line": 1359, "column": 40 }, "end": { "line": 1359, "column": 45 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "CallExpression", "start": 49787, "end": 49829, "loc": { "start": { "line": 1360, "column": 20 }, "end": { "line": 1360, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 49787, "end": 49797, "loc": { "start": { "line": 1360, "column": 20 }, "end": { "line": 1360, "column": 30 } }, "object": { "type": "Identifier", "start": 49787, "end": 49791, "loc": { "start": { "line": 1360, "column": 20 }, "end": { "line": 1360, "column": 24 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 49792, "end": 49797, "loc": { "start": { "line": 1360, "column": 25 }, "end": { "line": 1360, "column": 30 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 49798, "end": 49828, "loc": { "start": { "line": 1360, "column": 31 }, "end": { "line": 1360, "column": 61 } }, "left": { "type": "BinaryExpression", "start": 49798, "end": 49824, "loc": { "start": { "line": 1360, "column": 31 }, "end": { "line": 1360, "column": 57 } }, "left": { "type": "MemberExpression", "start": 49798, "end": 49820, "loc": { "start": { "line": 1360, "column": 31 }, "end": { "line": 1360, "column": 53 } }, "object": { "type": "MemberExpression", "start": 49798, "end": 49813, "loc": { "start": { "line": 1360, "column": 31 }, "end": { "line": 1360, "column": 46 } }, "object": { "type": "ThisExpression", "start": 49798, "end": 49802, "loc": { "start": { "line": 1360, "column": 31 }, "end": { "line": 1360, "column": 35 } } }, "property": { "type": "Identifier", "start": 49803, "end": 49813, "loc": { "start": { "line": 1360, "column": 36 }, "end": { "line": 1360, "column": 46 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 49814, "end": 49820, "loc": { "start": { "line": 1360, "column": 47 }, "end": { "line": 1360, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 49823, "end": 49824, "loc": { "start": { "line": 1360, "column": 56 }, "end": { "line": 1360, "column": 57 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "operator": "-", "right": { "type": "NumericLiteral", "start": 49827, "end": 49828, "loc": { "start": { "line": 1360, "column": 60 }, "end": { "line": 1360, "column": 61 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] }, { "type": "NumericLiteral", "start": 49852, "end": 49853, "loc": { "start": { "line": 1361, "column": 20 }, "end": { "line": 1361, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 49876, "end": 49902, "loc": { "start": { "line": 1362, "column": 20 }, "end": { "line": 1362, "column": 46 } }, "left": { "type": "MemberExpression", "start": 49876, "end": 49898, "loc": { "start": { "line": 1362, "column": 20 }, "end": { "line": 1362, "column": 42 } }, "object": { "type": "MemberExpression", "start": 49876, "end": 49891, "loc": { "start": { "line": 1362, "column": 20 }, "end": { "line": 1362, "column": 35 } }, "object": { "type": "ThisExpression", "start": 49876, "end": 49880, "loc": { "start": { "line": 1362, "column": 20 }, "end": { "line": 1362, "column": 24 } } }, "property": { "type": "Identifier", "start": 49881, "end": 49891, "loc": { "start": { "line": 1362, "column": 25 }, "end": { "line": 1362, "column": 35 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 49892, "end": 49898, "loc": { "start": { "line": 1362, "column": 36 }, "end": { "line": 1362, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 49901, "end": 49902, "loc": { "start": { "line": 1362, "column": 45 }, "end": { "line": 1362, "column": 46 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 49940, "end": 49992, "loc": { "start": { "line": 1364, "column": 16 }, "end": { "line": 1364, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 49946, "end": 49991, "loc": { "start": { "line": 1364, "column": 22 }, "end": { "line": 1364, "column": 67 } }, "id": { "type": "Identifier", "start": 49946, "end": 49956, "loc": { "start": { "line": 1364, "column": 22 }, "end": { "line": 1364, "column": 32 }, "identifierName": "medianBelt" }, "name": "medianBelt" }, "init": { "type": "MemberExpression", "start": 49959, "end": 49991, "loc": { "start": { "line": 1364, "column": 35 }, "end": { "line": 1364, "column": 67 } }, "object": { "type": "MemberExpression", "start": 49959, "end": 49974, "loc": { "start": { "line": 1364, "column": 35 }, "end": { "line": 1364, "column": 50 } }, "object": { "type": "ThisExpression", "start": 49959, "end": 49963, "loc": { "start": { "line": 1364, "column": 35 }, "end": { "line": 1364, "column": 39 } } }, "property": { "type": "Identifier", "start": 49964, "end": 49974, "loc": { "start": { "line": 1364, "column": 40 }, "end": { "line": 1364, "column": 50 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 49975, "end": 49990, "loc": { "start": { "line": 1364, "column": 51 }, "end": { "line": 1364, "column": 66 }, "identifierName": "medianBeltIndex" }, "name": "medianBeltIndex" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 50010, "end": 50054, "loc": { "start": { "line": 1365, "column": 16 }, "end": { "line": 1365, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50016, "end": 50053, "loc": { "start": { "line": 1365, "column": 22 }, "end": { "line": 1365, "column": 59 } }, "id": { "type": "Identifier", "start": 50016, "end": 50024, "loc": { "start": { "line": 1365, "column": 22 }, "end": { "line": 1365, "column": 30 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 50027, "end": 50053, "loc": { "start": { "line": 1365, "column": 33 }, "end": { "line": 1365, "column": 59 } }, "object": { "type": "MemberExpression", "start": 50027, "end": 50048, "loc": { "start": { "line": 1365, "column": 33 }, "end": { "line": 1365, "column": 54 } }, "object": { "type": "Identifier", "start": 50027, "end": 50037, "loc": { "start": { "line": 1365, "column": 33 }, "end": { "line": 1365, "column": 43 }, "identifierName": "medianBelt" }, "name": "medianBelt" }, "property": { "type": "Identifier", "start": 50038, "end": 50048, "loc": { "start": { "line": 1365, "column": 44 }, "end": { "line": 1365, "column": 54 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 50049, "end": 50053, "loc": { "start": { "line": 1365, "column": 55 }, "end": { "line": 1365, "column": 59 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 50072, "end": 50129, "loc": { "start": { "line": 1366, "column": 16 }, "end": { "line": 1366, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50078, "end": 50128, "loc": { "start": { "line": 1366, "column": 22 }, "end": { "line": 1366, "column": 72 } }, "id": { "type": "Identifier", "start": 50078, "end": 50088, "loc": { "start": { "line": 1366, "column": 22 }, "end": { "line": 1366, "column": 32 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 50091, "end": 50128, "loc": { "start": { "line": 1366, "column": 35 }, "end": { "line": 1366, "column": 72 } }, "object": { "type": "MemberExpression", "start": 50091, "end": 50112, "loc": { "start": { "line": 1366, "column": 35 }, "end": { "line": 1366, "column": 56 } }, "object": { "type": "Identifier", "start": 50091, "end": 50101, "loc": { "start": { "line": 1366, "column": 35 }, "end": { "line": 1366, "column": 45 }, "identifierName": "medianBelt" }, "name": "medianBelt" }, "property": { "type": "Identifier", "start": 50102, "end": 50112, "loc": { "start": { "line": 1366, "column": 46 }, "end": { "line": 1366, "column": 56 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 50113, "end": 50128, "loc": { "start": { "line": 1366, "column": 57 }, "end": { "line": 1366, "column": 72 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 50147, "end": 50322, "loc": { "start": { "line": 1367, "column": 16 }, "end": { "line": 1369, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50153, "end": 50321, "loc": { "start": { "line": 1367, "column": 22 }, "end": { "line": 1369, "column": 17 } }, "id": { "type": "Identifier", "start": 50153, "end": 50167, "loc": { "start": { "line": 1367, "column": 22 }, "end": { "line": 1367, "column": 36 }, "identifierName": "centerPosLocal" }, "name": "centerPosLocal" }, "init": { "type": "CallExpression", "start": 50170, "end": 50321, "loc": { "start": { "line": 1367, "column": 39 }, "end": { "line": 1369, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 50170, "end": 50204, "loc": { "start": { "line": 1367, "column": 39 }, "end": { "line": 1367, "column": 73 } }, "object": { "type": "Identifier", "start": 50170, "end": 50178, "loc": { "start": { "line": 1367, "column": 39 }, "end": { "line": 1367, "column": 47 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 50179, "end": 50204, "loc": { "start": { "line": 1367, "column": 48 }, "end": { "line": 1367, "column": 73 }, "identifierName": "transformBeltToLocalSpace" }, "name": "transformBeltToLocalSpace" }, "computed": false }, "arguments": [ { "type": "ConditionalExpression", "start": 50227, "end": 50302, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 95 } }, "test": { "type": "BinaryExpression", "start": 50227, "end": 50259, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 52 } }, "left": { "type": "BinaryExpression", "start": 50227, "end": 50253, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 46 } }, "left": { "type": "MemberExpression", "start": 50227, "end": 50249, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 42 } }, "object": { "type": "MemberExpression", "start": 50227, "end": 50242, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 35 } }, "object": { "type": "ThisExpression", "start": 50227, "end": 50231, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 24 } } }, "property": { "type": "Identifier", "start": 50232, "end": 50242, "loc": { "start": { "line": 1368, "column": 25 }, "end": { "line": 1368, "column": 35 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 50243, "end": 50249, "loc": { "start": { "line": 1368, "column": 36 }, "end": { "line": 1368, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "%", "right": { "type": "NumericLiteral", "start": 50252, "end": 50253, "loc": { "start": { "line": 1368, "column": 45 }, "end": { "line": 1368, "column": 46 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "operator": "===", "right": { "type": "NumericLiteral", "start": 50258, "end": 50259, "loc": { "start": { "line": 1368, "column": 51 }, "end": { "line": 1368, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "CallExpression", "start": 50262, "end": 50296, "loc": { "start": { "line": 1368, "column": 55 }, "end": { "line": 1368, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 50262, "end": 50294, "loc": { "start": { "line": 1368, "column": 55 }, "end": { "line": 1368, "column": 87 } }, "object": { "type": "Identifier", "start": 50262, "end": 50270, "loc": { "start": { "line": 1368, "column": 55 }, "end": { "line": 1368, "column": 63 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 50271, "end": 50294, "loc": { "start": { "line": 1368, "column": 64 }, "end": { "line": 1368, "column": 87 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] }, "alternate": { "type": "NumericLiteral", "start": 50299, "end": 50302, "loc": { "start": { "line": 1368, "column": 92 }, "end": { "line": 1368, "column": 95 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 50340, "end": 50429, "loc": { "start": { "line": 1370, "column": 16 }, "end": { "line": 1370, "column": 105 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50346, "end": 50428, "loc": { "start": { "line": 1370, "column": 22 }, "end": { "line": 1370, "column": 104 } }, "id": { "type": "Identifier", "start": 50346, "end": 50355, "loc": { "start": { "line": 1370, "column": 22 }, "end": { "line": 1370, "column": 31 }, "identifierName": "centerPos" }, "name": "centerPos" }, "init": { "type": "CallExpression", "start": 50358, "end": 50428, "loc": { "start": { "line": 1370, "column": 34 }, "end": { "line": 1370, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 50358, "end": 50426, "loc": { "start": { "line": 1370, "column": 34 }, "end": { "line": 1370, "column": 102 } }, "object": { "type": "CallExpression", "start": 50358, "end": 50401, "loc": { "start": { "line": 1370, "column": 34 }, "end": { "line": 1370, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 50358, "end": 50385, "loc": { "start": { "line": 1370, "column": 34 }, "end": { "line": 1370, "column": 61 } }, "object": { "type": "Identifier", "start": 50358, "end": 50368, "loc": { "start": { "line": 1370, "column": 34 }, "end": { "line": 1370, "column": 44 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 50369, "end": 50385, "loc": { "start": { "line": 1370, "column": 45 }, "end": { "line": 1370, "column": 61 }, "identifierName": "localTileToWorld" }, "name": "localTileToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 50386, "end": 50400, "loc": { "start": { "line": 1370, "column": 62 }, "end": { "line": 1370, "column": 76 }, "identifierName": "centerPosLocal" }, "name": "centerPosLocal" } ] }, "property": { "type": "Identifier", "start": 50402, "end": 50426, "loc": { "start": { "line": 1370, "column": 78 }, "end": { "line": 1370, "column": 102 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 50449, "end": 50486, "loc": { "start": { "line": 1372, "column": 16 }, "end": { "line": 1372, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 50449, "end": 50485, "loc": { "start": { "line": 1372, "column": 16 }, "end": { "line": 1372, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 50449, "end": 50479, "loc": { "start": { "line": 1372, "column": 16 }, "end": { "line": 1372, "column": 46 } }, "object": { "type": "MemberExpression", "start": 50449, "end": 50467, "loc": { "start": { "line": 1372, "column": 16 }, "end": { "line": 1372, "column": 34 } }, "object": { "type": "Identifier", "start": 50449, "end": 50459, "loc": { "start": { "line": 1372, "column": 16 }, "end": { "line": 1372, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 50460, "end": 50467, "loc": { "start": { "line": 1372, "column": 27 }, "end": { "line": 1372, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 50468, "end": 50479, "loc": { "start": { "line": 1372, "column": 35 }, "end": { "line": 1372, "column": 46 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 50482, "end": 50485, "loc": { "start": { "line": 1372, "column": 49 }, "end": { "line": 1372, "column": 52 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } }, { "type": "ExpressionStatement", "start": 50504, "end": 50583, "loc": { "start": { "line": 1373, "column": 16 }, "end": { "line": 1373, "column": 95 } }, "expression": { "type": "CallExpression", "start": 50504, "end": 50582, "loc": { "start": { "line": 1373, "column": 16 }, "end": { "line": 1373, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 50504, "end": 50544, "loc": { "start": { "line": 1373, "column": 16 }, "end": { "line": 1373, "column": 56 } }, "object": { "type": "MemberExpression", "start": 50504, "end": 50520, "loc": { "start": { "line": 1373, "column": 16 }, "end": { "line": 1373, "column": 32 } }, "object": { "type": "Identifier", "start": 50504, "end": 50513, "loc": { "start": { "line": 1373, "column": 16 }, "end": { "line": 1373, "column": 25 }, "identifierName": "firstItem" }, "name": "firstItem" }, "property": { "type": "Identifier", "start": 50514, "end": 50519, "loc": { "start": { "line": 1373, "column": 26 }, "end": { "line": 1373, "column": 31 }, "identifierName": "_item" }, "name": "_item" }, "computed": true }, "property": { "type": "Identifier", "start": 50521, "end": 50544, "loc": { "start": { "line": 1373, "column": 33 }, "end": { "line": 1373, "column": 56 }, "identifierName": "drawItemCenteredClipped" }, "name": "drawItemCenteredClipped" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 50545, "end": 50556, "loc": { "start": { "line": 1373, "column": 57 }, "end": { "line": 1373, "column": 68 } }, "object": { "type": "Identifier", "start": 50545, "end": 50554, "loc": { "start": { "line": 1373, "column": 57 }, "end": { "line": 1373, "column": 66 }, "identifierName": "centerPos" }, "name": "centerPos" }, "property": { "type": "Identifier", "start": 50555, "end": 50556, "loc": { "start": { "line": 1373, "column": 67 }, "end": { "line": 1373, "column": 68 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 50558, "end": 50569, "loc": { "start": { "line": 1373, "column": 70 }, "end": { "line": 1373, "column": 81 } }, "object": { "type": "Identifier", "start": 50558, "end": 50567, "loc": { "start": { "line": 1373, "column": 70 }, "end": { "line": 1373, "column": 79 }, "identifierName": "centerPos" }, "name": "centerPos" }, "property": { "type": "Identifier", "start": 50568, "end": 50569, "loc": { "start": { "line": 1373, "column": 80 }, "end": { "line": 1373, "column": 81 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "Identifier", "start": 50571, "end": 50581, "loc": { "start": { "line": 1373, "column": 83 }, "end": { "line": 1373, "column": 93 }, "identifierName": "parameters" }, "name": "parameters" } ] } }, { "type": "ExpressionStatement", "start": 50601, "end": 50636, "loc": { "start": { "line": 1374, "column": 16 }, "end": { "line": 1374, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 50601, "end": 50635, "loc": { "start": { "line": 1374, "column": 16 }, "end": { "line": 1374, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 50601, "end": 50631, "loc": { "start": { "line": 1374, "column": 16 }, "end": { "line": 1374, "column": 46 } }, "object": { "type": "MemberExpression", "start": 50601, "end": 50619, "loc": { "start": { "line": 1374, "column": 16 }, "end": { "line": 1374, "column": 34 } }, "object": { "type": "Identifier", "start": 50601, "end": 50611, "loc": { "start": { "line": 1374, "column": 16 }, "end": { "line": 1374, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 50612, "end": 50619, "loc": { "start": { "line": 1374, "column": 27 }, "end": { "line": 1374, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 50620, "end": 50631, "loc": { "start": { "line": 1374, "column": 35 }, "end": { "line": 1374, "column": 46 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 50634, "end": 50635, "loc": { "start": { "line": 1374, "column": 49 }, "end": { "line": 1374, "column": 50 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 50667, "end": 50674, "loc": { "start": { "line": 1377, "column": 12 }, "end": { "line": 1377, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 50697, "end": 50742, "loc": { "start": { "line": 1380, "column": 8 }, "end": { "line": 1380, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50701, "end": 50741, "loc": { "start": { "line": 1380, "column": 12 }, "end": { "line": 1380, "column": 52 } }, "id": { "type": "Identifier", "start": 50701, "end": 50715, "loc": { "start": { "line": 1380, "column": 12 }, "end": { "line": 1380, "column": 26 }, "identifierName": "currentItemPos" }, "name": "currentItemPos" }, "init": { "type": "MemberExpression", "start": 50718, "end": 50741, "loc": { "start": { "line": 1380, "column": 29 }, "end": { "line": 1380, "column": 52 } }, "object": { "type": "ThisExpression", "start": 50718, "end": 50722, "loc": { "start": { "line": 1380, "column": 29 }, "end": { "line": 1380, "column": 33 } } }, "property": { "type": "Identifier", "start": 50723, "end": 50741, "loc": { "start": { "line": 1380, "column": 34 }, "end": { "line": 1380, "column": 52 }, "identifierName": "spacingToFirstItem" }, "name": "spacingToFirstItem" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 50752, "end": 50777, "loc": { "start": { "line": 1381, "column": 8 }, "end": { "line": 1381, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50756, "end": 50776, "loc": { "start": { "line": 1381, "column": 12 }, "end": { "line": 1381, "column": 32 } }, "id": { "type": "Identifier", "start": 50756, "end": 50772, "loc": { "start": { "line": 1381, "column": 12 }, "end": { "line": 1381, "column": 28 }, "identifierName": "currentItemIndex" }, "name": "currentItemIndex" }, "init": { "type": "NumericLiteral", "start": 50775, "end": 50776, "loc": { "start": { "line": 1381, "column": 31 }, "end": { "line": 1381, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 50789, "end": 50808, "loc": { "start": { "line": 1383, "column": 8 }, "end": { "line": 1383, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50793, "end": 50807, "loc": { "start": { "line": 1383, "column": 12 }, "end": { "line": 1383, "column": 26 } }, "id": { "type": "Identifier", "start": 50793, "end": 50801, "loc": { "start": { "line": 1383, "column": 12 }, "end": { "line": 1383, "column": 20 }, "identifierName": "trackPos" }, "name": "trackPos" }, "init": { "type": "NumericLiteral", "start": 50804, "end": 50807, "loc": { "start": { "line": 1383, "column": 23 }, "end": { "line": 1383, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " Iterate whole track and check items", "start": 50820, "end": 50858, "loc": { "start": { "line": 1385, "column": 8 }, "end": { "line": 1385, "column": 46 } } } ] }, { "type": "ForStatement", "start": 50868, "end": 52435, "loc": { "start": { "line": 1386, "column": 8 }, "end": { "line": 1423, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 50873, "end": 50882, "loc": { "start": { "line": 1386, "column": 13 }, "end": { "line": 1386, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50877, "end": 50882, "loc": { "start": { "line": 1386, "column": 17 }, "end": { "line": 1386, "column": 22 } }, "id": { "type": "Identifier", "start": 50877, "end": 50878, "loc": { "start": { "line": 1386, "column": 17 }, "end": { "line": 1386, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 50881, "end": 50882, "loc": { "start": { "line": 1386, "column": 21 }, "end": { "line": 1386, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 50884, "end": 50910, "loc": { "start": { "line": 1386, "column": 24 }, "end": { "line": 1386, "column": 50 } }, "left": { "type": "Identifier", "start": 50884, "end": 50885, "loc": { "start": { "line": 1386, "column": 24 }, "end": { "line": 1386, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 50888, "end": 50910, "loc": { "start": { "line": 1386, "column": 28 }, "end": { "line": 1386, "column": 50 } }, "object": { "type": "MemberExpression", "start": 50888, "end": 50903, "loc": { "start": { "line": 1386, "column": 28 }, "end": { "line": 1386, "column": 43 } }, "object": { "type": "ThisExpression", "start": 50888, "end": 50892, "loc": { "start": { "line": 1386, "column": 28 }, "end": { "line": 1386, "column": 32 } } }, "property": { "type": "Identifier", "start": 50893, "end": 50903, "loc": { "start": { "line": 1386, "column": 33 }, "end": { "line": 1386, "column": 43 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 50904, "end": 50910, "loc": { "start": { "line": 1386, "column": 44 }, "end": { "line": 1386, "column": 50 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 50912, "end": 50915, "loc": { "start": { "line": 1386, "column": 52 }, "end": { "line": 1386, "column": 55 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 50914, "end": 50915, "loc": { "start": { "line": 1386, "column": 54 }, "end": { "line": 1386, "column": 55 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 50917, "end": 52435, "loc": { "start": { "line": 1386, "column": 57 }, "end": { "line": 1423, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 50932, "end": 50966, "loc": { "start": { "line": 1387, "column": 12 }, "end": { "line": 1387, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50938, "end": 50965, "loc": { "start": { "line": 1387, "column": 18 }, "end": { "line": 1387, "column": 45 } }, "id": { "type": "Identifier", "start": 50938, "end": 50944, "loc": { "start": { "line": 1387, "column": 18 }, "end": { "line": 1387, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 50947, "end": 50965, "loc": { "start": { "line": 1387, "column": 27 }, "end": { "line": 1387, "column": 45 } }, "object": { "type": "MemberExpression", "start": 50947, "end": 50962, "loc": { "start": { "line": 1387, "column": 27 }, "end": { "line": 1387, "column": 42 } }, "object": { "type": "ThisExpression", "start": 50947, "end": 50951, "loc": { "start": { "line": 1387, "column": 27 }, "end": { "line": 1387, "column": 31 } } }, "property": { "type": "Identifier", "start": 50952, "end": 50962, "loc": { "start": { "line": 1387, "column": 32 }, "end": { "line": 1387, "column": 42 }, "identifierName": "entityPath" }, "name": "entityPath" }, "computed": false }, "property": { "type": "Identifier", "start": 50963, "end": 50964, "loc": { "start": { "line": 1387, "column": 43 }, "end": { "line": 1387, "column": 44 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 50980, "end": 51020, "loc": { "start": { "line": 1388, "column": 12 }, "end": { "line": 1388, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 50986, "end": 51019, "loc": { "start": { "line": 1388, "column": 18 }, "end": { "line": 1388, "column": 51 } }, "id": { "type": "Identifier", "start": 50986, "end": 50994, "loc": { "start": { "line": 1388, "column": 18 }, "end": { "line": 1388, "column": 26 }, "identifierName": "beltComp" }, "name": "beltComp" }, "init": { "type": "MemberExpression", "start": 50997, "end": 51019, "loc": { "start": { "line": 1388, "column": 29 }, "end": { "line": 1388, "column": 51 } }, "object": { "type": "MemberExpression", "start": 50997, "end": 51014, "loc": { "start": { "line": 1388, "column": 29 }, "end": { "line": 1388, "column": 46 } }, "object": { "type": "Identifier", "start": 50997, "end": 51003, "loc": { "start": { "line": 1388, "column": 29 }, "end": { "line": 1388, "column": 35 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 51004, "end": 51014, "loc": { "start": { "line": 1388, "column": 36 }, "end": { "line": 1388, "column": 46 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 51015, "end": 51019, "loc": { "start": { "line": 1388, "column": 47 }, "end": { "line": 1388, "column": 51 }, "identifierName": "Belt" }, "name": "Belt" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 51034, "end": 51088, "loc": { "start": { "line": 1389, "column": 12 }, "end": { "line": 1389, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 51040, "end": 51087, "loc": { "start": { "line": 1389, "column": 18 }, "end": { "line": 1389, "column": 65 } }, "id": { "type": "Identifier", "start": 51040, "end": 51050, "loc": { "start": { "line": 1389, "column": 18 }, "end": { "line": 1389, "column": 28 }, "identifierName": "beltLength" }, "name": "beltLength" }, "init": { "type": "CallExpression", "start": 51053, "end": 51087, "loc": { "start": { "line": 1389, "column": 31 }, "end": { "line": 1389, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 51053, "end": 51085, "loc": { "start": { "line": 1389, "column": 31 }, "end": { "line": 1389, "column": 63 } }, "object": { "type": "Identifier", "start": 51053, "end": 51061, "loc": { "start": { "line": 1389, "column": 31 }, "end": { "line": 1389, "column": 39 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 51062, "end": 51085, "loc": { "start": { "line": 1389, "column": 40 }, "end": { "line": 1389, "column": 63 }, "identifierName": "getEffectiveLengthTiles" }, "name": "getEffectiveLengthTiles" }, "computed": false }, "arguments": [] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Check if the current items are on the belt", "start": 51104, "end": 51149, "loc": { "start": { "line": 1391, "column": 12 }, "end": { "line": 1391, "column": 57 } } } ] }, { "type": "WhileStatement", "start": 51163, "end": 52385, "loc": { "start": { "line": 1392, "column": 12 }, "end": { "line": 1420, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 51170, "end": 51216, "loc": { "start": { "line": 1392, "column": 19 }, "end": { "line": 1392, "column": 65 } }, "left": { "type": "BinaryExpression", "start": 51170, "end": 51191, "loc": { "start": { "line": 1392, "column": 19 }, "end": { "line": 1392, "column": 40 } }, "left": { "type": "Identifier", "start": 51170, "end": 51178, "loc": { "start": { "line": 1392, "column": 19 }, "end": { "line": 1392, "column": 27 }, "identifierName": "trackPos" }, "name": "trackPos", "leadingComments": null }, "operator": "+", "right": { "type": "Identifier", "start": 51181, "end": 51191, "loc": { "start": { "line": 1392, "column": 30 }, "end": { "line": 1392, "column": 40 }, "identifierName": "beltLength" }, "name": "beltLength" }, "leadingComments": null }, "operator": ">=", "right": { "type": "BinaryExpression", "start": 51195, "end": 51216, "loc": { "start": { "line": 1392, "column": 44 }, "end": { "line": 1392, "column": 65 } }, "left": { "type": "Identifier", "start": 51195, "end": 51209, "loc": { "start": { "line": 1392, "column": 44 }, "end": { "line": 1392, "column": 58 }, "identifierName": "currentItemPos" }, "name": "currentItemPos" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 51212, "end": 51216, "loc": { "start": { "line": 1392, "column": 61 }, "end": { "line": 1392, "column": 65 } }, "extra": { "rawValue": 0.00001, "raw": "1e-5" }, "value": 0.00001 } }, "leadingComments": null }, "body": { "type": "BlockStatement", "start": 51218, "end": 52385, "loc": { "start": { "line": 1392, "column": 67 }, "end": { "line": 1420, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 51289, "end": 51342, "loc": { "start": { "line": 1394, "column": 16 }, "end": { "line": 1394, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 51295, "end": 51341, "loc": { "start": { "line": 1394, "column": 22 }, "end": { "line": 1394, "column": 68 } }, "id": { "type": "Identifier", "start": 51295, "end": 51305, "loc": { "start": { "line": 1394, "column": 22 }, "end": { "line": 1394, "column": 32 }, "identifierName": "staticComp" }, "name": "staticComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 51308, "end": 51341, "loc": { "start": { "line": 1394, "column": 35 }, "end": { "line": 1394, "column": 68 } }, "object": { "type": "MemberExpression", "start": 51308, "end": 51325, "loc": { "start": { "line": 1394, "column": 35 }, "end": { "line": 1394, "column": 52 } }, "object": { "type": "Identifier", "start": 51308, "end": 51314, "loc": { "start": { "line": 1394, "column": 35 }, "end": { "line": 1394, "column": 41 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 51315, "end": 51325, "loc": { "start": { "line": 1394, "column": 42 }, "end": { "line": 1394, "column": 52 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 51326, "end": 51341, "loc": { "start": { "line": 1394, "column": 53 }, "end": { "line": 1394, "column": 68 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " It's on the belt, render it now", "start": 51237, "end": 51271, "loc": { "start": { "line": 1393, "column": 16 }, "end": { "line": 1393, "column": 50 } } } ] }, { "type": "ExpressionStatement", "start": 51360, "end": 51550, "loc": { "start": { "line": 1395, "column": 16 }, "end": { "line": 1398, "column": 18 } }, "expression": { "type": "CallExpression", "start": 51360, "end": 51549, "loc": { "start": { "line": 1395, "column": 16 }, "end": { "line": 1398, "column": 17 } }, "callee": { "type": "Identifier", "start": 51360, "end": 51366, "loc": { "start": { "line": 1395, "column": 16 }, "end": { "line": 1395, "column": 22 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 51389, "end": 51419, "loc": { "start": { "line": 1396, "column": 20 }, "end": { "line": 1396, "column": 50 } }, "left": { "type": "BinaryExpression", "start": 51389, "end": 51414, "loc": { "start": { "line": 1396, "column": 20 }, "end": { "line": 1396, "column": 45 } }, "left": { "type": "Identifier", "start": 51389, "end": 51403, "loc": { "start": { "line": 1396, "column": 20 }, "end": { "line": 1396, "column": 34 }, "identifierName": "currentItemPos" }, "name": "currentItemPos" }, "operator": "-", "right": { "type": "Identifier", "start": 51406, "end": 51414, "loc": { "start": { "line": 1396, "column": 37 }, "end": { "line": 1396, "column": 45 }, "identifierName": "trackPos" }, "name": "trackPos" } }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 51418, "end": 51419, "loc": { "start": { "line": 1396, "column": 49 }, "end": { "line": 1396, "column": 50 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "BinaryExpression", "start": 51442, "end": 51530, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 108 } }, "left": { "type": "BinaryExpression", "start": 51442, "end": 51524, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 102 } }, "left": { "type": "BinaryExpression", "start": 51442, "end": 51511, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 89 } }, "left": { "type": "BinaryExpression", "start": 51442, "end": 51500, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 78 } }, "left": { "type": "BinaryExpression", "start": 51442, "end": 51489, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 67 } }, "left": { "type": "BinaryExpression", "start": 51442, "end": 51480, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 58 } }, "left": { "type": "StringLiteral", "start": 51442, "end": 51463, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 41 } }, "extra": { "rawValue": "invalid track pos: ", "raw": "\"invalid track pos: \"" }, "value": "invalid track pos: " }, "operator": "+", "right": { "type": "Identifier", "start": 51466, "end": 51480, "loc": { "start": { "line": 1397, "column": 44 }, "end": { "line": 1397, "column": 58 }, "identifierName": "currentItemPos" }, "name": "currentItemPos" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 51483, "end": 51489, "loc": { "start": { "line": 1397, "column": 61 }, "end": { "line": 1397, "column": 67 } }, "extra": { "rawValue": " vs ", "raw": "\" vs \"" }, "value": " vs " } }, "operator": "+", "right": { "type": "Identifier", "start": 51492, "end": 51500, "loc": { "start": { "line": 1397, "column": 70 }, "end": { "line": 1397, "column": 78 }, "identifierName": "trackPos" }, "name": "trackPos" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 51503, "end": 51511, "loc": { "start": { "line": 1397, "column": 81 }, "end": { "line": 1397, "column": 89 } }, "extra": { "rawValue": " (l =", "raw": "\" (l =\"" }, "value": " (l =" } }, "operator": "+", "right": { "type": "Identifier", "start": 51514, "end": 51524, "loc": { "start": { "line": 1397, "column": 92 }, "end": { "line": 1397, "column": 102 }, "identifierName": "beltLength" }, "name": "beltLength" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 51527, "end": 51530, "loc": { "start": { "line": 1397, "column": 105 }, "end": { "line": 1397, "column": 108 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } } ] } }, { "type": "VariableDeclaration", "start": 51570, "end": 51649, "loc": { "start": { "line": 1400, "column": 16 }, "end": { "line": 1400, "column": 95 } }, "declarations": [ { "type": "VariableDeclarator", "start": 51576, "end": 51648, "loc": { "start": { "line": 1400, "column": 22 }, "end": { "line": 1400, "column": 94 } }, "id": { "type": "Identifier", "start": 51576, "end": 51584, "loc": { "start": { "line": 1400, "column": 22 }, "end": { "line": 1400, "column": 30 }, "identifierName": "localPos" }, "name": "localPos" }, "init": { "type": "CallExpression", "start": 51587, "end": 51648, "loc": { "start": { "line": 1400, "column": 33 }, "end": { "line": 1400, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 51587, "end": 51621, "loc": { "start": { "line": 1400, "column": 33 }, "end": { "line": 1400, "column": 67 } }, "object": { "type": "Identifier", "start": 51587, "end": 51595, "loc": { "start": { "line": 1400, "column": 33 }, "end": { "line": 1400, "column": 41 }, "identifierName": "beltComp" }, "name": "beltComp" }, "property": { "type": "Identifier", "start": 51596, "end": 51621, "loc": { "start": { "line": 1400, "column": 42 }, "end": { "line": 1400, "column": 67 }, "identifierName": "transformBeltToLocalSpace" }, "name": "transformBeltToLocalSpace" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 51622, "end": 51647, "loc": { "start": { "line": 1400, "column": 68 }, "end": { "line": 1400, "column": 93 } }, "left": { "type": "Identifier", "start": 51622, "end": 51636, "loc": { "start": { "line": 1400, "column": 68 }, "end": { "line": 1400, "column": 82 }, "identifierName": "currentItemPos" }, "name": "currentItemPos" }, "operator": "-", "right": { "type": "Identifier", "start": 51639, "end": 51647, "loc": { "start": { "line": 1400, "column": 85 }, "end": { "line": 1400, "column": 93 }, "identifierName": "trackPos" }, "name": "trackPos" } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 51667, "end": 51749, "loc": { "start": { "line": 1401, "column": 16 }, "end": { "line": 1401, "column": 98 } }, "declarations": [ { "type": "VariableDeclarator", "start": 51673, "end": 51748, "loc": { "start": { "line": 1401, "column": 22 }, "end": { "line": 1401, "column": 97 } }, "id": { "type": "Identifier", "start": 51673, "end": 51681, "loc": { "start": { "line": 1401, "column": 22 }, "end": { "line": 1401, "column": 30 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 51684, "end": 51748, "loc": { "start": { "line": 1401, "column": 33 }, "end": { "line": 1401, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 51684, "end": 51746, "loc": { "start": { "line": 1401, "column": 33 }, "end": { "line": 1401, "column": 95 } }, "object": { "type": "CallExpression", "start": 51684, "end": 51721, "loc": { "start": { "line": 1401, "column": 33 }, "end": { "line": 1401, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 51684, "end": 51711, "loc": { "start": { "line": 1401, "column": 33 }, "end": { "line": 1401, "column": 60 } }, "object": { "type": "Identifier", "start": 51684, "end": 51694, "loc": { "start": { "line": 1401, "column": 33 }, "end": { "line": 1401, "column": 43 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 51695, "end": 51711, "loc": { "start": { "line": 1401, "column": 44 }, "end": { "line": 1401, "column": 60 }, "identifierName": "localTileToWorld" }, "name": "localTileToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 51712, "end": 51720, "loc": { "start": { "line": 1401, "column": 61 }, "end": { "line": 1401, "column": 69 }, "identifierName": "localPos" }, "name": "localPos" } ] }, "property": { "type": "Identifier", "start": 51722, "end": 51746, "loc": { "start": { "line": 1401, "column": 71 }, "end": { "line": 1401, "column": 95 }, "identifierName": "toWorldSpaceCenterOfTile" }, "name": "toWorldSpaceCenterOfTile" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 51769, "end": 51822, "loc": { "start": { "line": 1403, "column": 16 }, "end": { "line": 1403, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 51775, "end": 51821, "loc": { "start": { "line": 1403, "column": 22 }, "end": { "line": 1403, "column": 68 } }, "id": { "type": "Identifier", "start": 51775, "end": 51790, "loc": { "start": { "line": 1403, "column": 22 }, "end": { "line": 1403, "column": 37 }, "identifierName": "distanceAndItem" }, "name": "distanceAndItem" }, "init": { "type": "MemberExpression", "start": 51793, "end": 51821, "loc": { "start": { "line": 1403, "column": 40 }, "end": { "line": 1403, "column": 68 } }, "object": { "type": "MemberExpression", "start": 51793, "end": 51803, "loc": { "start": { "line": 1403, "column": 40 }, "end": { "line": 1403, "column": 50 } }, "object": { "type": "ThisExpression", "start": 51793, "end": 51797, "loc": { "start": { "line": 1403, "column": 40 }, "end": { "line": 1403, "column": 44 } } }, "property": { "type": "Identifier", "start": 51798, "end": 51803, "loc": { "start": { "line": 1403, "column": 45 }, "end": { "line": 1403, "column": 50 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 51804, "end": 51820, "loc": { "start": { "line": 1403, "column": 51 }, "end": { "line": 1403, "column": 67 }, "identifierName": "currentItemIndex" }, "name": "currentItemIndex" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 51842, "end": 52062, "loc": { "start": { "line": 1405, "column": 16 }, "end": { "line": 1410, "column": 18 } }, "expression": { "type": "CallExpression", "start": 51842, "end": 52061, "loc": { "start": { "line": 1405, "column": 16 }, "end": { "line": 1410, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 51842, "end": 51888, "loc": { "start": { "line": 1405, "column": 16 }, "end": { "line": 1405, "column": 62 } }, "object": { "type": "MemberExpression", "start": 51842, "end": 51864, "loc": { "start": { "line": 1405, "column": 16 }, "end": { "line": 1405, "column": 38 } }, "object": { "type": "Identifier", "start": 51842, "end": 51857, "loc": { "start": { "line": 1405, "column": 16 }, "end": { "line": 1405, "column": 31 }, "identifierName": "distanceAndItem" }, "name": "distanceAndItem" }, "property": { "type": "Identifier", "start": 51858, "end": 51863, "loc": { "start": { "line": 1405, "column": 32 }, "end": { "line": 1405, "column": 37 }, "identifierName": "_item" }, "name": "_item" }, "computed": true }, "property": { "type": "Identifier", "start": 51865, "end": 51888, "loc": { "start": { "line": 1405, "column": 39 }, "end": { "line": 1405, "column": 62 }, "identifierName": "drawItemCenteredClipped" }, "name": "drawItemCenteredClipped" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 51911, "end": 51921, "loc": { "start": { "line": 1406, "column": 20 }, "end": { "line": 1406, "column": 30 } }, "object": { "type": "Identifier", "start": 51911, "end": 51919, "loc": { "start": { "line": 1406, "column": 20 }, "end": { "line": 1406, "column": 28 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 51920, "end": 51921, "loc": { "start": { "line": 1406, "column": 29 }, "end": { "line": 1406, "column": 30 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 51944, "end": 51954, "loc": { "start": { "line": 1407, "column": 20 }, "end": { "line": 1407, "column": 30 } }, "object": { "type": "Identifier", "start": 51944, "end": 51952, "loc": { "start": { "line": 1407, "column": 20 }, "end": { "line": 1407, "column": 28 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 51953, "end": 51954, "loc": { "start": { "line": 1407, "column": 29 }, "end": { "line": 1407, "column": 30 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "Identifier", "start": 51977, "end": 51987, "loc": { "start": { "line": 1408, "column": 20 }, "end": { "line": 1408, "column": 30 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "MemberExpression", "start": 52010, "end": 52042, "loc": { "start": { "line": 1409, "column": 20 }, "end": { "line": 1409, "column": 52 } }, "object": { "type": "Identifier", "start": 52010, "end": 52022, "loc": { "start": { "line": 1409, "column": 20 }, "end": { "line": 1409, "column": 32 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 52023, "end": 52042, "loc": { "start": { "line": 1409, "column": 33 }, "end": { "line": 1409, "column": 52 }, "identifierName": "defaultItemDiameter" }, "name": "defaultItemDiameter" }, "computed": false } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Check for the next item", "start": 52082, "end": 52108, "loc": { "start": { "line": 1412, "column": 16 }, "end": { "line": 1412, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 52126, "end": 52175, "loc": { "start": { "line": 1413, "column": 16 }, "end": { "line": 1413, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 52126, "end": 52174, "loc": { "start": { "line": 1413, "column": 16 }, "end": { "line": 1413, "column": 64 } }, "operator": "+=", "left": { "type": "Identifier", "start": 52126, "end": 52140, "loc": { "start": { "line": 1413, "column": 16 }, "end": { "line": 1413, "column": 30 }, "identifierName": "currentItemPos" }, "name": "currentItemPos", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 52144, "end": 52174, "loc": { "start": { "line": 1413, "column": 34 }, "end": { "line": 1413, "column": 64 } }, "object": { "type": "Identifier", "start": 52144, "end": 52159, "loc": { "start": { "line": 1413, "column": 34 }, "end": { "line": 1413, "column": 49 }, "identifierName": "distanceAndItem" }, "name": "distanceAndItem" }, "property": { "type": "Identifier", "start": 52160, "end": 52173, "loc": { "start": { "line": 1413, "column": 50 }, "end": { "line": 1413, "column": 63 }, "identifierName": "_nextDistance" }, "name": "_nextDistance" }, "computed": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Check for the next item", "start": 52082, "end": 52108, "loc": { "start": { "line": 1412, "column": 16 }, "end": { "line": 1412, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 52193, "end": 52212, "loc": { "start": { "line": 1414, "column": 16 }, "end": { "line": 1414, "column": 35 } }, "expression": { "type": "UpdateExpression", "start": 52193, "end": 52211, "loc": { "start": { "line": 1414, "column": 16 }, "end": { "line": 1414, "column": 34 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 52195, "end": 52211, "loc": { "start": { "line": 1414, "column": 18 }, "end": { "line": 1414, "column": 34 }, "identifierName": "currentItemIndex" }, "name": "currentItemIndex" }, "extra": { "parenthesizedArgument": false } } }, { "type": "IfStatement", "start": 52232, "end": 52370, "loc": { "start": { "line": 1416, "column": 16 }, "end": { "line": 1419, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 52236, "end": 52273, "loc": { "start": { "line": 1416, "column": 20 }, "end": { "line": 1416, "column": 57 } }, "left": { "type": "Identifier", "start": 52236, "end": 52252, "loc": { "start": { "line": 1416, "column": 20 }, "end": { "line": 1416, "column": 36 }, "identifierName": "currentItemIndex" }, "name": "currentItemIndex" }, "operator": ">=", "right": { "type": "MemberExpression", "start": 52256, "end": 52273, "loc": { "start": { "line": 1416, "column": 40 }, "end": { "line": 1416, "column": 57 } }, "object": { "type": "MemberExpression", "start": 52256, "end": 52266, "loc": { "start": { "line": 1416, "column": 40 }, "end": { "line": 1416, "column": 50 } }, "object": { "type": "ThisExpression", "start": 52256, "end": 52260, "loc": { "start": { "line": 1416, "column": 40 }, "end": { "line": 1416, "column": 44 } } }, "property": { "type": "Identifier", "start": 52261, "end": 52266, "loc": { "start": { "line": 1416, "column": 45 }, "end": { "line": 1416, "column": 50 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 52267, "end": 52273, "loc": { "start": { "line": 1416, "column": 51 }, "end": { "line": 1416, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 52275, "end": 52370, "loc": { "start": { "line": 1416, "column": 59 }, "end": { "line": 1419, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 52344, "end": 52351, "loc": { "start": { "line": 1418, "column": 20 }, "end": { "line": 1418, "column": 27 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " We rendered all items", "start": 52298, "end": 52322, "loc": { "start": { "line": 1417, "column": 20 }, "end": { "line": 1417, "column": 44 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Check if the current items are on the belt", "start": 51104, "end": 51149, "loc": { "start": { "line": 1391, "column": 12 }, "end": { "line": 1391, "column": 57 } } } ] }, { "type": "ExpressionStatement", "start": 52401, "end": 52424, "loc": { "start": { "line": 1422, "column": 12 }, "end": { "line": 1422, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 52401, "end": 52423, "loc": { "start": { "line": 1422, "column": 12 }, "end": { "line": 1422, "column": 34 } }, "operator": "+=", "left": { "type": "Identifier", "start": 52401, "end": 52409, "loc": { "start": { "line": 1422, "column": 12 }, "end": { "line": 1422, "column": 20 }, "identifierName": "trackPos" }, "name": "trackPos" }, "right": { "type": "Identifier", "start": 52413, "end": 52423, "loc": { "start": { "line": 1422, "column": 24 }, "end": { "line": 1422, "column": 34 }, "identifierName": "beltLength" }, "name": "beltLength" } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Iterate whole track and check items", "start": 50820, "end": 50858, "loc": { "start": { "line": 1385, "column": 8 }, "end": { "line": 1385, "column": 46 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the path\r\n * @param {DrawParameters} parameters\r\n ", "start": 49263, "end": 49341, "loc": { "start": { "line": 1342, "column": 4 }, "end": { "line": 1345, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores a path of belts, used for optimizing performance\r\n ", "start": 812, "end": 880, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores a path of belts, used for optimizing performance\r\n ", "start": 812, "end": 880, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Helpers for more semantic access into interleaved arrays", "start": 669, "end": 728, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores a path of belts, used for optimizing performance\r\n ", "start": 812, "end": 880, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates a path from a serialized object\r\n * @param {GameRoot} root\r\n * @param {Object} data\r\n * @returns {BeltPath|string}\r\n ", "start": 1244, "end": 1399, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 42, "column": 7 } } }, { "type": "CommentLine", "value": " Create fake object which looks like a belt path but skips the constructor", "start": 1450, "end": 1526, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 84 } } }, { "type": "CommentBlock", "value": "* @type {BeltPath} ", "start": 1555, "end": 1578, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 50 } } }, { "type": "CommentLine", "value": " Deserialize the data", "start": 1660, "end": 1683, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 31 } } }, { "type": "CommentLine", "value": " Compute other properties", "start": 1853, "end": 1880, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n * @param {Array} entityPath\r\n ", "start": 1958, "end": 2043, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 63, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the items sorted, and their distance to the previous item (or start)\r\n * Layout: [distanceToNext, item]\r\n * @type {Array<[number, BaseItem]>}\r\n ", "start": 2241, "end": 2434, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 75, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the spacing to the first item\r\n ", "start": 2472, "end": 2537, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 80, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes the path by computing the properties which are not saved\r\n * @param {boolean} computeSpacing Whether to also compute the spacing\r\n ", "start": 2704, "end": 2869, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 91, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Current bounds of this path\r\n * @type {Rectangle}\r\n ", "start": 3105, "end": 3191, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 104, "column": 11 } } }, { "type": "CommentLine", "value": " Connect the belts", "start": 3253, "end": 3273, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns whether this path can accept a new item\r\n * @returns {boolean}\r\n ", "start": 3428, "end": 3523, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 116, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Tries to accept the item\r\n * @param {BaseItem} item\r\n ", "start": 3637, "end": 3713, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 124, "column": 7 } } }, { "type": "CommentLine", "value": " So, since we already need one tick to accept this item we will add this directly.", "start": 3829, "end": 3913, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 96 } } }, { "type": "CommentLine", "value": " First, compute how much progress we can make *at max*", "start": 4135, "end": 4191, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 68 } } }, { "type": "CommentBlock", "value": "*\r\n * SLOW / Tries to find the item closest to the given tile\r\n * @param {Vector} tile\r\n * @returns {BaseItem|null}\r\n ", "start": 4738, "end": 4876, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 153, "column": 7 } } }, { "type": "CommentLine", "value": " @TODO: This breaks color blind mode otherwise", "start": 4914, "end": 4962, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 56 } } }, { "type": "CommentBlock", "value": "*\r\n * Computes the tile bounds of the path\r\n * @returns {Rectangle}\r\n ", "start": 4999, "end": 5085, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Recomputes cache variables once the path was changed\r\n ", "start": 5538, "end": 5611, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * How many items past the first item are compressed\r\n ", "start": 5715, "end": 5793, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 181, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by the belt system when the surroundings changed\r\n ", "start": 5860, "end": 5936, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 187, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds the entity which accepts our items\r\n * @param {boolean=} debug_Silent Whether debug output should be silent\r\n * @return {{ entity: Entity, slot: number, direction?: enumDirection }}\r\n ", "start": 6013, "end": 6229, "loc": { "start": { "line": 192, "column": 4 }, "end": { "line": 196, "column": 7 } } }, { "type": "CommentLine", "value": " Figure out where and into which direction we eject items", "start": 6578, "end": 6637, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 67 } } }, { "type": "CommentLine", "value": " Try to find the given acceptor component to take the item", "start": 7002, "end": 7062, "loc": { "start": { "line": 210, "column": 8 }, "end": { "line": 210, "column": 68 } } }, { "type": "CommentLine", "value": " Check for belts (special case)", "start": 7522, "end": 7555, "loc": { "start": { "line": 222, "column": 12 }, "end": { "line": 222, "column": 45 } } }, { "type": "CommentLine", "value": " Check for item acceptors", "start": 8394, "end": 8421, "loc": { "start": { "line": 244, "column": 12 }, "end": { "line": 244, "column": 39 } } }, { "type": "CommentLine", "value": " Entity doesn't accept items", "start": 8557, "end": 8587, "loc": { "start": { "line": 247, "column": 16 }, "end": { "line": 247, "column": 46 } } }, { "type": "CommentLine", "value": " No matching slot found", "start": 8981, "end": 9006, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 41 } } }, { "type": "CommentLine", "value": " Following code will be compiled out outside of dev versions", "start": 9265, "end": 9327, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 270, "column": 66 } } }, { "type": "CommentBlock", "value": " dev:start ", "start": 9333, "end": 9348, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 271, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper to throw an error on mismatch\r\n * @param {string} change\r\n * @param {Array} reason\r\n ", "start": 9356, "end": 9479, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 277, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if this path is valid\r\n ", "start": 9642, "end": 9691, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 284, "column": 7 } } }, { "type": "CommentLine", "value": " Check for empty path", "start": 9842, "end": 9865, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 31 } } }, { "type": "CommentLine", "value": " Check for mismatching length", "start": 9981, "end": 10012, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 39 } } }, { "type": "CommentLine", "value": " Check for misconnected entities", "start": 10405, "end": 10439, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 42 } } }, { "type": "CommentLine", "value": " Check spacing", "start": 11692, "end": 11708, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 24 } } }, { "type": "CommentLine", "value": " Check distance if empty", "start": 12067, "end": 12093, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 34 } } }, { "type": "CommentLine", "value": " Check items etc", "start": 12510, "end": 12528, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 26 } } }, { "type": "CommentLine", "value": " Check the total sum matches", "start": 13116, "end": 13146, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 38 } } }, { "type": "CommentLine", "value": " Check bounds", "start": 13607, "end": 13622, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 23 } } }, { "type": "CommentLine", "value": " Check acceptor", "start": 13811, "end": 13828, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 25 } } }, { "type": "CommentLine", "value": " Check first nonzero offset", "start": 15079, "end": 15108, "loc": { "start": { "line": 435, "column": 8 }, "end": { "line": 435, "column": 37 } } }, { "type": "CommentLine", "value": " Should warn, but this check isn't actually accurate", "start": 15406, "end": 15460, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 62 } } }, { "type": "CommentLine", "value": " if (firstNonzero !== this.numCompressedItemsAfterFirstItem) {", "start": 15470, "end": 15534, "loc": { "start": { "line": 446, "column": 8 }, "end": { "line": 446, "column": 72 } } }, { "type": "CommentLine", "value": " console.warn(", "start": 15544, "end": 15564, "loc": { "start": { "line": 447, "column": 8 }, "end": { "line": 447, "column": 28 } } }, { "type": "CommentLine", "value": " \"First nonzero index is \" +", "start": 15574, "end": 15612, "loc": { "start": { "line": 448, "column": 8 }, "end": { "line": 448, "column": 46 } } }, { "type": "CommentLine", "value": " firstNonzero +", "start": 15622, "end": 15651, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 449, "column": 37 } } }, { "type": "CommentLine", "value": " \" but stored is \" +", "start": 15661, "end": 15695, "loc": { "start": { "line": 450, "column": 8 }, "end": { "line": 450, "column": 42 } } }, { "type": "CommentLine", "value": " this.numCompressedItemsAfterFirstItem", "start": 15705, "end": 15757, "loc": { "start": { "line": 451, "column": 8 }, "end": { "line": 451, "column": 60 } } }, { "type": "CommentLine", "value": " );", "start": 15767, "end": 15776, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 17 } } }, { "type": "CommentLine", "value": " }", "start": 15786, "end": 15790, "loc": { "start": { "line": 453, "column": 8 }, "end": { "line": 453, "column": 12 } } }, { "type": "CommentBlock", "value": " dev:end ", "start": 15805, "end": 15818, "loc": { "start": { "line": 456, "column": 4 }, "end": { "line": 456, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the belt path by the given belt\r\n * @param {Entity} entity\r\n ", "start": 15826, "end": 15917, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 461, "column": 7 } } }, { "type": "CommentLine", "value": " Append the entity", "start": 16116, "end": 16136, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 28 } } }, { "type": "CommentLine", "value": " Extend the path length", "start": 16218, "end": 16243, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 33 } } }, { "type": "CommentLine", "value": " If we have no item, just update the distance to the first item", "start": 16474, "end": 16539, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 73 } } }, { "type": "CommentLine", "value": " Otherwise, update the next-distance of the last item", "start": 16774, "end": 16829, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 67 } } }, { "type": "CommentLine", "value": " Assign reference", "start": 17244, "end": 17263, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 27 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 17314, "end": 17330, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the path with the given entity on the beginning\r\n * @param {Entity} entity\r\n ", "start": 17527, "end": 17634, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 507, "column": 7 } } }, { "type": "CommentLine", "value": " All items on that belt are simply lost (for now)", "start": 17800, "end": 17851, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 59 } } }, { "type": "CommentLine", "value": " Extend the length of this path", "start": 17925, "end": 17958, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 41 } } }, { "type": "CommentLine", "value": " Simply adjust the first item spacing cuz we have no items contained", "start": 18007, "end": 18077, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 78 } } }, { "type": "CommentLine", "value": " Set handles and append entity", "start": 18133, "end": 18165, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 40 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 18289, "end": 18305, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the end entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18504, "end": 18640, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 540, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the start entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18754, "end": 18892, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 549, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Splits this path at the given entity by removing it, and\r\n * returning the new secondary paht\r\n * @param {Entity} entity\r\n * @returns {BeltPath}\r\n ", "start": 18983, "end": 19160, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 559, "column": 7 } } }, { "type": "CommentLine", "value": " First, find where the current path ends", "start": 19318, "end": 19360, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 50 } } }, { "type": "CommentLine", "value": " Compute length of second path", "start": 20709, "end": 20741, "loc": { "start": { "line": 599, "column": 8 }, "end": { "line": 599, "column": 40 } } }, { "type": "CommentLine", "value": " Remove the last item", "start": 21289, "end": 21312, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 31 } } }, { "type": "CommentLine", "value": " Create second path", "start": 21577, "end": 21598, "loc": { "start": { "line": 624, "column": 8 }, "end": { "line": 624, "column": 29 } } }, { "type": "CommentLine", "value": " Remove all items which are no longer relevant and transfer them to the second path", "start": 21679, "end": 21764, "loc": { "start": { "line": 627, "column": 8 }, "end": { "line": 627, "column": 93 } } }, { "type": "CommentLine", "value": " Check if this item is past the first path", "start": 22095, "end": 22139, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 56 } } }, { "type": "CommentLine", "value": " Remove it from the first path", "start": 22204, "end": 22236, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "column": 48 } } }, { "type": "CommentLine", "value": " Check if its on the second path (otherwise its on the removed belt and simply lost)", "start": 22460, "end": 22546, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 643, "column": 102 } } }, { "type": "CommentLine", "value": " Put item on second path", "start": 22619, "end": 22645, "loc": { "start": { "line": 645, "column": 20 }, "end": { "line": 645, "column": 46 } } }, { "type": "CommentLine", "value": " If it was the first item, adjust the distance to the first item", "start": 23040, "end": 23106, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 86 } } }, { "type": "CommentLine", "value": " Seems this item is on the first path (so all good), so just make sure it doesn't", "start": 23570, "end": 23653, "loc": { "start": { "line": 664, "column": 16 }, "end": { "line": 664, "column": 99 } } }, { "type": "CommentLine", "value": " have a nextDistance which is bigger than the total path length", "start": 23671, "end": 23736, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 81 } } }, { "type": "CommentLine", "value": " Advance items", "start": 24326, "end": 24342, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 } } }, { "type": "CommentLine", "value": " Adjust our total length", "start": 24723, "end": 24749, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 34 } } }, { "type": "CommentLine", "value": " Make sure that if we are empty, we set our first distance properly", "start": 24806, "end": 24875, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 77 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 25065, "end": 25081, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes the last entity\r\n * @param {Entity} entity\r\n ", "start": 25376, "end": 25451, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 720, "column": 7 } } }, { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 25688, "end": 25718, "loc": { "start": { "line": 727, "column": 8 }, "end": { "line": 727, "column": 38 } } }, { "type": "CommentLine", "value": " This is just for sanity", "start": 26485, "end": 26511, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 34 } } }, { "type": "CommentLine", "value": " Clean up items", "start": 26562, "end": 26579, "loc": { "start": { "line": 757, "column": 8 }, "end": { "line": 757, "column": 25 } } }, { "type": "CommentLine", "value": " Simple case with no items, just update the first item spacing", "start": 26633, "end": 26697, "loc": { "start": { "line": 759, "column": 12 }, "end": { "line": 759, "column": 76 } } }, { "type": "CommentLine", "value": " Ok, make sure we simply drop all items which are no longer contained", "start": 26786, "end": 26857, "loc": { "start": { "line": 762, "column": 12 }, "end": { "line": 762, "column": 83 } } }, { "type": "CommentLine", "value": " Get rid of items past this path", "start": 27163, "end": 27197, "loc": { "start": { "line": 771, "column": 16 }, "end": { "line": 771, "column": 50 } } }, { "type": "CommentLine", "value": " If we still have an item, make sure the last item matches", "start": 27702, "end": 27762, "loc": { "start": { "line": 784, "column": 12 }, "end": { "line": 784, "column": 72 } } }, { "type": "CommentLine", "value": " We can easily compute the next distance since we know where the last item is now", "start": 27822, "end": 27905, "loc": { "start": { "line": 786, "column": 16 }, "end": { "line": 786, "column": 99 } } }, { "type": "CommentLine", "value": " We removed all items so update our spacing", "start": 28973, "end": 29018, "loc": { "start": { "line": 812, "column": 16 }, "end": { "line": 812, "column": 61 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 29117, "end": 29133, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes the entity of the start of the path\r\n * @see deleteEntityOnEnd\r\n * @param {Entity} entity\r\n ", "start": 29330, "end": 29456, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 829, "column": 7 } } }, { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 29671, "end": 29701, "loc": { "start": { "line": 836, "column": 8 }, "end": { "line": 836, "column": 38 } } }, { "type": "CommentLine", "value": " This is just for sanity", "start": 30471, "end": 30497, "loc": { "start": { "line": 863, "column": 8 }, "end": { "line": 863, "column": 34 } } }, { "type": "CommentLine", "value": " Clean up items", "start": 30548, "end": 30565, "loc": { "start": { "line": 866, "column": 8 }, "end": { "line": 866, "column": 25 } } }, { "type": "CommentLine", "value": " Simple case with no items, just update the first item spacing", "start": 30619, "end": 30683, "loc": { "start": { "line": 868, "column": 12 }, "end": { "line": 868, "column": 76 } } }, { "type": "CommentLine", "value": " Simple case, we had no item on the beginning -> all good", "start": 30772, "end": 30831, "loc": { "start": { "line": 871, "column": 12 }, "end": { "line": 871, "column": 71 } } }, { "type": "CommentLine", "value": " Welp, okay we need to drop all items which are < beltLength and adjust", "start": 31296, "end": 31369, "loc": { "start": { "line": 882, "column": 16 }, "end": { "line": 882, "column": 89 } } }, { "type": "CommentLine", "value": " the other item offsets as well", "start": 31387, "end": 31420, "loc": { "start": { "line": 883, "column": 16 }, "end": { "line": 883, "column": 49 } } }, { "type": "CommentLine", "value": " Find offset to first item", "start": 32006, "end": 32034, "loc": { "start": { "line": 899, "column": 16 }, "end": { "line": 899, "column": 44 } } }, { "type": "CommentLine", "value": " This item must be dropped", "start": 32645, "end": 32673, "loc": { "start": { "line": 912, "column": 24 }, "end": { "line": 912, "column": 52 } } }, { "type": "CommentLine", "value": " This item can be kept, thus its the first we know", "start": 32907, "end": 32959, "loc": { "start": { "line": 918, "column": 24 }, "end": { "line": 918, "column": 76 } } }, { "type": "CommentLine", "value": " We dropped all items, simple one", "start": 33873, "end": 33908, "loc": { "start": { "line": 940, "column": 20 }, "end": { "line": 940, "column": 55 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 34030, "end": 34046, "loc": { "start": { "line": 946, "column": 8 }, "end": { "line": 946, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the path by the given other path\r\n * @param {BeltPath} otherPath\r\n ", "start": 34245, "end": 34342, "loc": { "start": { "line": 954, "column": 4 }, "end": { "line": 957, "column": 7 } } }, { "type": "CommentLine", "value": " First, append entities", "start": 34748, "end": 34773, "loc": { "start": { "line": 968, "column": 8 }, "end": { "line": 968, "column": 33 } } }, { "type": "CommentLine", "value": " Add to path and update references", "start": 34937, "end": 34973, "loc": { "start": { "line": 973, "column": 12 }, "end": { "line": 973, "column": 48 } } }, { "type": "CommentLine", "value": " Update our length", "start": 35075, "end": 35095, "loc": { "start": { "line": 977, "column": 12 }, "end": { "line": 977, "column": 32 } } }, { "type": "CommentLine", "value": " Now, update the distance of our last item", "start": 35462, "end": 35506, "loc": { "start": { "line": 990, "column": 8 }, "end": { "line": 990, "column": 52 } } }, { "type": "CommentLine", "value": " Seems we have no items, update our first item distance", "start": 35846, "end": 35903, "loc": { "start": { "line": 997, "column": 12 }, "end": { "line": 997, "column": 69 } } }, { "type": "CommentLine", "value": " Aaand push the other paths items", "start": 36472, "end": 36507, "loc": { "start": { "line": 1012, "column": 8 }, "end": { "line": 1012, "column": 43 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 36702, "end": 36718, "loc": { "start": { "line": 1018, "column": 8 }, "end": { "line": 1018, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Computes the total length of the path\r\n * @returns {number}\r\n ", "start": 36949, "end": 37033, "loc": { "start": { "line": 1028, "column": 4 }, "end": { "line": 1031, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Performs one tick\r\n ", "start": 37317, "end": 37355, "loc": { "start": { "line": 1041, "column": 4 }, "end": { "line": 1043, "column": 7 } } }, { "type": "CommentLine", "value": " Divide by item spacing on belts since we use throughput and not speed", "start": 37510, "end": 37582, "loc": { "start": { "line": 1049, "column": 8 }, "end": { "line": 1049, "column": 80 } } }, { "type": "CommentLine", "value": " Store whether this is the first item we processed, so premature", "start": 37876, "end": 37942, "loc": { "start": { "line": 1059, "column": 8 }, "end": { "line": 1059, "column": 74 } } }, { "type": "CommentLine", "value": " item ejection is available", "start": 37952, "end": 37981, "loc": { "start": { "line": 1060, "column": 8 }, "end": { "line": 1060, "column": 37 } } }, { "type": "CommentLine", "value": " Store how much velocity (strictly its distance, not velocity) we have to distribute over all items", "start": 38035, "end": 38136, "loc": { "start": { "line": 1063, "column": 8 }, "end": { "line": 1063, "column": 109 } } }, { "type": "CommentLine", "value": " Store the last item we processed, so we can skip clashed ones", "start": 38192, "end": 38256, "loc": { "start": { "line": 1066, "column": 8 }, "end": { "line": 1066, "column": 72 } } }, { "type": "CommentLine", "value": " Compute how much spacing we need at least", "start": 38482, "end": 38526, "loc": { "start": { "line": 1072, "column": 12 }, "end": { "line": 1072, "column": 56 } } }, { "type": "CommentLine", "value": " Compute how much we can advance", "start": 38678, "end": 38712, "loc": { "start": { "line": 1076, "column": 12 }, "end": { "line": 1076, "column": 46 } } }, { "type": "CommentLine", "value": " Reduce our velocity by the amount we consumed", "start": 38909, "end": 38957, "loc": { "start": { "line": 1082, "column": 12 }, "end": { "line": 1082, "column": 60 } } }, { "type": "CommentLine", "value": " Reduce the spacing", "start": 39024, "end": 39045, "loc": { "start": { "line": 1085, "column": 12 }, "end": { "line": 1085, "column": 33 } } }, { "type": "CommentLine", "value": " Advance all items behind by the progress we made", "start": 39129, "end": 39180, "loc": { "start": { "line": 1088, "column": 12 }, "end": { "line": 1088, "column": 63 } } }, { "type": "CommentLine", "value": " If the last item can be ejected, eject it and reduce the spacing, because otherwise", "start": 39253, "end": 39339, "loc": { "start": { "line": 1091, "column": 12 }, "end": { "line": 1091, "column": 98 } } }, { "type": "CommentLine", "value": " we lose velocity", "start": 39353, "end": 39372, "loc": { "start": { "line": 1092, "column": 12 }, "end": { "line": 1092, "column": 31 } } }, { "type": "CommentLine", "value": " Store how much velocity we \"lost\" because we bumped the item to the end of the", "start": 39476, "end": 39557, "loc": { "start": { "line": 1094, "column": 16 }, "end": { "line": 1094, "column": 97 } } }, { "type": "CommentLine", "value": " belt but couldn't move it any farther. We need this to tell the item acceptor", "start": 39575, "end": 39655, "loc": { "start": { "line": 1095, "column": 16 }, "end": { "line": 1095, "column": 96 } } }, { "type": "CommentLine", "value": " animation to start a tad later, so everything matches up. Yes I'm a perfectionist.", "start": 39673, "end": 39758, "loc": { "start": { "line": 1096, "column": 16 }, "end": { "line": 1096, "column": 101 } } }, { "type": "CommentLine", "value": " Try to directly get rid of the item", "start": 39847, "end": 39885, "loc": { "start": { "line": 1099, "column": 16 }, "end": { "line": 1099, "column": 54 } } }, { "type": "CommentLine", "value": " So, with the next tick we will skip this item, but it actually has the potential", "start": 40200, "end": 40283, "loc": { "start": { "line": 1105, "column": 24 }, "end": { "line": 1105, "column": 107 } } }, { "type": "CommentLine", "value": " to process farther -> If we don't advance here, we loose a tiny bit of progress", "start": 40309, "end": 40391, "loc": { "start": { "line": 1106, "column": 24 }, "end": { "line": 1106, "column": 106 } } }, { "type": "CommentLine", "value": " every tick which causes the belt to be slower than it actually is.", "start": 40417, "end": 40486, "loc": { "start": { "line": 1107, "column": 24 }, "end": { "line": 1107, "column": 93 } } }, { "type": "CommentLine", "value": " Also see #999", "start": 40512, "end": 40528, "loc": { "start": { "line": 1108, "column": 24 }, "end": { "line": 1108, "column": 40 } } }, { "type": "CommentLine", "value": " See above", "start": 40757, "end": 40769, "loc": { "start": { "line": 1114, "column": 24 }, "end": { "line": 1114, "column": 36 } } }, { "type": "CommentLine", "value": " Reduce the number of compressed items since the first item no longer exists", "start": 41013, "end": 41091, "loc": { "start": { "line": 1120, "column": 20 }, "end": { "line": 1120, "column": 98 } } }, { "type": "CommentLine", "value": " Skip N null items after first items", "start": 41376, "end": 41414, "loc": { "start": { "line": 1129, "column": 16 }, "end": { "line": 1129, "column": 54 } } }, { "type": "CommentLine", "value": " Compute compressed item count", "start": 41658, "end": 41690, "loc": { "start": { "line": 1139, "column": 8 }, "end": { "line": 1139, "column": 40 } } }, { "type": "CommentLine", "value": " Check if we have an item which is ready to be emitted", "start": 41896, "end": 41952, "loc": { "start": { "line": 1146, "column": 8 }, "end": { "line": 1146, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * Tries to hand over the item to the end entity\r\n * @param {BaseItem} item\r\n ", "start": 42532, "end": 42629, "loc": { "start": { "line": 1163, "column": 4 }, "end": { "line": 1166, "column": 7 } } }, { "type": "CommentLine", "value": " Check if the acceptor has a filter for example", "start": 42854, "end": 42903, "loc": { "start": { "line": 1174, "column": 8 }, "end": { "line": 1174, "column": 57 } } }, { "type": "CommentLine", "value": " Well, this item is not accepted", "start": 43021, "end": 43055, "loc": { "start": { "line": 1176, "column": 12 }, "end": { "line": 1176, "column": 46 } } }, { "type": "CommentLine", "value": " Try to pass over", "start": 43105, "end": 43124, "loc": { "start": { "line": 1180, "column": 8 }, "end": { "line": 1180, "column": 27 } } }, { "type": "CommentLine", "value": " Trigger animation on the acceptor comp", "start": 43360, "end": 43401, "loc": { "start": { "line": 1188, "column": 12 }, "end": { "line": 1188, "column": 53 } } }, { "type": "CommentBlock", "value": "*\r\n * Computes a world space position from the given progress\r\n * @param {number} progress\r\n * @returns {Vector}\r\n ", "start": 43987, "end": 44122, "loc": { "start": { "line": 1207, "column": 4 }, "end": { "line": 1211, "column": 7 } } }, { "type": "CommentLine", "value": " floating point issues ..", "start": 44211, "end": 44238, "loc": { "start": { "line": 1215, "column": 8 }, "end": { "line": 1215, "column": 35 } } }, { "type": "CommentLine", "value": " Min required here due to floating point issues", "start": 44638, "end": 44687, "loc": { "start": { "line": 1223, "column": 16 }, "end": { "line": 1223, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 45227, "end": 45290, "loc": { "start": { "line": 1236, "column": 4 }, "end": { "line": 1239, "column": 7 } } }, { "type": "CommentLine", "value": " Items", "start": 46072, "end": 46080, "loc": { "start": { "line": 1262, "column": 8 }, "end": { "line": 1262, "column": 16 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if this belt path should render simplified\r\n ", "start": 48249, "end": 48319, "loc": { "start": { "line": 1308, "column": 4 }, "end": { "line": 1310, "column": 7 } } }, { "type": "CommentLine", "value": " POTATO Mode: Only show items when belt is hovered", "start": 48356, "end": 48408, "loc": { "start": { "line": 1312, "column": 8 }, "end": { "line": 1312, "column": 60 } } }, { "type": "CommentLine", "value": " Not in regular layer", "start": 48588, "end": 48611, "loc": { "start": { "line": 1318, "column": 12 }, "end": { "line": 1318, "column": 35 } } }, { "type": "CommentLine", "value": " Mouse not registered", "start": 48745, "end": 48768, "loc": { "start": { "line": 1324, "column": 12 }, "end": { "line": 1324, "column": 35 } } }, { "type": "CommentLine", "value": " Nothing below", "start": 49040, "end": 49056, "loc": { "start": { "line": 1331, "column": 12 }, "end": { "line": 1331, "column": 28 } } }, { "type": "CommentLine", "value": " Not this path", "start": 49172, "end": 49188, "loc": { "start": { "line": 1336, "column": 12 }, "end": { "line": 1336, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the path\r\n * @param {DrawParameters} parameters\r\n ", "start": 49263, "end": 49341, "loc": { "start": { "line": 1342, "column": 4 }, "end": { "line": 1345, "column": 7 } } }, { "type": "CommentLine", "value": " Early out", "start": 49524, "end": 49536, "loc": { "start": { "line": 1352, "column": 12 }, "end": { "line": 1352, "column": 24 } } }, { "type": "CommentLine", "value": " Iterate whole track and check items", "start": 50820, "end": 50858, "loc": { "start": { "line": 1385, "column": 8 }, "end": { "line": 1385, "column": 46 } } }, { "type": "CommentLine", "value": " Check if the current items are on the belt", "start": 51104, "end": 51149, "loc": { "start": { "line": 1391, "column": 12 }, "end": { "line": 1391, "column": 57 } } }, { "type": "CommentLine", "value": " It's on the belt, render it now", "start": 51237, "end": 51271, "loc": { "start": { "line": 1393, "column": 16 }, "end": { "line": 1393, "column": 50 } } }, { "type": "CommentLine", "value": " Check for the next item", "start": 52082, "end": 52108, "loc": { "start": { "line": 1412, "column": 16 }, "end": { "line": 1412, "column": 42 } } }, { "type": "CommentLine", "value": " We rendered all items", "start": 52298, "end": 52322, "loc": { "start": { "line": 1417, "column": 20 }, "end": { "line": 1417, "column": 44 } } } ], "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": 45, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45, "end": 46, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 46 } } }, { "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": 48, "end": 54, "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": 55, "end": 56, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DrawParameters", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 72, "end": 73, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 74, "end": 78, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/draw_parameters", "start": 79, "end": 104, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 104, "end": 105, "loc": { "start": { "line": 2, "column": 56 }, "end": { "line": 2, "column": 57 } } }, { "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": 107, "end": 113, "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": 114, "end": 115, "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": 116, "end": 128, "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": 129, "end": 130, "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": 131, "end": 135, "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": 136, "end": 153, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 153, "end": 154, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "column": 47 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 156, "end": 162, "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": 163, "end": 164, "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": 165, "end": 174, "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": 175, "end": 176, "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": 177, "end": 181, "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": 182, "end": 201, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 201, "end": 202, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 46 } } }, { "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": 204, "end": 210, "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": 211, "end": 212, "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": "clamp", "start": 213, "end": 218, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 218, "end": 219, "loc": { "start": { "line": 5, "column": 14 }, "end": { "line": 5, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilonCompare", "start": 220, "end": 234, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 234, "end": 235, "loc": { "start": { "line": 5, "column": 30 }, "end": { "line": 5, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round4Digits", "start": 236, "end": 248, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 249, "end": 250, "loc": { "start": { "line": 5, "column": 45 }, "end": { "line": 5, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 251, "end": 255, "loc": { "start": { "line": 5, "column": 47 }, "end": { "line": 5, "column": 51 } } }, { "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": 256, "end": 271, "loc": { "start": { "line": 5, "column": 52 }, "end": { "line": 5, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 271, "end": 272, "loc": { "start": { "line": 5, "column": 67 }, "end": { "line": 5, "column": 68 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 274, "end": 280, "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": 281, "end": 282, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirection", "start": 283, "end": 296, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 296, "end": 297, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToVector", "start": 298, "end": 319, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 319, "end": 320, "loc": { "start": { "line": 6, "column": 45 }, "end": { "line": 6, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumInvertedDirections", "start": 321, "end": 343, "loc": { "start": { "line": 6, "column": 47 }, "end": { "line": 6, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 343, "end": 344, "loc": { "start": { "line": 6, "column": 69 }, "end": { "line": 6, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 345, "end": 351, "loc": { "start": { "line": 6, "column": 71 }, "end": { "line": 6, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 352, "end": 353, "loc": { "start": { "line": 6, "column": 78 }, "end": { "line": 6, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 354, "end": 358, "loc": { "start": { "line": 6, "column": 80 }, "end": { "line": 6, "column": 84 } } }, { "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": 359, "end": 375, "loc": { "start": { "line": 6, "column": 85 }, "end": { "line": 6, "column": 101 } } }, { "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": 6, "column": 101 }, "end": { "line": 6, "column": 102 } } }, { "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": 378, "end": 384, "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": 385, "end": 386, "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": "BasicSerializableObject", "start": 387, "end": 410, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 410, "end": 411, "loc": { "start": { "line": 7, "column": 32 }, "end": { "line": 7, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 412, "end": 417, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 418, "end": 419, "loc": { "start": { "line": 7, "column": 40 }, "end": { "line": 7, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 420, "end": 424, "loc": { "start": { "line": 7, "column": 42 }, "end": { "line": 7, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../savegame/serialization", "start": 425, "end": 452, "loc": { "start": { "line": 7, "column": 47 }, "end": { "line": 7, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 452, "end": 453, "loc": { "start": { "line": 7, "column": 74 }, "end": { "line": 7, "column": 75 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 455, "end": 461, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 462, "end": 463, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseItem", "start": 464, "end": 472, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 473, "end": 474, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 475, "end": 479, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./base_item", "start": 480, "end": 493, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 493, "end": 494, "loc": { "start": { "line": 8, "column": 38 }, "end": { "line": 8, "column": 39 } } }, { "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": 496, "end": 502, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 503, "end": 504, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Entity", "start": 505, "end": 511, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 512, "end": 513, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 514, "end": 518, "loc": { "start": { "line": 9, "column": 18 }, "end": { "line": 9, "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": 519, "end": 529, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 529, "end": 530, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 34 } } }, { "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": 532, "end": 538, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 539, "end": 540, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeItemSingleton", "start": 541, "end": 558, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 559, "end": 560, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 561, "end": 565, "loc": { "start": { "line": 10, "column": 29 }, "end": { "line": 10, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./item_resolver", "start": 566, "end": 583, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 583, "end": 584, "loc": { "start": { "line": 10, "column": 51 }, "end": { "line": 10, "column": 52 } } }, { "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": 586, "end": 592, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 593, "end": 594, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameRoot", "start": 595, "end": 603, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 604, "end": 605, "loc": { "start": { "line": 11, "column": 18 }, "end": { "line": 11, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 606, "end": 610, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./root", "start": 611, "end": 619, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 619, "end": 620, "loc": { "start": { "line": 11, "column": 33 }, "end": { "line": 11, "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": 624, "end": 629, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 630, "end": 636, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 637, "end": 638, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 639, "end": 651, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 651, "end": 652, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 13, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "belt_path", "start": 652, "end": 663, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 663, "end": 664, "loc": { "start": { "line": 13, "column": 39 }, "end": { "line": 13, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 664, "end": 665, "loc": { "start": { "line": 13, "column": 40 }, "end": { "line": 13, "column": 41 } } }, { "type": "CommentLine", "value": " Helpers for more semantic access into interleaved arrays", "start": 669, "end": 728, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "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": 730, "end": 735, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 736, "end": 749, "loc": { "start": { "line": 16, "column": 6 }, "end": { "line": 16, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 750, "end": 751, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 752, "end": 753, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 753, "end": 754, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 24 } } }, { "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": 756, "end": 761, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 762, "end": 767, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 768, "end": 769, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 770, "end": 771, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 771, "end": 772, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 776, "end": 781, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 782, "end": 787, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 788, "end": 789, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 790, "end": 798, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 799, "end": 801, "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 19, "column": 25 } } }, { "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": 802, "end": 807, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 807, "end": 808, "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 32 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores a path of belts, used for optimizing performance\r\n ", "start": 812, "end": 880, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 23, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 882, "end": 888, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "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": 889, "end": 894, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltPath", "start": 895, "end": 903, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 21 } } }, { "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": 904, "end": 911, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BasicSerializableObject", "start": 912, "end": 935, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 936, "end": 937, "loc": { "start": { "line": 24, "column": 54 }, "end": { "line": 24, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 943, "end": 949, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 950, "end": 955, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 955, "end": 956, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 956, "end": 957, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 958, "end": 959, "loc": { "start": { "line": 25, "column": 19 }, "end": { "line": 25, "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": 969, "end": 975, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "BeltPath", "start": 976, "end": 986, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 986, "end": 987, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 993, "end": 994, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 1002, "end": 1008, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSchema", "start": 1009, "end": 1018, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1018, "end": 1019, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1019, "end": 1020, "loc": { "start": { "line": 29, "column": 21 }, "end": { "line": 29, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1021, "end": 1022, "loc": { "start": { "line": 29, "column": 23 }, "end": { "line": 29, "column": 24 } } }, { "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": 1032, "end": 1038, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1039, "end": 1040, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 1054, "end": 1064, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1064, "end": 1065, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 1066, "end": 1071, "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 31, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1071, "end": 1072, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 1072, "end": 1077, "loc": { "start": { "line": 31, "column": 30 }, "end": { "line": 31, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1077, "end": 1078, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 1078, "end": 1083, "loc": { "start": { "line": 31, "column": 36 }, "end": { "line": 31, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1083, "end": 1084, "loc": { "start": { "line": 31, "column": 41 }, "end": { "line": 31, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1084, "end": 1090, "loc": { "start": { "line": 31, "column": 42 }, "end": { "line": 31, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1090, "end": 1091, "loc": { "start": { "line": 31, "column": 48 }, "end": { "line": 31, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1091, "end": 1092, "loc": { "start": { "line": 31, "column": 49 }, "end": { "line": 31, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 1106, "end": 1111, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1111, "end": 1112, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 1113, "end": 1118, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1118, "end": 1119, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 1119, "end": 1124, "loc": { "start": { "line": 32, "column": 25 }, "end": { "line": 32, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1124, "end": 1125, "loc": { "start": { "line": 32, "column": 30 }, "end": { "line": 32, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 1125, "end": 1130, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1130, "end": 1131, "loc": { "start": { "line": 32, "column": 36 }, "end": { "line": 32, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pair", "start": 1131, "end": 1135, "loc": { "start": { "line": 32, "column": 37 }, "end": { "line": 32, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1135, "end": 1136, "loc": { "start": { "line": 32, "column": 41 }, "end": { "line": 32, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 1136, "end": 1141, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1141, "end": 1142, "loc": { "start": { "line": 32, "column": 47 }, "end": { "line": 32, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ufloat", "start": 1142, "end": 1148, "loc": { "start": { "line": 32, "column": 48 }, "end": { "line": 32, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1148, "end": 1149, "loc": { "start": { "line": 32, "column": 54 }, "end": { "line": 32, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeItemSingleton", "start": 1150, "end": 1167, "loc": { "start": { "line": 32, "column": 56 }, "end": { "line": 32, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1167, "end": 1168, "loc": { "start": { "line": 32, "column": 73 }, "end": { "line": 32, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1168, "end": 1169, "loc": { "start": { "line": 32, "column": 74 }, "end": { "line": 32, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1169, "end": 1170, "loc": { "start": { "line": 32, "column": 75 }, "end": { "line": 32, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 1184, "end": 1202, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1202, "end": 1203, "loc": { "start": { "line": 33, "column": 30 }, "end": { "line": 33, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 1204, "end": 1209, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1209, "end": 1210, "loc": { "start": { "line": 33, "column": 37 }, "end": { "line": 33, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ufloat", "start": 1210, "end": 1216, "loc": { "start": { "line": 33, "column": 38 }, "end": { "line": 33, "column": 44 } } }, { "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": 33, "column": 44 }, "end": { "line": 33, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1227, "end": 1228, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1228, "end": 1229, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1235, "end": 1236, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates a path from a serialized object\r\n * @param {GameRoot} root\r\n * @param {Object} data\r\n * @returns {BeltPath|string}\r\n ", "start": 1244, "end": 1399, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 42, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 1405, "end": 1411, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromSerialized", "start": 1412, "end": 1426, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1426, "end": 1427, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1427, "end": 1431, "loc": { "start": { "line": 43, "column": 26 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1431, "end": 1432, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1433, "end": 1437, "loc": { "start": { "line": 43, "column": 32 }, "end": { "line": 43, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1437, "end": 1438, "loc": { "start": { "line": 43, "column": 36 }, "end": { "line": 43, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1439, "end": 1440, "loc": { "start": { "line": 43, "column": 38 }, "end": { "line": 43, "column": 39 } } }, { "type": "CommentLine", "value": " Create fake object which looks like a belt path but skips the constructor", "start": 1450, "end": 1526, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "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": 1536, "end": 1541, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fakeObject", "start": 1542, "end": 1552, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1553, "end": 1554, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 26 } } }, { "type": "CommentBlock", "value": "* @type {BeltPath} ", "start": 1555, "end": 1578, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1579, "end": 1580, "loc": { "start": { "line": 45, "column": 51 }, "end": { "line": 45, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 1580, "end": 1586, "loc": { "start": { "line": 45, "column": 52 }, "end": { "line": 45, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1586, "end": 1587, "loc": { "start": { "line": 45, "column": 58 }, "end": { "line": 45, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "create", "start": 1587, "end": 1593, "loc": { "start": { "line": 45, "column": 59 }, "end": { "line": 45, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1593, "end": 1594, "loc": { "start": { "line": 45, "column": 65 }, "end": { "line": 45, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltPath", "start": 1594, "end": 1602, "loc": { "start": { "line": 45, "column": 66 }, "end": { "line": 45, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1602, "end": 1603, "loc": { "start": { "line": 45, "column": 74 }, "end": { "line": 45, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 1603, "end": 1612, "loc": { "start": { "line": 45, "column": 75 }, "end": { "line": 45, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1612, "end": 1613, "loc": { "start": { "line": 45, "column": 84 }, "end": { "line": 45, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1613, "end": 1614, "loc": { "start": { "line": 45, "column": 85 }, "end": { "line": 45, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 45, "column": 86 }, "end": { "line": 45, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fakeObject", "start": 1625, "end": 1635, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1635, "end": 1636, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1636, "end": 1640, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1641, "end": 1642, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1643, "end": 1647, "loc": { "start": { "line": 46, "column": 26 }, "end": { "line": 46, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1647, "end": 1648, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 31 } } }, { "type": "CommentLine", "value": " Deserialize the data", "start": 1660, "end": 1683, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 31 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1693, "end": 1698, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "errorCodeDeserialize", "start": 1699, "end": 1719, "loc": { "start": { "line": 49, "column": 14 }, "end": { "line": 49, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1720, "end": 1721, "loc": { "start": { "line": 49, "column": 35 }, "end": { "line": 49, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fakeObject", "start": 1722, "end": 1732, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1732, "end": 1733, "loc": { "start": { "line": 49, "column": 47 }, "end": { "line": 49, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deserialize", "start": 1733, "end": 1744, "loc": { "start": { "line": 49, "column": 48 }, "end": { "line": 49, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1744, "end": 1745, "loc": { "start": { "line": 49, "column": 59 }, "end": { "line": 49, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1745, "end": 1749, "loc": { "start": { "line": 49, "column": 60 }, "end": { "line": 49, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1749, "end": 1750, "loc": { "start": { "line": 49, "column": 64 }, "end": { "line": 49, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1750, "end": 1751, "loc": { "start": { "line": 49, "column": 65 }, "end": { "line": 49, "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": 1761, "end": 1763, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1764, "end": 1765, "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "errorCodeDeserialize", "start": 1765, "end": 1785, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1785, "end": 1786, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1787, "end": 1788, "loc": { "start": { "line": 50, "column": 34 }, "end": { "line": 50, "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": 1802, "end": 1808, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "errorCodeDeserialize", "start": 1809, "end": 1829, "loc": { "start": { "line": 51, "column": 19 }, "end": { "line": 51, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1829, "end": 1830, "loc": { "start": { "line": 51, "column": 39 }, "end": { "line": 51, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1840, "end": 1841, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 9 } } }, { "type": "CommentLine", "value": " Compute other properties", "start": 1853, "end": 1880, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fakeObject", "start": 1890, "end": 1900, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1900, "end": 1901, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 1901, "end": 1905, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1905, "end": 1906, "loc": { "start": { "line": 55, "column": 23 }, "end": { "line": 55, "column": 24 } } }, { "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": 1906, "end": 1911, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 55, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1911, "end": 1912, "loc": { "start": { "line": 55, "column": 29 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1912, "end": 1913, "loc": { "start": { "line": 55, "column": 30 }, "end": { "line": 55, "column": 31 } } }, { "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": 1925, "end": 1931, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fakeObject", "start": 1932, "end": 1942, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1942, "end": 1943, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1949, "end": 1950, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n * @param {Array} entityPath\r\n ", "start": 1958, "end": 2043, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 63, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 2049, "end": 2060, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2060, "end": 2061, "loc": { "start": { "line": 64, "column": 15 }, "end": { "line": 64, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2061, "end": 2065, "loc": { "start": { "line": 64, "column": 16 }, "end": { "line": 64, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2065, "end": 2066, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 2067, "end": 2077, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2077, "end": 2078, "loc": { "start": { "line": 64, "column": 32 }, "end": { "line": 64, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2079, "end": 2080, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 35 } } }, { "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": 2090, "end": 2095, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 13 } } }, { "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": 65, "column": 13 }, "end": { "line": 65, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2096, "end": 2097, "loc": { "start": { "line": 65, "column": 14 }, "end": { "line": 65, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2097, "end": 2098, "loc": { "start": { "line": 65, "column": 15 }, "end": { "line": 65, "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": 2108, "end": 2112, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2112, "end": 2113, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2113, "end": 2117, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2118, "end": 2119, "loc": { "start": { "line": 66, "column": 18 }, "end": { "line": 66, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2120, "end": 2124, "loc": { "start": { "line": 66, "column": 20 }, "end": { "line": 66, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2124, "end": 2125, "loc": { "start": { "line": 66, "column": 24 }, "end": { "line": 66, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 2137, "end": 2143, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2143, "end": 2144, "loc": { "start": { "line": 68, "column": 14 }, "end": { "line": 68, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 2144, "end": 2154, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2154, "end": 2155, "loc": { "start": { "line": 68, "column": 25 }, "end": { "line": 68, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2155, "end": 2161, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 32 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 2162, "end": 2163, "loc": { "start": { "line": 68, "column": 33 }, "end": { "line": 68, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2164, "end": 2165, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2165, "end": 2166, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "invalid entity path", "start": 2167, "end": 2188, "loc": { "start": { "line": 68, "column": 38 }, "end": { "line": 68, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2188, "end": 2189, "loc": { "start": { "line": 68, "column": 59 }, "end": { "line": 68, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2189, "end": 2190, "loc": { "start": { "line": 68, "column": 60 }, "end": { "line": 68, "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": 2200, "end": 2204, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2204, "end": 2205, "loc": { "start": { "line": 69, "column": 12 }, "end": { "line": 69, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 2205, "end": 2215, "loc": { "start": { "line": 69, "column": 13 }, "end": { "line": 69, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2216, "end": 2217, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 2218, "end": 2228, "loc": { "start": { "line": 69, "column": 26 }, "end": { "line": 69, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2228, "end": 2229, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the items sorted, and their distance to the previous item (or start)\r\n * Layout: [distanceToNext, item]\r\n * @type {Array<[number, BaseItem]>}\r\n ", "start": 2241, "end": 2434, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 75, "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": 2444, "end": 2448, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2448, "end": 2449, "loc": { "start": { "line": 76, "column": 12 }, "end": { "line": 76, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 2449, "end": 2454, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2455, "end": 2456, "loc": { "start": { "line": 76, "column": 19 }, "end": { "line": 76, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2457, "end": 2458, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 22 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2458, "end": 2459, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2459, "end": 2460, "loc": { "start": { "line": 76, "column": 23 }, "end": { "line": 76, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the spacing to the first item\r\n ", "start": 2472, "end": 2537, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 80, "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": 2549, "end": 2553, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2553, "end": 2554, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 2554, "end": 2558, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2558, "end": 2559, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2559, "end": 2560, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 82, "column": 19 }, "end": { "line": 82, "column": 20 } } }, { "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": 2573, "end": 2575, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2576, "end": 2577, "loc": { "start": { "line": 84, "column": 11 }, "end": { "line": 84, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 2577, "end": 2585, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 2586, "end": 2588, "loc": { "start": { "line": 84, "column": 21 }, "end": { "line": 84, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2589, "end": 2601, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2601, "end": 2602, "loc": { "start": { "line": 84, "column": 36 }, "end": { "line": 84, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 2602, "end": 2607, "loc": { "start": { "line": 84, "column": 37 }, "end": { "line": 84, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2607, "end": 2608, "loc": { "start": { "line": 84, "column": 42 }, "end": { "line": 84, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 2608, "end": 2622, "loc": { "start": { "line": 84, "column": 43 }, "end": { "line": 84, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2622, "end": 2623, "loc": { "start": { "line": 84, "column": 57 }, "end": { "line": 84, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2624, "end": 2625, "loc": { "start": { "line": 84, "column": 59 }, "end": { "line": 84, "column": 60 } } }, { "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": 2639, "end": 2643, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2643, "end": 2644, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 2644, "end": 2664, "loc": { "start": { "line": 85, "column": 17 }, "end": { "line": 85, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2664, "end": 2665, "loc": { "start": { "line": 85, "column": 37 }, "end": { "line": 85, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "constructor", "start": 2665, "end": 2678, "loc": { "start": { "line": 85, "column": 38 }, "end": { "line": 85, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2678, "end": 2679, "loc": { "start": { "line": 85, "column": 51 }, "end": { "line": 85, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2679, "end": 2680, "loc": { "start": { "line": 85, "column": 52 }, "end": { "line": 85, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2690, "end": 2691, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2697, "end": 2698, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes the path by computing the properties which are not saved\r\n * @param {boolean} computeSpacing Whether to also compute the spacing\r\n ", "start": 2704, "end": 2869, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 91, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 2875, "end": 2879, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2879, "end": 2880, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeSpacing", "start": 2880, "end": 2894, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2895, "end": 2896, "loc": { "start": { "line": 92, "column": 24 }, "end": { "line": 92, "column": 25 } } }, { "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": 2897, "end": 2901, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2901, "end": 2902, "loc": { "start": { "line": 92, "column": 30 }, "end": { "line": 92, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2903, "end": 2904, "loc": { "start": { "line": 92, "column": 32 }, "end": { "line": 92, "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": 2914, "end": 2918, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2918, "end": 2919, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 2919, "end": 2932, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2932, "end": 2933, "loc": { "start": { "line": 93, "column": 26 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2933, "end": 2934, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2934, "end": 2935, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2947, "end": 2951, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2951, "end": 2952, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 2952, "end": 2963, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2964, "end": 2965, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "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": 2966, "end": 2970, "loc": { "start": { "line": 95, "column": 27 }, "end": { "line": 95, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2970, "end": 2971, "loc": { "start": { "line": 95, "column": 31 }, "end": { "line": 95, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeTotalLength", "start": 2971, "end": 2989, "loc": { "start": { "line": 95, "column": 32 }, "end": { "line": 95, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2989, "end": 2990, "loc": { "start": { "line": 95, "column": 50 }, "end": { "line": 95, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2990, "end": 2991, "loc": { "start": { "line": 95, "column": 51 }, "end": { "line": 95, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2991, "end": 2992, "loc": { "start": { "line": 95, "column": 52 }, "end": { "line": 95, "column": 53 } } }, { "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": 3004, "end": 3006, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3007, "end": 3008, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeSpacing", "start": 3008, "end": 3022, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3022, "end": 3023, "loc": { "start": { "line": 97, "column": 26 }, "end": { "line": 97, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3024, "end": 3025, "loc": { "start": { "line": 97, "column": 28 }, "end": { "line": 97, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3039, "end": 3043, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3043, "end": 3044, "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 98, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 3044, "end": 3062, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3063, "end": 3064, "loc": { "start": { "line": 98, "column": 36 }, "end": { "line": 98, "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": 3065, "end": 3069, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 98, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3069, "end": 3070, "loc": { "start": { "line": 98, "column": 42 }, "end": { "line": 98, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 3070, "end": 3081, "loc": { "start": { "line": 98, "column": 43 }, "end": { "line": 98, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3081, "end": 3082, "loc": { "start": { "line": 98, "column": 54 }, "end": { "line": 98, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3092, "end": 3093, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Current bounds of this path\r\n * @type {Rectangle}\r\n ", "start": 3105, "end": 3191, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 104, "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": 3201, "end": 3205, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3205, "end": 3206, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 3206, "end": 3217, "loc": { "start": { "line": 105, "column": 13 }, "end": { "line": 105, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3218, "end": 3219, "loc": { "start": { "line": 105, "column": 25 }, "end": { "line": 105, "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": 3220, "end": 3224, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3224, "end": 3225, "loc": { "start": { "line": 105, "column": 31 }, "end": { "line": 105, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 3225, "end": 3238, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3238, "end": 3239, "loc": { "start": { "line": 105, "column": 45 }, "end": { "line": 105, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3239, "end": 3240, "loc": { "start": { "line": 105, "column": 46 }, "end": { "line": 105, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3240, "end": 3241, "loc": { "start": { "line": 105, "column": 47 }, "end": { "line": 105, "column": 48 } } }, { "type": "CommentLine", "value": " Connect the belts", "start": 3253, "end": 3273, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 28 } } }, { "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": 3283, "end": 3286, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3287, "end": 3288, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "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": 3288, "end": 3291, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3292, "end": 3293, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3294, "end": 3295, "loc": { "start": { "line": 108, "column": 19 }, "end": { "line": 108, "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": 3296, "end": 3297, "loc": { "start": { "line": 108, "column": 21 }, "end": { "line": 108, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3297, "end": 3298, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3299, "end": 3300, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3301, "end": 3302, "loc": { "start": { "line": 108, "column": 26 }, "end": { "line": 108, "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": 3303, "end": 3307, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3307, "end": 3308, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 3308, "end": 3318, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3318, "end": 3319, "loc": { "start": { "line": 108, "column": 43 }, "end": { "line": 108, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3319, "end": 3325, "loc": { "start": { "line": 108, "column": 44 }, "end": { "line": 108, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3325, "end": 3326, "loc": { "start": { "line": 108, "column": 50 }, "end": { "line": 108, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3327, "end": 3329, "loc": { "start": { "line": 108, "column": 52 }, "end": { "line": 108, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3329, "end": 3330, "loc": { "start": { "line": 108, "column": 54 }, "end": { "line": 108, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3330, "end": 3331, "loc": { "start": { "line": 108, "column": 55 }, "end": { "line": 108, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3332, "end": 3333, "loc": { "start": { "line": 108, "column": 57 }, "end": { "line": 108, "column": 58 } } }, { "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": 3347, "end": 3351, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3351, "end": 3352, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 3352, "end": 3362, "loc": { "start": { "line": 109, "column": 17 }, "end": { "line": 109, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3362, "end": 3363, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3363, "end": 3364, "loc": { "start": { "line": 109, "column": 28 }, "end": { "line": 109, "column": 29 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3364, "end": 3365, "loc": { "start": { "line": 109, "column": 29 }, "end": { "line": 109, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 109, "column": 30 }, "end": { "line": 109, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3366, "end": 3376, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3376, "end": 3377, "loc": { "start": { "line": 109, "column": 41 }, "end": { "line": 109, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 3377, "end": 3381, "loc": { "start": { "line": 109, "column": 42 }, "end": { "line": 109, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3381, "end": 3382, "loc": { "start": { "line": 109, "column": 46 }, "end": { "line": 109, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 3382, "end": 3394, "loc": { "start": { "line": 109, "column": 47 }, "end": { "line": 109, "column": 59 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3395, "end": 3396, "loc": { "start": { "line": 109, "column": 60 }, "end": { "line": 109, "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": 3397, "end": 3401, "loc": { "start": { "line": 109, "column": 62 }, "end": { "line": 109, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3401, "end": 3402, "loc": { "start": { "line": 109, "column": 66 }, "end": { "line": 109, "column": 67 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3412, "end": 3413, "loc": { "start": { "line": 110, "column": 8 }, "end": { "line": 110, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3419, "end": 3420, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns whether this path can accept a new item\r\n * @returns {boolean}\r\n ", "start": 3428, "end": 3523, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 116, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canAcceptItem", "start": 3529, "end": 3542, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 117, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3542, "end": 3543, "loc": { "start": { "line": 117, "column": 17 }, "end": { "line": 117, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3543, "end": 3544, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3545, "end": 3546, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "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": 3556, "end": 3562, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "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": 3563, "end": 3567, "loc": { "start": { "line": 118, "column": 15 }, "end": { "line": 118, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3567, "end": 3568, "loc": { "start": { "line": 118, "column": 19 }, "end": { "line": 118, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 3568, "end": 3586, "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 38 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 3587, "end": 3589, "loc": { "start": { "line": 118, "column": 39 }, "end": { "line": 118, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3590, "end": 3602, "loc": { "start": { "line": 118, "column": 42 }, "end": { "line": 118, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3602, "end": 3603, "loc": { "start": { "line": 118, "column": 54 }, "end": { "line": 118, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 3603, "end": 3621, "loc": { "start": { "line": 118, "column": 55 }, "end": { "line": 118, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3621, "end": 3622, "loc": { "start": { "line": 118, "column": 73 }, "end": { "line": 118, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3628, "end": 3629, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Tries to accept the item\r\n * @param {BaseItem} item\r\n ", "start": 3637, "end": 3713, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 124, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryAcceptItem", "start": 3719, "end": 3732, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3732, "end": 3733, "loc": { "start": { "line": 125, "column": 17 }, "end": { "line": 125, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 3733, "end": 3737, "loc": { "start": { "line": 125, "column": 18 }, "end": { "line": 125, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3737, "end": 3738, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 125, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3739, "end": 3740, "loc": { "start": { "line": 125, "column": 24 }, "end": { "line": 125, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3750, "end": 3752, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3753, "end": 3754, "loc": { "start": { "line": 126, "column": 11 }, "end": { "line": 126, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3754, "end": 3758, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3758, "end": 3759, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 3759, "end": 3777, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 35 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 3778, "end": 3780, "loc": { "start": { "line": 126, "column": 36 }, "end": { "line": 126, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3781, "end": 3793, "loc": { "start": { "line": 126, "column": 39 }, "end": { "line": 126, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3793, "end": 3794, "loc": { "start": { "line": 126, "column": 51 }, "end": { "line": 126, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 3794, "end": 3812, "loc": { "start": { "line": 126, "column": 52 }, "end": { "line": 126, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3812, "end": 3813, "loc": { "start": { "line": 126, "column": 70 }, "end": { "line": 126, "column": 71 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3814, "end": 3815, "loc": { "start": { "line": 126, "column": 72 }, "end": { "line": 126, "column": 73 } } }, { "type": "CommentLine", "value": " So, since we already need one tick to accept this item we will add this directly.", "start": 3829, "end": 3913, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 96 } } }, { "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": 3927, "end": 3932, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltProgressPerTick", "start": 3933, "end": 3952, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3953, "end": 3954, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "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": 3972, "end": 3976, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3976, "end": 3977, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3977, "end": 3981, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3981, "end": 3982, "loc": { "start": { "line": 129, "column": 25 }, "end": { "line": 129, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 3982, "end": 3990, "loc": { "start": { "line": 129, "column": 26 }, "end": { "line": 129, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3990, "end": 3991, "loc": { "start": { "line": 129, "column": 34 }, "end": { "line": 129, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBeltBaseSpeed", "start": 3991, "end": 4007, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4007, "end": 4008, "loc": { "start": { "line": 129, "column": 51 }, "end": { "line": 129, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4008, "end": 4009, "loc": { "start": { "line": 129, "column": 52 }, "end": { "line": 129, "column": 53 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 4010, "end": 4011, "loc": { "start": { "line": 129, "column": 54 }, "end": { "line": 129, "column": 55 } } }, { "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": 4029, "end": 4033, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4033, "end": 4034, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4034, "end": 4038, "loc": { "start": { "line": 130, "column": 21 }, "end": { "line": 130, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4038, "end": 4039, "loc": { "start": { "line": 130, "column": 25 }, "end": { "line": 130, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dynamicTickrate", "start": 4039, "end": 4054, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4054, "end": 4055, "loc": { "start": { "line": 130, "column": 41 }, "end": { "line": 130, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deltaSeconds", "start": 4055, "end": 4067, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 54 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 4068, "end": 4069, "loc": { "start": { "line": 130, "column": 55 }, "end": { "line": 130, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 4087, "end": 4099, "loc": { "start": { "line": 131, "column": 16 }, "end": { "line": 131, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4099, "end": 4100, "loc": { "start": { "line": 131, "column": 28 }, "end": { "line": 131, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 4100, "end": 4118, "loc": { "start": { "line": 131, "column": 29 }, "end": { "line": 131, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4118, "end": 4119, "loc": { "start": { "line": 131, "column": 47 }, "end": { "line": 131, "column": 48 } } }, { "type": "CommentLine", "value": " First, compute how much progress we can make *at max*", "start": 4135, "end": 4191, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "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": 4205, "end": 4210, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxProgress", "start": 4211, "end": 4222, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4223, "end": 4224, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 4225, "end": 4229, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4229, "end": 4230, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 4230, "end": 4233, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4233, "end": 4234, "loc": { "start": { "line": 134, "column": 40 }, "end": { "line": 134, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4234, "end": 4235, "loc": { "start": { "line": 134, "column": 41 }, "end": { "line": 134, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4235, "end": 4236, "loc": { "start": { "line": 134, "column": 42 }, "end": { "line": 134, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4237, "end": 4241, "loc": { "start": { "line": 134, "column": 44 }, "end": { "line": 134, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4241, "end": 4242, "loc": { "start": { "line": 134, "column": 48 }, "end": { "line": 134, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 4242, "end": 4260, "loc": { "start": { "line": 134, "column": 49 }, "end": { "line": 134, "column": 67 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4261, "end": 4262, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 4263, "end": 4275, "loc": { "start": { "line": 134, "column": 70 }, "end": { "line": 134, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4275, "end": 4276, "loc": { "start": { "line": 134, "column": 82 }, "end": { "line": 134, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 4276, "end": 4294, "loc": { "start": { "line": 134, "column": 83 }, "end": { "line": 134, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4294, "end": 4295, "loc": { "start": { "line": 134, "column": 101 }, "end": { "line": 134, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4295, "end": 4296, "loc": { "start": { "line": 134, "column": 102 }, "end": { "line": 134, "column": 103 } } }, { "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": 4310, "end": 4315, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialProgress", "start": 4316, "end": 4331, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4332, "end": 4333, "loc": { "start": { "line": 135, "column": 34 }, "end": { "line": 135, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 4334, "end": 4338, "loc": { "start": { "line": 135, "column": 36 }, "end": { "line": 135, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4338, "end": 4339, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 4339, "end": 4342, "loc": { "start": { "line": 135, "column": 41 }, "end": { "line": 135, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 135, "column": 44 }, "end": { "line": 135, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxProgress", "start": 4343, "end": 4354, "loc": { "start": { "line": 135, "column": 45 }, "end": { "line": 135, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4354, "end": 4355, "loc": { "start": { "line": 135, "column": 56 }, "end": { "line": 135, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltProgressPerTick", "start": 4356, "end": 4375, "loc": { "start": { "line": 135, "column": 58 }, "end": { "line": 135, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4375, "end": 4376, "loc": { "start": { "line": 135, "column": 77 }, "end": { "line": 135, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4376, "end": 4377, "loc": { "start": { "line": 135, "column": 78 }, "end": { "line": 135, "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": 4393, "end": 4397, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4397, "end": 4398, "loc": { "start": { "line": 137, "column": 16 }, "end": { "line": 137, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 4398, "end": 4403, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4403, "end": 4404, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unshift", "start": 4404, "end": 4411, "loc": { "start": { "line": 137, "column": 23 }, "end": { "line": 137, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4411, "end": 4412, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4412, "end": 4413, "loc": { "start": { "line": 137, "column": 31 }, "end": { "line": 137, "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": 4413, "end": 4417, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4417, "end": 4418, "loc": { "start": { "line": 137, "column": 36 }, "end": { "line": 137, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 4418, "end": 4436, "loc": { "start": { "line": 137, "column": 37 }, "end": { "line": 137, "column": 55 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4437, "end": 4438, "loc": { "start": { "line": 137, "column": 56 }, "end": { "line": 137, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialProgress", "start": 4439, "end": 4454, "loc": { "start": { "line": 137, "column": 58 }, "end": { "line": 137, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4454, "end": 4455, "loc": { "start": { "line": 137, "column": 73 }, "end": { "line": 137, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 4456, "end": 4460, "loc": { "start": { "line": 137, "column": 75 }, "end": { "line": 137, "column": 79 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4460, "end": 4461, "loc": { "start": { "line": 137, "column": 79 }, "end": { "line": 137, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4461, "end": 4462, "loc": { "start": { "line": 137, "column": 80 }, "end": { "line": 137, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4462, "end": 4463, "loc": { "start": { "line": 137, "column": 81 }, "end": { "line": 137, "column": 82 } } }, { "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": 4477, "end": 4481, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4481, "end": 4482, "loc": { "start": { "line": 138, "column": 16 }, "end": { "line": 138, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 4482, "end": 4500, "loc": { "start": { "line": 138, "column": 17 }, "end": { "line": 138, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4501, "end": 4502, "loc": { "start": { "line": 138, "column": 36 }, "end": { "line": 138, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialProgress", "start": 4503, "end": 4518, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 138, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4518, "end": 4519, "loc": { "start": { "line": 138, "column": 53 }, "end": { "line": 138, "column": 54 } } }, { "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": 4535, "end": 4537, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4538, "end": 4539, "loc": { "start": { "line": 140, "column": 15 }, "end": { "line": 140, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 4539, "end": 4547, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4548, "end": 4550, "loc": { "start": { "line": 140, "column": 25 }, "end": { "line": 140, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 4551, "end": 4563, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4563, "end": 4564, "loc": { "start": { "line": 140, "column": 40 }, "end": { "line": 140, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 4564, "end": 4569, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4569, "end": 4570, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 140, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 4570, "end": 4584, "loc": { "start": { "line": 140, "column": 47 }, "end": { "line": 140, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4584, "end": 4585, "loc": { "start": { "line": 140, "column": 61 }, "end": { "line": 140, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4586, "end": 4587, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "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": 4605, "end": 4609, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4609, "end": 4610, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 4610, "end": 4630, "loc": { "start": { "line": 141, "column": 21 }, "end": { "line": 141, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4630, "end": 4631, "loc": { "start": { "line": 141, "column": 41 }, "end": { "line": 141, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "accept-item", "start": 4631, "end": 4644, "loc": { "start": { "line": 141, "column": 42 }, "end": { "line": 141, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4644, "end": 4645, "loc": { "start": { "line": 141, "column": 55 }, "end": { "line": 141, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4645, "end": 4646, "loc": { "start": { "line": 141, "column": 56 }, "end": { "line": 141, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4660, "end": 4661, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "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": 4677, "end": 4683, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 144, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 4684, "end": 4688, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4688, "end": 4689, "loc": { "start": { "line": 144, "column": 23 }, "end": { "line": 144, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4699, "end": 4700, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 4710, "end": 4716, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 4717, "end": 4722, "loc": { "start": { "line": 146, "column": 15 }, "end": { "line": 146, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4722, "end": 4723, "loc": { "start": { "line": 146, "column": 20 }, "end": { "line": 146, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4729, "end": 4730, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * SLOW / Tries to find the item closest to the given tile\r\n * @param {Vector} tile\r\n * @returns {BaseItem|null}\r\n ", "start": 4738, "end": 4876, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 153, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findItemAtTile", "start": 4882, "end": 4896, "loc": { "start": { "line": 154, "column": 4 }, "end": { "line": 154, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4896, "end": 4897, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 4897, "end": 4901, "loc": { "start": { "line": 154, "column": 19 }, "end": { "line": 154, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4901, "end": 4902, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4903, "end": 4904, "loc": { "start": { "line": 154, "column": 25 }, "end": { "line": 154, "column": 26 } } }, { "type": "CommentLine", "value": " @TODO: This breaks color blind mode otherwise", "start": 4914, "end": 4962, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 56 } } }, { "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": 4972, "end": 4978, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 14 } } }, { "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": 4979, "end": 4983, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4983, "end": 4984, "loc": { "start": { "line": 156, "column": 19 }, "end": { "line": 156, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4990, "end": 4991, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Computes the tile bounds of the path\r\n * @returns {Rectangle}\r\n ", "start": 4999, "end": 5085, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 5091, "end": 5104, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5104, "end": 5105, "loc": { "start": { "line": 163, "column": 17 }, "end": { "line": 163, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5105, "end": 5106, "loc": { "start": { "line": 163, "column": 18 }, "end": { "line": 163, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5107, "end": 5108, "loc": { "start": { "line": 163, "column": 20 }, "end": { "line": 163, "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": 5118, "end": 5121, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5122, "end": 5128, "loc": { "start": { "line": 164, "column": 12 }, "end": { "line": 164, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5129, "end": 5130, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "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": 5131, "end": 5135, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5135, "end": 5136, "loc": { "start": { "line": 164, "column": 25 }, "end": { "line": 164, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 5136, "end": 5146, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5146, "end": 5147, "loc": { "start": { "line": 164, "column": 36 }, "end": { "line": 164, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5147, "end": 5148, "loc": { "start": { "line": 164, "column": 37 }, "end": { "line": 164, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5148, "end": 5149, "loc": { "start": { "line": 164, "column": 38 }, "end": { "line": 164, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5149, "end": 5150, "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": "components", "start": 5150, "end": 5160, "loc": { "start": { "line": 164, "column": 40 }, "end": { "line": 164, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5160, "end": 5161, "loc": { "start": { "line": 164, "column": 50 }, "end": { "line": 164, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 5161, "end": 5176, "loc": { "start": { "line": 164, "column": 51 }, "end": { "line": 164, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5176, "end": 5177, "loc": { "start": { "line": 164, "column": 66 }, "end": { "line": 164, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileSpaceBounds", "start": 5177, "end": 5195, "loc": { "start": { "line": 164, "column": 67 }, "end": { "line": 164, "column": 85 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5195, "end": 5196, "loc": { "start": { "line": 164, "column": 85 }, "end": { "line": 164, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5196, "end": 5197, "loc": { "start": { "line": 164, "column": 86 }, "end": { "line": 164, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5197, "end": 5198, "loc": { "start": { "line": 164, "column": 87 }, "end": { "line": 164, "column": 88 } } }, { "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": 5208, "end": 5211, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5212, "end": 5213, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "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": 5213, "end": 5216, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5217, "end": 5218, "loc": { "start": { "line": 165, "column": 17 }, "end": { "line": 165, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5219, "end": 5220, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5221, "end": 5222, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5222, "end": 5223, "loc": { "start": { "line": 165, "column": 22 }, "end": { "line": 165, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5224, "end": 5225, "loc": { "start": { "line": 165, "column": 24 }, "end": { "line": 165, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 5226, "end": 5227, "loc": { "start": { "line": 165, "column": 26 }, "end": { "line": 165, "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": 5228, "end": 5232, "loc": { "start": { "line": 165, "column": 28 }, "end": { "line": 165, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5232, "end": 5233, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 5233, "end": 5243, "loc": { "start": { "line": 165, "column": 33 }, "end": { "line": 165, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5243, "end": 5244, "loc": { "start": { "line": 165, "column": 43 }, "end": { "line": 165, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5244, "end": 5250, "loc": { "start": { "line": 165, "column": 44 }, "end": { "line": 165, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5250, "end": 5251, "loc": { "start": { "line": 165, "column": 50 }, "end": { "line": 165, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5252, "end": 5254, "loc": { "start": { "line": 165, "column": 52 }, "end": { "line": 165, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5254, "end": 5255, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5255, "end": 5256, "loc": { "start": { "line": 165, "column": 55 }, "end": { "line": 165, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5257, "end": 5258, "loc": { "start": { "line": 165, "column": 57 }, "end": { "line": 165, "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": 5272, "end": 5277, "loc": { "start": { "line": 166, "column": 12 }, "end": { "line": 166, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 5278, "end": 5288, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5289, "end": 5290, "loc": { "start": { "line": 166, "column": 29 }, "end": { "line": 166, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5291, "end": 5295, "loc": { "start": { "line": 166, "column": 31 }, "end": { "line": 166, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5295, "end": 5296, "loc": { "start": { "line": 166, "column": 35 }, "end": { "line": 166, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 5296, "end": 5306, "loc": { "start": { "line": 166, "column": 36 }, "end": { "line": 166, "column": 46 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5306, "end": 5307, "loc": { "start": { "line": 166, "column": 46 }, "end": { "line": 166, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5307, "end": 5308, "loc": { "start": { "line": 166, "column": 47 }, "end": { "line": 166, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5308, "end": 5309, "loc": { "start": { "line": 166, "column": 48 }, "end": { "line": 166, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5309, "end": 5310, "loc": { "start": { "line": 166, "column": 49 }, "end": { "line": 166, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 5310, "end": 5320, "loc": { "start": { "line": 166, "column": 50 }, "end": { "line": 166, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5320, "end": 5321, "loc": { "start": { "line": 166, "column": 60 }, "end": { "line": 166, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 5321, "end": 5336, "loc": { "start": { "line": 166, "column": 61 }, "end": { "line": 166, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5336, "end": 5337, "loc": { "start": { "line": 166, "column": 76 }, "end": { "line": 166, "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": 5351, "end": 5356, "loc": { "start": { "line": 167, "column": 12 }, "end": { "line": 167, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherBounds", "start": 5357, "end": 5368, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5369, "end": 5370, "loc": { "start": { "line": 167, "column": 30 }, "end": { "line": 167, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 5371, "end": 5381, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5381, "end": 5382, "loc": { "start": { "line": 167, "column": 42 }, "end": { "line": 167, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileSpaceBounds", "start": 5382, "end": 5400, "loc": { "start": { "line": 167, "column": 43 }, "end": { "line": 167, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5400, "end": 5401, "loc": { "start": { "line": 167, "column": 61 }, "end": { "line": 167, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5401, "end": 5402, "loc": { "start": { "line": 167, "column": 62 }, "end": { "line": 167, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5402, "end": 5403, "loc": { "start": { "line": 167, "column": 63 }, "end": { "line": 167, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5417, "end": 5423, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5424, "end": 5425, "loc": { "start": { "line": 168, "column": 19 }, "end": { "line": 168, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5426, "end": 5432, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5432, "end": 5433, "loc": { "start": { "line": 168, "column": 27 }, "end": { "line": 168, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUnion", "start": 5433, "end": 5441, "loc": { "start": { "line": 168, "column": 28 }, "end": { "line": 168, "column": 36 } } }, { "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": 168, "column": 36 }, "end": { "line": 168, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherBounds", "start": 5442, "end": 5453, "loc": { "start": { "line": 168, "column": 37 }, "end": { "line": 168, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5453, "end": 5454, "loc": { "start": { "line": 168, "column": 48 }, "end": { "line": 168, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5454, "end": 5455, "loc": { "start": { "line": 168, "column": 49 }, "end": { "line": 168, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5465, "end": 5466, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 5476, "end": 5482, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5483, "end": 5489, "loc": { "start": { "line": 170, "column": 15 }, "end": { "line": 170, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5489, "end": 5490, "loc": { "start": { "line": 170, "column": 21 }, "end": { "line": 170, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allScaled", "start": 5490, "end": 5499, "loc": { "start": { "line": 170, "column": 22 }, "end": { "line": 170, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5499, "end": 5500, "loc": { "start": { "line": 170, "column": 31 }, "end": { "line": 170, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 5500, "end": 5512, "loc": { "start": { "line": 170, "column": 32 }, "end": { "line": 170, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5512, "end": 5513, "loc": { "start": { "line": 170, "column": 44 }, "end": { "line": 170, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 5513, "end": 5521, "loc": { "start": { "line": 170, "column": 45 }, "end": { "line": 170, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5521, "end": 5522, "loc": { "start": { "line": 170, "column": 53 }, "end": { "line": 170, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5522, "end": 5523, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5529, "end": 5530, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Recomputes cache variables once the path was changed\r\n ", "start": 5538, "end": 5611, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 5617, "end": 5630, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5630, "end": 5631, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5631, "end": 5632, "loc": { "start": { "line": 176, "column": 18 }, "end": { "line": 176, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5633, "end": 5634, "loc": { "start": { "line": 176, "column": 20 }, "end": { "line": 176, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5644, "end": 5648, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 12 } } }, { "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": 177, "column": 12 }, "end": { "line": 177, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 5649, "end": 5663, "loc": { "start": { "line": 177, "column": 13 }, "end": { "line": 177, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5664, "end": 5665, "loc": { "start": { "line": 177, "column": 28 }, "end": { "line": 177, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5666, "end": 5670, "loc": { "start": { "line": 177, "column": 30 }, "end": { "line": 177, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5670, "end": 5671, "loc": { "start": { "line": 177, "column": 34 }, "end": { "line": 177, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeAcceptingEntityAndSlot", "start": 5671, "end": 5700, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5700, "end": 5701, "loc": { "start": { "line": 177, "column": 64 }, "end": { "line": 177, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5701, "end": 5702, "loc": { "start": { "line": 177, "column": 65 }, "end": { "line": 177, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5702, "end": 5703, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 67 } } }, { "type": "CommentBlock", "value": "*\r\n * How many items past the first item are compressed\r\n ", "start": 5715, "end": 5793, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 181, "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": 5803, "end": 5807, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5807, "end": 5808, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 5808, "end": 5840, "loc": { "start": { "line": 182, "column": 13 }, "end": { "line": 182, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5841, "end": 5842, "loc": { "start": { "line": 182, "column": 46 }, "end": { "line": 182, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5843, "end": 5844, "loc": { "start": { "line": 182, "column": 48 }, "end": { "line": 182, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5844, "end": 5845, "loc": { "start": { "line": 182, "column": 49 }, "end": { "line": 182, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5851, "end": 5852, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 183, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by the belt system when the surroundings changed\r\n ", "start": 5860, "end": 5936, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 187, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onSurroundingsChanged", "start": 5942, "end": 5963, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5963, "end": 5964, "loc": { "start": { "line": 188, "column": 25 }, "end": { "line": 188, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5964, "end": 5965, "loc": { "start": { "line": 188, "column": 26 }, "end": { "line": 188, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5966, "end": 5967, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5977, "end": 5981, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5981, "end": 5982, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 5982, "end": 5995, "loc": { "start": { "line": 189, "column": 13 }, "end": { "line": 189, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5995, "end": 5996, "loc": { "start": { "line": 189, "column": 26 }, "end": { "line": 189, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5996, "end": 5997, "loc": { "start": { "line": 189, "column": 27 }, "end": { "line": 189, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5997, "end": 5998, "loc": { "start": { "line": 189, "column": 28 }, "end": { "line": 189, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6004, "end": 6005, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds the entity which accepts our items\r\n * @param {boolean=} debug_Silent Whether debug output should be silent\r\n * @return {{ entity: Entity, slot: number, direction?: enumDirection }}\r\n ", "start": 6013, "end": 6229, "loc": { "start": { "line": 192, "column": 4 }, "end": { "line": 196, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeAcceptingEntityAndSlot", "start": 6235, "end": 6264, "loc": { "start": { "line": 197, "column": 4 }, "end": { "line": 197, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6264, "end": 6265, "loc": { "start": { "line": 197, "column": 33 }, "end": { "line": 197, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_Silent", "start": 6265, "end": 6277, "loc": { "start": { "line": 197, "column": 34 }, "end": { "line": 197, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6278, "end": 6279, "loc": { "start": { "line": 197, "column": 47 }, "end": { "line": 197, "column": 48 } } }, { "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": 6280, "end": 6285, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 197, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6285, "end": 6286, "loc": { "start": { "line": 197, "column": 54 }, "end": { "line": 197, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6287, "end": 6288, "loc": { "start": { "line": 197, "column": 56 }, "end": { "line": 197, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 6298, "end": 6303, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6304, "end": 6306, "loc": { "start": { "line": 198, "column": 14 }, "end": { "line": 198, "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": 6307, "end": 6308, "loc": { "start": { "line": 198, "column": 17 }, "end": { "line": 198, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_Silent", "start": 6308, "end": 6320, "loc": { "start": { "line": 198, "column": 18 }, "end": { "line": 198, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6321, "end": 6323, "loc": { "start": { "line": 198, "column": 31 }, "end": { "line": 198, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 6324, "end": 6330, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6330, "end": 6331, "loc": { "start": { "line": 198, "column": 40 }, "end": { "line": 198, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 6331, "end": 6334, "loc": { "start": { "line": 198, "column": 41 }, "end": { "line": 198, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6334, "end": 6335, "loc": { "start": { "line": 198, "column": 44 }, "end": { "line": 198, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Recomputing acceptor target", "start": 6335, "end": 6364, "loc": { "start": { "line": 198, "column": 45 }, "end": { "line": 198, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6364, "end": 6365, "loc": { "start": { "line": 198, "column": 74 }, "end": { "line": 198, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6365, "end": 6366, "loc": { "start": { "line": 198, "column": 75 }, "end": { "line": 198, "column": 76 } } }, { "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": 6378, "end": 6383, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastEntity", "start": 6384, "end": 6394, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6395, "end": 6396, "loc": { "start": { "line": 200, "column": 25 }, "end": { "line": 200, "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": 6397, "end": 6401, "loc": { "start": { "line": 200, "column": 27 }, "end": { "line": 200, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6401, "end": 6402, "loc": { "start": { "line": 200, "column": 31 }, "end": { "line": 200, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 6402, "end": 6412, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6412, "end": 6413, "loc": { "start": { "line": 200, "column": 42 }, "end": { "line": 200, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6413, "end": 6417, "loc": { "start": { "line": 200, "column": 43 }, "end": { "line": 200, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6417, "end": 6418, "loc": { "start": { "line": 200, "column": 47 }, "end": { "line": 200, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 6418, "end": 6428, "loc": { "start": { "line": 200, "column": 48 }, "end": { "line": 200, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6428, "end": 6429, "loc": { "start": { "line": 200, "column": 58 }, "end": { "line": 200, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6429, "end": 6435, "loc": { "start": { "line": 200, "column": 59 }, "end": { "line": 200, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 6436, "end": 6437, "loc": { "start": { "line": 200, "column": 66 }, "end": { "line": 200, "column": 67 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 6438, "end": 6439, "loc": { "start": { "line": 200, "column": 68 }, "end": { "line": 200, "column": 69 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6439, "end": 6440, "loc": { "start": { "line": 200, "column": 69 }, "end": { "line": 200, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6440, "end": 6441, "loc": { "start": { "line": 200, "column": 70 }, "end": { "line": 200, "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": 6451, "end": 6456, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastStatic", "start": 6457, "end": 6467, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6468, "end": 6469, "loc": { "start": { "line": 201, "column": 25 }, "end": { "line": 201, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastEntity", "start": 6470, "end": 6480, "loc": { "start": { "line": 201, "column": 27 }, "end": { "line": 201, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6480, "end": 6481, "loc": { "start": { "line": 201, "column": 37 }, "end": { "line": 201, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 6481, "end": 6491, "loc": { "start": { "line": 201, "column": 38 }, "end": { "line": 201, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6491, "end": 6492, "loc": { "start": { "line": 201, "column": 48 }, "end": { "line": 201, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 6492, "end": 6507, "loc": { "start": { "line": 201, "column": 49 }, "end": { "line": 201, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6507, "end": 6508, "loc": { "start": { "line": 201, "column": 64 }, "end": { "line": 201, "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": 6518, "end": 6523, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastBeltComp", "start": 6524, "end": 6536, "loc": { "start": { "line": 202, "column": 14 }, "end": { "line": 202, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6537, "end": 6538, "loc": { "start": { "line": 202, "column": 27 }, "end": { "line": 202, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastEntity", "start": 6539, "end": 6549, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6549, "end": 6550, "loc": { "start": { "line": 202, "column": 39 }, "end": { "line": 202, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 6550, "end": 6560, "loc": { "start": { "line": 202, "column": 40 }, "end": { "line": 202, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6560, "end": 6561, "loc": { "start": { "line": 202, "column": 50 }, "end": { "line": 202, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 6561, "end": 6565, "loc": { "start": { "line": 202, "column": 51 }, "end": { "line": 202, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6565, "end": 6566, "loc": { "start": { "line": 202, "column": 55 }, "end": { "line": 202, "column": 56 } } }, { "type": "CommentLine", "value": " Figure out where and into which direction we eject items", "start": 6578, "end": 6637, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 67 } } }, { "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": 6647, "end": 6652, "loc": { "start": { "line": 205, "column": 8 }, "end": { "line": 205, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsTile", "start": 6653, "end": 6668, "loc": { "start": { "line": 205, "column": 14 }, "end": { "line": 205, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6669, "end": 6670, "loc": { "start": { "line": 205, "column": 30 }, "end": { "line": 205, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastStatic", "start": 6671, "end": 6681, "loc": { "start": { "line": 205, "column": 32 }, "end": { "line": 205, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6681, "end": 6682, "loc": { "start": { "line": 205, "column": 42 }, "end": { "line": 205, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localTileToWorld", "start": 6682, "end": 6698, "loc": { "start": { "line": 205, "column": 43 }, "end": { "line": 205, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6698, "end": 6699, "loc": { "start": { "line": 205, "column": 59 }, "end": { "line": 205, "column": 60 } } }, { "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": 6699, "end": 6702, "loc": { "start": { "line": 205, "column": 60 }, "end": { "line": 205, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 6703, "end": 6709, "loc": { "start": { "line": 205, "column": 64 }, "end": { "line": 205, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6709, "end": 6710, "loc": { "start": { "line": 205, "column": 70 }, "end": { "line": 205, "column": 71 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6710, "end": 6711, "loc": { "start": { "line": 205, "column": 71 }, "end": { "line": 205, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6711, "end": 6712, "loc": { "start": { "line": 205, "column": 72 }, "end": { "line": 205, "column": 73 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6713, "end": 6714, "loc": { "start": { "line": 205, "column": 74 }, "end": { "line": 205, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6714, "end": 6715, "loc": { "start": { "line": 205, "column": 75 }, "end": { "line": 205, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6715, "end": 6716, "loc": { "start": { "line": 205, "column": 76 }, "end": { "line": 205, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6716, "end": 6717, "loc": { "start": { "line": 205, "column": 77 }, "end": { "line": 205, "column": 78 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6727, "end": 6732, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirection", "start": 6733, "end": 6753, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6754, "end": 6755, "loc": { "start": { "line": 206, "column": 35 }, "end": { "line": 206, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastStatic", "start": 6756, "end": 6766, "loc": { "start": { "line": 206, "column": 37 }, "end": { "line": 206, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6766, "end": 6767, "loc": { "start": { "line": 206, "column": 47 }, "end": { "line": 206, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localDirectionToWorld", "start": 6767, "end": 6788, "loc": { "start": { "line": 206, "column": 48 }, "end": { "line": 206, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6788, "end": 6789, "loc": { "start": { "line": 206, "column": 69 }, "end": { "line": 206, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastBeltComp", "start": 6789, "end": 6801, "loc": { "start": { "line": 206, "column": 70 }, "end": { "line": 206, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6801, "end": 6802, "loc": { "start": { "line": 206, "column": 82 }, "end": { "line": 206, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 6802, "end": 6811, "loc": { "start": { "line": 206, "column": 83 }, "end": { "line": 206, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6811, "end": 6812, "loc": { "start": { "line": 206, "column": 92 }, "end": { "line": 206, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6812, "end": 6813, "loc": { "start": { "line": 206, "column": 93 }, "end": { "line": 206, "column": 94 } } }, { "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": 6823, "end": 6828, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirectionVector", "start": 6829, "end": 6855, "loc": { "start": { "line": 207, "column": 14 }, "end": { "line": 207, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6856, "end": 6857, "loc": { "start": { "line": 207, "column": 41 }, "end": { "line": 207, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirectionToVector", "start": 6858, "end": 6879, "loc": { "start": { "line": 207, "column": 43 }, "end": { "line": 207, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6879, "end": 6880, "loc": { "start": { "line": 207, "column": 64 }, "end": { "line": 207, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirection", "start": 6880, "end": 6900, "loc": { "start": { "line": 207, "column": 65 }, "end": { "line": 207, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6900, "end": 6901, "loc": { "start": { "line": 207, "column": 85 }, "end": { "line": 207, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6901, "end": 6902, "loc": { "start": { "line": 207, "column": 86 }, "end": { "line": 207, "column": 87 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6912, "end": 6917, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotTargetWsTile", "start": 6918, "end": 6939, "loc": { "start": { "line": 208, "column": 14 }, "end": { "line": 208, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6940, "end": 6941, "loc": { "start": { "line": 208, "column": 36 }, "end": { "line": 208, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsTile", "start": 6942, "end": 6957, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6957, "end": 6958, "loc": { "start": { "line": 208, "column": 53 }, "end": { "line": 208, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 6958, "end": 6961, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6961, "end": 6962, "loc": { "start": { "line": 208, "column": 57 }, "end": { "line": 208, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirectionVector", "start": 6962, "end": 6988, "loc": { "start": { "line": 208, "column": 58 }, "end": { "line": 208, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6988, "end": 6989, "loc": { "start": { "line": 208, "column": 84 }, "end": { "line": 208, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6989, "end": 6990, "loc": { "start": { "line": 208, "column": 85 }, "end": { "line": 208, "column": 86 } } }, { "type": "CommentLine", "value": " Try to find the given acceptor component to take the item", "start": 7002, "end": 7062, "loc": { "start": { "line": 210, "column": 8 }, "end": { "line": 210, "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": 7072, "end": 7077, "loc": { "start": { "line": 211, "column": 8 }, "end": { "line": 211, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 7078, "end": 7090, "loc": { "start": { "line": 211, "column": 14 }, "end": { "line": 211, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7091, "end": 7092, "loc": { "start": { "line": 211, "column": 27 }, "end": { "line": 211, "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": 7093, "end": 7097, "loc": { "start": { "line": 211, "column": 29 }, "end": { "line": 211, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7097, "end": 7098, "loc": { "start": { "line": 211, "column": 33 }, "end": { "line": 211, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 7098, "end": 7102, "loc": { "start": { "line": 211, "column": 34 }, "end": { "line": 211, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7102, "end": 7103, "loc": { "start": { "line": 211, "column": 38 }, "end": { "line": 211, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 7103, "end": 7106, "loc": { "start": { "line": 211, "column": 39 }, "end": { "line": 211, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7106, "end": 7107, "loc": { "start": { "line": 211, "column": 42 }, "end": { "line": 211, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayerContentXY", "start": 7107, "end": 7124, "loc": { "start": { "line": 211, "column": 43 }, "end": { "line": 211, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7124, "end": 7125, "loc": { "start": { "line": 211, "column": 60 }, "end": { "line": 211, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotTargetWsTile", "start": 7139, "end": 7160, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7160, "end": 7161, "loc": { "start": { "line": 212, "column": 33 }, "end": { "line": 212, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 7161, "end": 7162, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7162, "end": 7163, "loc": { "start": { "line": 212, "column": 35 }, "end": { "line": 212, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotTargetWsTile", "start": 7177, "end": 7198, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7198, "end": 7199, "loc": { "start": { "line": 213, "column": 33 }, "end": { "line": 213, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 7199, "end": 7200, "loc": { "start": { "line": 213, "column": 34 }, "end": { "line": 213, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7200, "end": 7201, "loc": { "start": { "line": 213, "column": 35 }, "end": { "line": 213, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 7215, "end": 7224, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7234, "end": 7235, "loc": { "start": { "line": 215, "column": 8 }, "end": { "line": 215, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7235, "end": 7236, "loc": { "start": { "line": 215, "column": 9 }, "end": { "line": 215, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7248, "end": 7250, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 217, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7251, "end": 7252, "loc": { "start": { "line": 217, "column": 11 }, "end": { "line": 217, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 7252, "end": 7264, "loc": { "start": { "line": 217, "column": 12 }, "end": { "line": 217, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7264, "end": 7265, "loc": { "start": { "line": 217, "column": 24 }, "end": { "line": 217, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7266, "end": 7267, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 7281, "end": 7286, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7287, "end": 7289, "loc": { "start": { "line": 218, "column": 18 }, "end": { "line": 218, "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": 7290, "end": 7291, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_Silent", "start": 7291, "end": 7303, "loc": { "start": { "line": 218, "column": 22 }, "end": { "line": 218, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7304, "end": 7306, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 218, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 7307, "end": 7313, "loc": { "start": { "line": 218, "column": 38 }, "end": { "line": 218, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7313, "end": 7314, "loc": { "start": { "line": 218, "column": 44 }, "end": { "line": 218, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7314, "end": 7317, "loc": { "start": { "line": 218, "column": 45 }, "end": { "line": 218, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7317, "end": 7318, "loc": { "start": { "line": 218, "column": 48 }, "end": { "line": 218, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Found target entity", "start": 7318, "end": 7341, "loc": { "start": { "line": 218, "column": 49 }, "end": { "line": 218, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7341, "end": 7342, "loc": { "start": { "line": 218, "column": 72 }, "end": { "line": 218, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 7343, "end": 7355, "loc": { "start": { "line": 218, "column": 74 }, "end": { "line": 218, "column": 86 } } }, { "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": 218, "column": 86 }, "end": { "line": 218, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 7356, "end": 7359, "loc": { "start": { "line": 218, "column": 87 }, "end": { "line": 218, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7359, "end": 7360, "loc": { "start": { "line": 218, "column": 90 }, "end": { "line": 218, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7360, "end": 7361, "loc": { "start": { "line": 218, "column": 91 }, "end": { "line": 218, "column": 92 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 7375, "end": 7380, "loc": { "start": { "line": 219, "column": 12 }, "end": { "line": 219, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetStaticComp", "start": 7381, "end": 7397, "loc": { "start": { "line": 219, "column": 18 }, "end": { "line": 219, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7398, "end": 7399, "loc": { "start": { "line": 219, "column": 35 }, "end": { "line": 219, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 7400, "end": 7412, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7412, "end": 7413, "loc": { "start": { "line": 219, "column": 49 }, "end": { "line": 219, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 7413, "end": 7423, "loc": { "start": { "line": 219, "column": 50 }, "end": { "line": 219, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7423, "end": 7424, "loc": { "start": { "line": 219, "column": 60 }, "end": { "line": 219, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 7424, "end": 7439, "loc": { "start": { "line": 219, "column": 61 }, "end": { "line": 219, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7439, "end": 7440, "loc": { "start": { "line": 219, "column": 76 }, "end": { "line": 219, "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": 7454, "end": 7459, "loc": { "start": { "line": 220, "column": 12 }, "end": { "line": 220, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetBeltComp", "start": 7460, "end": 7474, "loc": { "start": { "line": 220, "column": 18 }, "end": { "line": 220, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7475, "end": 7476, "loc": { "start": { "line": 220, "column": 33 }, "end": { "line": 220, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 7477, "end": 7489, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 220, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7489, "end": 7490, "loc": { "start": { "line": 220, "column": 47 }, "end": { "line": 220, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 7490, "end": 7500, "loc": { "start": { "line": 220, "column": 48 }, "end": { "line": 220, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7500, "end": 7501, "loc": { "start": { "line": 220, "column": 58 }, "end": { "line": 220, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 7501, "end": 7505, "loc": { "start": { "line": 220, "column": 59 }, "end": { "line": 220, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7505, "end": 7506, "loc": { "start": { "line": 220, "column": 63 }, "end": { "line": 220, "column": 64 } } }, { "type": "CommentLine", "value": " Check for belts (special case)", "start": 7522, "end": 7555, "loc": { "start": { "line": 222, "column": 12 }, "end": { "line": 222, "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": 7569, "end": 7571, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7572, "end": 7573, "loc": { "start": { "line": 223, "column": 15 }, "end": { "line": 223, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetBeltComp", "start": 7573, "end": 7587, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7587, "end": 7588, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7589, "end": 7590, "loc": { "start": { "line": 223, "column": 32 }, "end": { "line": 223, "column": 33 } } }, { "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": 7608, "end": 7613, "loc": { "start": { "line": 224, "column": 16 }, "end": { "line": 224, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltAcceptingDirection", "start": 7614, "end": 7636, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7637, "end": 7638, "loc": { "start": { "line": 224, "column": 45 }, "end": { "line": 224, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetStaticComp", "start": 7639, "end": 7655, "loc": { "start": { "line": 224, "column": 47 }, "end": { "line": 224, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7655, "end": 7656, "loc": { "start": { "line": 224, "column": 63 }, "end": { "line": 224, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localDirectionToWorld", "start": 7656, "end": 7677, "loc": { "start": { "line": 224, "column": 64 }, "end": { "line": 224, "column": 85 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7677, "end": 7678, "loc": { "start": { "line": 224, "column": 85 }, "end": { "line": 224, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumDirection", "start": 7678, "end": 7691, "loc": { "start": { "line": 224, "column": 86 }, "end": { "line": 224, "column": 99 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 224, "column": 99 }, "end": { "line": 224, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "top", "start": 7692, "end": 7695, "loc": { "start": { "line": 224, "column": 100 }, "end": { "line": 224, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7695, "end": 7696, "loc": { "start": { "line": 224, "column": 103 }, "end": { "line": 224, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7696, "end": 7697, "loc": { "start": { "line": 224, "column": 104 }, "end": { "line": 224, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 7715, "end": 7720, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7721, "end": 7723, "loc": { "start": { "line": 225, "column": 22 }, "end": { "line": 225, "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": 7745, "end": 7746, "loc": { "start": { "line": 226, "column": 20 }, "end": { "line": 226, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_Silent", "start": 7746, "end": 7758, "loc": { "start": { "line": 226, "column": 21 }, "end": { "line": 226, "column": 33 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7759, "end": 7761, "loc": { "start": { "line": 226, "column": 34 }, "end": { "line": 226, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 7783, "end": 7789, "loc": { "start": { "line": 227, "column": 20 }, "end": { "line": 227, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7789, "end": 7790, "loc": { "start": { "line": 227, "column": 26 }, "end": { "line": 227, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7790, "end": 7793, "loc": { "start": { "line": 227, "column": 27 }, "end": { "line": 227, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7793, "end": 7794, "loc": { "start": { "line": 227, "column": 30 }, "end": { "line": 227, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Entity is accepting items from", "start": 7820, "end": 7854, "loc": { "start": { "line": 228, "column": 24 }, "end": { "line": 228, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7854, "end": 7855, "loc": { "start": { "line": 228, "column": 58 }, "end": { "line": 228, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirection", "start": 7881, "end": 7901, "loc": { "start": { "line": 229, "column": 24 }, "end": { "line": 229, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7901, "end": 7902, "loc": { "start": { "line": 229, "column": 44 }, "end": { "line": 229, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "vs", "start": 7928, "end": 7932, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7932, "end": 7933, "loc": { "start": { "line": 230, "column": 28 }, "end": { "line": 230, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltAcceptingDirection", "start": 7959, "end": 7981, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7981, "end": 7982, "loc": { "start": { "line": 231, "column": 46 }, "end": { "line": 231, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Rotation:", "start": 8008, "end": 8019, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8019, "end": 8020, "loc": { "start": { "line": 232, "column": 35 }, "end": { "line": 232, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetStaticComp", "start": 8046, "end": 8062, "loc": { "start": { "line": 233, "column": 24 }, "end": { "line": 233, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8062, "end": 8063, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 233, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 8063, "end": 8071, "loc": { "start": { "line": 233, "column": 41 }, "end": { "line": 233, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8093, "end": 8094, "loc": { "start": { "line": 234, "column": 20 }, "end": { "line": 234, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8094, "end": 8095, "loc": { "start": { "line": 234, "column": 21 }, "end": { "line": 234, "column": 22 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8113, "end": 8115, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8116, "end": 8117, "loc": { "start": { "line": 235, "column": 19 }, "end": { "line": 235, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirection", "start": 8117, "end": 8137, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8138, "end": 8141, "loc": { "start": { "line": 235, "column": 41 }, "end": { "line": 235, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltAcceptingDirection", "start": 8142, "end": 8164, "loc": { "start": { "line": 235, "column": 45 }, "end": { "line": 235, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8164, "end": 8165, "loc": { "start": { "line": 235, "column": 67 }, "end": { "line": 235, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8166, "end": 8167, "loc": { "start": { "line": 235, "column": 69 }, "end": { "line": 235, "column": 70 } } }, { "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": 8189, "end": 8195, "loc": { "start": { "line": 236, "column": 20 }, "end": { "line": 236, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8196, "end": 8197, "loc": { "start": { "line": 236, "column": 27 }, "end": { "line": 236, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 8223, "end": 8229, "loc": { "start": { "line": 237, "column": 24 }, "end": { "line": 237, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8229, "end": 8230, "loc": { "start": { "line": 237, "column": 30 }, "end": { "line": 237, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 8231, "end": 8243, "loc": { "start": { "line": 237, "column": 32 }, "end": { "line": 237, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8243, "end": 8244, "loc": { "start": { "line": 237, "column": 44 }, "end": { "line": 237, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 8270, "end": 8279, "loc": { "start": { "line": 238, "column": 24 }, "end": { "line": 238, "column": 33 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8279, "end": 8280, "loc": { "start": { "line": 238, "column": 33 }, "end": { "line": 238, "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": 8281, "end": 8285, "loc": { "start": { "line": 238, "column": 35 }, "end": { "line": 238, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8285, "end": 8286, "loc": { "start": { "line": 238, "column": 39 }, "end": { "line": 238, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 8312, "end": 8316, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8316, "end": 8317, "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8318, "end": 8319, "loc": { "start": { "line": 239, "column": 30 }, "end": { "line": 239, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8319, "end": 8320, "loc": { "start": { "line": 239, "column": 31 }, "end": { "line": 239, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8342, "end": 8343, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8343, "end": 8344, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8362, "end": 8363, "loc": { "start": { "line": 241, "column": 16 }, "end": { "line": 241, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8377, "end": 8378, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 13 } } }, { "type": "CommentLine", "value": " Check for item acceptors", "start": 8394, "end": 8421, "loc": { "start": { "line": 244, "column": 12 }, "end": { "line": 244, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8435, "end": 8440, "loc": { "start": { "line": 245, "column": 12 }, "end": { "line": 245, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 8441, "end": 8459, "loc": { "start": { "line": 245, "column": 18 }, "end": { "line": 245, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8460, "end": 8461, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 8462, "end": 8474, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8474, "end": 8475, "loc": { "start": { "line": 245, "column": 51 }, "end": { "line": 245, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 8475, "end": 8485, "loc": { "start": { "line": 245, "column": 52 }, "end": { "line": 245, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8485, "end": 8486, "loc": { "start": { "line": 245, "column": 62 }, "end": { "line": 245, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemAcceptor", "start": 8486, "end": 8498, "loc": { "start": { "line": 245, "column": 63 }, "end": { "line": 245, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8498, "end": 8499, "loc": { "start": { "line": 245, "column": 75 }, "end": { "line": 245, "column": 76 } } }, { "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": 8513, "end": 8515, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 246, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8516, "end": 8517, "loc": { "start": { "line": 246, "column": 15 }, "end": { "line": 246, "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": 8517, "end": 8518, "loc": { "start": { "line": 246, "column": 16 }, "end": { "line": 246, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 8518, "end": 8536, "loc": { "start": { "line": 246, "column": 17 }, "end": { "line": 246, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8536, "end": 8537, "loc": { "start": { "line": 246, "column": 35 }, "end": { "line": 246, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8538, "end": 8539, "loc": { "start": { "line": 246, "column": 37 }, "end": { "line": 246, "column": 38 } } }, { "type": "CommentLine", "value": " Entity doesn't accept items", "start": 8557, "end": 8587, "loc": { "start": { "line": 247, "column": 16 }, "end": { "line": 247, "column": 46 } } }, { "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": 8605, "end": 8611, "loc": { "start": { "line": 248, "column": 16 }, "end": { "line": 248, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8611, "end": 8612, "loc": { "start": { "line": 248, "column": 22 }, "end": { "line": 248, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8626, "end": 8627, "loc": { "start": { "line": 249, "column": 12 }, "end": { "line": 249, "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": 8643, "end": 8648, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectingDirection", "start": 8649, "end": 8666, "loc": { "start": { "line": 251, "column": 18 }, "end": { "line": 251, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8667, "end": 8668, "loc": { "start": { "line": 251, "column": 36 }, "end": { "line": 251, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetStaticComp", "start": 8669, "end": 8685, "loc": { "start": { "line": 251, "column": 38 }, "end": { "line": 251, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8685, "end": 8686, "loc": { "start": { "line": 251, "column": 54 }, "end": { "line": 251, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldDirectionToLocal", "start": 8686, "end": 8707, "loc": { "start": { "line": 251, "column": 55 }, "end": { "line": 251, "column": 76 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8707, "end": 8708, "loc": { "start": { "line": 251, "column": 76 }, "end": { "line": 251, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotWsDirection", "start": 8708, "end": 8728, "loc": { "start": { "line": 251, "column": 77 }, "end": { "line": 251, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8728, "end": 8729, "loc": { "start": { "line": 251, "column": 97 }, "end": { "line": 251, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8729, "end": 8730, "loc": { "start": { "line": 251, "column": 98 }, "end": { "line": 251, "column": 99 } } }, { "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": 8744, "end": 8749, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingSlot", "start": 8750, "end": 8762, "loc": { "start": { "line": 252, "column": 18 }, "end": { "line": 252, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8763, "end": 8764, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 8765, "end": 8783, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8783, "end": 8784, "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": "findMatchingSlot", "start": 8784, "end": 8800, "loc": { "start": { "line": 252, "column": 52 }, "end": { "line": 252, "column": 68 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8800, "end": 8801, "loc": { "start": { "line": 252, "column": 68 }, "end": { "line": 252, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetStaticComp", "start": 8819, "end": 8835, "loc": { "start": { "line": 253, "column": 16 }, "end": { "line": 253, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8835, "end": 8836, "loc": { "start": { "line": 253, "column": 32 }, "end": { "line": 253, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldToLocalTile", "start": 8836, "end": 8852, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8852, "end": 8853, "loc": { "start": { "line": 253, "column": 49 }, "end": { "line": 253, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectSlotTargetWsTile", "start": 8853, "end": 8874, "loc": { "start": { "line": 253, "column": 50 }, "end": { "line": 253, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8874, "end": 8875, "loc": { "start": { "line": 253, "column": 71 }, "end": { "line": 253, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8875, "end": 8876, "loc": { "start": { "line": 253, "column": 72 }, "end": { "line": 253, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectingDirection", "start": 8894, "end": 8911, "loc": { "start": { "line": 254, "column": 16 }, "end": { "line": 254, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8925, "end": 8926, "loc": { "start": { "line": 255, "column": 12 }, "end": { "line": 255, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8926, "end": 8927, "loc": { "start": { "line": 255, "column": 13 }, "end": { "line": 255, "column": 14 } } }, { "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": 8943, "end": 8945, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8946, "end": 8947, "loc": { "start": { "line": 257, "column": 15 }, "end": { "line": 257, "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": 8947, "end": 8948, "loc": { "start": { "line": 257, "column": 16 }, "end": { "line": 257, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingSlot", "start": 8948, "end": 8960, "loc": { "start": { "line": 257, "column": 17 }, "end": { "line": 257, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8960, "end": 8961, "loc": { "start": { "line": 257, "column": 29 }, "end": { "line": 257, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8962, "end": 8963, "loc": { "start": { "line": 257, "column": 31 }, "end": { "line": 257, "column": 32 } } }, { "type": "CommentLine", "value": " No matching slot found", "start": 8981, "end": 9006, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 41 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 9024, "end": 9030, "loc": { "start": { "line": 259, "column": 16 }, "end": { "line": 259, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9030, "end": 9031, "loc": { "start": { "line": 259, "column": 22 }, "end": { "line": 259, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9045, "end": 9046, "loc": { "start": { "line": 260, "column": 12 }, "end": { "line": 260, "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": 9062, "end": 9068, "loc": { "start": { "line": 262, "column": 12 }, "end": { "line": 262, "column": 18 } } }, { "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": 262, "column": 19 }, "end": { "line": 262, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 9088, "end": 9094, "loc": { "start": { "line": 263, "column": 16 }, "end": { "line": 263, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9094, "end": 9095, "loc": { "start": { "line": 263, "column": 22 }, "end": { "line": 263, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetEntity", "start": 9096, "end": 9108, "loc": { "start": { "line": 263, "column": 24 }, "end": { "line": 263, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9108, "end": 9109, "loc": { "start": { "line": 263, "column": 36 }, "end": { "line": 263, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 9127, "end": 9131, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9131, "end": 9132, "loc": { "start": { "line": 264, "column": 20 }, "end": { "line": 264, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchingSlot", "start": 9133, "end": 9145, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9145, "end": 9146, "loc": { "start": { "line": 264, "column": 34 }, "end": { "line": 264, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 9146, "end": 9151, "loc": { "start": { "line": 264, "column": 35 }, "end": { "line": 264, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9151, "end": 9152, "loc": { "start": { "line": 264, "column": 40 }, "end": { "line": 264, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 9170, "end": 9179, "loc": { "start": { "line": 265, "column": 16 }, "end": { "line": 265, "column": 25 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9179, "end": 9180, "loc": { "start": { "line": 265, "column": 25 }, "end": { "line": 265, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumInvertedDirections", "start": 9181, "end": 9203, "loc": { "start": { "line": 265, "column": 27 }, "end": { "line": 265, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9203, "end": 9204, "loc": { "start": { "line": 265, "column": 49 }, "end": { "line": 265, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectingDirection", "start": 9204, "end": 9221, "loc": { "start": { "line": 265, "column": 50 }, "end": { "line": 265, "column": 67 } } }, { "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": 265, "column": 67 }, "end": { "line": 265, "column": 68 } } }, { "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": 265, "column": 68 }, "end": { "line": 265, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9237, "end": 9238, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9238, "end": 9239, "loc": { "start": { "line": 266, "column": 13 }, "end": { "line": 266, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9249, "end": 9250, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9256, "end": 9257, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 5 } } }, { "type": "CommentLine", "value": " Following code will be compiled out outside of dev versions", "start": 9265, "end": 9327, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 270, "column": 66 } } }, { "type": "CommentBlock", "value": " dev:start ", "start": 9333, "end": 9348, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 271, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper to throw an error on mismatch\r\n * @param {string} change\r\n * @param {Array} reason\r\n ", "start": 9356, "end": 9479, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 277, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_failIntegrity", "start": 9485, "end": 9504, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9504, "end": 9505, "loc": { "start": { "line": 278, "column": 23 }, "end": { "line": 278, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "change", "start": 9505, "end": 9511, "loc": { "start": { "line": 278, "column": 24 }, "end": { "line": 278, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9511, "end": 9512, "loc": { "start": { "line": 278, "column": 30 }, "end": { "line": 278, "column": 31 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9513, "end": 9516, "loc": { "start": { "line": 278, "column": 32 }, "end": { "line": 278, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reason", "start": 9516, "end": 9522, "loc": { "start": { "line": 278, "column": 35 }, "end": { "line": 278, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9522, "end": 9523, "loc": { "start": { "line": 278, "column": 41 }, "end": { "line": 278, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9524, "end": 9525, "loc": { "start": { "line": 278, "column": 43 }, "end": { "line": 278, "column": 44 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 9535, "end": 9540, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 13 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 9541, "end": 9544, "loc": { "start": { "line": 279, "column": 14 }, "end": { "line": 279, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 9545, "end": 9550, "loc": { "start": { "line": 279, "column": 18 }, "end": { "line": 279, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9550, "end": 9551, "loc": { "start": { "line": 279, "column": 23 }, "end": { "line": 279, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "belt path invalid (", "start": 9551, "end": 9572, "loc": { "start": { "line": 279, "column": 24 }, "end": { "line": 279, "column": 45 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9573, "end": 9574, "loc": { "start": { "line": 279, "column": 46 }, "end": { "line": 279, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "change", "start": 9575, "end": 9581, "loc": { "start": { "line": 279, "column": 48 }, "end": { "line": 279, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9582, "end": 9583, "loc": { "start": { "line": 279, "column": 55 }, "end": { "line": 279, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "): ", "start": 9584, "end": 9589, "loc": { "start": { "line": 279, "column": 57 }, "end": { "line": 279, "column": 62 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9590, "end": 9591, "loc": { "start": { "line": 279, "column": 63 }, "end": { "line": 279, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reason", "start": 9592, "end": 9598, "loc": { "start": { "line": 279, "column": 65 }, "end": { "line": 279, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9598, "end": 9599, "loc": { "start": { "line": 279, "column": 71 }, "end": { "line": 279, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 9599, "end": 9602, "loc": { "start": { "line": 279, "column": 72 }, "end": { "line": 279, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9602, "end": 9603, "loc": { "start": { "line": 279, "column": 75 }, "end": { "line": 279, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9603, "end": 9604, "loc": { "start": { "line": 279, "column": 76 }, "end": { "line": 279, "column": 77 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9605, "end": 9607, "loc": { "start": { "line": 279, "column": 78 }, "end": { "line": 279, "column": 80 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 9608, "end": 9610, "loc": { "start": { "line": 279, "column": 81 }, "end": { "line": 279, "column": 83 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9611, "end": 9612, "loc": { "start": { "line": 279, "column": 84 }, "end": { "line": 279, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9613, "end": 9614, "loc": { "start": { "line": 279, "column": 86 }, "end": { "line": 279, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9614, "end": 9615, "loc": { "start": { "line": 279, "column": 87 }, "end": { "line": 279, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9615, "end": 9616, "loc": { "start": { "line": 279, "column": 88 }, "end": { "line": 279, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 9616, "end": 9620, "loc": { "start": { "line": 279, "column": 89 }, "end": { "line": 279, "column": 93 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9620, "end": 9621, "loc": { "start": { "line": 279, "column": 93 }, "end": { "line": 279, "column": 94 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 9621, "end": 9624, "loc": { "start": { "line": 279, "column": 94 }, "end": { "line": 279, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9624, "end": 9625, "loc": { "start": { "line": 279, "column": 97 }, "end": { "line": 279, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9625, "end": 9626, "loc": { "start": { "line": 279, "column": 98 }, "end": { "line": 279, "column": 99 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9626, "end": 9627, "loc": { "start": { "line": 279, "column": 99 }, "end": { "line": 279, "column": 100 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9633, "end": 9634, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 280, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if this path is valid\r\n ", "start": 9642, "end": 9691, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 284, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 9697, "end": 9717, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9717, "end": 9718, "loc": { "start": { "line": 285, "column": 24 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChange", "start": 9718, "end": 9731, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9732, "end": 9733, "loc": { "start": { "line": 285, "column": 39 }, "end": { "line": 285, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "change", "start": 9734, "end": 9742, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9742, "end": 9743, "loc": { "start": { "line": 285, "column": 49 }, "end": { "line": 285, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9744, "end": 9745, "loc": { "start": { "line": 285, "column": 51 }, "end": { "line": 285, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 9755, "end": 9760, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 9761, "end": 9765, "loc": { "start": { "line": 286, "column": 14 }, "end": { "line": 286, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9766, "end": 9767, "loc": { "start": { "line": 286, "column": 19 }, "end": { "line": 286, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9768, "end": 9769, "loc": { "start": { "line": 286, "column": 21 }, "end": { "line": 286, "column": 22 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9769, "end": 9772, "loc": { "start": { "line": 286, "column": 22 }, "end": { "line": 286, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "args", "start": 9772, "end": 9776, "loc": { "start": { "line": 286, "column": 25 }, "end": { "line": 286, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9776, "end": 9777, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9778, "end": 9780, "loc": { "start": { "line": 286, "column": 31 }, "end": { "line": 286, "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": 9781, "end": 9785, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9785, "end": 9786, "loc": { "start": { "line": 286, "column": 38 }, "end": { "line": 286, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_failIntegrity", "start": 9786, "end": 9805, "loc": { "start": { "line": 286, "column": 39 }, "end": { "line": 286, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9805, "end": 9806, "loc": { "start": { "line": 286, "column": 58 }, "end": { "line": 286, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChange", "start": 9806, "end": 9819, "loc": { "start": { "line": 286, "column": 59 }, "end": { "line": 286, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9819, "end": 9820, "loc": { "start": { "line": 286, "column": 72 }, "end": { "line": 286, "column": 73 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9821, "end": 9824, "loc": { "start": { "line": 286, "column": 74 }, "end": { "line": 286, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "args", "start": 9824, "end": 9828, "loc": { "start": { "line": 286, "column": 77 }, "end": { "line": 286, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9828, "end": 9829, "loc": { "start": { "line": 286, "column": 81 }, "end": { "line": 286, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9829, "end": 9830, "loc": { "start": { "line": 286, "column": 82 }, "end": { "line": 286, "column": 83 } } }, { "type": "CommentLine", "value": " Check for empty path", "start": 9842, "end": 9865, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 31 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9875, "end": 9877, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9878, "end": 9879, "loc": { "start": { "line": 289, "column": 11 }, "end": { "line": 289, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9879, "end": 9883, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9883, "end": 9884, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 9884, "end": 9894, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9894, "end": 9895, "loc": { "start": { "line": 289, "column": 27 }, "end": { "line": 289, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9895, "end": 9901, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9902, "end": 9905, "loc": { "start": { "line": 289, "column": 35 }, "end": { "line": 289, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9906, "end": 9907, "loc": { "start": { "line": 289, "column": 39 }, "end": { "line": 289, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9907, "end": 9908, "loc": { "start": { "line": 289, "column": 40 }, "end": { "line": 289, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9909, "end": 9910, "loc": { "start": { "line": 289, "column": 42 }, "end": { "line": 289, "column": 43 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 9924, "end": 9930, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 9931, "end": 9935, "loc": { "start": { "line": 290, "column": 19 }, "end": { "line": 290, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9935, "end": 9936, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 290, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Belt path is empty", "start": 9936, "end": 9956, "loc": { "start": { "line": 290, "column": 24 }, "end": { "line": 290, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9956, "end": 9957, "loc": { "start": { "line": 290, "column": 44 }, "end": { "line": 290, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9957, "end": 9958, "loc": { "start": { "line": 290, "column": 45 }, "end": { "line": 290, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9968, "end": 9969, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 9 } } }, { "type": "CommentLine", "value": " Check for mismatching length", "start": 9981, "end": 10012, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 10022, "end": 10027, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 10028, "end": 10039, "loc": { "start": { "line": 294, "column": 14 }, "end": { "line": 294, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10040, "end": 10041, "loc": { "start": { "line": 294, "column": 26 }, "end": { "line": 294, "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": 10042, "end": 10046, "loc": { "start": { "line": 294, "column": 28 }, "end": { "line": 294, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10046, "end": 10047, "loc": { "start": { "line": 294, "column": 32 }, "end": { "line": 294, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeTotalLength", "start": 10047, "end": 10065, "loc": { "start": { "line": 294, "column": 33 }, "end": { "line": 294, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10065, "end": 10066, "loc": { "start": { "line": 294, "column": 51 }, "end": { "line": 294, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10066, "end": 10067, "loc": { "start": { "line": 294, "column": 52 }, "end": { "line": 294, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10067, "end": 10068, "loc": { "start": { "line": 294, "column": 53 }, "end": { "line": 294, "column": 54 } } }, { "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": 10078, "end": 10080, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 295, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10081, "end": 10082, "loc": { "start": { "line": 295, "column": 11 }, "end": { "line": 295, "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": 10082, "end": 10083, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilonCompare", "start": 10083, "end": 10097, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10097, "end": 10098, "loc": { "start": { "line": 295, "column": 27 }, "end": { "line": 295, "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": 10098, "end": 10102, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10102, "end": 10103, "loc": { "start": { "line": 295, "column": 32 }, "end": { "line": 295, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 10103, "end": 10114, "loc": { "start": { "line": 295, "column": 33 }, "end": { "line": 295, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10114, "end": 10115, "loc": { "start": { "line": 295, "column": 44 }, "end": { "line": 295, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 10116, "end": 10127, "loc": { "start": { "line": 295, "column": 46 }, "end": { "line": 295, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10127, "end": 10128, "loc": { "start": { "line": 295, "column": 57 }, "end": { "line": 295, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 10129, "end": 10133, "loc": { "start": { "line": 295, "column": 59 }, "end": { "line": 295, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10133, "end": 10134, "loc": { "start": { "line": 295, "column": 63 }, "end": { "line": 295, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10134, "end": 10135, "loc": { "start": { "line": 295, "column": 64 }, "end": { "line": 295, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10136, "end": 10137, "loc": { "start": { "line": 295, "column": 66 }, "end": { "line": 295, "column": 67 } } }, { "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": 10151, "end": 10157, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 18 } } }, { "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": 10158, "end": 10162, "loc": { "start": { "line": 296, "column": 19 }, "end": { "line": 296, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10162, "end": 10163, "loc": { "start": { "line": 296, "column": 23 }, "end": { "line": 296, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_failIntegrity", "start": 10163, "end": 10182, "loc": { "start": { "line": 296, "column": 24 }, "end": { "line": 296, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10182, "end": 10183, "loc": { "start": { "line": 296, "column": 43 }, "end": { "line": 296, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChange", "start": 10201, "end": 10214, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10214, "end": 10215, "loc": { "start": { "line": 297, "column": 29 }, "end": { "line": 297, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Total length mismatch, stored =", "start": 10233, "end": 10266, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10266, "end": 10267, "loc": { "start": { "line": 298, "column": 49 }, "end": { "line": 298, "column": 50 } } }, { "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": 10285, "end": 10289, "loc": { "start": { "line": 299, "column": 16 }, "end": { "line": 299, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10289, "end": 10290, "loc": { "start": { "line": 299, "column": 20 }, "end": { "line": 299, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 10290, "end": 10301, "loc": { "start": { "line": 299, "column": 21 }, "end": { "line": 299, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10301, "end": 10302, "loc": { "start": { "line": 299, "column": 32 }, "end": { "line": 299, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "but correct is", "start": 10320, "end": 10336, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10336, "end": 10337, "loc": { "start": { "line": 300, "column": 32 }, "end": { "line": 300, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 10355, "end": 10366, "loc": { "start": { "line": 301, "column": 16 }, "end": { "line": 301, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10380, "end": 10381, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10381, "end": 10382, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 302, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10392, "end": 10393, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 9 } } }, { "type": "CommentLine", "value": " Check for misconnected entities", "start": 10405, "end": 10439, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 42 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 10449, "end": 10452, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10453, "end": 10454, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "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": 10454, "end": 10457, "loc": { "start": { "line": 306, "column": 13 }, "end": { "line": 306, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10458, "end": 10459, "loc": { "start": { "line": 306, "column": 17 }, "end": { "line": 306, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10460, "end": 10461, "loc": { "start": { "line": 306, "column": 19 }, "end": { "line": 306, "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": 10462, "end": 10463, "loc": { "start": { "line": 306, "column": 21 }, "end": { "line": 306, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10463, "end": 10464, "loc": { "start": { "line": 306, "column": 22 }, "end": { "line": 306, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10465, "end": 10466, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10467, "end": 10468, "loc": { "start": { "line": 306, "column": 26 }, "end": { "line": 306, "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": 10469, "end": 10473, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 32 } } }, { "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": 306, "column": 32 }, "end": { "line": 306, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 10474, "end": 10484, "loc": { "start": { "line": 306, "column": 33 }, "end": { "line": 306, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10484, "end": 10485, "loc": { "start": { "line": 306, "column": 43 }, "end": { "line": 306, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 10485, "end": 10491, "loc": { "start": { "line": 306, "column": 44 }, "end": { "line": 306, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 10492, "end": 10493, "loc": { "start": { "line": 306, "column": 51 }, "end": { "line": 306, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 10494, "end": 10495, "loc": { "start": { "line": 306, "column": 53 }, "end": { "line": 306, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10495, "end": 10496, "loc": { "start": { "line": 306, "column": 54 }, "end": { "line": 306, "column": 55 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 10497, "end": 10499, "loc": { "start": { "line": 306, "column": 56 }, "end": { "line": 306, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10499, "end": 10500, "loc": { "start": { "line": 306, "column": 58 }, "end": { "line": 306, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10500, "end": 10501, "loc": { "start": { "line": 306, "column": 59 }, "end": { "line": 306, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10502, "end": 10503, "loc": { "start": { "line": 306, "column": 61 }, "end": { "line": 306, "column": 62 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 10517, "end": 10522, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 10523, "end": 10529, "loc": { "start": { "line": 307, "column": 18 }, "end": { "line": 307, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10530, "end": 10531, "loc": { "start": { "line": 307, "column": 25 }, "end": { "line": 307, "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": 10532, "end": 10536, "loc": { "start": { "line": 307, "column": 27 }, "end": { "line": 307, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10536, "end": 10537, "loc": { "start": { "line": 307, "column": 31 }, "end": { "line": 307, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 10537, "end": 10547, "loc": { "start": { "line": 307, "column": 32 }, "end": { "line": 307, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10547, "end": 10548, "loc": { "start": { "line": 307, "column": 42 }, "end": { "line": 307, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10548, "end": 10549, "loc": { "start": { "line": 307, "column": 43 }, "end": { "line": 307, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10549, "end": 10550, "loc": { "start": { "line": 307, "column": 44 }, "end": { "line": 307, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10550, "end": 10551, "loc": { "start": { "line": 307, "column": 45 }, "end": { "line": 307, "column": 46 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10565, "end": 10567, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10568, "end": 10569, "loc": { "start": { "line": 308, "column": 15 }, "end": { "line": 308, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 10569, "end": 10575, "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10575, "end": 10576, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroyed", "start": 10576, "end": 10585, "loc": { "start": { "line": 308, "column": 23 }, "end": { "line": 308, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10585, "end": 10586, "loc": { "start": { "line": 308, "column": 32 }, "end": { "line": 308, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10587, "end": 10588, "loc": { "start": { "line": 308, "column": 34 }, "end": { "line": 308, "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": 10606, "end": 10612, "loc": { "start": { "line": 309, "column": 16 }, "end": { "line": 309, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 10613, "end": 10617, "loc": { "start": { "line": 309, "column": 23 }, "end": { "line": 309, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10617, "end": 10618, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 309, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Reference to destroyed entity ", "start": 10618, "end": 10650, "loc": { "start": { "line": 309, "column": 28 }, "end": { "line": 309, "column": 60 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 10651, "end": 10652, "loc": { "start": { "line": 309, "column": 61 }, "end": { "line": 309, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 10653, "end": 10659, "loc": { "start": { "line": 309, "column": 63 }, "end": { "line": 309, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10659, "end": 10660, "loc": { "start": { "line": 309, "column": 69 }, "end": { "line": 309, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 10660, "end": 10663, "loc": { "start": { "line": 309, "column": 70 }, "end": { "line": 309, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10663, "end": 10664, "loc": { "start": { "line": 309, "column": 73 }, "end": { "line": 309, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10664, "end": 10665, "loc": { "start": { "line": 309, "column": 74 }, "end": { "line": 309, "column": 75 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10679, "end": 10680, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "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": 10696, "end": 10701, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "followUp", "start": 10702, "end": 10710, "loc": { "start": { "line": 312, "column": 18 }, "end": { "line": 312, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10711, "end": 10712, "loc": { "start": { "line": 312, "column": 27 }, "end": { "line": 312, "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": 10713, "end": 10717, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10717, "end": 10718, "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": "root", "start": 10718, "end": 10722, "loc": { "start": { "line": 312, "column": 34 }, "end": { "line": 312, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10722, "end": 10723, "loc": { "start": { "line": 312, "column": 38 }, "end": { "line": 312, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "systemMgr", "start": 10723, "end": 10732, "loc": { "start": { "line": 312, "column": 39 }, "end": { "line": 312, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10732, "end": 10733, "loc": { "start": { "line": 312, "column": 48 }, "end": { "line": 312, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "systems", "start": 10733, "end": 10740, "loc": { "start": { "line": 312, "column": 49 }, "end": { "line": 312, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10740, "end": 10741, "loc": { "start": { "line": 312, "column": 56 }, "end": { "line": 312, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "belt", "start": 10741, "end": 10745, "loc": { "start": { "line": 312, "column": 57 }, "end": { "line": 312, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10745, "end": 10746, "loc": { "start": { "line": 312, "column": 61 }, "end": { "line": 312, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findFollowUpEntity", "start": 10746, "end": 10764, "loc": { "start": { "line": 312, "column": 62 }, "end": { "line": 312, "column": 80 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10764, "end": 10765, "loc": { "start": { "line": 312, "column": 80 }, "end": { "line": 312, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 10765, "end": 10771, "loc": { "start": { "line": 312, "column": 81 }, "end": { "line": 312, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10771, "end": 10772, "loc": { "start": { "line": 312, "column": 87 }, "end": { "line": 312, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10772, "end": 10773, "loc": { "start": { "line": 312, "column": 88 }, "end": { "line": 312, "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": 10787, "end": 10789, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10790, "end": 10791, "loc": { "start": { "line": 313, "column": 15 }, "end": { "line": 313, "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": 10791, "end": 10792, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "followUp", "start": 10792, "end": 10800, "loc": { "start": { "line": 313, "column": 17 }, "end": { "line": 313, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10800, "end": 10801, "loc": { "start": { "line": 313, "column": 25 }, "end": { "line": 313, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10802, "end": 10803, "loc": { "start": { "line": 313, "column": 27 }, "end": { "line": 313, "column": 28 } } }, { "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": 10821, "end": 10827, "loc": { "start": { "line": 314, "column": 16 }, "end": { "line": 314, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 10828, "end": 10832, "loc": { "start": { "line": 314, "column": 23 }, "end": { "line": 314, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10832, "end": 10833, "loc": { "start": { "line": 314, "column": 27 }, "end": { "line": 314, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Follow up entity for the", "start": 10855, "end": 10881, "loc": { "start": { "line": 315, "column": 20 }, "end": { "line": 315, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10881, "end": 10882, "loc": { "start": { "line": 315, "column": 46 }, "end": { "line": 315, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10904, "end": 10905, "loc": { "start": { "line": 316, "column": 20 }, "end": { "line": 316, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10905, "end": 10906, "loc": { "start": { "line": 316, "column": 21 }, "end": { "line": 316, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-th entity (total length", "start": 10928, "end": 10954, "loc": { "start": { "line": 317, "column": 20 }, "end": { "line": 317, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10954, "end": 10955, "loc": { "start": { "line": 317, "column": 46 }, "end": { "line": 317, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10977, "end": 10981, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10981, "end": 10982, "loc": { "start": { "line": 318, "column": 24 }, "end": { "line": 318, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 10982, "end": 10992, "loc": { "start": { "line": 318, "column": 25 }, "end": { "line": 318, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10992, "end": 10993, "loc": { "start": { "line": 318, "column": 35 }, "end": { "line": 318, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 10993, "end": 10999, "loc": { "start": { "line": 318, "column": 36 }, "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": 10999, "end": 11000, "loc": { "start": { "line": 318, "column": 42 }, "end": { "line": 318, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") was null!", "start": 11022, "end": 11035, "loc": { "start": { "line": 319, "column": 20 }, "end": { "line": 319, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11053, "end": 11054, "loc": { "start": { "line": 320, "column": 16 }, "end": { "line": 320, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11054, "end": 11055, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11069, "end": 11070, "loc": { "start": { "line": 321, "column": 12 }, "end": { "line": 321, "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": 11084, "end": 11086, "loc": { "start": { "line": 322, "column": 12 }, "end": { "line": 322, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11087, "end": 11088, "loc": { "start": { "line": 322, "column": 15 }, "end": { "line": 322, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "followUp", "start": 11088, "end": 11096, "loc": { "start": { "line": 322, "column": 16 }, "end": { "line": 322, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 11097, "end": 11100, "loc": { "start": { "line": 322, "column": 25 }, "end": { "line": 322, "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": 11101, "end": 11105, "loc": { "start": { "line": 322, "column": 29 }, "end": { "line": 322, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11105, "end": 11106, "loc": { "start": { "line": 322, "column": 33 }, "end": { "line": 322, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 11106, "end": 11116, "loc": { "start": { "line": 322, "column": 34 }, "end": { "line": 322, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11116, "end": 11117, "loc": { "start": { "line": 322, "column": 44 }, "end": { "line": 322, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11117, "end": 11118, "loc": { "start": { "line": 322, "column": 45 }, "end": { "line": 322, "column": 46 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 11119, "end": 11120, "loc": { "start": { "line": 322, "column": 47 }, "end": { "line": 322, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 11121, "end": 11122, "loc": { "start": { "line": 322, "column": 49 }, "end": { "line": 322, "column": 50 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11122, "end": 11123, "loc": { "start": { "line": 322, "column": 50 }, "end": { "line": 322, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11123, "end": 11124, "loc": { "start": { "line": 322, "column": 51 }, "end": { "line": 322, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11125, "end": 11126, "loc": { "start": { "line": 322, "column": 53 }, "end": { "line": 322, "column": 54 } } }, { "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": 11144, "end": 11150, "loc": { "start": { "line": 323, "column": 16 }, "end": { "line": 323, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 11151, "end": 11155, "loc": { "start": { "line": 323, "column": 23 }, "end": { "line": 323, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11155, "end": 11156, "loc": { "start": { "line": 323, "column": 27 }, "end": { "line": 323, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Follow up entity mismatch, stored is", "start": 11178, "end": 11216, "loc": { "start": { "line": 324, "column": 20 }, "end": { "line": 324, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11216, "end": 11217, "loc": { "start": { "line": 324, "column": 58 }, "end": { "line": 324, "column": 59 } } }, { "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": 11239, "end": 11243, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11243, "end": 11244, "loc": { "start": { "line": 325, "column": 24 }, "end": { "line": 325, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 11244, "end": 11254, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11254, "end": 11255, "loc": { "start": { "line": 325, "column": 35 }, "end": { "line": 325, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11255, "end": 11256, "loc": { "start": { "line": 325, "column": 36 }, "end": { "line": 325, "column": 37 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 11257, "end": 11258, "loc": { "start": { "line": 325, "column": 38 }, "end": { "line": 325, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 11259, "end": 11260, "loc": { "start": { "line": 325, "column": 40 }, "end": { "line": 325, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11260, "end": 11261, "loc": { "start": { "line": 325, "column": 41 }, "end": { "line": 325, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11261, "end": 11262, "loc": { "start": { "line": 325, "column": 42 }, "end": { "line": 325, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 11262, "end": 11265, "loc": { "start": { "line": 325, "column": 43 }, "end": { "line": 325, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11265, "end": 11266, "loc": { "start": { "line": 325, "column": 46 }, "end": { "line": 325, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "but real one is", "start": 11288, "end": 11305, "loc": { "start": { "line": 326, "column": 20 }, "end": { "line": 326, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11305, "end": 11306, "loc": { "start": { "line": 326, "column": 37 }, "end": { "line": 326, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "followUp", "start": 11328, "end": 11336, "loc": { "start": { "line": 327, "column": 20 }, "end": { "line": 327, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11336, "end": 11337, "loc": { "start": { "line": 327, "column": 28 }, "end": { "line": 327, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 11337, "end": 11340, "loc": { "start": { "line": 327, "column": 29 }, "end": { "line": 327, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11358, "end": 11359, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11359, "end": 11360, "loc": { "start": { "line": 328, "column": 17 }, "end": { "line": 328, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11374, "end": 11375, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "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": 11389, "end": 11391, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11392, "end": 11393, "loc": { "start": { "line": 330, "column": 15 }, "end": { "line": 330, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11393, "end": 11399, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11399, "end": 11400, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 11400, "end": 11410, "loc": { "start": { "line": 330, "column": 23 }, "end": { "line": 330, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11410, "end": 11411, "loc": { "start": { "line": 330, "column": 33 }, "end": { "line": 330, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 11411, "end": 11415, "loc": { "start": { "line": 330, "column": 34 }, "end": { "line": 330, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11415, "end": 11416, "loc": { "start": { "line": 330, "column": 38 }, "end": { "line": 330, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 11416, "end": 11428, "loc": { "start": { "line": 330, "column": 39 }, "end": { "line": 330, "column": 51 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 11429, "end": 11432, "loc": { "start": { "line": 330, "column": 52 }, "end": { "line": 330, "column": 55 } } }, { "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": 11433, "end": 11437, "loc": { "start": { "line": 330, "column": 56 }, "end": { "line": 330, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11437, "end": 11438, "loc": { "start": { "line": 330, "column": 60 }, "end": { "line": 330, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11439, "end": 11440, "loc": { "start": { "line": 330, "column": 62 }, "end": { "line": 330, "column": 63 } } }, { "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": 11458, "end": 11464, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 11465, "end": 11469, "loc": { "start": { "line": 331, "column": 23 }, "end": { "line": 331, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11469, "end": 11470, "loc": { "start": { "line": 331, "column": 27 }, "end": { "line": 331, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Entity with uid", "start": 11492, "end": 11509, "loc": { "start": { "line": 332, "column": 20 }, "end": { "line": 332, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11509, "end": 11510, "loc": { "start": { "line": 332, "column": 37 }, "end": { "line": 332, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11532, "end": 11538, "loc": { "start": { "line": 333, "column": 20 }, "end": { "line": 333, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11538, "end": 11539, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 11539, "end": 11542, "loc": { "start": { "line": 333, "column": 27 }, "end": { "line": 333, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11542, "end": 11543, "loc": { "start": { "line": 333, "column": 30 }, "end": { "line": 333, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "doesn't have this path assigned, but this path contains the entity.", "start": 11565, "end": 11634, "loc": { "start": { "line": 334, "column": 20 }, "end": { "line": 334, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11652, "end": 11653, "loc": { "start": { "line": 335, "column": 16 }, "end": { "line": 335, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11653, "end": 11654, "loc": { "start": { "line": 335, "column": 17 }, "end": { "line": 335, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11668, "end": 11669, "loc": { "start": { "line": 336, "column": 12 }, "end": { "line": 336, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11679, "end": 11680, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 9 } } }, { "type": "CommentLine", "value": " Check spacing", "start": 11692, "end": 11708, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 24 } } }, { "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": 11718, "end": 11720, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 340, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11721, "end": 11722, "loc": { "start": { "line": 340, "column": 11 }, "end": { "line": 340, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11722, "end": 11726, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11726, "end": 11727, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 11727, "end": 11745, "loc": { "start": { "line": 340, "column": 17 }, "end": { "line": 340, "column": 35 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 11746, "end": 11747, "loc": { "start": { "line": 340, "column": 36 }, "end": { "line": 340, "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": 11748, "end": 11752, "loc": { "start": { "line": 340, "column": 38 }, "end": { "line": 340, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11752, "end": 11753, "loc": { "start": { "line": 340, "column": 42 }, "end": { "line": 340, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 11753, "end": 11764, "loc": { "start": { "line": 340, "column": 43 }, "end": { "line": 340, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 11765, "end": 11766, "loc": { "start": { "line": 340, "column": 55 }, "end": { "line": 340, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.005, "start": 11767, "end": 11772, "loc": { "start": { "line": 340, "column": 57 }, "end": { "line": 340, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11772, "end": 11773, "loc": { "start": { "line": 340, "column": 62 }, "end": { "line": 340, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11774, "end": 11775, "loc": { "start": { "line": 340, "column": 64 }, "end": { "line": 340, "column": 65 } } }, { "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": 11789, "end": 11795, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 11796, "end": 11800, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11800, "end": 11801, "loc": { "start": { "line": 341, "column": 23 }, "end": { "line": 341, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChange", "start": 11819, "end": 11832, "loc": { "start": { "line": 342, "column": 16 }, "end": { "line": 342, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11832, "end": 11833, "loc": { "start": { "line": 342, "column": 29 }, "end": { "line": 342, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "spacing to first item (", "start": 11851, "end": 11876, "loc": { "start": { "line": 343, "column": 16 }, "end": { "line": 343, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11876, "end": 11877, "loc": { "start": { "line": 343, "column": 41 }, "end": { "line": 343, "column": 42 } } }, { "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": 11895, "end": 11899, "loc": { "start": { "line": 344, "column": 16 }, "end": { "line": 344, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11899, "end": 11900, "loc": { "start": { "line": 344, "column": 20 }, "end": { "line": 344, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 11900, "end": 11918, "loc": { "start": { "line": 344, "column": 21 }, "end": { "line": 344, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11918, "end": 11919, "loc": { "start": { "line": 344, "column": 39 }, "end": { "line": 344, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") is greater than total length (", "start": 11937, "end": 11971, "loc": { "start": { "line": 345, "column": 16 }, "end": { "line": 345, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11971, "end": 11972, "loc": { "start": { "line": 345, "column": 50 }, "end": { "line": 345, "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": 11990, "end": 11994, "loc": { "start": { "line": 346, "column": 16 }, "end": { "line": 346, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11994, "end": 11995, "loc": { "start": { "line": 346, "column": 20 }, "end": { "line": 346, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 11995, "end": 12006, "loc": { "start": { "line": 346, "column": 21 }, "end": { "line": 346, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12006, "end": 12007, "loc": { "start": { "line": 346, "column": 32 }, "end": { "line": 346, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 12025, "end": 12028, "loc": { "start": { "line": 347, "column": 16 }, "end": { "line": 347, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12042, "end": 12043, "loc": { "start": { "line": 348, "column": 12 }, "end": { "line": 348, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12043, "end": 12044, "loc": { "start": { "line": 348, "column": 13 }, "end": { "line": 348, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12054, "end": 12055, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 9 } } }, { "type": "CommentLine", "value": " Check distance if empty", "start": 12067, "end": 12093, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "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": 12103, "end": 12105, "loc": { "start": { "line": 352, "column": 8 }, "end": { "line": 352, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12106, "end": 12107, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12107, "end": 12111, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12111, "end": 12112, "loc": { "start": { "line": 352, "column": 16 }, "end": { "line": 352, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 12112, "end": 12117, "loc": { "start": { "line": 352, "column": 17 }, "end": { "line": 352, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12117, "end": 12118, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 352, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12118, "end": 12124, "loc": { "start": { "line": 352, "column": 23 }, "end": { "line": 352, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12125, "end": 12128, "loc": { "start": { "line": 352, "column": 30 }, "end": { "line": 352, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12129, "end": 12130, "loc": { "start": { "line": 352, "column": 34 }, "end": { "line": 352, "column": 35 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12131, "end": 12133, "loc": { "start": { "line": 352, "column": 36 }, "end": { "line": 352, "column": 38 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12134, "end": 12135, "loc": { "start": { "line": 352, "column": 39 }, "end": { "line": 352, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilonCompare", "start": 12135, "end": 12149, "loc": { "start": { "line": 352, "column": 40 }, "end": { "line": 352, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12149, "end": 12150, "loc": { "start": { "line": 352, "column": 54 }, "end": { "line": 352, "column": 55 } } }, { "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": 12150, "end": 12154, "loc": { "start": { "line": 352, "column": 55 }, "end": { "line": 352, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12154, "end": 12155, "loc": { "start": { "line": 352, "column": 59 }, "end": { "line": 352, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 12155, "end": 12173, "loc": { "start": { "line": 352, "column": 60 }, "end": { "line": 352, "column": 78 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12173, "end": 12174, "loc": { "start": { "line": 352, "column": 78 }, "end": { "line": 352, "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": 12175, "end": 12179, "loc": { "start": { "line": 352, "column": 80 }, "end": { "line": 352, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12179, "end": 12180, "loc": { "start": { "line": 352, "column": 84 }, "end": { "line": 352, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 12180, "end": 12191, "loc": { "start": { "line": 352, "column": 85 }, "end": { "line": 352, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12191, "end": 12192, "loc": { "start": { "line": 352, "column": 96 }, "end": { "line": 352, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 12193, "end": 12197, "loc": { "start": { "line": 352, "column": 98 }, "end": { "line": 352, "column": 102 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12197, "end": 12198, "loc": { "start": { "line": 352, "column": 102 }, "end": { "line": 352, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12198, "end": 12199, "loc": { "start": { "line": 352, "column": 103 }, "end": { "line": 352, "column": 104 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12200, "end": 12201, "loc": { "start": { "line": 352, "column": 105 }, "end": { "line": 352, "column": 106 } } }, { "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": 12215, "end": 12221, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 12222, "end": 12226, "loc": { "start": { "line": 353, "column": 19 }, "end": { "line": 353, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12226, "end": 12227, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChange", "start": 12245, "end": 12258, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12258, "end": 12259, "loc": { "start": { "line": 354, "column": 29 }, "end": { "line": 354, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Path is empty but spacing to first item (", "start": 12277, "end": 12320, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12320, "end": 12321, "loc": { "start": { "line": 355, "column": 59 }, "end": { "line": 355, "column": 60 } } }, { "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": 12339, "end": 12343, "loc": { "start": { "line": 356, "column": 16 }, "end": { "line": 356, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12343, "end": 12344, "loc": { "start": { "line": 356, "column": 20 }, "end": { "line": 356, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 12344, "end": 12362, "loc": { "start": { "line": 356, "column": 21 }, "end": { "line": 356, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12362, "end": 12363, "loc": { "start": { "line": 356, "column": 39 }, "end": { "line": 356, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") does not equal total length (", "start": 12381, "end": 12414, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12414, "end": 12415, "loc": { "start": { "line": 357, "column": 49 }, "end": { "line": 357, "column": 50 } } }, { "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": 12433, "end": 12437, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12437, "end": 12438, "loc": { "start": { "line": 358, "column": 20 }, "end": { "line": 358, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 12438, "end": 12449, "loc": { "start": { "line": 358, "column": 21 }, "end": { "line": 358, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12449, "end": 12450, "loc": { "start": { "line": 358, "column": 32 }, "end": { "line": 358, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 12468, "end": 12471, "loc": { "start": { "line": 359, "column": 16 }, "end": { "line": 359, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12485, "end": 12486, "loc": { "start": { "line": 360, "column": 12 }, "end": { "line": 360, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12486, "end": 12487, "loc": { "start": { "line": 360, "column": 13 }, "end": { "line": 360, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12497, "end": 12498, "loc": { "start": { "line": 361, "column": 8 }, "end": { "line": 361, "column": 9 } } }, { "type": "CommentLine", "value": " Check items etc", "start": 12510, "end": 12528, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 26 } } }, { "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": 12538, "end": 12541, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 12542, "end": 12552, "loc": { "start": { "line": 364, "column": 12 }, "end": { "line": 364, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12553, "end": 12554, "loc": { "start": { "line": 364, "column": 23 }, "end": { "line": 364, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12555, "end": 12559, "loc": { "start": { "line": 364, "column": 25 }, "end": { "line": 364, "column": 29 } } }, { "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": 364, "column": 29 }, "end": { "line": 364, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 12560, "end": 12578, "loc": { "start": { "line": 364, "column": 30 }, "end": { "line": 364, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12578, "end": 12579, "loc": { "start": { "line": 364, "column": 48 }, "end": { "line": 364, "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": 12589, "end": 12592, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12593, "end": 12594, "loc": { "start": { "line": 365, "column": 12 }, "end": { "line": 365, "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": 12594, "end": 12597, "loc": { "start": { "line": 365, "column": 13 }, "end": { "line": 365, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 12598, "end": 12599, "loc": { "start": { "line": 365, "column": 17 }, "end": { "line": 365, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12600, "end": 12601, "loc": { "start": { "line": 365, "column": 19 }, "end": { "line": 365, "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": 12602, "end": 12603, "loc": { "start": { "line": 365, "column": 21 }, "end": { "line": 365, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12603, "end": 12604, "loc": { "start": { "line": 365, "column": 22 }, "end": { "line": 365, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 12605, "end": 12606, "loc": { "start": { "line": 365, "column": 24 }, "end": { "line": 365, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 12607, "end": 12608, "loc": { "start": { "line": 365, "column": 26 }, "end": { "line": 365, "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": 12609, "end": 12613, "loc": { "start": { "line": 365, "column": 28 }, "end": { "line": 365, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12613, "end": 12614, "loc": { "start": { "line": 365, "column": 32 }, "end": { "line": 365, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 12614, "end": 12619, "loc": { "start": { "line": 365, "column": 33 }, "end": { "line": 365, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12619, "end": 12620, "loc": { "start": { "line": 365, "column": 38 }, "end": { "line": 365, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12620, "end": 12626, "loc": { "start": { "line": 365, "column": 39 }, "end": { "line": 365, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12626, "end": 12627, "loc": { "start": { "line": 365, "column": 45 }, "end": { "line": 365, "column": 46 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 12628, "end": 12630, "loc": { "start": { "line": 365, "column": 47 }, "end": { "line": 365, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 12630, "end": 12631, "loc": { "start": { "line": 365, "column": 49 }, "end": { "line": 365, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12631, "end": 12632, "loc": { "start": { "line": 365, "column": 50 }, "end": { "line": 365, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12633, "end": 12634, "loc": { "start": { "line": 365, "column": 52 }, "end": { "line": 365, "column": 53 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 12648, "end": 12653, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 12654, "end": 12658, "loc": { "start": { "line": 366, "column": 18 }, "end": { "line": 366, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12659, "end": 12660, "loc": { "start": { "line": 366, "column": 23 }, "end": { "line": 366, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12661, "end": 12665, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12665, "end": 12666, "loc": { "start": { "line": 366, "column": 29 }, "end": { "line": 366, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 12666, "end": 12671, "loc": { "start": { "line": 366, "column": 30 }, "end": { "line": 366, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12671, "end": 12672, "loc": { "start": { "line": 366, "column": 35 }, "end": { "line": 366, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 12672, "end": 12673, "loc": { "start": { "line": 366, "column": 36 }, "end": { "line": 366, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12673, "end": 12674, "loc": { "start": { "line": 366, "column": 37 }, "end": { "line": 366, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12674, "end": 12675, "loc": { "start": { "line": 366, "column": 38 }, "end": { "line": 366, "column": 39 } } }, { "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": 12691, "end": 12693, "loc": { "start": { "line": 368, "column": 12 }, "end": { "line": 368, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12694, "end": 12695, "loc": { "start": { "line": 368, "column": 15 }, "end": { "line": 368, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 12695, "end": 12699, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12699, "end": 12700, "loc": { "start": { "line": 368, "column": 20 }, "end": { "line": 368, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 12700, "end": 12713, "loc": { "start": { "line": 368, "column": 21 }, "end": { "line": 368, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12713, "end": 12714, "loc": { "start": { "line": 368, "column": 34 }, "end": { "line": 368, "column": 35 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 12715, "end": 12716, "loc": { "start": { "line": 368, "column": 36 }, "end": { "line": 368, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 12717, "end": 12718, "loc": { "start": { "line": 368, "column": 38 }, "end": { "line": 368, "column": 39 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12719, "end": 12721, "loc": { "start": { "line": 368, "column": 40 }, "end": { "line": 368, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 12722, "end": 12726, "loc": { "start": { "line": 368, "column": 43 }, "end": { "line": 368, "column": 47 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12726, "end": 12727, "loc": { "start": { "line": 368, "column": 47 }, "end": { "line": 368, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 12727, "end": 12740, "loc": { "start": { "line": 368, "column": 48 }, "end": { "line": 368, "column": 61 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12740, "end": 12741, "loc": { "start": { "line": 368, "column": 61 }, "end": { "line": 368, "column": 62 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 12742, "end": 12743, "loc": { "start": { "line": 368, "column": 63 }, "end": { "line": 368, "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": 12744, "end": 12748, "loc": { "start": { "line": 368, "column": 65 }, "end": { "line": 368, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12748, "end": 12749, "loc": { "start": { "line": 368, "column": 69 }, "end": { "line": 368, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 12749, "end": 12760, "loc": { "start": { "line": 368, "column": 70 }, "end": { "line": 368, "column": 81 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 12761, "end": 12762, "loc": { "start": { "line": 368, "column": 82 }, "end": { "line": 368, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.02, "start": 12763, "end": 12767, "loc": { "start": { "line": 368, "column": 84 }, "end": { "line": 368, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12767, "end": 12768, "loc": { "start": { "line": 368, "column": 88 }, "end": { "line": 368, "column": 89 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12769, "end": 12770, "loc": { "start": { "line": 368, "column": 90 }, "end": { "line": 368, "column": 91 } } }, { "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": 12788, "end": 12794, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 12795, "end": 12799, "loc": { "start": { "line": 369, "column": 23 }, "end": { "line": 369, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12799, "end": 12800, "loc": { "start": { "line": 369, "column": 27 }, "end": { "line": 369, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Item has invalid offset to next item: ", "start": 12822, "end": 12862, "loc": { "start": { "line": 370, "column": 20 }, "end": { "line": 370, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12862, "end": 12863, "loc": { "start": { "line": 370, "column": 60 }, "end": { "line": 370, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 12885, "end": 12889, "loc": { "start": { "line": 371, "column": 20 }, "end": { "line": 371, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12889, "end": 12890, "loc": { "start": { "line": 371, "column": 24 }, "end": { "line": 371, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 12890, "end": 12903, "loc": { "start": { "line": 371, "column": 25 }, "end": { "line": 371, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12903, "end": 12904, "loc": { "start": { "line": 371, "column": 38 }, "end": { "line": 371, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12904, "end": 12905, "loc": { "start": { "line": 371, "column": 39 }, "end": { "line": 371, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(total length:", "start": 12927, "end": 12943, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 372, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12943, "end": 12944, "loc": { "start": { "line": 372, "column": 36 }, "end": { "line": 372, "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": 12966, "end": 12970, "loc": { "start": { "line": 373, "column": 20 }, "end": { "line": 373, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12970, "end": 12971, "loc": { "start": { "line": 373, "column": 24 }, "end": { "line": 373, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 12971, "end": 12982, "loc": { "start": { "line": 373, "column": 25 }, "end": { "line": 373, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12982, "end": 12983, "loc": { "start": { "line": 373, "column": 36 }, "end": { "line": 373, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 13005, "end": 13008, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13026, "end": 13027, "loc": { "start": { "line": 375, "column": 16 }, "end": { "line": 375, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13027, "end": 13028, "loc": { "start": { "line": 375, "column": 17 }, "end": { "line": 375, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13042, "end": 13043, "loc": { "start": { "line": 376, "column": 12 }, "end": { "line": 376, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 13059, "end": 13069, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 13070, "end": 13072, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13073, "end": 13077, "loc": { "start": { "line": 378, "column": 26 }, "end": { "line": 378, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13077, "end": 13078, "loc": { "start": { "line": 378, "column": 30 }, "end": { "line": 378, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 13078, "end": 13091, "loc": { "start": { "line": 378, "column": 31 }, "end": { "line": 378, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13091, "end": 13092, "loc": { "start": { "line": 378, "column": 44 }, "end": { "line": 378, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13092, "end": 13093, "loc": { "start": { "line": 378, "column": 45 }, "end": { "line": 378, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13103, "end": 13104, "loc": { "start": { "line": 379, "column": 8 }, "end": { "line": 379, "column": 9 } } }, { "type": "CommentLine", "value": " Check the total sum matches", "start": 13116, "end": 13146, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 38 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13156, "end": 13158, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13159, "end": 13160, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13160, "end": 13161, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilonCompare", "start": 13161, "end": 13175, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13175, "end": 13176, "loc": { "start": { "line": 382, "column": 27 }, "end": { "line": 382, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 13176, "end": 13186, "loc": { "start": { "line": 382, "column": 28 }, "end": { "line": 382, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13186, "end": 13187, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "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": 13188, "end": 13192, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13192, "end": 13193, "loc": { "start": { "line": 382, "column": 44 }, "end": { "line": 382, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 13193, "end": 13204, "loc": { "start": { "line": 382, "column": 45 }, "end": { "line": 382, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13204, "end": 13205, "loc": { "start": { "line": 382, "column": 56 }, "end": { "line": 382, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 13206, "end": 13210, "loc": { "start": { "line": 382, "column": 58 }, "end": { "line": 382, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13210, "end": 13211, "loc": { "start": { "line": 382, "column": 62 }, "end": { "line": 382, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13211, "end": 13212, "loc": { "start": { "line": 382, "column": 63 }, "end": { "line": 382, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13213, "end": 13214, "loc": { "start": { "line": 382, "column": 65 }, "end": { "line": 382, "column": 66 } } }, { "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": 13228, "end": 13234, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 383, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 13235, "end": 13239, "loc": { "start": { "line": 383, "column": 19 }, "end": { "line": 383, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13239, "end": 13240, "loc": { "start": { "line": 383, "column": 23 }, "end": { "line": 383, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "total sum (", "start": 13258, "end": 13271, "loc": { "start": { "line": 384, "column": 16 }, "end": { "line": 384, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13271, "end": 13272, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPos", "start": 13290, "end": 13300, "loc": { "start": { "line": 385, "column": 16 }, "end": { "line": 385, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13300, "end": 13301, "loc": { "start": { "line": 385, "column": 26 }, "end": { "line": 385, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") of first item spacing (", "start": 13319, "end": 13346, "loc": { "start": { "line": 386, "column": 16 }, "end": { "line": 386, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13346, "end": 13347, "loc": { "start": { "line": 386, "column": 43 }, "end": { "line": 386, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13365, "end": 13369, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13369, "end": 13370, "loc": { "start": { "line": 387, "column": 20 }, "end": { "line": 387, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 13370, "end": 13388, "loc": { "start": { "line": 387, "column": 21 }, "end": { "line": 387, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13388, "end": 13389, "loc": { "start": { "line": 387, "column": 39 }, "end": { "line": 387, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") and items does not match total length (", "start": 13407, "end": 13450, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13450, "end": 13451, "loc": { "start": { "line": 388, "column": 59 }, "end": { "line": 388, "column": 60 } } }, { "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": 13469, "end": 13473, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13473, "end": 13474, "loc": { "start": { "line": 389, "column": 20 }, "end": { "line": 389, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 13474, "end": 13485, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13485, "end": 13486, "loc": { "start": { "line": 389, "column": 32 }, "end": { "line": 389, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") -> items: ", "start": 13504, "end": 13518, "loc": { "start": { "line": 390, "column": 16 }, "end": { "line": 390, "column": 30 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13519, "end": 13520, "loc": { "start": { "line": 390, "column": 31 }, "end": { "line": 390, "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": 13521, "end": 13525, "loc": { "start": { "line": 390, "column": 33 }, "end": { "line": 390, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13525, "end": 13526, "loc": { "start": { "line": 390, "column": 37 }, "end": { "line": 390, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 13526, "end": 13531, "loc": { "start": { "line": 390, "column": 38 }, "end": { "line": 390, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13531, "end": 13532, "loc": { "start": { "line": 390, "column": 43 }, "end": { "line": 390, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 13532, "end": 13535, "loc": { "start": { "line": 390, "column": 44 }, "end": { "line": 390, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13535, "end": 13536, "loc": { "start": { "line": 390, "column": 47 }, "end": { "line": 390, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13536, "end": 13537, "loc": { "start": { "line": 390, "column": 48 }, "end": { "line": 390, "column": 49 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13538, "end": 13540, "loc": { "start": { "line": 390, "column": 50 }, "end": { "line": 390, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13541, "end": 13542, "loc": { "start": { "line": 390, "column": 53 }, "end": { "line": 390, "column": 54 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13542, "end": 13543, "loc": { "start": { "line": 390, "column": 54 }, "end": { "line": 390, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 13543, "end": 13556, "loc": { "start": { "line": 390, "column": 55 }, "end": { "line": 390, "column": 68 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13556, "end": 13557, "loc": { "start": { "line": 390, "column": 68 }, "end": { "line": 390, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13557, "end": 13558, "loc": { "start": { "line": 390, "column": 69 }, "end": { "line": 390, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13558, "end": 13559, "loc": { "start": { "line": 390, "column": 70 }, "end": { "line": 390, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 13559, "end": 13563, "loc": { "start": { "line": 390, "column": 71 }, "end": { "line": 390, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13563, "end": 13564, "loc": { "start": { "line": 390, "column": 75 }, "end": { "line": 390, "column": 76 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "|", "start": 13564, "end": 13567, "loc": { "start": { "line": 390, "column": 76 }, "end": { "line": 390, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13567, "end": 13568, "loc": { "start": { "line": 390, "column": 79 }, "end": { "line": 390, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13582, "end": 13583, "loc": { "start": { "line": 391, "column": 12 }, "end": { "line": 391, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13583, "end": 13584, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13594, "end": 13595, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 9 } } }, { "type": "CommentLine", "value": " Check bounds", "start": 13607, "end": 13622, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 23 } } }, { "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": 13632, "end": 13637, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actualBounds", "start": 13638, "end": 13650, "loc": { "start": { "line": 395, "column": 14 }, "end": { "line": 395, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13651, "end": 13652, "loc": { "start": { "line": 395, "column": 27 }, "end": { "line": 395, "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": 13653, "end": 13657, "loc": { "start": { "line": 395, "column": 29 }, "end": { "line": 395, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13657, "end": 13658, "loc": { "start": { "line": 395, "column": 33 }, "end": { "line": 395, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 13658, "end": 13671, "loc": { "start": { "line": 395, "column": 34 }, "end": { "line": 395, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13671, "end": 13672, "loc": { "start": { "line": 395, "column": 47 }, "end": { "line": 395, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13672, "end": 13673, "loc": { "start": { "line": 395, "column": 48 }, "end": { "line": 395, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13673, "end": 13674, "loc": { "start": { "line": 395, "column": 49 }, "end": { "line": 395, "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": 13684, "end": 13686, "loc": { "start": { "line": 396, "column": 8 }, "end": { "line": 396, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13687, "end": 13688, "loc": { "start": { "line": 396, "column": 11 }, "end": { "line": 396, "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": 13688, "end": 13689, "loc": { "start": { "line": 396, "column": 12 }, "end": { "line": 396, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actualBounds", "start": 13689, "end": 13701, "loc": { "start": { "line": 396, "column": 13 }, "end": { "line": 396, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13701, "end": 13702, "loc": { "start": { "line": 396, "column": 25 }, "end": { "line": 396, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "equalsEpsilon", "start": 13702, "end": 13715, "loc": { "start": { "line": 396, "column": 26 }, "end": { "line": 396, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13715, "end": 13716, "loc": { "start": { "line": 396, "column": 39 }, "end": { "line": 396, "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": 13716, "end": 13720, "loc": { "start": { "line": 396, "column": 40 }, "end": { "line": 396, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13720, "end": 13721, "loc": { "start": { "line": 396, "column": 44 }, "end": { "line": 396, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 13721, "end": 13732, "loc": { "start": { "line": 396, "column": 45 }, "end": { "line": 396, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13732, "end": 13733, "loc": { "start": { "line": 396, "column": 56 }, "end": { "line": 396, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 13734, "end": 13738, "loc": { "start": { "line": 396, "column": 58 }, "end": { "line": 396, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13738, "end": 13739, "loc": { "start": { "line": 396, "column": 62 }, "end": { "line": 396, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13739, "end": 13740, "loc": { "start": { "line": 396, "column": 63 }, "end": { "line": 396, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13741, "end": 13742, "loc": { "start": { "line": 396, "column": 65 }, "end": { "line": 396, "column": 66 } } }, { "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": 13756, "end": 13762, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 13763, "end": 13767, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13767, "end": 13768, "loc": { "start": { "line": 397, "column": 23 }, "end": { "line": 397, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Bounds are stale", "start": 13768, "end": 13786, "loc": { "start": { "line": 397, "column": 24 }, "end": { "line": 397, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13786, "end": 13787, "loc": { "start": { "line": 397, "column": 42 }, "end": { "line": 397, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13787, "end": 13788, "loc": { "start": { "line": 397, "column": 43 }, "end": { "line": 397, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13798, "end": 13799, "loc": { "start": { "line": 398, "column": 8 }, "end": { "line": 398, "column": 9 } } }, { "type": "CommentLine", "value": " Check acceptor", "start": 13811, "end": 13828, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 25 } } }, { "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": 13838, "end": 13843, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 13844, "end": 13852, "loc": { "start": { "line": 401, "column": 14 }, "end": { "line": 401, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13853, "end": 13854, "loc": { "start": { "line": 401, "column": 23 }, "end": { "line": 401, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13855, "end": 13859, "loc": { "start": { "line": 401, "column": 25 }, "end": { "line": 401, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13859, "end": 13860, "loc": { "start": { "line": 401, "column": 29 }, "end": { "line": 401, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeAcceptingEntityAndSlot", "start": 13860, "end": 13889, "loc": { "start": { "line": 401, "column": 30 }, "end": { "line": 401, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13889, "end": 13890, "loc": { "start": { "line": 401, "column": 59 }, "end": { "line": 401, "column": 60 } } }, { "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": 13890, "end": 13894, "loc": { "start": { "line": 401, "column": 60 }, "end": { "line": 401, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13894, "end": 13895, "loc": { "start": { "line": 401, "column": 64 }, "end": { "line": 401, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13895, "end": 13896, "loc": { "start": { "line": 401, "column": 65 }, "end": { "line": 401, "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": 13906, "end": 13908, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13909, "end": 13910, "loc": { "start": { "line": 402, "column": 11 }, "end": { "line": 402, "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": 13910, "end": 13911, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 13 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13911, "end": 13912, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 13912, "end": 13920, "loc": { "start": { "line": 402, "column": 14 }, "end": { "line": 402, "column": 22 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 13921, "end": 13924, "loc": { "start": { "line": 402, "column": 23 }, "end": { "line": 402, "column": 26 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13925, "end": 13926, "loc": { "start": { "line": 402, "column": 27 }, "end": { "line": 402, "column": 28 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13926, "end": 13927, "loc": { "start": { "line": 402, "column": 28 }, "end": { "line": 402, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13927, "end": 13931, "loc": { "start": { "line": 402, "column": 29 }, "end": { "line": 402, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13931, "end": 13932, "loc": { "start": { "line": 402, "column": 33 }, "end": { "line": 402, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 13932, "end": 13946, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13946, "end": 13947, "loc": { "start": { "line": 402, "column": 48 }, "end": { "line": 402, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13948, "end": 13949, "loc": { "start": { "line": 402, "column": 50 }, "end": { "line": 402, "column": 51 } } }, { "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": 13963, "end": 13969, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 13970, "end": 13974, "loc": { "start": { "line": 403, "column": 19 }, "end": { "line": 403, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13974, "end": 13975, "loc": { "start": { "line": 403, "column": 23 }, "end": { "line": 403, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Acceptor target mismatch, acceptor", "start": 13975, "end": 14011, "loc": { "start": { "line": 403, "column": 24 }, "end": { "line": 403, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14011, "end": 14012, "loc": { "start": { "line": 403, "column": 60 }, "end": { "line": 403, "column": 61 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14013, "end": 14014, "loc": { "start": { "line": 403, "column": 62 }, "end": { "line": 403, "column": 63 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14014, "end": 14015, "loc": { "start": { "line": 403, "column": 63 }, "end": { "line": 403, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14015, "end": 14023, "loc": { "start": { "line": 403, "column": 64 }, "end": { "line": 403, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14023, "end": 14024, "loc": { "start": { "line": 403, "column": 72 }, "end": { "line": 403, "column": 73 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "vs stored", "start": 14025, "end": 14036, "loc": { "start": { "line": 403, "column": 74 }, "end": { "line": 403, "column": 85 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14036, "end": 14037, "loc": { "start": { "line": 403, "column": 85 }, "end": { "line": 403, "column": 86 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14038, "end": 14039, "loc": { "start": { "line": 403, "column": 87 }, "end": { "line": 403, "column": 88 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14039, "end": 14040, "loc": { "start": { "line": 403, "column": 88 }, "end": { "line": 403, "column": 89 } } }, { "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": 14040, "end": 14044, "loc": { "start": { "line": 403, "column": 89 }, "end": { "line": 403, "column": 93 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14044, "end": 14045, "loc": { "start": { "line": 403, "column": 93 }, "end": { "line": 403, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14045, "end": 14059, "loc": { "start": { "line": 403, "column": 94 }, "end": { "line": 403, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14059, "end": 14060, "loc": { "start": { "line": 403, "column": 108 }, "end": { "line": 403, "column": 109 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14060, "end": 14061, "loc": { "start": { "line": 403, "column": 109 }, "end": { "line": 403, "column": 110 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14071, "end": 14072, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "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": 14084, "end": 14086, "loc": { "start": { "line": 406, "column": 8 }, "end": { "line": 406, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14087, "end": 14088, "loc": { "start": { "line": 406, "column": 11 }, "end": { "line": 406, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14088, "end": 14096, "loc": { "start": { "line": 406, "column": 12 }, "end": { "line": 406, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14096, "end": 14097, "loc": { "start": { "line": 406, "column": 20 }, "end": { "line": 406, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14098, "end": 14099, "loc": { "start": { "line": 406, "column": 22 }, "end": { "line": 406, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14113, "end": 14115, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14116, "end": 14117, "loc": { "start": { "line": 407, "column": 15 }, "end": { "line": 407, "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": 14117, "end": 14121, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14121, "end": 14122, "loc": { "start": { "line": 407, "column": 20 }, "end": { "line": 407, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14122, "end": 14136, "loc": { "start": { "line": 407, "column": 21 }, "end": { "line": 407, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14136, "end": 14137, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 14137, "end": 14143, "loc": { "start": { "line": 407, "column": 36 }, "end": { "line": 407, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 14144, "end": 14147, "loc": { "start": { "line": 407, "column": 43 }, "end": { "line": 407, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14148, "end": 14156, "loc": { "start": { "line": 407, "column": 47 }, "end": { "line": 407, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14156, "end": 14157, "loc": { "start": { "line": 407, "column": 55 }, "end": { "line": 407, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 14157, "end": 14163, "loc": { "start": { "line": 407, "column": 56 }, "end": { "line": 407, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14163, "end": 14164, "loc": { "start": { "line": 407, "column": 62 }, "end": { "line": 407, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14165, "end": 14166, "loc": { "start": { "line": 407, "column": 64 }, "end": { "line": 407, "column": 65 } } }, { "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": 14184, "end": 14190, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 14191, "end": 14195, "loc": { "start": { "line": 408, "column": 23 }, "end": { "line": 408, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14195, "end": 14196, "loc": { "start": { "line": 408, "column": 27 }, "end": { "line": 408, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Mismatching entity on acceptor target:", "start": 14218, "end": 14258, "loc": { "start": { "line": 409, "column": 20 }, "end": { "line": 409, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14258, "end": 14259, "loc": { "start": { "line": 409, "column": 60 }, "end": { "line": 409, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14281, "end": 14289, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14289, "end": 14290, "loc": { "start": { "line": 410, "column": 28 }, "end": { "line": 410, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 14290, "end": 14296, "loc": { "start": { "line": 410, "column": 29 }, "end": { "line": 410, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14296, "end": 14297, "loc": { "start": { "line": 410, "column": 35 }, "end": { "line": 410, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 14297, "end": 14300, "loc": { "start": { "line": 410, "column": 36 }, "end": { "line": 410, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14300, "end": 14301, "loc": { "start": { "line": 410, "column": 39 }, "end": { "line": 410, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "vs", "start": 14323, "end": 14327, "loc": { "start": { "line": 411, "column": 20 }, "end": { "line": 411, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14327, "end": 14328, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 14350, "end": 14354, "loc": { "start": { "line": 412, "column": 20 }, "end": { "line": 412, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14354, "end": 14355, "loc": { "start": { "line": 412, "column": 24 }, "end": { "line": 412, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14355, "end": 14369, "loc": { "start": { "line": 412, "column": 25 }, "end": { "line": 412, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14369, "end": 14370, "loc": { "start": { "line": 412, "column": 39 }, "end": { "line": 412, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 14370, "end": 14376, "loc": { "start": { "line": 412, "column": 40 }, "end": { "line": 412, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14376, "end": 14377, "loc": { "start": { "line": 412, "column": 46 }, "end": { "line": 412, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 14377, "end": 14380, "loc": { "start": { "line": 412, "column": 47 }, "end": { "line": 412, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14398, "end": 14399, "loc": { "start": { "line": 413, "column": 16 }, "end": { "line": 413, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14399, "end": 14400, "loc": { "start": { "line": 413, "column": 17 }, "end": { "line": 413, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14414, "end": 14415, "loc": { "start": { "line": 414, "column": 12 }, "end": { "line": 414, "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": 14431, "end": 14433, "loc": { "start": { "line": 416, "column": 12 }, "end": { "line": 416, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14434, "end": 14435, "loc": { "start": { "line": 416, "column": 15 }, "end": { "line": 416, "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": 14435, "end": 14439, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14439, "end": 14440, "loc": { "start": { "line": 416, "column": 20 }, "end": { "line": 416, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14440, "end": 14454, "loc": { "start": { "line": 416, "column": 21 }, "end": { "line": 416, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14454, "end": 14455, "loc": { "start": { "line": 416, "column": 35 }, "end": { "line": 416, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 14455, "end": 14459, "loc": { "start": { "line": 416, "column": 36 }, "end": { "line": 416, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 14460, "end": 14463, "loc": { "start": { "line": 416, "column": 41 }, "end": { "line": 416, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14464, "end": 14472, "loc": { "start": { "line": 416, "column": 45 }, "end": { "line": 416, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14472, "end": 14473, "loc": { "start": { "line": 416, "column": 53 }, "end": { "line": 416, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 14473, "end": 14477, "loc": { "start": { "line": 416, "column": 54 }, "end": { "line": 416, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14477, "end": 14478, "loc": { "start": { "line": 416, "column": 58 }, "end": { "line": 416, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14479, "end": 14480, "loc": { "start": { "line": 416, "column": 60 }, "end": { "line": 416, "column": 61 } } }, { "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": 14498, "end": 14504, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 14505, "end": 14509, "loc": { "start": { "line": 417, "column": 23 }, "end": { "line": 417, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14509, "end": 14510, "loc": { "start": { "line": 417, "column": 27 }, "end": { "line": 417, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Mismatching entity on acceptor target:", "start": 14532, "end": 14572, "loc": { "start": { "line": 418, "column": 20 }, "end": { "line": 418, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14572, "end": 14573, "loc": { "start": { "line": 418, "column": 60 }, "end": { "line": 418, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14595, "end": 14603, "loc": { "start": { "line": 419, "column": 20 }, "end": { "line": 419, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14603, "end": 14604, "loc": { "start": { "line": 419, "column": 28 }, "end": { "line": 419, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 14604, "end": 14608, "loc": { "start": { "line": 419, "column": 29 }, "end": { "line": 419, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14608, "end": 14609, "loc": { "start": { "line": 419, "column": 33 }, "end": { "line": 419, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "vs stored", "start": 14631, "end": 14642, "loc": { "start": { "line": 420, "column": 20 }, "end": { "line": 420, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14642, "end": 14643, "loc": { "start": { "line": 420, "column": 31 }, "end": { "line": 420, "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": 14665, "end": 14669, "loc": { "start": { "line": 421, "column": 20 }, "end": { "line": 421, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14669, "end": 14670, "loc": { "start": { "line": 421, "column": 24 }, "end": { "line": 421, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14670, "end": 14684, "loc": { "start": { "line": 421, "column": 25 }, "end": { "line": 421, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14684, "end": 14685, "loc": { "start": { "line": 421, "column": 39 }, "end": { "line": 421, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 14685, "end": 14689, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14707, "end": 14708, "loc": { "start": { "line": 422, "column": 16 }, "end": { "line": 422, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14708, "end": 14709, "loc": { "start": { "line": 422, "column": 17 }, "end": { "line": 422, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14723, "end": 14724, "loc": { "start": { "line": 423, "column": 12 }, "end": { "line": 423, "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": 14740, "end": 14742, "loc": { "start": { "line": 425, "column": 12 }, "end": { "line": 425, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14743, "end": 14744, "loc": { "start": { "line": 425, "column": 15 }, "end": { "line": 425, "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": 14744, "end": 14748, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14748, "end": 14749, "loc": { "start": { "line": 425, "column": 20 }, "end": { "line": 425, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14749, "end": 14763, "loc": { "start": { "line": 425, "column": 21 }, "end": { "line": 425, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14763, "end": 14764, "loc": { "start": { "line": 425, "column": 35 }, "end": { "line": 425, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 14764, "end": 14773, "loc": { "start": { "line": 425, "column": 36 }, "end": { "line": 425, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 14774, "end": 14777, "loc": { "start": { "line": 425, "column": 46 }, "end": { "line": 425, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14778, "end": 14786, "loc": { "start": { "line": 425, "column": 50 }, "end": { "line": 425, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14786, "end": 14787, "loc": { "start": { "line": 425, "column": 58 }, "end": { "line": 425, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 14787, "end": 14796, "loc": { "start": { "line": 425, "column": 59 }, "end": { "line": 425, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14796, "end": 14797, "loc": { "start": { "line": 425, "column": 68 }, "end": { "line": 425, "column": 69 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14798, "end": 14799, "loc": { "start": { "line": 425, "column": 70 }, "end": { "line": 425, "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": 14817, "end": 14823, "loc": { "start": { "line": 426, "column": 16 }, "end": { "line": 426, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fail", "start": 14824, "end": 14828, "loc": { "start": { "line": 426, "column": 23 }, "end": { "line": 426, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14828, "end": 14829, "loc": { "start": { "line": 426, "column": 27 }, "end": { "line": 426, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Mismatching direction on acceptor target:", "start": 14851, "end": 14894, "loc": { "start": { "line": 427, "column": 20 }, "end": { "line": 427, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14894, "end": 14895, "loc": { "start": { "line": 427, "column": 63 }, "end": { "line": 427, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptor", "start": 14917, "end": 14925, "loc": { "start": { "line": 428, "column": 20 }, "end": { "line": 428, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14925, "end": 14926, "loc": { "start": { "line": 428, "column": 28 }, "end": { "line": 428, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 14926, "end": 14935, "loc": { "start": { "line": 428, "column": 29 }, "end": { "line": 428, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14935, "end": 14936, "loc": { "start": { "line": 428, "column": 38 }, "end": { "line": 428, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "vs stored", "start": 14958, "end": 14969, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14969, "end": 14970, "loc": { "start": { "line": 429, "column": 31 }, "end": { "line": 429, "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": 14992, "end": 14996, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14996, "end": 14997, "loc": { "start": { "line": 430, "column": 24 }, "end": { "line": 430, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 14997, "end": 15011, "loc": { "start": { "line": 430, "column": 25 }, "end": { "line": 430, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15011, "end": 15012, "loc": { "start": { "line": 430, "column": 39 }, "end": { "line": 430, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 15012, "end": 15021, "loc": { "start": { "line": 430, "column": 40 }, "end": { "line": 430, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15039, "end": 15040, "loc": { "start": { "line": 431, "column": 16 }, "end": { "line": 431, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15040, "end": 15041, "loc": { "start": { "line": 431, "column": 17 }, "end": { "line": 431, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15055, "end": 15056, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15066, "end": 15067, "loc": { "start": { "line": 433, "column": 8 }, "end": { "line": 433, "column": 9 } } }, { "type": "CommentLine", "value": " Check first nonzero offset", "start": 15079, "end": 15108, "loc": { "start": { "line": 435, "column": 8 }, "end": { "line": 435, "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": 15118, "end": 15121, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstNonzero", "start": 15122, "end": 15134, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15135, "end": 15136, "loc": { "start": { "line": 436, "column": 25 }, "end": { "line": 436, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 15137, "end": 15138, "loc": { "start": { "line": 436, "column": 27 }, "end": { "line": 436, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15138, "end": 15139, "loc": { "start": { "line": 436, "column": 28 }, "end": { "line": 436, "column": 29 } } }, { "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": 15149, "end": 15152, "loc": { "start": { "line": 437, "column": 8 }, "end": { "line": 437, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15153, "end": 15154, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "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": 15154, "end": 15157, "loc": { "start": { "line": 437, "column": 13 }, "end": { "line": 437, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 15158, "end": 15159, "loc": { "start": { "line": 437, "column": 17 }, "end": { "line": 437, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15160, "end": 15161, "loc": { "start": { "line": 437, "column": 19 }, "end": { "line": 437, "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": 15162, "end": 15166, "loc": { "start": { "line": 437, "column": 21 }, "end": { "line": 437, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15166, "end": 15167, "loc": { "start": { "line": 437, "column": 25 }, "end": { "line": 437, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 15167, "end": 15172, "loc": { "start": { "line": 437, "column": 26 }, "end": { "line": 437, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15172, "end": 15173, "loc": { "start": { "line": 437, "column": 31 }, "end": { "line": 437, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15173, "end": 15179, "loc": { "start": { "line": 437, "column": 32 }, "end": { "line": 437, "column": 38 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 15180, "end": 15181, "loc": { "start": { "line": 437, "column": 39 }, "end": { "line": 437, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 15182, "end": 15183, "loc": { "start": { "line": 437, "column": 41 }, "end": { "line": 437, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15183, "end": 15184, "loc": { "start": { "line": 437, "column": 42 }, "end": { "line": 437, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 15185, "end": 15186, "loc": { "start": { "line": 437, "column": 44 }, "end": { "line": 437, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 15187, "end": 15189, "loc": { "start": { "line": 437, "column": 46 }, "end": { "line": 437, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 15190, "end": 15191, "loc": { "start": { "line": 437, "column": 49 }, "end": { "line": 437, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15191, "end": 15192, "loc": { "start": { "line": 437, "column": 50 }, "end": { "line": 437, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 15193, "end": 15195, "loc": { "start": { "line": 437, "column": 52 }, "end": { "line": 437, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 15195, "end": 15196, "loc": { "start": { "line": 437, "column": 54 }, "end": { "line": 437, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15196, "end": 15197, "loc": { "start": { "line": 437, "column": 55 }, "end": { "line": 437, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15198, "end": 15199, "loc": { "start": { "line": 437, "column": 57 }, "end": { "line": 437, "column": 58 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15213, "end": 15215, "loc": { "start": { "line": 438, "column": 12 }, "end": { "line": 438, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15216, "end": 15217, "loc": { "start": { "line": 438, "column": 15 }, "end": { "line": 438, "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": 15217, "end": 15221, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15221, "end": 15222, "loc": { "start": { "line": 438, "column": 20 }, "end": { "line": 438, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 15222, "end": 15227, "loc": { "start": { "line": 438, "column": 21 }, "end": { "line": 438, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15227, "end": 15228, "loc": { "start": { "line": 438, "column": 26 }, "end": { "line": 438, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 15228, "end": 15229, "loc": { "start": { "line": 438, "column": 27 }, "end": { "line": 438, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15229, "end": 15230, "loc": { "start": { "line": 438, "column": 28 }, "end": { "line": 438, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15230, "end": 15231, "loc": { "start": { "line": 438, "column": 29 }, "end": { "line": 438, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 15231, "end": 15244, "loc": { "start": { "line": 438, "column": 30 }, "end": { "line": 438, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15244, "end": 15245, "loc": { "start": { "line": 438, "column": 43 }, "end": { "line": 438, "column": 44 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 15246, "end": 15247, "loc": { "start": { "line": 438, "column": 45 }, "end": { "line": 438, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 15248, "end": 15260, "loc": { "start": { "line": 438, "column": 47 }, "end": { "line": 438, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15260, "end": 15261, "loc": { "start": { "line": 438, "column": 59 }, "end": { "line": 438, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 15261, "end": 15279, "loc": { "start": { "line": 438, "column": 60 }, "end": { "line": 438, "column": 78 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 15280, "end": 15281, "loc": { "start": { "line": 438, "column": 79 }, "end": { "line": 438, "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.00001, "start": 15282, "end": 15286, "loc": { "start": { "line": 438, "column": 81 }, "end": { "line": 438, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15286, "end": 15287, "loc": { "start": { "line": 438, "column": 85 }, "end": { "line": 438, "column": 86 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15288, "end": 15289, "loc": { "start": { "line": 438, "column": 87 }, "end": { "line": 438, "column": 88 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 15307, "end": 15309, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstNonzero", "start": 15309, "end": 15321, "loc": { "start": { "line": 439, "column": 18 }, "end": { "line": 439, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15321, "end": 15322, "loc": { "start": { "line": 439, "column": 30 }, "end": { "line": 439, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15336, "end": 15337, "loc": { "start": { "line": 440, "column": 12 }, "end": { "line": 440, "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": 15338, "end": 15342, "loc": { "start": { "line": 440, "column": 14 }, "end": { "line": 440, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15343, "end": 15344, "loc": { "start": { "line": 440, "column": 19 }, "end": { "line": 440, "column": 20 } } }, { "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": 15362, "end": 15367, "loc": { "start": { "line": 441, "column": 16 }, "end": { "line": 441, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15367, "end": 15368, "loc": { "start": { "line": 441, "column": 21 }, "end": { "line": 441, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15382, "end": 15383, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15393, "end": 15394, "loc": { "start": { "line": 443, "column": 8 }, "end": { "line": 443, "column": 9 } } }, { "type": "CommentLine", "value": " Should warn, but this check isn't actually accurate", "start": 15406, "end": 15460, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 62 } } }, { "type": "CommentLine", "value": " if (firstNonzero !== this.numCompressedItemsAfterFirstItem) {", "start": 15470, "end": 15534, "loc": { "start": { "line": 446, "column": 8 }, "end": { "line": 446, "column": 72 } } }, { "type": "CommentLine", "value": " console.warn(", "start": 15544, "end": 15564, "loc": { "start": { "line": 447, "column": 8 }, "end": { "line": 447, "column": 28 } } }, { "type": "CommentLine", "value": " \"First nonzero index is \" +", "start": 15574, "end": 15612, "loc": { "start": { "line": 448, "column": 8 }, "end": { "line": 448, "column": 46 } } }, { "type": "CommentLine", "value": " firstNonzero +", "start": 15622, "end": 15651, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 449, "column": 37 } } }, { "type": "CommentLine", "value": " \" but stored is \" +", "start": 15661, "end": 15695, "loc": { "start": { "line": 450, "column": 8 }, "end": { "line": 450, "column": 42 } } }, { "type": "CommentLine", "value": " this.numCompressedItemsAfterFirstItem", "start": 15705, "end": 15757, "loc": { "start": { "line": 451, "column": 8 }, "end": { "line": 451, "column": 60 } } }, { "type": "CommentLine", "value": " );", "start": 15767, "end": 15776, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 17 } } }, { "type": "CommentLine", "value": " }", "start": 15786, "end": 15790, "loc": { "start": { "line": 453, "column": 8 }, "end": { "line": 453, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15796, "end": 15797, "loc": { "start": { "line": 454, "column": 4 }, "end": { "line": 454, "column": 5 } } }, { "type": "CommentBlock", "value": " dev:end ", "start": 15805, "end": 15818, "loc": { "start": { "line": 456, "column": 4 }, "end": { "line": 456, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the belt path by the given belt\r\n * @param {Entity} entity\r\n ", "start": 15826, "end": 15917, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 461, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "extendOnEnd", "start": 15923, "end": 15934, "loc": { "start": { "line": 462, "column": 4 }, "end": { "line": 462, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15934, "end": 15935, "loc": { "start": { "line": 462, "column": 15 }, "end": { "line": 462, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 15935, "end": 15941, "loc": { "start": { "line": 462, "column": 16 }, "end": { "line": 462, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15941, "end": 15942, "loc": { "start": { "line": 462, "column": 22 }, "end": { "line": 462, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15943, "end": 15944, "loc": { "start": { "line": 462, "column": 24 }, "end": { "line": 462, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 15954, "end": 15959, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15960, "end": 15962, "loc": { "start": { "line": 463, "column": 14 }, "end": { "line": 463, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 15963, "end": 15969, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15969, "end": 15970, "loc": { "start": { "line": 463, "column": 23 }, "end": { "line": 463, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 15970, "end": 15973, "loc": { "start": { "line": 463, "column": 24 }, "end": { "line": 463, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15973, "end": 15974, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Extending belt path by entity at", "start": 15974, "end": 16008, "loc": { "start": { "line": 463, "column": 28 }, "end": { "line": 463, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16008, "end": 16009, "loc": { "start": { "line": 463, "column": 62 }, "end": { "line": 463, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 16010, "end": 16016, "loc": { "start": { "line": 463, "column": 64 }, "end": { "line": 463, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16016, "end": 16017, "loc": { "start": { "line": 463, "column": 70 }, "end": { "line": 463, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 16017, "end": 16027, "loc": { "start": { "line": 463, "column": 71 }, "end": { "line": 463, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16027, "end": 16028, "loc": { "start": { "line": 463, "column": 81 }, "end": { "line": 463, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 16028, "end": 16043, "loc": { "start": { "line": 463, "column": 82 }, "end": { "line": 463, "column": 97 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16043, "end": 16044, "loc": { "start": { "line": 463, "column": 97 }, "end": { "line": 463, "column": 98 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 16044, "end": 16050, "loc": { "start": { "line": 463, "column": 98 }, "end": { "line": 463, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16050, "end": 16051, "loc": { "start": { "line": 463, "column": 104 }, "end": { "line": 463, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16051, "end": 16052, "loc": { "start": { "line": 463, "column": 105 }, "end": { "line": 463, "column": 106 } } }, { "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": 16064, "end": 16069, "loc": { "start": { "line": 465, "column": 8 }, "end": { "line": 465, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 16070, "end": 16078, "loc": { "start": { "line": 465, "column": 14 }, "end": { "line": 465, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16079, "end": 16080, "loc": { "start": { "line": 465, "column": 23 }, "end": { "line": 465, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 16081, "end": 16087, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16087, "end": 16088, "loc": { "start": { "line": 465, "column": 31 }, "end": { "line": 465, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 16088, "end": 16098, "loc": { "start": { "line": 465, "column": 32 }, "end": { "line": 465, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16098, "end": 16099, "loc": { "start": { "line": 465, "column": 42 }, "end": { "line": 465, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 16099, "end": 16103, "loc": { "start": { "line": 465, "column": 43 }, "end": { "line": 465, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16103, "end": 16104, "loc": { "start": { "line": 465, "column": 47 }, "end": { "line": 465, "column": 48 } } }, { "type": "CommentLine", "value": " Append the entity", "start": 16116, "end": 16136, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "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": 16146, "end": 16150, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16150, "end": 16151, "loc": { "start": { "line": 468, "column": 12 }, "end": { "line": 468, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 16151, "end": 16161, "loc": { "start": { "line": 468, "column": 13 }, "end": { "line": 468, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16161, "end": 16162, "loc": { "start": { "line": 468, "column": 23 }, "end": { "line": 468, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 16162, "end": 16166, "loc": { "start": { "line": 468, "column": 24 }, "end": { "line": 468, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16166, "end": 16167, "loc": { "start": { "line": 468, "column": 28 }, "end": { "line": 468, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 16167, "end": 16173, "loc": { "start": { "line": 468, "column": 29 }, "end": { "line": 468, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16173, "end": 16174, "loc": { "start": { "line": 468, "column": 35 }, "end": { "line": 468, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16174, "end": 16175, "loc": { "start": { "line": 468, "column": 36 }, "end": { "line": 468, "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": 16185, "end": 16189, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16189, "end": 16190, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 469, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 16190, "end": 16203, "loc": { "start": { "line": 469, "column": 13 }, "end": { "line": 469, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16203, "end": 16204, "loc": { "start": { "line": 469, "column": 26 }, "end": { "line": 469, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16204, "end": 16205, "loc": { "start": { "line": 469, "column": 27 }, "end": { "line": 469, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16205, "end": 16206, "loc": { "start": { "line": 469, "column": 28 }, "end": { "line": 469, "column": 29 } } }, { "type": "CommentLine", "value": " Extend the path length", "start": 16218, "end": 16243, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 33 } } }, { "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": 16253, "end": 16258, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 472, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 16259, "end": 16275, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16276, "end": 16277, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 16278, "end": 16286, "loc": { "start": { "line": 472, "column": 33 }, "end": { "line": 472, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16286, "end": 16287, "loc": { "start": { "line": 472, "column": 41 }, "end": { "line": 472, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 16287, "end": 16310, "loc": { "start": { "line": 472, "column": 42 }, "end": { "line": 472, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16310, "end": 16311, "loc": { "start": { "line": 472, "column": 65 }, "end": { "line": 472, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16311, "end": 16312, "loc": { "start": { "line": 472, "column": 66 }, "end": { "line": 472, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16312, "end": 16313, "loc": { "start": { "line": 472, "column": 67 }, "end": { "line": 472, "column": 68 } } }, { "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": 16323, "end": 16327, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16327, "end": 16328, "loc": { "start": { "line": 473, "column": 12 }, "end": { "line": 473, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 16328, "end": 16339, "loc": { "start": { "line": 473, "column": 13 }, "end": { "line": 473, "column": 24 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 16340, "end": 16342, "loc": { "start": { "line": 473, "column": 25 }, "end": { "line": 473, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 16343, "end": 16359, "loc": { "start": { "line": 473, "column": 28 }, "end": { "line": 473, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16359, "end": 16360, "loc": { "start": { "line": 473, "column": 44 }, "end": { "line": 473, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 16370, "end": 16375, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16376, "end": 16378, "loc": { "start": { "line": 474, "column": 14 }, "end": { "line": 474, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 16379, "end": 16385, "loc": { "start": { "line": 474, "column": 17 }, "end": { "line": 474, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16385, "end": 16386, "loc": { "start": { "line": 474, "column": 23 }, "end": { "line": 474, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 16386, "end": 16389, "loc": { "start": { "line": 474, "column": 24 }, "end": { "line": 474, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16389, "end": 16390, "loc": { "start": { "line": 474, "column": 27 }, "end": { "line": 474, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Extended total length by", "start": 16390, "end": 16418, "loc": { "start": { "line": 474, "column": 28 }, "end": { "line": 474, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16418, "end": 16419, "loc": { "start": { "line": 474, "column": 56 }, "end": { "line": 474, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 16420, "end": 16436, "loc": { "start": { "line": 474, "column": 58 }, "end": { "line": 474, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16436, "end": 16437, "loc": { "start": { "line": 474, "column": 74 }, "end": { "line": 474, "column": 75 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "to", "start": 16438, "end": 16442, "loc": { "start": { "line": 474, "column": 76 }, "end": { "line": 474, "column": 80 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16442, "end": 16443, "loc": { "start": { "line": 474, "column": 80 }, "end": { "line": 474, "column": 81 } } }, { "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": 16444, "end": 16448, "loc": { "start": { "line": 474, "column": 82 }, "end": { "line": 474, "column": 86 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16448, "end": 16449, "loc": { "start": { "line": 474, "column": 86 }, "end": { "line": 474, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 16449, "end": 16460, "loc": { "start": { "line": 474, "column": 87 }, "end": { "line": 474, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16460, "end": 16461, "loc": { "start": { "line": 474, "column": 98 }, "end": { "line": 474, "column": 99 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16461, "end": 16462, "loc": { "start": { "line": 474, "column": 99 }, "end": { "line": 474, "column": 100 } } }, { "type": "CommentLine", "value": " If we have no item, just update the distance to the first item", "start": 16474, "end": 16539, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 73 } } }, { "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": 16549, "end": 16551, "loc": { "start": { "line": 477, "column": 8 }, "end": { "line": 477, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16552, "end": 16553, "loc": { "start": { "line": 477, "column": 11 }, "end": { "line": 477, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16553, "end": 16557, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16557, "end": 16558, "loc": { "start": { "line": 477, "column": 16 }, "end": { "line": 477, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 16558, "end": 16563, "loc": { "start": { "line": 477, "column": 17 }, "end": { "line": 477, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16563, "end": 16564, "loc": { "start": { "line": 477, "column": 22 }, "end": { "line": 477, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16564, "end": 16570, "loc": { "start": { "line": 477, "column": 23 }, "end": { "line": 477, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 16571, "end": 16574, "loc": { "start": { "line": 477, "column": 30 }, "end": { "line": 477, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16575, "end": 16576, "loc": { "start": { "line": 477, "column": 34 }, "end": { "line": 477, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16576, "end": 16577, "loc": { "start": { "line": 477, "column": 35 }, "end": { "line": 477, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16578, "end": 16579, "loc": { "start": { "line": 477, "column": 37 }, "end": { "line": 477, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16593, "end": 16597, "loc": { "start": { "line": 478, "column": 12 }, "end": { "line": 478, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16597, "end": 16598, "loc": { "start": { "line": 478, "column": 16 }, "end": { "line": 478, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 16598, "end": 16616, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16617, "end": 16618, "loc": { "start": { "line": 478, "column": 36 }, "end": { "line": 478, "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": 16619, "end": 16623, "loc": { "start": { "line": 478, "column": 38 }, "end": { "line": 478, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16623, "end": 16624, "loc": { "start": { "line": 478, "column": 42 }, "end": { "line": 478, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 16624, "end": 16635, "loc": { "start": { "line": 478, "column": 43 }, "end": { "line": 478, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16635, "end": 16636, "loc": { "start": { "line": 478, "column": 54 }, "end": { "line": 478, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 16650, "end": 16655, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16656, "end": 16658, "loc": { "start": { "line": 479, "column": 18 }, "end": { "line": 479, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 16659, "end": 16665, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16665, "end": 16666, "loc": { "start": { "line": 479, "column": 27 }, "end": { "line": 479, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 16666, "end": 16669, "loc": { "start": { "line": 479, "column": 28 }, "end": { "line": 479, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16669, "end": 16670, "loc": { "start": { "line": 479, "column": 31 }, "end": { "line": 479, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Extended spacing to first to", "start": 16670, "end": 16702, "loc": { "start": { "line": 479, "column": 32 }, "end": { "line": 479, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16702, "end": 16703, "loc": { "start": { "line": 479, "column": 64 }, "end": { "line": 479, "column": 65 } } }, { "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": 16704, "end": 16708, "loc": { "start": { "line": 479, "column": 66 }, "end": { "line": 479, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16708, "end": 16709, "loc": { "start": { "line": 479, "column": 70 }, "end": { "line": 479, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 16709, "end": 16720, "loc": { "start": { "line": 479, "column": 71 }, "end": { "line": 479, "column": 82 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16720, "end": 16721, "loc": { "start": { "line": 479, "column": 82 }, "end": { "line": 479, "column": 83 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(= total length)", "start": 16722, "end": 16740, "loc": { "start": { "line": 479, "column": 84 }, "end": { "line": 479, "column": 102 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16740, "end": 16741, "loc": { "start": { "line": 479, "column": 102 }, "end": { "line": 479, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16741, "end": 16742, "loc": { "start": { "line": 479, "column": 103 }, "end": { "line": 479, "column": 104 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16752, "end": 16753, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 9 } } }, { "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": 16754, "end": 16758, "loc": { "start": { "line": 480, "column": 10 }, "end": { "line": 480, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16759, "end": 16760, "loc": { "start": { "line": 480, "column": 15 }, "end": { "line": 480, "column": 16 } } }, { "type": "CommentLine", "value": " Otherwise, update the next-distance of the last item", "start": 16774, "end": 16829, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 67 } } }, { "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": 16843, "end": 16848, "loc": { "start": { "line": 482, "column": 12 }, "end": { "line": 482, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 16849, "end": 16857, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16858, "end": 16859, "loc": { "start": { "line": 482, "column": 27 }, "end": { "line": 482, "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": 16860, "end": 16864, "loc": { "start": { "line": 482, "column": 29 }, "end": { "line": 482, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16864, "end": 16865, "loc": { "start": { "line": 482, "column": 33 }, "end": { "line": 482, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 16865, "end": 16870, "loc": { "start": { "line": 482, "column": 34 }, "end": { "line": 482, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16870, "end": 16871, "loc": { "start": { "line": 482, "column": 39 }, "end": { "line": 482, "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": 16871, "end": 16875, "loc": { "start": { "line": 482, "column": 40 }, "end": { "line": 482, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16875, "end": 16876, "loc": { "start": { "line": 482, "column": 44 }, "end": { "line": 482, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 16876, "end": 16881, "loc": { "start": { "line": 482, "column": 45 }, "end": { "line": 482, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16881, "end": 16882, "loc": { "start": { "line": 482, "column": 50 }, "end": { "line": 482, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16882, "end": 16888, "loc": { "start": { "line": 482, "column": 51 }, "end": { "line": 482, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 16889, "end": 16890, "loc": { "start": { "line": 482, "column": 58 }, "end": { "line": 482, "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": 16891, "end": 16892, "loc": { "start": { "line": 482, "column": 60 }, "end": { "line": 482, "column": 61 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16892, "end": 16893, "loc": { "start": { "line": 482, "column": 61 }, "end": { "line": 482, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16893, "end": 16894, "loc": { "start": { "line": 482, "column": 62 }, "end": { "line": 482, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 16908, "end": 16913, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 483, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16914, "end": 16916, "loc": { "start": { "line": 483, "column": 18 }, "end": { "line": 483, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 16934, "end": 16940, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16940, "end": 16941, "loc": { "start": { "line": 484, "column": 22 }, "end": { "line": 484, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 16941, "end": 16944, "loc": { "start": { "line": 484, "column": 23 }, "end": { "line": 484, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16944, "end": 16945, "loc": { "start": { "line": 484, "column": 26 }, "end": { "line": 484, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Extended spacing of last item from", "start": 16967, "end": 17005, "loc": { "start": { "line": 485, "column": 20 }, "end": { "line": 485, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17005, "end": 17006, "loc": { "start": { "line": 485, "column": 58 }, "end": { "line": 485, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 17028, "end": 17036, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17036, "end": 17037, "loc": { "start": { "line": 486, "column": 28 }, "end": { "line": 486, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 17037, "end": 17050, "loc": { "start": { "line": 486, "column": 29 }, "end": { "line": 486, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17050, "end": 17051, "loc": { "start": { "line": 486, "column": 42 }, "end": { "line": 486, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17051, "end": 17052, "loc": { "start": { "line": 486, "column": 43 }, "end": { "line": 486, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "to", "start": 17074, "end": 17078, "loc": { "start": { "line": 487, "column": 20 }, "end": { "line": 487, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17078, "end": 17079, "loc": { "start": { "line": 487, "column": 24 }, "end": { "line": 487, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 17101, "end": 17109, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17109, "end": 17110, "loc": { "start": { "line": 488, "column": 28 }, "end": { "line": 488, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 17110, "end": 17123, "loc": { "start": { "line": 488, "column": 29 }, "end": { "line": 488, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17123, "end": 17124, "loc": { "start": { "line": 488, "column": 42 }, "end": { "line": 488, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 17125, "end": 17126, "loc": { "start": { "line": 488, "column": 44 }, "end": { "line": 488, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 17127, "end": 17143, "loc": { "start": { "line": 488, "column": 46 }, "end": { "line": 488, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17161, "end": 17162, "loc": { "start": { "line": 489, "column": 16 }, "end": { "line": 489, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17162, "end": 17163, "loc": { "start": { "line": 489, "column": 17 }, "end": { "line": 489, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 17177, "end": 17185, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17185, "end": 17186, "loc": { "start": { "line": 490, "column": 20 }, "end": { "line": 490, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 17186, "end": 17199, "loc": { "start": { "line": 490, "column": 21 }, "end": { "line": 490, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17199, "end": 17200, "loc": { "start": { "line": 490, "column": 34 }, "end": { "line": 490, "column": 35 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 17201, "end": 17203, "loc": { "start": { "line": 490, "column": 36 }, "end": { "line": 490, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 17204, "end": 17220, "loc": { "start": { "line": 490, "column": 39 }, "end": { "line": 490, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17220, "end": 17221, "loc": { "start": { "line": 490, "column": 55 }, "end": { "line": 490, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17231, "end": 17232, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 9 } } }, { "type": "CommentLine", "value": " Assign reference", "start": 17244, "end": 17263, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 17273, "end": 17281, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17281, "end": 17282, "loc": { "start": { "line": 494, "column": 16 }, "end": { "line": 494, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 17282, "end": 17294, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 494, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17295, "end": 17296, "loc": { "start": { "line": 494, "column": 30 }, "end": { "line": 494, "column": 31 } } }, { "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": 17297, "end": 17301, "loc": { "start": { "line": 494, "column": 32 }, "end": { "line": 494, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17301, "end": 17302, "loc": { "start": { "line": 494, "column": 36 }, "end": { "line": 494, "column": 37 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 17314, "end": 17330, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17340, "end": 17344, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17344, "end": 17345, "loc": { "start": { "line": 497, "column": 12 }, "end": { "line": 497, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 17345, "end": 17356, "loc": { "start": { "line": 497, "column": 13 }, "end": { "line": 497, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17357, "end": 17358, "loc": { "start": { "line": 497, "column": 25 }, "end": { "line": 497, "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": 17359, "end": 17363, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17363, "end": 17364, "loc": { "start": { "line": 497, "column": 31 }, "end": { "line": 497, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 17364, "end": 17377, "loc": { "start": { "line": 497, "column": 32 }, "end": { "line": 497, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17377, "end": 17378, "loc": { "start": { "line": 497, "column": 45 }, "end": { "line": 497, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17378, "end": 17379, "loc": { "start": { "line": 497, "column": 46 }, "end": { "line": 497, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17379, "end": 17380, "loc": { "start": { "line": 497, "column": 47 }, "end": { "line": 497, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17392, "end": 17394, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17395, "end": 17396, "loc": { "start": { "line": 499, "column": 11 }, "end": { "line": 499, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 17396, "end": 17404, "loc": { "start": { "line": 499, "column": 12 }, "end": { "line": 499, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 17405, "end": 17407, "loc": { "start": { "line": 499, "column": 21 }, "end": { "line": 499, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 17408, "end": 17420, "loc": { "start": { "line": 499, "column": 24 }, "end": { "line": 499, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17420, "end": 17421, "loc": { "start": { "line": 499, "column": 36 }, "end": { "line": 499, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17421, "end": 17426, "loc": { "start": { "line": 499, "column": 37 }, "end": { "line": 499, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17426, "end": 17427, "loc": { "start": { "line": 499, "column": 42 }, "end": { "line": 499, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 17427, "end": 17441, "loc": { "start": { "line": 499, "column": 43 }, "end": { "line": 499, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17441, "end": 17442, "loc": { "start": { "line": 499, "column": 57 }, "end": { "line": 499, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17443, "end": 17444, "loc": { "start": { "line": 499, "column": 59 }, "end": { "line": 499, "column": 60 } } }, { "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": 17458, "end": 17462, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17462, "end": 17463, "loc": { "start": { "line": 500, "column": 16 }, "end": { "line": 500, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 17463, "end": 17483, "loc": { "start": { "line": 500, "column": 17 }, "end": { "line": 500, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17483, "end": 17484, "loc": { "start": { "line": 500, "column": 37 }, "end": { "line": 500, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extend-on-end", "start": 17484, "end": 17499, "loc": { "start": { "line": 500, "column": 38 }, "end": { "line": 500, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17499, "end": 17500, "loc": { "start": { "line": 500, "column": 53 }, "end": { "line": 500, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17500, "end": 17501, "loc": { "start": { "line": 500, "column": 54 }, "end": { "line": 500, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17511, "end": 17512, "loc": { "start": { "line": 501, "column": 8 }, "end": { "line": 501, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17518, "end": 17519, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the path with the given entity on the beginning\r\n * @param {Entity} entity\r\n ", "start": 17527, "end": 17634, "loc": { "start": { "line": 504, "column": 4 }, "end": { "line": 507, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "extendOnBeginning", "start": 17640, "end": 17657, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17657, "end": 17658, "loc": { "start": { "line": 508, "column": 21 }, "end": { "line": 508, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 17658, "end": 17664, "loc": { "start": { "line": 508, "column": 22 }, "end": { "line": 508, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17664, "end": 17665, "loc": { "start": { "line": 508, "column": 28 }, "end": { "line": 508, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17666, "end": 17667, "loc": { "start": { "line": 508, "column": 30 }, "end": { "line": 508, "column": 31 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 17677, "end": 17682, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 17683, "end": 17691, "loc": { "start": { "line": 509, "column": 14 }, "end": { "line": 509, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17692, "end": 17693, "loc": { "start": { "line": 509, "column": 23 }, "end": { "line": 509, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 17694, "end": 17700, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17700, "end": 17701, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 17701, "end": 17711, "loc": { "start": { "line": 509, "column": 32 }, "end": { "line": 509, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17711, "end": 17712, "loc": { "start": { "line": 509, "column": 42 }, "end": { "line": 509, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 17712, "end": 17716, "loc": { "start": { "line": 509, "column": 43 }, "end": { "line": 509, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17716, "end": 17717, "loc": { "start": { "line": 509, "column": 47 }, "end": { "line": 509, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 17729, "end": 17734, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 17735, "end": 17737, "loc": { "start": { "line": 511, "column": 14 }, "end": { "line": 511, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 17738, "end": 17744, "loc": { "start": { "line": 511, "column": 17 }, "end": { "line": 511, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17744, "end": 17745, "loc": { "start": { "line": 511, "column": 23 }, "end": { "line": 511, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17745, "end": 17748, "loc": { "start": { "line": 511, "column": 24 }, "end": { "line": 511, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17748, "end": 17749, "loc": { "start": { "line": 511, "column": 27 }, "end": { "line": 511, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Extending the path on the beginning", "start": 17749, "end": 17786, "loc": { "start": { "line": 511, "column": 28 }, "end": { "line": 511, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17786, "end": 17787, "loc": { "start": { "line": 511, "column": 65 }, "end": { "line": 511, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17787, "end": 17788, "loc": { "start": { "line": 511, "column": 66 }, "end": { "line": 511, "column": 67 } } }, { "type": "CommentLine", "value": " All items on that belt are simply lost (for now)", "start": 17800, "end": 17851, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "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": 17863, "end": 17868, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 17869, "end": 17875, "loc": { "start": { "line": 515, "column": 14 }, "end": { "line": 515, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17876, "end": 17877, "loc": { "start": { "line": 515, "column": 21 }, "end": { "line": 515, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 17878, "end": 17886, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17886, "end": 17887, "loc": { "start": { "line": 515, "column": 31 }, "end": { "line": 515, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 17887, "end": 17910, "loc": { "start": { "line": 515, "column": 32 }, "end": { "line": 515, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17910, "end": 17911, "loc": { "start": { "line": 515, "column": 55 }, "end": { "line": 515, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17911, "end": 17912, "loc": { "start": { "line": 515, "column": 56 }, "end": { "line": 515, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17912, "end": 17913, "loc": { "start": { "line": 515, "column": 57 }, "end": { "line": 515, "column": 58 } } }, { "type": "CommentLine", "value": " Extend the length of this path", "start": 17925, "end": 17958, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 41 } } }, { "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": 17968, "end": 17972, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17972, "end": 17973, "loc": { "start": { "line": 518, "column": 12 }, "end": { "line": 518, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 17973, "end": 17984, "loc": { "start": { "line": 518, "column": 13 }, "end": { "line": 518, "column": 24 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 17985, "end": 17987, "loc": { "start": { "line": 518, "column": 25 }, "end": { "line": 518, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 17988, "end": 17994, "loc": { "start": { "line": 518, "column": 28 }, "end": { "line": 518, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17994, "end": 17995, "loc": { "start": { "line": 518, "column": 34 }, "end": { "line": 518, "column": 35 } } }, { "type": "CommentLine", "value": " Simply adjust the first item spacing cuz we have no items contained", "start": 18007, "end": 18077, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 78 } } }, { "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": 18087, "end": 18091, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18091, "end": 18092, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 18092, "end": 18110, "loc": { "start": { "line": 521, "column": 13 }, "end": { "line": 521, "column": 31 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 18111, "end": 18113, "loc": { "start": { "line": 521, "column": 32 }, "end": { "line": 521, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 18114, "end": 18120, "loc": { "start": { "line": 521, "column": 35 }, "end": { "line": 521, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18120, "end": 18121, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 42 } } }, { "type": "CommentLine", "value": " Set handles and append entity", "start": 18133, "end": 18165, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 18175, "end": 18183, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18183, "end": 18184, "loc": { "start": { "line": 524, "column": 16 }, "end": { "line": 524, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 18184, "end": 18196, "loc": { "start": { "line": 524, "column": 17 }, "end": { "line": 524, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18197, "end": 18198, "loc": { "start": { "line": 524, "column": 30 }, "end": { "line": 524, "column": 31 } } }, { "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": 18199, "end": 18203, "loc": { "start": { "line": 524, "column": 32 }, "end": { "line": 524, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18203, "end": 18204, "loc": { "start": { "line": 524, "column": 36 }, "end": { "line": 524, "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": 18214, "end": 18218, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18218, "end": 18219, "loc": { "start": { "line": 525, "column": 12 }, "end": { "line": 525, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 18219, "end": 18229, "loc": { "start": { "line": 525, "column": 13 }, "end": { "line": 525, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18229, "end": 18230, "loc": { "start": { "line": 525, "column": 23 }, "end": { "line": 525, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unshift", "start": 18230, "end": 18237, "loc": { "start": { "line": 525, "column": 24 }, "end": { "line": 525, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18237, "end": 18238, "loc": { "start": { "line": 525, "column": 31 }, "end": { "line": 525, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 18238, "end": 18244, "loc": { "start": { "line": 525, "column": 32 }, "end": { "line": 525, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18244, "end": 18245, "loc": { "start": { "line": 525, "column": 38 }, "end": { "line": 525, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18245, "end": 18246, "loc": { "start": { "line": 525, "column": 39 }, "end": { "line": 525, "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": 18256, "end": 18260, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18260, "end": 18261, "loc": { "start": { "line": 526, "column": 12 }, "end": { "line": 526, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 18261, "end": 18274, "loc": { "start": { "line": 526, "column": 13 }, "end": { "line": 526, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18274, "end": 18275, "loc": { "start": { "line": 526, "column": 26 }, "end": { "line": 526, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18275, "end": 18276, "loc": { "start": { "line": 526, "column": 27 }, "end": { "line": 526, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18276, "end": 18277, "loc": { "start": { "line": 526, "column": 28 }, "end": { "line": 526, "column": 29 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 18289, "end": 18305, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18315, "end": 18319, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18319, "end": 18320, "loc": { "start": { "line": 529, "column": 12 }, "end": { "line": 529, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 18320, "end": 18331, "loc": { "start": { "line": 529, "column": 13 }, "end": { "line": 529, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18332, "end": 18333, "loc": { "start": { "line": 529, "column": 25 }, "end": { "line": 529, "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": 18334, "end": 18338, "loc": { "start": { "line": 529, "column": 27 }, "end": { "line": 529, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18338, "end": 18339, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 18339, "end": 18352, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18352, "end": 18353, "loc": { "start": { "line": 529, "column": 45 }, "end": { "line": 529, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18353, "end": 18354, "loc": { "start": { "line": 529, "column": 46 }, "end": { "line": 529, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18354, "end": 18355, "loc": { "start": { "line": 529, "column": 47 }, "end": { "line": 529, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18367, "end": 18369, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18370, "end": 18371, "loc": { "start": { "line": 531, "column": 11 }, "end": { "line": 531, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 18371, "end": 18379, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 18380, "end": 18382, "loc": { "start": { "line": 531, "column": 21 }, "end": { "line": 531, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 18383, "end": 18395, "loc": { "start": { "line": 531, "column": 24 }, "end": { "line": 531, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18395, "end": 18396, "loc": { "start": { "line": 531, "column": 36 }, "end": { "line": 531, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18396, "end": 18401, "loc": { "start": { "line": 531, "column": 37 }, "end": { "line": 531, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18401, "end": 18402, "loc": { "start": { "line": 531, "column": 42 }, "end": { "line": 531, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 18402, "end": 18416, "loc": { "start": { "line": 531, "column": 43 }, "end": { "line": 531, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18416, "end": 18417, "loc": { "start": { "line": 531, "column": 57 }, "end": { "line": 531, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18418, "end": 18419, "loc": { "start": { "line": 531, "column": 59 }, "end": { "line": 531, "column": 60 } } }, { "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": 18433, "end": 18437, "loc": { "start": { "line": 532, "column": 12 }, "end": { "line": 532, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18437, "end": 18438, "loc": { "start": { "line": 532, "column": 16 }, "end": { "line": 532, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 18438, "end": 18458, "loc": { "start": { "line": 532, "column": 17 }, "end": { "line": 532, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18458, "end": 18459, "loc": { "start": { "line": 532, "column": 37 }, "end": { "line": 532, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extend-on-begin", "start": 18459, "end": 18476, "loc": { "start": { "line": 532, "column": 38 }, "end": { "line": 532, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18476, "end": 18477, "loc": { "start": { "line": 532, "column": 55 }, "end": { "line": 532, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18477, "end": 18478, "loc": { "start": { "line": 532, "column": 56 }, "end": { "line": 532, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18488, "end": 18489, "loc": { "start": { "line": 533, "column": 8 }, "end": { "line": 533, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18495, "end": 18496, "loc": { "start": { "line": 534, "column": 4 }, "end": { "line": 534, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the end entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18504, "end": 18640, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 540, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isEndEntity", "start": 18646, "end": 18657, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18657, "end": 18658, "loc": { "start": { "line": 541, "column": 15 }, "end": { "line": 541, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 18658, "end": 18664, "loc": { "start": { "line": 541, "column": 16 }, "end": { "line": 541, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18664, "end": 18665, "loc": { "start": { "line": 541, "column": 22 }, "end": { "line": 541, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18666, "end": 18667, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "column": 25 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 18677, "end": 18683, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "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": 18684, "end": 18688, "loc": { "start": { "line": 542, "column": 15 }, "end": { "line": 542, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18688, "end": 18689, "loc": { "start": { "line": 542, "column": 19 }, "end": { "line": 542, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 18689, "end": 18699, "loc": { "start": { "line": 542, "column": 20 }, "end": { "line": 542, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18699, "end": 18700, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 542, "column": 31 } } }, { "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": 18700, "end": 18704, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18704, "end": 18705, "loc": { "start": { "line": 542, "column": 35 }, "end": { "line": 542, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 18705, "end": 18715, "loc": { "start": { "line": 542, "column": 36 }, "end": { "line": 542, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18715, "end": 18716, "loc": { "start": { "line": 542, "column": 46 }, "end": { "line": 542, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 18716, "end": 18722, "loc": { "start": { "line": 542, "column": 47 }, "end": { "line": 542, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 18723, "end": 18724, "loc": { "start": { "line": 542, "column": 54 }, "end": { "line": 542, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 18725, "end": 18726, "loc": { "start": { "line": 542, "column": 56 }, "end": { "line": 542, "column": 57 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18726, "end": 18727, "loc": { "start": { "line": 542, "column": 57 }, "end": { "line": 542, "column": 58 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18728, "end": 18731, "loc": { "start": { "line": 542, "column": 59 }, "end": { "line": 542, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 18732, "end": 18738, "loc": { "start": { "line": 542, "column": 63 }, "end": { "line": 542, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18738, "end": 18739, "loc": { "start": { "line": 542, "column": 69 }, "end": { "line": 542, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18745, "end": 18746, "loc": { "start": { "line": 543, "column": 4 }, "end": { "line": 543, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the given entity is the start entity of the path\r\n * @param {Entity} entity\r\n * @returns {boolean}\r\n ", "start": 18754, "end": 18892, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 549, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isStartEntity", "start": 18898, "end": 18911, "loc": { "start": { "line": 550, "column": 4 }, "end": { "line": 550, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18911, "end": 18912, "loc": { "start": { "line": 550, "column": 17 }, "end": { "line": 550, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 18912, "end": 18918, "loc": { "start": { "line": 550, "column": 18 }, "end": { "line": 550, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18918, "end": 18919, "loc": { "start": { "line": 550, "column": 24 }, "end": { "line": 550, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18920, "end": 18921, "loc": { "start": { "line": 550, "column": 26 }, "end": { "line": 550, "column": 27 } } }, { "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": 18931, "end": 18937, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 551, "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": 18938, "end": 18942, "loc": { "start": { "line": 551, "column": 15 }, "end": { "line": 551, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18942, "end": 18943, "loc": { "start": { "line": 551, "column": 19 }, "end": { "line": 551, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 18943, "end": 18953, "loc": { "start": { "line": 551, "column": 20 }, "end": { "line": 551, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18953, "end": 18954, "loc": { "start": { "line": 551, "column": 30 }, "end": { "line": 551, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18954, "end": 18955, "loc": { "start": { "line": 551, "column": 31 }, "end": { "line": 551, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18955, "end": 18956, "loc": { "start": { "line": 551, "column": 32 }, "end": { "line": 551, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18957, "end": 18960, "loc": { "start": { "line": 551, "column": 34 }, "end": { "line": 551, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 18961, "end": 18967, "loc": { "start": { "line": 551, "column": 38 }, "end": { "line": 551, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18967, "end": 18968, "loc": { "start": { "line": 551, "column": 44 }, "end": { "line": 551, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18974, "end": 18975, "loc": { "start": { "line": 552, "column": 4 }, "end": { "line": 552, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Splits this path at the given entity by removing it, and\r\n * returning the new secondary paht\r\n * @param {Entity} entity\r\n * @returns {BeltPath}\r\n ", "start": 18983, "end": 19160, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 559, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteEntityOnPathSplitIntoTwo", "start": 19166, "end": 19196, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19196, "end": 19197, "loc": { "start": { "line": 560, "column": 34 }, "end": { "line": 560, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 19197, "end": 19203, "loc": { "start": { "line": 560, "column": 35 }, "end": { "line": 560, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19203, "end": 19204, "loc": { "start": { "line": 560, "column": 41 }, "end": { "line": 560, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19205, "end": 19206, "loc": { "start": { "line": 560, "column": 43 }, "end": { "line": 560, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 19216, "end": 19221, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 19222, "end": 19224, "loc": { "start": { "line": 561, "column": 14 }, "end": { "line": 561, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 19225, "end": 19231, "loc": { "start": { "line": 561, "column": 17 }, "end": { "line": 561, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19231, "end": 19232, "loc": { "start": { "line": 561, "column": 23 }, "end": { "line": 561, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 19232, "end": 19235, "loc": { "start": { "line": 561, "column": 24 }, "end": { "line": 561, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19235, "end": 19236, "loc": { "start": { "line": 561, "column": 27 }, "end": { "line": 561, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Splitting path at entity", "start": 19236, "end": 19262, "loc": { "start": { "line": 561, "column": 28 }, "end": { "line": 561, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19262, "end": 19263, "loc": { "start": { "line": 561, "column": 54 }, "end": { "line": 561, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 19264, "end": 19270, "loc": { "start": { "line": 561, "column": 56 }, "end": { "line": 561, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19270, "end": 19271, "loc": { "start": { "line": 561, "column": 62 }, "end": { "line": 561, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 19271, "end": 19281, "loc": { "start": { "line": 561, "column": 63 }, "end": { "line": 561, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19281, "end": 19282, "loc": { "start": { "line": 561, "column": 73 }, "end": { "line": 561, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 19282, "end": 19297, "loc": { "start": { "line": 561, "column": 74 }, "end": { "line": 561, "column": 89 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19297, "end": 19298, "loc": { "start": { "line": 561, "column": 89 }, "end": { "line": 561, "column": 90 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 19298, "end": 19304, "loc": { "start": { "line": 561, "column": 90 }, "end": { "line": 561, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19304, "end": 19305, "loc": { "start": { "line": 561, "column": 96 }, "end": { "line": 561, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19305, "end": 19306, "loc": { "start": { "line": 561, "column": 97 }, "end": { "line": 561, "column": 98 } } }, { "type": "CommentLine", "value": " First, find where the current path ends", "start": 19318, "end": 19360, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "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": 19370, "end": 19375, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 19376, "end": 19384, "loc": { "start": { "line": 564, "column": 14 }, "end": { "line": 564, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19385, "end": 19386, "loc": { "start": { "line": 564, "column": 23 }, "end": { "line": 564, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 19387, "end": 19393, "loc": { "start": { "line": 564, "column": 25 }, "end": { "line": 564, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19393, "end": 19394, "loc": { "start": { "line": 564, "column": 31 }, "end": { "line": 564, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 19394, "end": 19404, "loc": { "start": { "line": 564, "column": 32 }, "end": { "line": 564, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19404, "end": 19405, "loc": { "start": { "line": 564, "column": 42 }, "end": { "line": 564, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 19405, "end": 19409, "loc": { "start": { "line": 564, "column": 43 }, "end": { "line": 564, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19409, "end": 19410, "loc": { "start": { "line": 564, "column": 47 }, "end": { "line": 564, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 19420, "end": 19428, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19428, "end": 19429, "loc": { "start": { "line": 565, "column": 16 }, "end": { "line": 565, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 19429, "end": 19441, "loc": { "start": { "line": 565, "column": 17 }, "end": { "line": 565, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19442, "end": 19443, "loc": { "start": { "line": 565, "column": 30 }, "end": { "line": 565, "column": 31 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 19444, "end": 19448, "loc": { "start": { "line": 565, "column": 32 }, "end": { "line": 565, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19448, "end": 19449, "loc": { "start": { "line": 565, "column": 36 }, "end": { "line": 565, "column": 37 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 19461, "end": 19466, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityLength", "start": 19467, "end": 19479, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19480, "end": 19481, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 19482, "end": 19490, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19490, "end": 19491, "loc": { "start": { "line": 567, "column": 37 }, "end": { "line": 567, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 19491, "end": 19514, "loc": { "start": { "line": 567, "column": 38 }, "end": { "line": 567, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19514, "end": 19515, "loc": { "start": { "line": 567, "column": 61 }, "end": { "line": 567, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19515, "end": 19516, "loc": { "start": { "line": 567, "column": 62 }, "end": { "line": 567, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19516, "end": 19517, "loc": { "start": { "line": 567, "column": 63 }, "end": { "line": 567, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 19527, "end": 19533, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19533, "end": 19534, "loc": { "start": { "line": 568, "column": 14 }, "end": { "line": 568, "column": 15 } } }, { "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": 19534, "end": 19538, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19538, "end": 19539, "loc": { "start": { "line": 568, "column": 19 }, "end": { "line": 568, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 19539, "end": 19549, "loc": { "start": { "line": 568, "column": 20 }, "end": { "line": 568, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19549, "end": 19550, "loc": { "start": { "line": 568, "column": 30 }, "end": { "line": 568, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 19550, "end": 19557, "loc": { "start": { "line": 568, "column": 31 }, "end": { "line": 568, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19557, "end": 19558, "loc": { "start": { "line": 568, "column": 38 }, "end": { "line": 568, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 19558, "end": 19564, "loc": { "start": { "line": 568, "column": 39 }, "end": { "line": 568, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19564, "end": 19565, "loc": { "start": { "line": 568, "column": 45 }, "end": { "line": 568, "column": 46 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 19566, "end": 19568, "loc": { "start": { "line": 568, "column": 47 }, "end": { "line": 568, "column": 49 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19569, "end": 19570, "loc": { "start": { "line": 568, "column": 50 }, "end": { "line": 568, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19570, "end": 19571, "loc": { "start": { "line": 568, "column": 51 }, "end": { "line": 568, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Entity not contained for split", "start": 19572, "end": 19604, "loc": { "start": { "line": 568, "column": 53 }, "end": { "line": 568, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19604, "end": 19605, "loc": { "start": { "line": 568, "column": 85 }, "end": { "line": 568, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19605, "end": 19606, "loc": { "start": { "line": 568, "column": 86 }, "end": { "line": 568, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 19616, "end": 19622, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19622, "end": 19623, "loc": { "start": { "line": 569, "column": 14 }, "end": { "line": 569, "column": 15 } } }, { "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": 19623, "end": 19627, "loc": { "start": { "line": 569, "column": 15 }, "end": { "line": 569, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19627, "end": 19628, "loc": { "start": { "line": 569, "column": 19 }, "end": { "line": 569, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 19628, "end": 19638, "loc": { "start": { "line": 569, "column": 20 }, "end": { "line": 569, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19638, "end": 19639, "loc": { "start": { "line": 569, "column": 30 }, "end": { "line": 569, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 19639, "end": 19646, "loc": { "start": { "line": 569, "column": 31 }, "end": { "line": 569, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19646, "end": 19647, "loc": { "start": { "line": 569, "column": 38 }, "end": { "line": 569, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 19647, "end": 19653, "loc": { "start": { "line": 569, "column": 39 }, "end": { "line": 569, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19653, "end": 19654, "loc": { "start": { "line": 569, "column": 45 }, "end": { "line": 569, "column": 46 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 19655, "end": 19658, "loc": { "start": { "line": 569, "column": 47 }, "end": { "line": 569, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19659, "end": 19660, "loc": { "start": { "line": 569, "column": 51 }, "end": { "line": 569, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19660, "end": 19661, "loc": { "start": { "line": 569, "column": 52 }, "end": { "line": 569, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Entity is first", "start": 19662, "end": 19679, "loc": { "start": { "line": 569, "column": 54 }, "end": { "line": 569, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19679, "end": 19680, "loc": { "start": { "line": 569, "column": 71 }, "end": { "line": 569, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19680, "end": 19681, "loc": { "start": { "line": 569, "column": 72 }, "end": { "line": 569, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 19691, "end": 19697, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19697, "end": 19698, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 15 } } }, { "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": 19698, "end": 19702, "loc": { "start": { "line": 570, "column": 15 }, "end": { "line": 570, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19702, "end": 19703, "loc": { "start": { "line": 570, "column": 19 }, "end": { "line": 570, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 19703, "end": 19713, "loc": { "start": { "line": 570, "column": 20 }, "end": { "line": 570, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19713, "end": 19714, "loc": { "start": { "line": 570, "column": 30 }, "end": { "line": 570, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 19714, "end": 19721, "loc": { "start": { "line": 570, "column": 31 }, "end": { "line": 570, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19721, "end": 19722, "loc": { "start": { "line": 570, "column": 38 }, "end": { "line": 570, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 19722, "end": 19728, "loc": { "start": { "line": 570, "column": 39 }, "end": { "line": 570, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19728, "end": 19729, "loc": { "start": { "line": 570, "column": 45 }, "end": { "line": 570, "column": 46 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 19730, "end": 19733, "loc": { "start": { "line": 570, "column": 47 }, "end": { "line": 570, "column": 50 } } }, { "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": 19734, "end": 19738, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19738, "end": 19739, "loc": { "start": { "line": 570, "column": 55 }, "end": { "line": 570, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 19739, "end": 19749, "loc": { "start": { "line": 570, "column": 56 }, "end": { "line": 570, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19749, "end": 19750, "loc": { "start": { "line": 570, "column": 66 }, "end": { "line": 570, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 19750, "end": 19756, "loc": { "start": { "line": 570, "column": 67 }, "end": { "line": 570, "column": 73 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 19757, "end": 19758, "loc": { "start": { "line": 570, "column": 74 }, "end": { "line": 570, "column": 75 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19759, "end": 19760, "loc": { "start": { "line": 570, "column": 76 }, "end": { "line": 570, "column": 77 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19760, "end": 19761, "loc": { "start": { "line": 570, "column": 77 }, "end": { "line": 570, "column": 78 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Entity is last", "start": 19762, "end": 19778, "loc": { "start": { "line": 570, "column": 79 }, "end": { "line": 570, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19778, "end": 19779, "loc": { "start": { "line": 570, "column": 95 }, "end": { "line": 570, "column": 96 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19779, "end": 19780, "loc": { "start": { "line": 570, "column": 96 }, "end": { "line": 570, "column": 97 } } }, { "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": 19792, "end": 19795, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEntityCount", "start": 19796, "end": 19816, "loc": { "start": { "line": 572, "column": 12 }, "end": { "line": 572, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19817, "end": 19818, "loc": { "start": { "line": 572, "column": 33 }, "end": { "line": 572, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19819, "end": 19820, "loc": { "start": { "line": 572, "column": 35 }, "end": { "line": 572, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19820, "end": 19821, "loc": { "start": { "line": 572, "column": 36 }, "end": { "line": 572, "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": 19831, "end": 19834, "loc": { "start": { "line": 573, "column": 8 }, "end": { "line": 573, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 19835, "end": 19850, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19851, "end": 19852, "loc": { "start": { "line": 573, "column": 28 }, "end": { "line": 573, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19853, "end": 19854, "loc": { "start": { "line": 573, "column": 30 }, "end": { "line": 573, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19854, "end": 19855, "loc": { "start": { "line": 573, "column": 31 }, "end": { "line": 573, "column": 32 } } }, { "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": 19865, "end": 19868, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEndEntity", "start": 19869, "end": 19887, "loc": { "start": { "line": 574, "column": 12 }, "end": { "line": 574, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19888, "end": 19889, "loc": { "start": { "line": 574, "column": 31 }, "end": { "line": 574, "column": 32 } } }, { "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": 19890, "end": 19894, "loc": { "start": { "line": 574, "column": 33 }, "end": { "line": 574, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19894, "end": 19895, "loc": { "start": { "line": 574, "column": 37 }, "end": { "line": 574, "column": 38 } } }, { "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": 19907, "end": 19910, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 576, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19911, "end": 19912, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "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": 19912, "end": 19915, "loc": { "start": { "line": 576, "column": 13 }, "end": { "line": 576, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 19916, "end": 19917, "loc": { "start": { "line": 576, "column": 17 }, "end": { "line": 576, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19918, "end": 19919, "loc": { "start": { "line": 576, "column": 19 }, "end": { "line": 576, "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": 19920, "end": 19921, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19921, "end": 19922, "loc": { "start": { "line": 576, "column": 22 }, "end": { "line": 576, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 19923, "end": 19924, "loc": { "start": { "line": 576, "column": 24 }, "end": { "line": 576, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 19925, "end": 19926, "loc": { "start": { "line": 576, "column": 26 }, "end": { "line": 576, "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": 19927, "end": 19931, "loc": { "start": { "line": 576, "column": 28 }, "end": { "line": 576, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19931, "end": 19932, "loc": { "start": { "line": 576, "column": 32 }, "end": { "line": 576, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 19932, "end": 19942, "loc": { "start": { "line": 576, "column": 33 }, "end": { "line": 576, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19942, "end": 19943, "loc": { "start": { "line": 576, "column": 43 }, "end": { "line": 576, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 19943, "end": 19949, "loc": { "start": { "line": 576, "column": 44 }, "end": { "line": 576, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19949, "end": 19950, "loc": { "start": { "line": 576, "column": 50 }, "end": { "line": 576, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 19951, "end": 19953, "loc": { "start": { "line": 576, "column": 52 }, "end": { "line": 576, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 19953, "end": 19954, "loc": { "start": { "line": 576, "column": 54 }, "end": { "line": 576, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19954, "end": 19955, "loc": { "start": { "line": 576, "column": 55 }, "end": { "line": 576, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19956, "end": 19957, "loc": { "start": { "line": 576, "column": 57 }, "end": { "line": 576, "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": 19971, "end": 19976, "loc": { "start": { "line": 577, "column": 12 }, "end": { "line": 577, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherEntity", "start": 19977, "end": 19988, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19989, "end": 19990, "loc": { "start": { "line": 577, "column": 30 }, "end": { "line": 577, "column": 31 } } }, { "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": 19991, "end": 19995, "loc": { "start": { "line": 577, "column": 32 }, "end": { "line": 577, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19995, "end": 19996, "loc": { "start": { "line": 577, "column": 36 }, "end": { "line": 577, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 19996, "end": 20006, "loc": { "start": { "line": 577, "column": 37 }, "end": { "line": 577, "column": 47 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20006, "end": 20007, "loc": { "start": { "line": 577, "column": 47 }, "end": { "line": 577, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20007, "end": 20008, "loc": { "start": { "line": 577, "column": 48 }, "end": { "line": 577, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20008, "end": 20009, "loc": { "start": { "line": 577, "column": 49 }, "end": { "line": 577, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20009, "end": 20010, "loc": { "start": { "line": 577, "column": 50 }, "end": { "line": 577, "column": 51 } } }, { "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": 20024, "end": 20026, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 578, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20027, "end": 20028, "loc": { "start": { "line": 578, "column": 15 }, "end": { "line": 578, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherEntity", "start": 20028, "end": 20039, "loc": { "start": { "line": 578, "column": 16 }, "end": { "line": 578, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 20040, "end": 20043, "loc": { "start": { "line": 578, "column": 28 }, "end": { "line": 578, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 20044, "end": 20050, "loc": { "start": { "line": 578, "column": 32 }, "end": { "line": 578, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20050, "end": 20051, "loc": { "start": { "line": 578, "column": 38 }, "end": { "line": 578, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20052, "end": 20053, "loc": { "start": { "line": 578, "column": 40 }, "end": { "line": 578, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 20071, "end": 20076, "loc": { "start": { "line": 579, "column": 16 }, "end": { "line": 579, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20077, "end": 20079, "loc": { "start": { "line": 579, "column": 22 }, "end": { "line": 579, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 20080, "end": 20086, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20086, "end": 20087, "loc": { "start": { "line": 579, "column": 31 }, "end": { "line": 579, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 20087, "end": 20090, "loc": { "start": { "line": 579, "column": 32 }, "end": { "line": 579, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20090, "end": 20091, "loc": { "start": { "line": 579, "column": 35 }, "end": { "line": 579, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Found entity at", "start": 20091, "end": 20108, "loc": { "start": { "line": 579, "column": 36 }, "end": { "line": 579, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20108, "end": 20109, "loc": { "start": { "line": 579, "column": 53 }, "end": { "line": 579, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20110, "end": 20111, "loc": { "start": { "line": 579, "column": 55 }, "end": { "line": 579, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20111, "end": 20112, "loc": { "start": { "line": 579, "column": 56 }, "end": { "line": 579, "column": 57 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "of length", "start": 20113, "end": 20124, "loc": { "start": { "line": 579, "column": 58 }, "end": { "line": 579, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20124, "end": 20125, "loc": { "start": { "line": 579, "column": 69 }, "end": { "line": 579, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 20126, "end": 20141, "loc": { "start": { "line": 579, "column": 71 }, "end": { "line": 579, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20141, "end": 20142, "loc": { "start": { "line": 579, "column": 86 }, "end": { "line": 579, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20142, "end": 20143, "loc": { "start": { "line": 579, "column": 87 }, "end": { "line": 579, "column": 88 } } }, { "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": 20161, "end": 20166, "loc": { "start": { "line": 580, "column": 16 }, "end": { "line": 580, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20166, "end": 20167, "loc": { "start": { "line": 580, "column": 21 }, "end": { "line": 580, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20181, "end": 20182, "loc": { "start": { "line": 581, "column": 12 }, "end": { "line": 581, "column": 13 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 20198, "end": 20200, "loc": { "start": { "line": 583, "column": 12 }, "end": { "line": 583, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEntityCount", "start": 20200, "end": 20220, "loc": { "start": { "line": 583, "column": 14 }, "end": { "line": 583, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20220, "end": 20221, "loc": { "start": { "line": 583, "column": 34 }, "end": { "line": 583, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEndEntity", "start": 20235, "end": 20253, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 584, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20254, "end": 20255, "loc": { "start": { "line": 584, "column": 31 }, "end": { "line": 584, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherEntity", "start": 20256, "end": 20267, "loc": { "start": { "line": 584, "column": 33 }, "end": { "line": 584, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20267, "end": 20268, "loc": { "start": { "line": 584, "column": 44 }, "end": { "line": 584, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 20282, "end": 20297, "loc": { "start": { "line": 585, "column": 12 }, "end": { "line": 585, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 20298, "end": 20300, "loc": { "start": { "line": 585, "column": 28 }, "end": { "line": 585, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherEntity", "start": 20301, "end": 20312, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20312, "end": 20313, "loc": { "start": { "line": 585, "column": 42 }, "end": { "line": 585, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 20313, "end": 20323, "loc": { "start": { "line": 585, "column": 43 }, "end": { "line": 585, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20323, "end": 20324, "loc": { "start": { "line": 585, "column": 53 }, "end": { "line": 585, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 20324, "end": 20328, "loc": { "start": { "line": 585, "column": 54 }, "end": { "line": 585, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20328, "end": 20329, "loc": { "start": { "line": 585, "column": 58 }, "end": { "line": 585, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 20329, "end": 20352, "loc": { "start": { "line": 585, "column": 59 }, "end": { "line": 585, "column": 82 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20352, "end": 20353, "loc": { "start": { "line": 585, "column": 82 }, "end": { "line": 585, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20353, "end": 20354, "loc": { "start": { "line": 585, "column": 83 }, "end": { "line": 585, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20354, "end": 20355, "loc": { "start": { "line": 585, "column": 84 }, "end": { "line": 585, "column": 85 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20365, "end": 20366, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 20378, "end": 20383, "loc": { "start": { "line": 588, "column": 8 }, "end": { "line": 588, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20384, "end": 20386, "loc": { "start": { "line": 588, "column": 14 }, "end": { "line": 588, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 20400, "end": 20406, "loc": { "start": { "line": 589, "column": 12 }, "end": { "line": 589, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20406, "end": 20407, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 20407, "end": 20410, "loc": { "start": { "line": 589, "column": 19 }, "end": { "line": 589, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20410, "end": 20411, "loc": { "start": { "line": 589, "column": 22 }, "end": { "line": 589, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "First path ends at", "start": 20429, "end": 20449, "loc": { "start": { "line": 590, "column": 16 }, "end": { "line": 590, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20449, "end": 20450, "loc": { "start": { "line": 590, "column": 36 }, "end": { "line": 590, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 20468, "end": 20483, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20483, "end": 20484, "loc": { "start": { "line": 591, "column": 31 }, "end": { "line": 591, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "and entity", "start": 20502, "end": 20514, "loc": { "start": { "line": 592, "column": 16 }, "end": { "line": 592, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20514, "end": 20515, "loc": { "start": { "line": 592, "column": 28 }, "end": { "line": 592, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEndEntity", "start": 20533, "end": 20551, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20551, "end": 20552, "loc": { "start": { "line": 593, "column": 34 }, "end": { "line": 593, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 20552, "end": 20562, "loc": { "start": { "line": 593, "column": 35 }, "end": { "line": 593, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20562, "end": 20563, "loc": { "start": { "line": 593, "column": 45 }, "end": { "line": 593, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 20563, "end": 20578, "loc": { "start": { "line": 593, "column": 46 }, "end": { "line": 593, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20578, "end": 20579, "loc": { "start": { "line": 593, "column": 61 }, "end": { "line": 593, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 20579, "end": 20585, "loc": { "start": { "line": 593, "column": 62 }, "end": { "line": 593, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20585, "end": 20586, "loc": { "start": { "line": 593, "column": 68 }, "end": { "line": 593, "column": 69 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "and has", "start": 20604, "end": 20613, "loc": { "start": { "line": 594, "column": 16 }, "end": { "line": 594, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20613, "end": 20614, "loc": { "start": { "line": 594, "column": 25 }, "end": { "line": 594, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEntityCount", "start": 20632, "end": 20652, "loc": { "start": { "line": 595, "column": 16 }, "end": { "line": 595, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20652, "end": 20653, "loc": { "start": { "line": 595, "column": 36 }, "end": { "line": 595, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "entities", "start": 20671, "end": 20681, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20695, "end": 20696, "loc": { "start": { "line": 597, "column": 12 }, "end": { "line": 597, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20696, "end": 20697, "loc": { "start": { "line": 597, "column": 13 }, "end": { "line": 597, "column": 14 } } }, { "type": "CommentLine", "value": " Compute length of second path", "start": 20709, "end": 20741, "loc": { "start": { "line": 599, "column": 8 }, "end": { "line": 599, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 20751, "end": 20756, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPathLength", "start": 20757, "end": 20773, "loc": { "start": { "line": 600, "column": 14 }, "end": { "line": 600, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20774, "end": 20775, "loc": { "start": { "line": 600, "column": 31 }, "end": { "line": 600, "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": 20776, "end": 20780, "loc": { "start": { "line": 600, "column": 33 }, "end": { "line": 600, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20780, "end": 20781, "loc": { "start": { "line": 600, "column": 37 }, "end": { "line": 600, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 20781, "end": 20792, "loc": { "start": { "line": 600, "column": 38 }, "end": { "line": 600, "column": 49 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 20793, "end": 20794, "loc": { "start": { "line": 600, "column": 50 }, "end": { "line": 600, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 20795, "end": 20810, "loc": { "start": { "line": 600, "column": 52 }, "end": { "line": 600, "column": 67 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 20811, "end": 20812, "loc": { "start": { "line": 600, "column": 68 }, "end": { "line": 600, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityLength", "start": 20813, "end": 20825, "loc": { "start": { "line": 600, "column": 70 }, "end": { "line": 600, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20825, "end": 20826, "loc": { "start": { "line": 600, "column": 82 }, "end": { "line": 600, "column": 83 } } }, { "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": 20836, "end": 20841, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPathStart", "start": 20842, "end": 20857, "loc": { "start": { "line": 601, "column": 14 }, "end": { "line": 601, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20858, "end": 20859, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 20860, "end": 20875, "loc": { "start": { "line": 601, "column": 32 }, "end": { "line": 601, "column": 47 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20876, "end": 20877, "loc": { "start": { "line": 601, "column": 48 }, "end": { "line": 601, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityLength", "start": 20878, "end": 20890, "loc": { "start": { "line": 601, "column": 50 }, "end": { "line": 601, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20890, "end": 20891, "loc": { "start": { "line": 601, "column": 62 }, "end": { "line": 601, "column": 63 } } }, { "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": 20901, "end": 20906, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondEntities", "start": 20907, "end": 20921, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20922, "end": 20923, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20924, "end": 20928, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20928, "end": 20929, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 20929, "end": 20939, "loc": { "start": { "line": 602, "column": 36 }, "end": { "line": 602, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20939, "end": 20940, "loc": { "start": { "line": 602, "column": 46 }, "end": { "line": 602, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 20940, "end": 20946, "loc": { "start": { "line": 602, "column": 47 }, "end": { "line": 602, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20946, "end": 20947, "loc": { "start": { "line": 602, "column": 53 }, "end": { "line": 602, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathEntityCount", "start": 20947, "end": 20967, "loc": { "start": { "line": 602, "column": 54 }, "end": { "line": 602, "column": 74 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20968, "end": 20969, "loc": { "start": { "line": 602, "column": 75 }, "end": { "line": 602, "column": 76 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 20970, "end": 20971, "loc": { "start": { "line": 602, "column": 77 }, "end": { "line": 602, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20971, "end": 20972, "loc": { "start": { "line": 602, "column": 78 }, "end": { "line": 602, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20972, "end": 20973, "loc": { "start": { "line": 602, "column": 79 }, "end": { "line": 602, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 20983, "end": 20988, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 603, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20989, "end": 20991, "loc": { "start": { "line": 603, "column": 14 }, "end": { "line": 603, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 21005, "end": 21011, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21011, "end": 21012, "loc": { "start": { "line": 604, "column": 18 }, "end": { "line": 604, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 21012, "end": 21015, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21015, "end": 21016, "loc": { "start": { "line": 604, "column": 22 }, "end": { "line": 604, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Second path starts at", "start": 21034, "end": 21057, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21057, "end": 21058, "loc": { "start": { "line": 605, "column": 39 }, "end": { "line": 605, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPathStart", "start": 21076, "end": 21091, "loc": { "start": { "line": 606, "column": 16 }, "end": { "line": 606, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21091, "end": 21092, "loc": { "start": { "line": 606, "column": 31 }, "end": { "line": 606, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "and has a length of ", "start": 21110, "end": 21132, "loc": { "start": { "line": 607, "column": 16 }, "end": { "line": 607, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21132, "end": 21133, "loc": { "start": { "line": 607, "column": 38 }, "end": { "line": 607, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPathLength", "start": 21151, "end": 21167, "loc": { "start": { "line": 608, "column": 16 }, "end": { "line": 608, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21167, "end": 21168, "loc": { "start": { "line": 608, "column": 32 }, "end": { "line": 608, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "with", "start": 21186, "end": 21192, "loc": { "start": { "line": 609, "column": 16 }, "end": { "line": 609, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21192, "end": 21193, "loc": { "start": { "line": 609, "column": 22 }, "end": { "line": 609, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondEntities", "start": 21211, "end": 21225, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21225, "end": 21226, "loc": { "start": { "line": 610, "column": 30 }, "end": { "line": 610, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 21226, "end": 21232, "loc": { "start": { "line": 610, "column": 31 }, "end": { "line": 610, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21232, "end": 21233, "loc": { "start": { "line": 610, "column": 37 }, "end": { "line": 610, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "entities", "start": 21251, "end": 21261, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 611, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21275, "end": 21276, "loc": { "start": { "line": 612, "column": 12 }, "end": { "line": 612, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21276, "end": 21277, "loc": { "start": { "line": 612, "column": 13 }, "end": { "line": 612, "column": 14 } } }, { "type": "CommentLine", "value": " Remove the last item", "start": 21289, "end": 21312, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 31 } } }, { "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": 21322, "end": 21326, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21326, "end": 21327, "loc": { "start": { "line": 615, "column": 12 }, "end": { "line": 615, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 21327, "end": 21337, "loc": { "start": { "line": 615, "column": 13 }, "end": { "line": 615, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21337, "end": 21338, "loc": { "start": { "line": 615, "column": 23 }, "end": { "line": 615, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pop", "start": 21338, "end": 21341, "loc": { "start": { "line": 615, "column": 24 }, "end": { "line": 615, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21341, "end": 21342, "loc": { "start": { "line": 615, "column": 27 }, "end": { "line": 615, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21342, "end": 21343, "loc": { "start": { "line": 615, "column": 28 }, "end": { "line": 615, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21343, "end": 21344, "loc": { "start": { "line": 615, "column": 29 }, "end": { "line": 615, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 21356, "end": 21361, "loc": { "start": { "line": 617, "column": 8 }, "end": { "line": 617, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 21362, "end": 21364, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 21365, "end": 21371, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21371, "end": 21372, "loc": { "start": { "line": 617, "column": 23 }, "end": { "line": 617, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 21372, "end": 21375, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21375, "end": 21376, "loc": { "start": { "line": 617, "column": 27 }, "end": { "line": 617, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Splitting", "start": 21376, "end": 21387, "loc": { "start": { "line": 617, "column": 28 }, "end": { "line": 617, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21387, "end": 21388, "loc": { "start": { "line": 617, "column": 39 }, "end": { "line": 617, "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": 21389, "end": 21393, "loc": { "start": { "line": 617, "column": 41 }, "end": { "line": 617, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21393, "end": 21394, "loc": { "start": { "line": 617, "column": 45 }, "end": { "line": 617, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 21394, "end": 21399, "loc": { "start": { "line": 617, "column": 46 }, "end": { "line": 617, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21399, "end": 21400, "loc": { "start": { "line": 617, "column": 51 }, "end": { "line": 617, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 21400, "end": 21406, "loc": { "start": { "line": 617, "column": 52 }, "end": { "line": 617, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21406, "end": 21407, "loc": { "start": { "line": 617, "column": 58 }, "end": { "line": 617, "column": 59 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "items", "start": 21408, "end": 21415, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21415, "end": 21416, "loc": { "start": { "line": 617, "column": 67 }, "end": { "line": 617, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21416, "end": 21417, "loc": { "start": { "line": 617, "column": 68 }, "end": { "line": 617, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 21427, "end": 21432, "loc": { "start": { "line": 618, "column": 8 }, "end": { "line": 618, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 21433, "end": 21435, "loc": { "start": { "line": 618, "column": 14 }, "end": { "line": 618, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 21449, "end": 21455, "loc": { "start": { "line": 619, "column": 12 }, "end": { "line": 619, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21455, "end": 21456, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 21456, "end": 21459, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21459, "end": 21460, "loc": { "start": { "line": 619, "column": 22 }, "end": { "line": 619, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Old items are", "start": 21478, "end": 21493, "loc": { "start": { "line": 620, "column": 16 }, "end": { "line": 620, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21493, "end": 21494, "loc": { "start": { "line": 620, "column": 31 }, "end": { "line": 620, "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": 21512, "end": 21516, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21516, "end": 21517, "loc": { "start": { "line": 621, "column": 20 }, "end": { "line": 621, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 21517, "end": 21522, "loc": { "start": { "line": 621, "column": 21 }, "end": { "line": 621, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21522, "end": 21523, "loc": { "start": { "line": 621, "column": 26 }, "end": { "line": 621, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 21523, "end": 21526, "loc": { "start": { "line": 621, "column": 27 }, "end": { "line": 621, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21526, "end": 21527, "loc": { "start": { "line": 621, "column": 30 }, "end": { "line": 621, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 21527, "end": 21528, "loc": { "start": { "line": 621, "column": 31 }, "end": { "line": 621, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21529, "end": 21531, "loc": { "start": { "line": 621, "column": 33 }, "end": { "line": 621, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 21532, "end": 21533, "loc": { "start": { "line": 621, "column": 36 }, "end": { "line": 621, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21533, "end": 21534, "loc": { "start": { "line": 621, "column": 37 }, "end": { "line": 621, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 21534, "end": 21547, "loc": { "start": { "line": 621, "column": 38 }, "end": { "line": 621, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21547, "end": 21548, "loc": { "start": { "line": 621, "column": 51 }, "end": { "line": 621, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21548, "end": 21549, "loc": { "start": { "line": 621, "column": 52 }, "end": { "line": 621, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21563, "end": 21564, "loc": { "start": { "line": 622, "column": 12 }, "end": { "line": 622, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21564, "end": 21565, "loc": { "start": { "line": 622, "column": 13 }, "end": { "line": 622, "column": 14 } } }, { "type": "CommentLine", "value": " Create second path", "start": 21577, "end": 21598, "loc": { "start": { "line": 624, "column": 8 }, "end": { "line": 624, "column": 29 } } }, { "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": 21608, "end": 21613, "loc": { "start": { "line": 625, "column": 8 }, "end": { "line": 625, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 21614, "end": 21624, "loc": { "start": { "line": 625, "column": 14 }, "end": { "line": 625, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21625, "end": 21626, "loc": { "start": { "line": 625, "column": 25 }, "end": { "line": 625, "column": 26 } } }, { "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": 21627, "end": 21630, "loc": { "start": { "line": 625, "column": 27 }, "end": { "line": 625, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltPath", "start": 21631, "end": 21639, "loc": { "start": { "line": 625, "column": 31 }, "end": { "line": 625, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21639, "end": 21640, "loc": { "start": { "line": 625, "column": 39 }, "end": { "line": 625, "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": 21640, "end": 21644, "loc": { "start": { "line": 625, "column": 40 }, "end": { "line": 625, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21644, "end": 21645, "loc": { "start": { "line": 625, "column": 44 }, "end": { "line": 625, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 21645, "end": 21649, "loc": { "start": { "line": 625, "column": 45 }, "end": { "line": 625, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21649, "end": 21650, "loc": { "start": { "line": 625, "column": 49 }, "end": { "line": 625, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondEntities", "start": 21651, "end": 21665, "loc": { "start": { "line": 625, "column": 51 }, "end": { "line": 625, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21665, "end": 21666, "loc": { "start": { "line": 625, "column": 65 }, "end": { "line": 625, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21666, "end": 21667, "loc": { "start": { "line": 625, "column": 66 }, "end": { "line": 625, "column": 67 } } }, { "type": "CommentLine", "value": " Remove all items which are no longer relevant and transfer them to the second path", "start": 21679, "end": 21764, "loc": { "start": { "line": 627, "column": 8 }, "end": { "line": 627, "column": 93 } } }, { "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": 21774, "end": 21777, "loc": { "start": { "line": 628, "column": 8 }, "end": { "line": 628, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 21778, "end": 21785, "loc": { "start": { "line": 628, "column": 12 }, "end": { "line": 628, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21786, "end": 21787, "loc": { "start": { "line": 628, "column": 20 }, "end": { "line": 628, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 21788, "end": 21792, "loc": { "start": { "line": 628, "column": 22 }, "end": { "line": 628, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21792, "end": 21793, "loc": { "start": { "line": 628, "column": 26 }, "end": { "line": 628, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 21793, "end": 21811, "loc": { "start": { "line": 628, "column": 27 }, "end": { "line": 628, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21811, "end": 21812, "loc": { "start": { "line": 628, "column": 45 }, "end": { "line": 628, "column": 46 } } }, { "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": 21822, "end": 21825, "loc": { "start": { "line": 629, "column": 8 }, "end": { "line": 629, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21826, "end": 21827, "loc": { "start": { "line": 629, "column": 12 }, "end": { "line": 629, "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": 21827, "end": 21830, "loc": { "start": { "line": 629, "column": 13 }, "end": { "line": 629, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 21831, "end": 21832, "loc": { "start": { "line": 629, "column": 17 }, "end": { "line": 629, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21833, "end": 21834, "loc": { "start": { "line": 629, "column": 19 }, "end": { "line": 629, "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": 21835, "end": 21836, "loc": { "start": { "line": 629, "column": 21 }, "end": { "line": 629, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21836, "end": 21837, "loc": { "start": { "line": 629, "column": 22 }, "end": { "line": 629, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 21838, "end": 21839, "loc": { "start": { "line": 629, "column": 24 }, "end": { "line": 629, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 21840, "end": 21841, "loc": { "start": { "line": 629, "column": 26 }, "end": { "line": 629, "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": 21842, "end": 21846, "loc": { "start": { "line": 629, "column": 28 }, "end": { "line": 629, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21846, "end": 21847, "loc": { "start": { "line": 629, "column": 32 }, "end": { "line": 629, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 21847, "end": 21852, "loc": { "start": { "line": 629, "column": 33 }, "end": { "line": 629, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21852, "end": 21853, "loc": { "start": { "line": 629, "column": 38 }, "end": { "line": 629, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 21853, "end": 21859, "loc": { "start": { "line": 629, "column": 39 }, "end": { "line": 629, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21859, "end": 21860, "loc": { "start": { "line": 629, "column": 45 }, "end": { "line": 629, "column": 46 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 21861, "end": 21863, "loc": { "start": { "line": 629, "column": 47 }, "end": { "line": 629, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 21863, "end": 21864, "loc": { "start": { "line": 629, "column": 49 }, "end": { "line": 629, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21864, "end": 21865, "loc": { "start": { "line": 629, "column": 50 }, "end": { "line": 629, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21866, "end": 21867, "loc": { "start": { "line": 629, "column": 52 }, "end": { "line": 629, "column": 53 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21881, "end": 21886, "loc": { "start": { "line": 630, "column": 12 }, "end": { "line": 630, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21887, "end": 21891, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21892, "end": 21893, "loc": { "start": { "line": 630, "column": 23 }, "end": { "line": 630, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 21894, "end": 21898, "loc": { "start": { "line": 630, "column": 25 }, "end": { "line": 630, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21898, "end": 21899, "loc": { "start": { "line": 630, "column": 29 }, "end": { "line": 630, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 21899, "end": 21904, "loc": { "start": { "line": 630, "column": 30 }, "end": { "line": 630, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21904, "end": 21905, "loc": { "start": { "line": 630, "column": 35 }, "end": { "line": 630, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 21905, "end": 21906, "loc": { "start": { "line": 630, "column": 36 }, "end": { "line": 630, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21906, "end": 21907, "loc": { "start": { "line": 630, "column": 37 }, "end": { "line": 630, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21907, "end": 21908, "loc": { "start": { "line": 630, "column": 38 }, "end": { "line": 630, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21922, "end": 21927, "loc": { "start": { "line": 631, "column": 12 }, "end": { "line": 631, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 21928, "end": 21942, "loc": { "start": { "line": 631, "column": 18 }, "end": { "line": 631, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21943, "end": 21944, "loc": { "start": { "line": 631, "column": 33 }, "end": { "line": 631, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21945, "end": 21949, "loc": { "start": { "line": 631, "column": 35 }, "end": { "line": 631, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21949, "end": 21950, "loc": { "start": { "line": 631, "column": 39 }, "end": { "line": 631, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 21950, "end": 21963, "loc": { "start": { "line": 631, "column": 40 }, "end": { "line": 631, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21963, "end": 21964, "loc": { "start": { "line": 631, "column": 53 }, "end": { "line": 631, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21964, "end": 21965, "loc": { "start": { "line": 631, "column": 54 }, "end": { "line": 631, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 21981, "end": 21986, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 21987, "end": 21989, "loc": { "start": { "line": 633, "column": 18 }, "end": { "line": 633, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 21990, "end": 21996, "loc": { "start": { "line": 633, "column": 21 }, "end": { "line": 633, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21996, "end": 21997, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 21997, "end": 22000, "loc": { "start": { "line": 633, "column": 28 }, "end": { "line": 633, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22000, "end": 22001, "loc": { "start": { "line": 633, "column": 31 }, "end": { "line": 633, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Checking item at", "start": 22001, "end": 22021, "loc": { "start": { "line": 633, "column": 32 }, "end": { "line": 633, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22021, "end": 22022, "loc": { "start": { "line": 633, "column": 52 }, "end": { "line": 633, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 22023, "end": 22030, "loc": { "start": { "line": 633, "column": 54 }, "end": { "line": 633, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22030, "end": 22031, "loc": { "start": { "line": 633, "column": 61 }, "end": { "line": 633, "column": 62 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "with distance of", "start": 22032, "end": 22050, "loc": { "start": { "line": 633, "column": 63 }, "end": { "line": 633, "column": 81 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22050, "end": 22051, "loc": { "start": { "line": 633, "column": 81 }, "end": { "line": 633, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 22052, "end": 22066, "loc": { "start": { "line": 633, "column": 83 }, "end": { "line": 633, "column": 97 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22066, "end": 22067, "loc": { "start": { "line": 633, "column": 97 }, "end": { "line": 633, "column": 98 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "to next", "start": 22068, "end": 22077, "loc": { "start": { "line": 633, "column": 99 }, "end": { "line": 633, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22077, "end": 22078, "loc": { "start": { "line": 633, "column": 108 }, "end": { "line": 633, "column": 109 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22078, "end": 22079, "loc": { "start": { "line": 633, "column": 109 }, "end": { "line": 633, "column": 110 } } }, { "type": "CommentLine", "value": " Check if this item is past the first path", "start": 22095, "end": 22139, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 56 } } }, { "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": 22153, "end": 22155, "loc": { "start": { "line": 636, "column": 12 }, "end": { "line": 636, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22156, "end": 22157, "loc": { "start": { "line": 636, "column": 15 }, "end": { "line": 636, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 22157, "end": 22164, "loc": { "start": { "line": 636, "column": 16 }, "end": { "line": 636, "column": 23 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 22165, "end": 22167, "loc": { "start": { "line": 636, "column": 24 }, "end": { "line": 636, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 22168, "end": 22183, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22183, "end": 22184, "loc": { "start": { "line": 636, "column": 42 }, "end": { "line": 636, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22185, "end": 22186, "loc": { "start": { "line": 636, "column": 44 }, "end": { "line": 636, "column": 45 } } }, { "type": "CommentLine", "value": " Remove it from the first path", "start": 22204, "end": 22236, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "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": 22254, "end": 22258, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22258, "end": 22259, "loc": { "start": { "line": 638, "column": 20 }, "end": { "line": 638, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 22259, "end": 22264, "loc": { "start": { "line": 638, "column": 21 }, "end": { "line": 638, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22264, "end": 22265, "loc": { "start": { "line": 638, "column": 26 }, "end": { "line": 638, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 22265, "end": 22271, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22271, "end": 22272, "loc": { "start": { "line": 638, "column": 33 }, "end": { "line": 638, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 22272, "end": 22273, "loc": { "start": { "line": 638, "column": 34 }, "end": { "line": 638, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22273, "end": 22274, "loc": { "start": { "line": 638, "column": 35 }, "end": { "line": 638, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 22275, "end": 22276, "loc": { "start": { "line": 638, "column": 37 }, "end": { "line": 638, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22276, "end": 22277, "loc": { "start": { "line": 638, "column": 38 }, "end": { "line": 638, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22277, "end": 22278, "loc": { "start": { "line": 638, "column": 39 }, "end": { "line": 638, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 22296, "end": 22297, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 17 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 22298, "end": 22300, "loc": { "start": { "line": 639, "column": 18 }, "end": { "line": 639, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 22301, "end": 22302, "loc": { "start": { "line": 639, "column": 21 }, "end": { "line": 639, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22302, "end": 22303, "loc": { "start": { "line": 639, "column": 22 }, "end": { "line": 639, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 22321, "end": 22326, "loc": { "start": { "line": 640, "column": 16 }, "end": { "line": 640, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 22327, "end": 22329, "loc": { "start": { "line": 640, "column": 22 }, "end": { "line": 640, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 22351, "end": 22357, "loc": { "start": { "line": 641, "column": 20 }, "end": { "line": 641, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22357, "end": 22358, "loc": { "start": { "line": 641, "column": 26 }, "end": { "line": 641, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 22358, "end": 22361, "loc": { "start": { "line": 641, "column": 27 }, "end": { "line": 641, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22361, "end": 22362, "loc": { "start": { "line": 641, "column": 30 }, "end": { "line": 641, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Removed item from first path since its no longer contained @", "start": 22362, "end": 22429, "loc": { "start": { "line": 641, "column": 31 }, "end": { "line": 641, "column": 98 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22429, "end": 22430, "loc": { "start": { "line": 641, "column": 98 }, "end": { "line": 641, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 22431, "end": 22438, "loc": { "start": { "line": 641, "column": 100 }, "end": { "line": 641, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22438, "end": 22439, "loc": { "start": { "line": 641, "column": 107 }, "end": { "line": 641, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22439, "end": 22440, "loc": { "start": { "line": 641, "column": 108 }, "end": { "line": 641, "column": 109 } } }, { "type": "CommentLine", "value": " Check if its on the second path (otherwise its on the removed belt and simply lost)", "start": 22460, "end": 22546, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 643, "column": 102 } } }, { "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": 22564, "end": 22566, "loc": { "start": { "line": 644, "column": 16 }, "end": { "line": 644, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22567, "end": 22568, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 22568, "end": 22575, "loc": { "start": { "line": 644, "column": 20 }, "end": { "line": 644, "column": 27 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 22576, "end": 22578, "loc": { "start": { "line": 644, "column": 28 }, "end": { "line": 644, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPathStart", "start": 22579, "end": 22594, "loc": { "start": { "line": 644, "column": 31 }, "end": { "line": 644, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22594, "end": 22595, "loc": { "start": { "line": 644, "column": 46 }, "end": { "line": 644, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22596, "end": 22597, "loc": { "start": { "line": 644, "column": 48 }, "end": { "line": 644, "column": 49 } } }, { "type": "CommentLine", "value": " Put item on second path", "start": 22619, "end": 22645, "loc": { "start": { "line": 645, "column": 20 }, "end": { "line": 645, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 22667, "end": 22677, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22677, "end": 22678, "loc": { "start": { "line": 646, "column": 30 }, "end": { "line": 646, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 22678, "end": 22683, "loc": { "start": { "line": 646, "column": 31 }, "end": { "line": 646, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22683, "end": 22684, "loc": { "start": { "line": 646, "column": 36 }, "end": { "line": 646, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 22684, "end": 22688, "loc": { "start": { "line": 646, "column": 37 }, "end": { "line": 646, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22688, "end": 22689, "loc": { "start": { "line": 646, "column": 41 }, "end": { "line": 646, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22689, "end": 22690, "loc": { "start": { "line": 646, "column": 42 }, "end": { "line": 646, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 22690, "end": 22704, "loc": { "start": { "line": 646, "column": 43 }, "end": { "line": 646, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22704, "end": 22705, "loc": { "start": { "line": 646, "column": 57 }, "end": { "line": 646, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 22706, "end": 22710, "loc": { "start": { "line": 646, "column": 59 }, "end": { "line": 646, "column": 63 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22710, "end": 22711, "loc": { "start": { "line": 646, "column": 63 }, "end": { "line": 646, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 22711, "end": 22716, "loc": { "start": { "line": 646, "column": 64 }, "end": { "line": 646, "column": 69 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22716, "end": 22717, "loc": { "start": { "line": 646, "column": 69 }, "end": { "line": 646, "column": 70 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22717, "end": 22718, "loc": { "start": { "line": 646, "column": 70 }, "end": { "line": 646, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22718, "end": 22719, "loc": { "start": { "line": 646, "column": 71 }, "end": { "line": 646, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22719, "end": 22720, "loc": { "start": { "line": 646, "column": 72 }, "end": { "line": 646, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 22742, "end": 22747, "loc": { "start": { "line": 647, "column": 20 }, "end": { "line": 647, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 22748, "end": 22750, "loc": { "start": { "line": 647, "column": 26 }, "end": { "line": 647, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 22776, "end": 22782, "loc": { "start": { "line": 648, "column": 24 }, "end": { "line": 648, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22782, "end": 22783, "loc": { "start": { "line": 648, "column": 30 }, "end": { "line": 648, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 22783, "end": 22786, "loc": { "start": { "line": 648, "column": 31 }, "end": { "line": 648, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22786, "end": 22787, "loc": { "start": { "line": 648, "column": 34 }, "end": { "line": 648, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Put item to second path @", "start": 22817, "end": 22849, "loc": { "start": { "line": 649, "column": 28 }, "end": { "line": 649, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22849, "end": 22850, "loc": { "start": { "line": 649, "column": 60 }, "end": { "line": 649, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 22880, "end": 22887, "loc": { "start": { "line": 650, "column": 28 }, "end": { "line": 650, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22887, "end": 22888, "loc": { "start": { "line": 650, "column": 35 }, "end": { "line": 650, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "with distance to next =", "start": 22918, "end": 22943, "loc": { "start": { "line": 651, "column": 28 }, "end": { "line": 651, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22943, "end": 22944, "loc": { "start": { "line": 651, "column": 53 }, "end": { "line": 651, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 22974, "end": 22988, "loc": { "start": { "line": 652, "column": 28 }, "end": { "line": 652, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23014, "end": 23015, "loc": { "start": { "line": 653, "column": 24 }, "end": { "line": 653, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23015, "end": 23016, "loc": { "start": { "line": 653, "column": 25 }, "end": { "line": 653, "column": 26 } } }, { "type": "CommentLine", "value": " If it was the first item, adjust the distance to the first item", "start": 23040, "end": 23106, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 86 } } }, { "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": 23128, "end": 23130, "loc": { "start": { "line": 656, "column": 20 }, "end": { "line": 656, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23131, "end": 23132, "loc": { "start": { "line": 656, "column": 23 }, "end": { "line": 656, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 23132, "end": 23142, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23142, "end": 23143, "loc": { "start": { "line": 656, "column": 34 }, "end": { "line": 656, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 23143, "end": 23148, "loc": { "start": { "line": 656, "column": 35 }, "end": { "line": 656, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23148, "end": 23149, "loc": { "start": { "line": 656, "column": 40 }, "end": { "line": 656, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 23149, "end": 23155, "loc": { "start": { "line": 656, "column": 41 }, "end": { "line": 656, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 23156, "end": 23159, "loc": { "start": { "line": 656, "column": 48 }, "end": { "line": 656, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 23160, "end": 23161, "loc": { "start": { "line": 656, "column": 52 }, "end": { "line": 656, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23161, "end": 23162, "loc": { "start": { "line": 656, "column": 53 }, "end": { "line": 656, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23163, "end": 23164, "loc": { "start": { "line": 656, "column": 55 }, "end": { "line": 656, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 23190, "end": 23195, "loc": { "start": { "line": 657, "column": 24 }, "end": { "line": 657, "column": 29 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 23196, "end": 23198, "loc": { "start": { "line": 657, "column": 30 }, "end": { "line": 657, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 23199, "end": 23205, "loc": { "start": { "line": 657, "column": 33 }, "end": { "line": 657, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23205, "end": 23206, "loc": { "start": { "line": 657, "column": 39 }, "end": { "line": 657, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 23206, "end": 23209, "loc": { "start": { "line": 657, "column": 40 }, "end": { "line": 657, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23209, "end": 23210, "loc": { "start": { "line": 657, "column": 43 }, "end": { "line": 657, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Sinc it was the first, set sapcing of first to", "start": 23210, "end": 23265, "loc": { "start": { "line": 657, "column": 44 }, "end": { "line": 657, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23265, "end": 23266, "loc": { "start": { "line": 657, "column": 99 }, "end": { "line": 657, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 23267, "end": 23274, "loc": { "start": { "line": 657, "column": 101 }, "end": { "line": 657, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23274, "end": 23275, "loc": { "start": { "line": 657, "column": 108 }, "end": { "line": 657, "column": 109 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23275, "end": 23276, "loc": { "start": { "line": 657, "column": 109 }, "end": { "line": 657, "column": 110 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 23302, "end": 23312, "loc": { "start": { "line": 658, "column": 24 }, "end": { "line": 658, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23312, "end": 23313, "loc": { "start": { "line": 658, "column": 34 }, "end": { "line": 658, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 23313, "end": 23331, "loc": { "start": { "line": 658, "column": 35 }, "end": { "line": 658, "column": 53 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23332, "end": 23333, "loc": { "start": { "line": 658, "column": 54 }, "end": { "line": 658, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 23334, "end": 23341, "loc": { "start": { "line": 658, "column": 56 }, "end": { "line": 658, "column": 63 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 23342, "end": 23343, "loc": { "start": { "line": 658, "column": 64 }, "end": { "line": 658, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPathStart", "start": 23344, "end": 23359, "loc": { "start": { "line": 658, "column": 66 }, "end": { "line": 658, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23359, "end": 23360, "loc": { "start": { "line": 658, "column": 81 }, "end": { "line": 658, "column": 82 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23382, "end": 23383, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23401, "end": 23402, "loc": { "start": { "line": 660, "column": 16 }, "end": { "line": 660, "column": 17 } } }, { "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": 23403, "end": 23407, "loc": { "start": { "line": 660, "column": 18 }, "end": { "line": 660, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23408, "end": 23409, "loc": { "start": { "line": 660, "column": 23 }, "end": { "line": 660, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 23431, "end": 23436, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 23437, "end": 23439, "loc": { "start": { "line": 661, "column": 26 }, "end": { "line": 661, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 23440, "end": 23446, "loc": { "start": { "line": 661, "column": 29 }, "end": { "line": 661, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23446, "end": 23447, "loc": { "start": { "line": 661, "column": 35 }, "end": { "line": 661, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 23447, "end": 23450, "loc": { "start": { "line": 661, "column": 36 }, "end": { "line": 661, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23450, "end": 23451, "loc": { "start": { "line": 661, "column": 39 }, "end": { "line": 661, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Item was on the removed belt, so its gone - forever!", "start": 23451, "end": 23509, "loc": { "start": { "line": 661, "column": 40 }, "end": { "line": 661, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23509, "end": 23510, "loc": { "start": { "line": 661, "column": 98 }, "end": { "line": 661, "column": 99 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23510, "end": 23511, "loc": { "start": { "line": 661, "column": 99 }, "end": { "line": 661, "column": 100 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23529, "end": 23530, "loc": { "start": { "line": 662, "column": 16 }, "end": { "line": 662, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23544, "end": 23545, "loc": { "start": { "line": 663, "column": 12 }, "end": { "line": 663, "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": 23546, "end": 23550, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23551, "end": 23552, "loc": { "start": { "line": 663, "column": 19 }, "end": { "line": 663, "column": 20 } } }, { "type": "CommentLine", "value": " Seems this item is on the first path (so all good), so just make sure it doesn't", "start": 23570, "end": 23653, "loc": { "start": { "line": 664, "column": 16 }, "end": { "line": 664, "column": 99 } } }, { "type": "CommentLine", "value": " have a nextDistance which is bigger than the total path length", "start": 23671, "end": 23736, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 81 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 23754, "end": 23759, "loc": { "start": { "line": 666, "column": 16 }, "end": { "line": 666, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedDistanceToNext", "start": 23760, "end": 23781, "loc": { "start": { "line": 666, "column": 22 }, "end": { "line": 666, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23782, "end": 23783, "loc": { "start": { "line": 666, "column": 44 }, "end": { "line": 666, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 23784, "end": 23788, "loc": { "start": { "line": 666, "column": 46 }, "end": { "line": 666, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23788, "end": 23789, "loc": { "start": { "line": 666, "column": 50 }, "end": { "line": 666, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 23789, "end": 23792, "loc": { "start": { "line": 666, "column": 51 }, "end": { "line": 666, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23792, "end": 23793, "loc": { "start": { "line": 666, "column": 54 }, "end": { "line": 666, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 23793, "end": 23800, "loc": { "start": { "line": 666, "column": 55 }, "end": { "line": 666, "column": 62 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 23801, "end": 23802, "loc": { "start": { "line": 666, "column": 63 }, "end": { "line": 666, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 23803, "end": 23817, "loc": { "start": { "line": 666, "column": 65 }, "end": { "line": 666, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23817, "end": 23818, "loc": { "start": { "line": 666, "column": 79 }, "end": { "line": 666, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 23819, "end": 23834, "loc": { "start": { "line": 666, "column": 81 }, "end": { "line": 666, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23834, "end": 23835, "loc": { "start": { "line": 666, "column": 96 }, "end": { "line": 666, "column": 97 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 23836, "end": 23837, "loc": { "start": { "line": 666, "column": 98 }, "end": { "line": 666, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 23838, "end": 23845, "loc": { "start": { "line": 666, "column": 100 }, "end": { "line": 666, "column": 107 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23845, "end": 23846, "loc": { "start": { "line": 666, "column": 107 }, "end": { "line": 666, "column": 108 } } }, { "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": 23864, "end": 23866, "loc": { "start": { "line": 667, "column": 16 }, "end": { "line": 667, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23867, "end": 23868, "loc": { "start": { "line": 667, "column": 19 }, "end": { "line": 667, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedDistanceToNext", "start": 23868, "end": 23889, "loc": { "start": { "line": 667, "column": 20 }, "end": { "line": 667, "column": 41 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 23890, "end": 23891, "loc": { "start": { "line": 667, "column": 42 }, "end": { "line": 667, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 23892, "end": 23906, "loc": { "start": { "line": 667, "column": 44 }, "end": { "line": 667, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23906, "end": 23907, "loc": { "start": { "line": 667, "column": 58 }, "end": { "line": 667, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23908, "end": 23909, "loc": { "start": { "line": 667, "column": 60 }, "end": { "line": 667, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 23931, "end": 23936, "loc": { "start": { "line": 668, "column": 20 }, "end": { "line": 668, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 23937, "end": 23939, "loc": { "start": { "line": 668, "column": 26 }, "end": { "line": 668, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 23965, "end": 23971, "loc": { "start": { "line": 669, "column": 24 }, "end": { "line": 669, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23971, "end": 23972, "loc": { "start": { "line": 669, "column": 30 }, "end": { "line": 669, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 23972, "end": 23975, "loc": { "start": { "line": 669, "column": 31 }, "end": { "line": 669, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23975, "end": 23976, "loc": { "start": { "line": 669, "column": 34 }, "end": { "line": 669, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Correcting next distance (first path) from", "start": 24006, "end": 24050, "loc": { "start": { "line": 670, "column": 28 }, "end": { "line": 670, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24050, "end": 24051, "loc": { "start": { "line": 670, "column": 72 }, "end": { "line": 670, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 24081, "end": 24095, "loc": { "start": { "line": 671, "column": 28 }, "end": { "line": 671, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24095, "end": 24096, "loc": { "start": { "line": 671, "column": 42 }, "end": { "line": 671, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "to", "start": 24126, "end": 24130, "loc": { "start": { "line": 672, "column": 28 }, "end": { "line": 672, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24130, "end": 24131, "loc": { "start": { "line": 672, "column": 32 }, "end": { "line": 672, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedDistanceToNext", "start": 24161, "end": 24182, "loc": { "start": { "line": 673, "column": 28 }, "end": { "line": 673, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24208, "end": 24209, "loc": { "start": { "line": 674, "column": 24 }, "end": { "line": 674, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24209, "end": 24210, "loc": { "start": { "line": 674, "column": 25 }, "end": { "line": 674, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 24232, "end": 24236, "loc": { "start": { "line": 675, "column": 20 }, "end": { "line": 675, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24236, "end": 24237, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 24237, "end": 24250, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24250, "end": 24251, "loc": { "start": { "line": 675, "column": 38 }, "end": { "line": 675, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24252, "end": 24253, "loc": { "start": { "line": 675, "column": 40 }, "end": { "line": 675, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedDistanceToNext", "start": 24254, "end": 24275, "loc": { "start": { "line": 675, "column": 42 }, "end": { "line": 675, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24275, "end": 24276, "loc": { "start": { "line": 675, "column": 63 }, "end": { "line": 675, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24294, "end": 24295, "loc": { "start": { "line": 676, "column": 16 }, "end": { "line": 676, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24309, "end": 24310, "loc": { "start": { "line": 677, "column": 12 }, "end": { "line": 677, "column": 13 } } }, { "type": "CommentLine", "value": " Advance items", "start": 24326, "end": 24342, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemPos", "start": 24356, "end": 24363, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 19 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 24364, "end": 24366, "loc": { "start": { "line": 680, "column": 20 }, "end": { "line": 680, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToNext", "start": 24367, "end": 24381, "loc": { "start": { "line": 680, "column": 23 }, "end": { "line": 680, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24381, "end": 24382, "loc": { "start": { "line": 680, "column": 37 }, "end": { "line": 680, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24392, "end": 24393, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 24405, "end": 24410, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 683, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 24411, "end": 24413, "loc": { "start": { "line": 683, "column": 14 }, "end": { "line": 683, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 24427, "end": 24433, "loc": { "start": { "line": 684, "column": 12 }, "end": { "line": 684, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24433, "end": 24434, "loc": { "start": { "line": 684, "column": 18 }, "end": { "line": 684, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 24434, "end": 24437, "loc": { "start": { "line": 684, "column": 19 }, "end": { "line": 684, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24437, "end": 24438, "loc": { "start": { "line": 684, "column": 22 }, "end": { "line": 684, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "New items are", "start": 24456, "end": 24471, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24471, "end": 24472, "loc": { "start": { "line": 685, "column": 31 }, "end": { "line": 685, "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": 24490, "end": 24494, "loc": { "start": { "line": 686, "column": 16 }, "end": { "line": 686, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24494, "end": 24495, "loc": { "start": { "line": 686, "column": 20 }, "end": { "line": 686, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 24495, "end": 24500, "loc": { "start": { "line": 686, "column": 21 }, "end": { "line": 686, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24500, "end": 24501, "loc": { "start": { "line": 686, "column": 26 }, "end": { "line": 686, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 24501, "end": 24504, "loc": { "start": { "line": 686, "column": 27 }, "end": { "line": 686, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24504, "end": 24505, "loc": { "start": { "line": 686, "column": 30 }, "end": { "line": 686, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 24505, "end": 24506, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24507, "end": 24509, "loc": { "start": { "line": 686, "column": 33 }, "end": { "line": 686, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 24510, "end": 24511, "loc": { "start": { "line": 686, "column": 36 }, "end": { "line": 686, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24511, "end": 24512, "loc": { "start": { "line": 686, "column": 37 }, "end": { "line": 686, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 24512, "end": 24525, "loc": { "start": { "line": 686, "column": 38 }, "end": { "line": 686, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24525, "end": 24526, "loc": { "start": { "line": 686, "column": 51 }, "end": { "line": 686, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24526, "end": 24527, "loc": { "start": { "line": 686, "column": 52 }, "end": { "line": 686, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24541, "end": 24542, "loc": { "start": { "line": 687, "column": 12 }, "end": { "line": 687, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24542, "end": 24543, "loc": { "start": { "line": 687, "column": 13 }, "end": { "line": 687, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 24555, "end": 24560, "loc": { "start": { "line": 689, "column": 8 }, "end": { "line": 689, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 24561, "end": 24563, "loc": { "start": { "line": 689, "column": 14 }, "end": { "line": 689, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 24577, "end": 24583, "loc": { "start": { "line": 690, "column": 12 }, "end": { "line": 690, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24583, "end": 24584, "loc": { "start": { "line": 690, "column": 18 }, "end": { "line": 690, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 24584, "end": 24587, "loc": { "start": { "line": 690, "column": 19 }, "end": { "line": 690, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24587, "end": 24588, "loc": { "start": { "line": 690, "column": 22 }, "end": { "line": 690, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "And second path items are", "start": 24606, "end": 24633, "loc": { "start": { "line": 691, "column": 16 }, "end": { "line": 691, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24633, "end": 24634, "loc": { "start": { "line": 691, "column": 43 }, "end": { "line": 691, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 24652, "end": 24662, "loc": { "start": { "line": 692, "column": 16 }, "end": { "line": 692, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24662, "end": 24663, "loc": { "start": { "line": 692, "column": 26 }, "end": { "line": 692, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 24663, "end": 24668, "loc": { "start": { "line": 692, "column": 27 }, "end": { "line": 692, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24668, "end": 24669, "loc": { "start": { "line": 692, "column": 32 }, "end": { "line": 692, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 24669, "end": 24672, "loc": { "start": { "line": 692, "column": 33 }, "end": { "line": 692, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24672, "end": 24673, "loc": { "start": { "line": 692, "column": 36 }, "end": { "line": 692, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 24673, "end": 24674, "loc": { "start": { "line": 692, "column": 37 }, "end": { "line": 692, "column": 38 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24675, "end": 24677, "loc": { "start": { "line": 692, "column": 39 }, "end": { "line": 692, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 24678, "end": 24679, "loc": { "start": { "line": 692, "column": 42 }, "end": { "line": 692, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24679, "end": 24680, "loc": { "start": { "line": 692, "column": 43 }, "end": { "line": 692, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 24680, "end": 24693, "loc": { "start": { "line": 692, "column": 44 }, "end": { "line": 692, "column": 57 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24693, "end": 24694, "loc": { "start": { "line": 692, "column": 57 }, "end": { "line": 692, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24694, "end": 24695, "loc": { "start": { "line": 692, "column": 58 }, "end": { "line": 692, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24709, "end": 24710, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24710, "end": 24711, "loc": { "start": { "line": 693, "column": 13 }, "end": { "line": 693, "column": 14 } } }, { "type": "CommentLine", "value": " Adjust our total length", "start": 24723, "end": 24749, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 695, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24759, "end": 24763, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24763, "end": 24764, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 24764, "end": 24775, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24776, "end": 24777, "loc": { "start": { "line": 696, "column": 25 }, "end": { "line": 696, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstPathLength", "start": 24778, "end": 24793, "loc": { "start": { "line": 696, "column": 27 }, "end": { "line": 696, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24793, "end": 24794, "loc": { "start": { "line": 696, "column": 42 }, "end": { "line": 696, "column": 43 } } }, { "type": "CommentLine", "value": " Make sure that if we are empty, we set our first distance properly", "start": 24806, "end": 24875, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 77 } } }, { "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": 24885, "end": 24887, "loc": { "start": { "line": 699, "column": 8 }, "end": { "line": 699, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24888, "end": 24889, "loc": { "start": { "line": 699, "column": 11 }, "end": { "line": 699, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24889, "end": 24893, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24893, "end": 24894, "loc": { "start": { "line": 699, "column": 16 }, "end": { "line": 699, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 24894, "end": 24899, "loc": { "start": { "line": 699, "column": 17 }, "end": { "line": 699, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24899, "end": 24900, "loc": { "start": { "line": 699, "column": 22 }, "end": { "line": 699, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 24900, "end": 24906, "loc": { "start": { "line": 699, "column": 23 }, "end": { "line": 699, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 24907, "end": 24910, "loc": { "start": { "line": 699, "column": 30 }, "end": { "line": 699, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 24911, "end": 24912, "loc": { "start": { "line": 699, "column": 34 }, "end": { "line": 699, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24912, "end": 24913, "loc": { "start": { "line": 699, "column": 35 }, "end": { "line": 699, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24914, "end": 24915, "loc": { "start": { "line": 699, "column": 37 }, "end": { "line": 699, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24929, "end": 24933, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24933, "end": 24934, "loc": { "start": { "line": 700, "column": 16 }, "end": { "line": 700, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 24934, "end": 24952, "loc": { "start": { "line": 700, "column": 17 }, "end": { "line": 700, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24953, "end": 24954, "loc": { "start": { "line": 700, "column": 36 }, "end": { "line": 700, "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": 24955, "end": 24959, "loc": { "start": { "line": 700, "column": 38 }, "end": { "line": 700, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24959, "end": 24960, "loc": { "start": { "line": 700, "column": 42 }, "end": { "line": 700, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 24960, "end": 24971, "loc": { "start": { "line": 700, "column": 43 }, "end": { "line": 700, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24971, "end": 24972, "loc": { "start": { "line": 700, "column": 54 }, "end": { "line": 700, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24982, "end": 24983, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 9 } } }, { "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": 24995, "end": 24999, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24999, "end": 25000, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 25000, "end": 25013, "loc": { "start": { "line": 703, "column": 13 }, "end": { "line": 703, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25013, "end": 25014, "loc": { "start": { "line": 703, "column": 26 }, "end": { "line": 703, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25014, "end": 25015, "loc": { "start": { "line": 703, "column": 27 }, "end": { "line": 703, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25015, "end": 25016, "loc": { "start": { "line": 703, "column": 28 }, "end": { "line": 703, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 25026, "end": 25036, "loc": { "start": { "line": 704, "column": 8 }, "end": { "line": 704, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25036, "end": 25037, "loc": { "start": { "line": 704, "column": 18 }, "end": { "line": 704, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 25037, "end": 25050, "loc": { "start": { "line": 704, "column": 19 }, "end": { "line": 704, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25050, "end": 25051, "loc": { "start": { "line": 704, "column": 32 }, "end": { "line": 704, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25051, "end": 25052, "loc": { "start": { "line": 704, "column": 33 }, "end": { "line": 704, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25052, "end": 25053, "loc": { "start": { "line": 704, "column": 34 }, "end": { "line": 704, "column": 35 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 25065, "end": 25081, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 25091, "end": 25095, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25095, "end": 25096, "loc": { "start": { "line": 707, "column": 12 }, "end": { "line": 707, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 25096, "end": 25107, "loc": { "start": { "line": 707, "column": 13 }, "end": { "line": 707, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25108, "end": 25109, "loc": { "start": { "line": 707, "column": 25 }, "end": { "line": 707, "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": 25110, "end": 25114, "loc": { "start": { "line": 707, "column": 27 }, "end": { "line": 707, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25114, "end": 25115, "loc": { "start": { "line": 707, "column": 31 }, "end": { "line": 707, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 25115, "end": 25128, "loc": { "start": { "line": 707, "column": 32 }, "end": { "line": 707, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25128, "end": 25129, "loc": { "start": { "line": 707, "column": 45 }, "end": { "line": 707, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25129, "end": 25130, "loc": { "start": { "line": 707, "column": 46 }, "end": { "line": 707, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25130, "end": 25131, "loc": { "start": { "line": 707, "column": 47 }, "end": { "line": 707, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 25143, "end": 25145, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25146, "end": 25147, "loc": { "start": { "line": 709, "column": 11 }, "end": { "line": 709, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 25147, "end": 25155, "loc": { "start": { "line": 709, "column": 12 }, "end": { "line": 709, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 25156, "end": 25158, "loc": { "start": { "line": 709, "column": 21 }, "end": { "line": 709, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 25159, "end": 25171, "loc": { "start": { "line": 709, "column": 24 }, "end": { "line": 709, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25171, "end": 25172, "loc": { "start": { "line": 709, "column": 36 }, "end": { "line": 709, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 25172, "end": 25177, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 709, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25177, "end": 25178, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 25178, "end": 25192, "loc": { "start": { "line": 709, "column": 43 }, "end": { "line": 709, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25192, "end": 25193, "loc": { "start": { "line": 709, "column": 57 }, "end": { "line": 709, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25194, "end": 25195, "loc": { "start": { "line": 709, "column": 59 }, "end": { "line": 709, "column": 60 } } }, { "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": 25209, "end": 25213, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25213, "end": 25214, "loc": { "start": { "line": 710, "column": 16 }, "end": { "line": 710, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 25214, "end": 25234, "loc": { "start": { "line": 710, "column": 17 }, "end": { "line": 710, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25234, "end": 25235, "loc": { "start": { "line": 710, "column": 37 }, "end": { "line": 710, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "split-two-first", "start": 25235, "end": 25252, "loc": { "start": { "line": 710, "column": 38 }, "end": { "line": 710, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25252, "end": 25253, "loc": { "start": { "line": 710, "column": 55 }, "end": { "line": 710, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25253, "end": 25254, "loc": { "start": { "line": 710, "column": 56 }, "end": { "line": 710, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 25268, "end": 25278, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25278, "end": 25279, "loc": { "start": { "line": 711, "column": 22 }, "end": { "line": 711, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 25279, "end": 25299, "loc": { "start": { "line": 711, "column": 23 }, "end": { "line": 711, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25299, "end": 25300, "loc": { "start": { "line": 711, "column": 43 }, "end": { "line": 711, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "split-two-second", "start": 25300, "end": 25318, "loc": { "start": { "line": 711, "column": 44 }, "end": { "line": 711, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25318, "end": 25319, "loc": { "start": { "line": 711, "column": 62 }, "end": { "line": 711, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25319, "end": 25320, "loc": { "start": { "line": 711, "column": 63 }, "end": { "line": 711, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25330, "end": 25331, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 25343, "end": 25349, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondPath", "start": 25350, "end": 25360, "loc": { "start": { "line": 714, "column": 15 }, "end": { "line": 714, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25360, "end": 25361, "loc": { "start": { "line": 714, "column": 25 }, "end": { "line": 714, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25367, "end": 25368, "loc": { "start": { "line": 715, "column": 4 }, "end": { "line": 715, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes the last entity\r\n * @param {Entity} entity\r\n ", "start": 25376, "end": 25451, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 720, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteEntityOnEnd", "start": 25457, "end": 25474, "loc": { "start": { "line": 721, "column": 4 }, "end": { "line": 721, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25474, "end": 25475, "loc": { "start": { "line": 721, "column": 21 }, "end": { "line": 721, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 25475, "end": 25481, "loc": { "start": { "line": 721, "column": 22 }, "end": { "line": 721, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25481, "end": 25482, "loc": { "start": { "line": 721, "column": 28 }, "end": { "line": 721, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25483, "end": 25484, "loc": { "start": { "line": 721, "column": 30 }, "end": { "line": 721, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 25494, "end": 25500, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25500, "end": 25501, "loc": { "start": { "line": 722, "column": 14 }, "end": { "line": 722, "column": 15 } } }, { "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": 25515, "end": 25519, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25519, "end": 25520, "loc": { "start": { "line": 723, "column": 16 }, "end": { "line": 723, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 25520, "end": 25530, "loc": { "start": { "line": 723, "column": 17 }, "end": { "line": 723, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25530, "end": 25531, "loc": { "start": { "line": 723, "column": 27 }, "end": { "line": 723, "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": 25531, "end": 25535, "loc": { "start": { "line": 723, "column": 28 }, "end": { "line": 723, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25535, "end": 25536, "loc": { "start": { "line": 723, "column": 32 }, "end": { "line": 723, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 25536, "end": 25546, "loc": { "start": { "line": 723, "column": 33 }, "end": { "line": 723, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25546, "end": 25547, "loc": { "start": { "line": 723, "column": 43 }, "end": { "line": 723, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 25547, "end": 25553, "loc": { "start": { "line": 723, "column": 44 }, "end": { "line": 723, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 25554, "end": 25555, "loc": { "start": { "line": 723, "column": 51 }, "end": { "line": 723, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 25556, "end": 25557, "loc": { "start": { "line": 723, "column": 53 }, "end": { "line": 723, "column": 54 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25557, "end": 25558, "loc": { "start": { "line": 723, "column": 54 }, "end": { "line": 723, "column": 55 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 25559, "end": 25562, "loc": { "start": { "line": 723, "column": 56 }, "end": { "line": 723, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 25563, "end": 25569, "loc": { "start": { "line": 723, "column": 60 }, "end": { "line": 723, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25569, "end": 25570, "loc": { "start": { "line": 723, "column": 66 }, "end": { "line": 723, "column": 67 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Not actually the last entity (instead ", "start": 25584, "end": 25624, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 25625, "end": 25626, "loc": { "start": { "line": 724, "column": 53 }, "end": { "line": 724, "column": 54 } } }, { "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": 25627, "end": 25631, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25631, "end": 25632, "loc": { "start": { "line": 724, "column": 59 }, "end": { "line": 724, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 25632, "end": 25642, "loc": { "start": { "line": 724, "column": 60 }, "end": { "line": 724, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25642, "end": 25643, "loc": { "start": { "line": 724, "column": 70 }, "end": { "line": 724, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 25643, "end": 25650, "loc": { "start": { "line": 724, "column": 71 }, "end": { "line": 724, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25650, "end": 25651, "loc": { "start": { "line": 724, "column": 78 }, "end": { "line": 724, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 25651, "end": 25657, "loc": { "start": { "line": 724, "column": 79 }, "end": { "line": 724, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25657, "end": 25658, "loc": { "start": { "line": 724, "column": 85 }, "end": { "line": 724, "column": 86 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 25659, "end": 25660, "loc": { "start": { "line": 724, "column": 87 }, "end": { "line": 724, "column": 88 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 25661, "end": 25664, "loc": { "start": { "line": 724, "column": 89 }, "end": { "line": 724, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25674, "end": 25675, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25675, "end": 25676, "loc": { "start": { "line": 725, "column": 9 }, "end": { "line": 725, "column": 10 } } }, { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 25688, "end": 25718, "loc": { "start": { "line": 727, "column": 8 }, "end": { "line": 727, "column": 38 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 25728, "end": 25733, "loc": { "start": { "line": 728, "column": 8 }, "end": { "line": 728, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 25734, "end": 25742, "loc": { "start": { "line": 728, "column": 14 }, "end": { "line": 728, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25743, "end": 25744, "loc": { "start": { "line": 728, "column": 23 }, "end": { "line": 728, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 25745, "end": 25751, "loc": { "start": { "line": 728, "column": 25 }, "end": { "line": 728, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25751, "end": 25752, "loc": { "start": { "line": 728, "column": 31 }, "end": { "line": 728, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 25752, "end": 25762, "loc": { "start": { "line": 728, "column": 32 }, "end": { "line": 728, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25762, "end": 25763, "loc": { "start": { "line": 728, "column": 42 }, "end": { "line": 728, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 25763, "end": 25767, "loc": { "start": { "line": 728, "column": 43 }, "end": { "line": 728, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25767, "end": 25768, "loc": { "start": { "line": 728, "column": 47 }, "end": { "line": 728, "column": 48 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 25778, "end": 25783, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 729, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 25784, "end": 25794, "loc": { "start": { "line": 729, "column": 14 }, "end": { "line": 729, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25795, "end": 25796, "loc": { "start": { "line": 729, "column": 25 }, "end": { "line": 729, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 25797, "end": 25805, "loc": { "start": { "line": 729, "column": 27 }, "end": { "line": 729, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25805, "end": 25806, "loc": { "start": { "line": 729, "column": 35 }, "end": { "line": 729, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 25806, "end": 25829, "loc": { "start": { "line": 729, "column": 36 }, "end": { "line": 729, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25829, "end": 25830, "loc": { "start": { "line": 729, "column": 59 }, "end": { "line": 729, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25830, "end": 25831, "loc": { "start": { "line": 729, "column": 60 }, "end": { "line": 729, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25831, "end": 25832, "loc": { "start": { "line": 729, "column": 61 }, "end": { "line": 729, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 25844, "end": 25849, "loc": { "start": { "line": 731, "column": 8 }, "end": { "line": 731, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 25850, "end": 25852, "loc": { "start": { "line": 731, "column": 14 }, "end": { "line": 731, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 25866, "end": 25872, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25872, "end": 25873, "loc": { "start": { "line": 732, "column": 18 }, "end": { "line": 732, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 25873, "end": 25876, "loc": { "start": { "line": 732, "column": 19 }, "end": { "line": 732, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25876, "end": 25877, "loc": { "start": { "line": 732, "column": 22 }, "end": { "line": 732, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Deleting last entity on path with length", "start": 25895, "end": 25937, "loc": { "start": { "line": 733, "column": 16 }, "end": { "line": 733, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25937, "end": 25938, "loc": { "start": { "line": 733, "column": 58 }, "end": { "line": 733, "column": 59 } } }, { "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": 25956, "end": 25960, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25960, "end": 25961, "loc": { "start": { "line": 734, "column": 20 }, "end": { "line": 734, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 25961, "end": 25971, "loc": { "start": { "line": 734, "column": 21 }, "end": { "line": 734, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25971, "end": 25972, "loc": { "start": { "line": 734, "column": 31 }, "end": { "line": 734, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 25972, "end": 25978, "loc": { "start": { "line": 734, "column": 32 }, "end": { "line": 734, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25978, "end": 25979, "loc": { "start": { "line": 734, "column": 38 }, "end": { "line": 734, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(reducing", "start": 25997, "end": 26008, "loc": { "start": { "line": 735, "column": 16 }, "end": { "line": 735, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26008, "end": 26009, "loc": { "start": { "line": 735, "column": 27 }, "end": { "line": 735, "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": 26027, "end": 26031, "loc": { "start": { "line": 736, "column": 16 }, "end": { "line": 736, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26031, "end": 26032, "loc": { "start": { "line": 736, "column": 20 }, "end": { "line": 736, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 26032, "end": 26043, "loc": { "start": { "line": 736, "column": 21 }, "end": { "line": 736, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26043, "end": 26044, "loc": { "start": { "line": 736, "column": 32 }, "end": { "line": 736, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " by", "start": 26062, "end": 26067, "loc": { "start": { "line": 737, "column": 16 }, "end": { "line": 737, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26067, "end": 26068, "loc": { "start": { "line": 737, "column": 21 }, "end": { "line": 737, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 26086, "end": 26096, "loc": { "start": { "line": 738, "column": 16 }, "end": { "line": 738, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26096, "end": 26097, "loc": { "start": { "line": 738, "column": 26 }, "end": { "line": 738, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 26115, "end": 26118, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26132, "end": 26133, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26133, "end": 26134, "loc": { "start": { "line": 740, "column": 13 }, "end": { "line": 740, "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": 26144, "end": 26148, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26148, "end": 26149, "loc": { "start": { "line": 741, "column": 12 }, "end": { "line": 741, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 26149, "end": 26160, "loc": { "start": { "line": 741, "column": 13 }, "end": { "line": 741, "column": 24 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 26161, "end": 26163, "loc": { "start": { "line": 741, "column": 25 }, "end": { "line": 741, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 26164, "end": 26174, "loc": { "start": { "line": 741, "column": 28 }, "end": { "line": 741, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26174, "end": 26175, "loc": { "start": { "line": 741, "column": 38 }, "end": { "line": 741, "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": 26185, "end": 26189, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26189, "end": 26190, "loc": { "start": { "line": 742, "column": 12 }, "end": { "line": 742, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 26190, "end": 26200, "loc": { "start": { "line": 742, "column": 13 }, "end": { "line": 742, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26200, "end": 26201, "loc": { "start": { "line": 742, "column": 23 }, "end": { "line": 742, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pop", "start": 26201, "end": 26204, "loc": { "start": { "line": 742, "column": 24 }, "end": { "line": 742, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26204, "end": 26205, "loc": { "start": { "line": 742, "column": 27 }, "end": { "line": 742, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26205, "end": 26206, "loc": { "start": { "line": 742, "column": 28 }, "end": { "line": 742, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26206, "end": 26207, "loc": { "start": { "line": 742, "column": 29 }, "end": { "line": 742, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 26217, "end": 26221, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 743, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26221, "end": 26222, "loc": { "start": { "line": 743, "column": 12 }, "end": { "line": 743, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 26222, "end": 26235, "loc": { "start": { "line": 743, "column": 13 }, "end": { "line": 743, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26235, "end": 26236, "loc": { "start": { "line": 743, "column": 26 }, "end": { "line": 743, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26236, "end": 26237, "loc": { "start": { "line": 743, "column": 27 }, "end": { "line": 743, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26237, "end": 26238, "loc": { "start": { "line": 743, "column": 28 }, "end": { "line": 743, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 26250, "end": 26255, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 745, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 26256, "end": 26258, "loc": { "start": { "line": 745, "column": 14 }, "end": { "line": 745, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 26272, "end": 26278, "loc": { "start": { "line": 746, "column": 12 }, "end": { "line": 746, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26278, "end": 26279, "loc": { "start": { "line": 746, "column": 18 }, "end": { "line": 746, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 26279, "end": 26282, "loc": { "start": { "line": 746, "column": 19 }, "end": { "line": 746, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26282, "end": 26283, "loc": { "start": { "line": 746, "column": 22 }, "end": { "line": 746, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " New path has length of", "start": 26301, "end": 26327, "loc": { "start": { "line": 747, "column": 16 }, "end": { "line": 747, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26327, "end": 26328, "loc": { "start": { "line": 747, "column": 42 }, "end": { "line": 747, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 26346, "end": 26350, "loc": { "start": { "line": 748, "column": 16 }, "end": { "line": 748, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26350, "end": 26351, "loc": { "start": { "line": 748, "column": 20 }, "end": { "line": 748, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 26351, "end": 26362, "loc": { "start": { "line": 748, "column": 21 }, "end": { "line": 748, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26362, "end": 26363, "loc": { "start": { "line": 748, "column": 32 }, "end": { "line": 748, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "with", "start": 26381, "end": 26387, "loc": { "start": { "line": 749, "column": 16 }, "end": { "line": 749, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26387, "end": 26388, "loc": { "start": { "line": 749, "column": 22 }, "end": { "line": 749, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 26406, "end": 26410, "loc": { "start": { "line": 750, "column": 16 }, "end": { "line": 750, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26410, "end": 26411, "loc": { "start": { "line": 750, "column": 20 }, "end": { "line": 750, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 26411, "end": 26421, "loc": { "start": { "line": 750, "column": 21 }, "end": { "line": 750, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26421, "end": 26422, "loc": { "start": { "line": 750, "column": 31 }, "end": { "line": 750, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 26422, "end": 26428, "loc": { "start": { "line": 750, "column": 32 }, "end": { "line": 750, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26428, "end": 26429, "loc": { "start": { "line": 750, "column": 38 }, "end": { "line": 750, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "entities", "start": 26447, "end": 26457, "loc": { "start": { "line": 751, "column": 16 }, "end": { "line": 751, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26471, "end": 26472, "loc": { "start": { "line": 752, "column": 12 }, "end": { "line": 752, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26472, "end": 26473, "loc": { "start": { "line": 752, "column": 13 }, "end": { "line": 752, "column": 14 } } }, { "type": "CommentLine", "value": " This is just for sanity", "start": 26485, "end": 26511, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 26521, "end": 26529, "loc": { "start": { "line": 755, "column": 8 }, "end": { "line": 755, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26529, "end": 26530, "loc": { "start": { "line": 755, "column": 16 }, "end": { "line": 755, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 26530, "end": 26542, "loc": { "start": { "line": 755, "column": 17 }, "end": { "line": 755, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26543, "end": 26544, "loc": { "start": { "line": 755, "column": 30 }, "end": { "line": 755, "column": 31 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 26545, "end": 26549, "loc": { "start": { "line": 755, "column": 32 }, "end": { "line": 755, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26549, "end": 26550, "loc": { "start": { "line": 755, "column": 36 }, "end": { "line": 755, "column": 37 } } }, { "type": "CommentLine", "value": " Clean up items", "start": 26562, "end": 26579, "loc": { "start": { "line": 757, "column": 8 }, "end": { "line": 757, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 26589, "end": 26591, "loc": { "start": { "line": 758, "column": 8 }, "end": { "line": 758, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26592, "end": 26593, "loc": { "start": { "line": 758, "column": 11 }, "end": { "line": 758, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 26593, "end": 26597, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 758, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26597, "end": 26598, "loc": { "start": { "line": 758, "column": 16 }, "end": { "line": 758, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 26598, "end": 26603, "loc": { "start": { "line": 758, "column": 17 }, "end": { "line": 758, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26603, "end": 26604, "loc": { "start": { "line": 758, "column": 22 }, "end": { "line": 758, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 26604, "end": 26610, "loc": { "start": { "line": 758, "column": 23 }, "end": { "line": 758, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 26611, "end": 26614, "loc": { "start": { "line": 758, "column": 30 }, "end": { "line": 758, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 26615, "end": 26616, "loc": { "start": { "line": 758, "column": 34 }, "end": { "line": 758, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26616, "end": 26617, "loc": { "start": { "line": 758, "column": 35 }, "end": { "line": 758, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26618, "end": 26619, "loc": { "start": { "line": 758, "column": 37 }, "end": { "line": 758, "column": 38 } } }, { "type": "CommentLine", "value": " Simple case with no items, just update the first item spacing", "start": 26633, "end": 26697, "loc": { "start": { "line": 759, "column": 12 }, "end": { "line": 759, "column": 76 } } }, { "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": 26711, "end": 26715, "loc": { "start": { "line": 760, "column": 12 }, "end": { "line": 760, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26715, "end": 26716, "loc": { "start": { "line": 760, "column": 16 }, "end": { "line": 760, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 26716, "end": 26734, "loc": { "start": { "line": 760, "column": 17 }, "end": { "line": 760, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26735, "end": 26736, "loc": { "start": { "line": 760, "column": 36 }, "end": { "line": 760, "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": 26737, "end": 26741, "loc": { "start": { "line": 760, "column": 38 }, "end": { "line": 760, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26741, "end": 26742, "loc": { "start": { "line": 760, "column": 42 }, "end": { "line": 760, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 26742, "end": 26753, "loc": { "start": { "line": 760, "column": 43 }, "end": { "line": 760, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26753, "end": 26754, "loc": { "start": { "line": 760, "column": 54 }, "end": { "line": 760, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26764, "end": 26765, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 761, "column": 9 } } }, { "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": 26766, "end": 26770, "loc": { "start": { "line": 761, "column": 10 }, "end": { "line": 761, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26771, "end": 26772, "loc": { "start": { "line": 761, "column": 15 }, "end": { "line": 761, "column": 16 } } }, { "type": "CommentLine", "value": " Ok, make sure we simply drop all items which are no longer contained", "start": 26786, "end": 26857, "loc": { "start": { "line": 762, "column": 12 }, "end": { "line": 762, "column": 83 } } }, { "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": 26871, "end": 26874, "loc": { "start": { "line": 763, "column": 12 }, "end": { "line": 763, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 26875, "end": 26885, "loc": { "start": { "line": 763, "column": 16 }, "end": { "line": 763, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26886, "end": 26887, "loc": { "start": { "line": 763, "column": 27 }, "end": { "line": 763, "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": 26888, "end": 26892, "loc": { "start": { "line": 763, "column": 29 }, "end": { "line": 763, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26892, "end": 26893, "loc": { "start": { "line": 763, "column": 33 }, "end": { "line": 763, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 26893, "end": 26911, "loc": { "start": { "line": 763, "column": 34 }, "end": { "line": 763, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26911, "end": 26912, "loc": { "start": { "line": 763, "column": 52 }, "end": { "line": 763, "column": 53 } } }, { "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": 26926, "end": 26929, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemOffset", "start": 26930, "end": 26944, "loc": { "start": { "line": 764, "column": 16 }, "end": { "line": 764, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26945, "end": 26946, "loc": { "start": { "line": 764, "column": 31 }, "end": { "line": 764, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 26947, "end": 26957, "loc": { "start": { "line": 764, "column": 33 }, "end": { "line": 764, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26957, "end": 26958, "loc": { "start": { "line": 764, "column": 43 }, "end": { "line": 764, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 26974, "end": 26979, "loc": { "start": { "line": 766, "column": 12 }, "end": { "line": 766, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 26980, "end": 26982, "loc": { "start": { "line": 766, "column": 18 }, "end": { "line": 766, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 26983, "end": 26989, "loc": { "start": { "line": 766, "column": 21 }, "end": { "line": 766, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26989, "end": 26990, "loc": { "start": { "line": 766, "column": 27 }, "end": { "line": 766, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 26990, "end": 26993, "loc": { "start": { "line": 766, "column": 28 }, "end": { "line": 766, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26993, "end": 26994, "loc": { "start": { "line": 766, "column": 31 }, "end": { "line": 766, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Adjusting", "start": 26994, "end": 27007, "loc": { "start": { "line": 766, "column": 32 }, "end": { "line": 766, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27007, "end": 27008, "loc": { "start": { "line": 766, "column": 45 }, "end": { "line": 766, "column": 46 } } }, { "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": 27009, "end": 27013, "loc": { "start": { "line": 766, "column": 47 }, "end": { "line": 766, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27013, "end": 27014, "loc": { "start": { "line": 766, "column": 51 }, "end": { "line": 766, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 27014, "end": 27019, "loc": { "start": { "line": 766, "column": 52 }, "end": { "line": 766, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27019, "end": 27020, "loc": { "start": { "line": 766, "column": 57 }, "end": { "line": 766, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 27020, "end": 27026, "loc": { "start": { "line": 766, "column": 58 }, "end": { "line": 766, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27026, "end": 27027, "loc": { "start": { "line": 766, "column": 64 }, "end": { "line": 766, "column": 65 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "items", "start": 27028, "end": 27035, "loc": { "start": { "line": 766, "column": 66 }, "end": { "line": 766, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27035, "end": 27036, "loc": { "start": { "line": 766, "column": 73 }, "end": { "line": 766, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27036, "end": 27037, "loc": { "start": { "line": 766, "column": 74 }, "end": { "line": 766, "column": 75 } } }, { "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": 27053, "end": 27056, "loc": { "start": { "line": 768, "column": 12 }, "end": { "line": 768, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27057, "end": 27058, "loc": { "start": { "line": 768, "column": 16 }, "end": { "line": 768, "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": 27058, "end": 27061, "loc": { "start": { "line": 768, "column": 17 }, "end": { "line": 768, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27062, "end": 27063, "loc": { "start": { "line": 768, "column": 21 }, "end": { "line": 768, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27064, "end": 27065, "loc": { "start": { "line": 768, "column": 23 }, "end": { "line": 768, "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": 27066, "end": 27067, "loc": { "start": { "line": 768, "column": 25 }, "end": { "line": 768, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27067, "end": 27068, "loc": { "start": { "line": 768, "column": 26 }, "end": { "line": 768, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27069, "end": 27070, "loc": { "start": { "line": 768, "column": 28 }, "end": { "line": 768, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 27071, "end": 27072, "loc": { "start": { "line": 768, "column": 30 }, "end": { "line": 768, "column": 31 } } }, { "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": 27073, "end": 27077, "loc": { "start": { "line": 768, "column": 32 }, "end": { "line": 768, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27077, "end": 27078, "loc": { "start": { "line": 768, "column": 36 }, "end": { "line": 768, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 27078, "end": 27083, "loc": { "start": { "line": 768, "column": 37 }, "end": { "line": 768, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27083, "end": 27084, "loc": { "start": { "line": 768, "column": 42 }, "end": { "line": 768, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 27084, "end": 27090, "loc": { "start": { "line": 768, "column": 43 }, "end": { "line": 768, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27090, "end": 27091, "loc": { "start": { "line": 768, "column": 49 }, "end": { "line": 768, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 27092, "end": 27094, "loc": { "start": { "line": 768, "column": 51 }, "end": { "line": 768, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27094, "end": 27095, "loc": { "start": { "line": 768, "column": 53 }, "end": { "line": 768, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27095, "end": 27096, "loc": { "start": { "line": 768, "column": 54 }, "end": { "line": 768, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27097, "end": 27098, "loc": { "start": { "line": 768, "column": 56 }, "end": { "line": 768, "column": 57 } } }, { "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": 27116, "end": 27121, "loc": { "start": { "line": 769, "column": 16 }, "end": { "line": 769, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 27122, "end": 27126, "loc": { "start": { "line": 769, "column": 22 }, "end": { "line": 769, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27127, "end": 27128, "loc": { "start": { "line": 769, "column": 27 }, "end": { "line": 769, "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": 27129, "end": 27133, "loc": { "start": { "line": 769, "column": 29 }, "end": { "line": 769, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27133, "end": 27134, "loc": { "start": { "line": 769, "column": 33 }, "end": { "line": 769, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 27134, "end": 27139, "loc": { "start": { "line": 769, "column": 34 }, "end": { "line": 769, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27139, "end": 27140, "loc": { "start": { "line": 769, "column": 39 }, "end": { "line": 769, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27140, "end": 27141, "loc": { "start": { "line": 769, "column": 40 }, "end": { "line": 769, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27141, "end": 27142, "loc": { "start": { "line": 769, "column": 41 }, "end": { "line": 769, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27142, "end": 27143, "loc": { "start": { "line": 769, "column": 42 }, "end": { "line": 769, "column": 43 } } }, { "type": "CommentLine", "value": " Get rid of items past this path", "start": 27163, "end": 27197, "loc": { "start": { "line": 771, "column": 16 }, "end": { "line": 771, "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": 27215, "end": 27217, "loc": { "start": { "line": 772, "column": 16 }, "end": { "line": 772, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27218, "end": 27219, "loc": { "start": { "line": 772, "column": 19 }, "end": { "line": 772, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 27219, "end": 27229, "loc": { "start": { "line": 772, "column": 20 }, "end": { "line": 772, "column": 30 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 27230, "end": 27232, "loc": { "start": { "line": 772, "column": 31 }, "end": { "line": 772, "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": 27233, "end": 27237, "loc": { "start": { "line": 772, "column": 34 }, "end": { "line": 772, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27237, "end": 27238, "loc": { "start": { "line": 772, "column": 38 }, "end": { "line": 772, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 27238, "end": 27249, "loc": { "start": { "line": 772, "column": 39 }, "end": { "line": 772, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27249, "end": 27250, "loc": { "start": { "line": 772, "column": 50 }, "end": { "line": 772, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27251, "end": 27252, "loc": { "start": { "line": 772, "column": 52 }, "end": { "line": 772, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 27274, "end": 27279, "loc": { "start": { "line": 773, "column": 20 }, "end": { "line": 773, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 27280, "end": 27282, "loc": { "start": { "line": 773, "column": 26 }, "end": { "line": 773, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 27283, "end": 27289, "loc": { "start": { "line": 773, "column": 29 }, "end": { "line": 773, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27289, "end": 27290, "loc": { "start": { "line": 773, "column": 35 }, "end": { "line": 773, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 27290, "end": 27293, "loc": { "start": { "line": 773, "column": 36 }, "end": { "line": 773, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27293, "end": 27294, "loc": { "start": { "line": 773, "column": 39 }, "end": { "line": 773, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Dropping item (current index=", "start": 27294, "end": 27325, "loc": { "start": { "line": 773, "column": 40 }, "end": { "line": 773, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27325, "end": 27326, "loc": { "start": { "line": 773, "column": 71 }, "end": { "line": 773, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27327, "end": 27328, "loc": { "start": { "line": 773, "column": 73 }, "end": { "line": 773, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27328, "end": 27329, "loc": { "start": { "line": 773, "column": 74 }, "end": { "line": 773, "column": 75 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 27330, "end": 27333, "loc": { "start": { "line": 773, "column": 76 }, "end": { "line": 773, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27333, "end": 27334, "loc": { "start": { "line": 773, "column": 79 }, "end": { "line": 773, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27334, "end": 27335, "loc": { "start": { "line": 773, "column": 80 }, "end": { "line": 773, "column": 81 } } }, { "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": 27357, "end": 27361, "loc": { "start": { "line": 774, "column": 20 }, "end": { "line": 774, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27361, "end": 27362, "loc": { "start": { "line": 774, "column": 24 }, "end": { "line": 774, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 27362, "end": 27367, "loc": { "start": { "line": 774, "column": 25 }, "end": { "line": 774, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27367, "end": 27368, "loc": { "start": { "line": 774, "column": 30 }, "end": { "line": 774, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 27368, "end": 27374, "loc": { "start": { "line": 774, "column": 31 }, "end": { "line": 774, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27374, "end": 27375, "loc": { "start": { "line": 774, "column": 37 }, "end": { "line": 774, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27375, "end": 27376, "loc": { "start": { "line": 774, "column": 38 }, "end": { "line": 774, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27376, "end": 27377, "loc": { "start": { "line": 774, "column": 39 }, "end": { "line": 774, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 27378, "end": 27379, "loc": { "start": { "line": 774, "column": 41 }, "end": { "line": 774, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27379, "end": 27380, "loc": { "start": { "line": 774, "column": 42 }, "end": { "line": 774, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27380, "end": 27381, "loc": { "start": { "line": 774, "column": 43 }, "end": { "line": 774, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27403, "end": 27404, "loc": { "start": { "line": 775, "column": 20 }, "end": { "line": 775, "column": 21 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 27405, "end": 27407, "loc": { "start": { "line": 775, "column": 22 }, "end": { "line": 775, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 27408, "end": 27409, "loc": { "start": { "line": 775, "column": 25 }, "end": { "line": 775, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27409, "end": 27410, "loc": { "start": { "line": 775, "column": 26 }, "end": { "line": 775, "column": 27 } } }, { "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": 27432, "end": 27440, "loc": { "start": { "line": 776, "column": 20 }, "end": { "line": 776, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27440, "end": 27441, "loc": { "start": { "line": 776, "column": 28 }, "end": { "line": 776, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27459, "end": 27460, "loc": { "start": { "line": 777, "column": 16 }, "end": { "line": 777, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 27480, "end": 27485, "loc": { "start": { "line": 779, "column": 16 }, "end": { "line": 779, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 27486, "end": 27488, "loc": { "start": { "line": 779, "column": 22 }, "end": { "line": 779, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 27489, "end": 27495, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 779, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27495, "end": 27496, "loc": { "start": { "line": 779, "column": 31 }, "end": { "line": 779, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 27496, "end": 27499, "loc": { "start": { "line": 779, "column": 32 }, "end": { "line": 779, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27499, "end": 27500, "loc": { "start": { "line": 779, "column": 35 }, "end": { "line": 779, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Item", "start": 27500, "end": 27506, "loc": { "start": { "line": 779, "column": 36 }, "end": { "line": 779, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27506, "end": 27507, "loc": { "start": { "line": 779, "column": 42 }, "end": { "line": 779, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 27508, "end": 27509, "loc": { "start": { "line": 779, "column": 44 }, "end": { "line": 779, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27509, "end": 27510, "loc": { "start": { "line": 779, "column": 45 }, "end": { "line": 779, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "is at", "start": 27511, "end": 27518, "loc": { "start": { "line": 779, "column": 47 }, "end": { "line": 779, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27518, "end": 27519, "loc": { "start": { "line": 779, "column": 54 }, "end": { "line": 779, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 27520, "end": 27530, "loc": { "start": { "line": 779, "column": 56 }, "end": { "line": 779, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27530, "end": 27531, "loc": { "start": { "line": 779, "column": 66 }, "end": { "line": 779, "column": 67 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "with next offset", "start": 27532, "end": 27550, "loc": { "start": { "line": 779, "column": 68 }, "end": { "line": 779, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27550, "end": 27551, "loc": { "start": { "line": 779, "column": 86 }, "end": { "line": 779, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 27552, "end": 27556, "loc": { "start": { "line": 779, "column": 88 }, "end": { "line": 779, "column": 92 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27556, "end": 27557, "loc": { "start": { "line": 779, "column": 92 }, "end": { "line": 779, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 27557, "end": 27570, "loc": { "start": { "line": 779, "column": 93 }, "end": { "line": 779, "column": 106 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27570, "end": 27571, "loc": { "start": { "line": 779, "column": 106 }, "end": { "line": 779, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27571, "end": 27572, "loc": { "start": { "line": 779, "column": 107 }, "end": { "line": 779, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27572, "end": 27573, "loc": { "start": { "line": 779, "column": 108 }, "end": { "line": 779, "column": 109 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemOffset", "start": 27591, "end": 27605, "loc": { "start": { "line": 780, "column": 16 }, "end": { "line": 780, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27606, "end": 27607, "loc": { "start": { "line": 780, "column": 31 }, "end": { "line": 780, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 27608, "end": 27618, "loc": { "start": { "line": 780, "column": 33 }, "end": { "line": 780, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27618, "end": 27619, "loc": { "start": { "line": 780, "column": 43 }, "end": { "line": 780, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 27637, "end": 27647, "loc": { "start": { "line": 781, "column": 16 }, "end": { "line": 781, "column": 26 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 27648, "end": 27650, "loc": { "start": { "line": 781, "column": 27 }, "end": { "line": 781, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 27651, "end": 27655, "loc": { "start": { "line": 781, "column": 30 }, "end": { "line": 781, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27655, "end": 27656, "loc": { "start": { "line": 781, "column": 34 }, "end": { "line": 781, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 27656, "end": 27669, "loc": { "start": { "line": 781, "column": 35 }, "end": { "line": 781, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27669, "end": 27670, "loc": { "start": { "line": 781, "column": 48 }, "end": { "line": 781, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27670, "end": 27671, "loc": { "start": { "line": 781, "column": 49 }, "end": { "line": 781, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27685, "end": 27686, "loc": { "start": { "line": 782, "column": 12 }, "end": { "line": 782, "column": 13 } } }, { "type": "CommentLine", "value": " If we still have an item, make sure the last item matches", "start": 27702, "end": 27762, "loc": { "start": { "line": 784, "column": 12 }, "end": { "line": 784, "column": 72 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 27776, "end": 27778, "loc": { "start": { "line": 785, "column": 12 }, "end": { "line": 785, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27779, "end": 27780, "loc": { "start": { "line": 785, "column": 15 }, "end": { "line": 785, "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": 27780, "end": 27784, "loc": { "start": { "line": 785, "column": 16 }, "end": { "line": 785, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27784, "end": 27785, "loc": { "start": { "line": 785, "column": 20 }, "end": { "line": 785, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 27785, "end": 27790, "loc": { "start": { "line": 785, "column": 21 }, "end": { "line": 785, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27790, "end": 27791, "loc": { "start": { "line": 785, "column": 26 }, "end": { "line": 785, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 27791, "end": 27797, "loc": { "start": { "line": 785, "column": 27 }, "end": { "line": 785, "column": 33 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 27798, "end": 27799, "loc": { "start": { "line": 785, "column": 34 }, "end": { "line": 785, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 27800, "end": 27801, "loc": { "start": { "line": 785, "column": 36 }, "end": { "line": 785, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27801, "end": 27802, "loc": { "start": { "line": 785, "column": 37 }, "end": { "line": 785, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27803, "end": 27804, "loc": { "start": { "line": 785, "column": 39 }, "end": { "line": 785, "column": 40 } } }, { "type": "CommentLine", "value": " We can easily compute the next distance since we know where the last item is now", "start": 27822, "end": 27905, "loc": { "start": { "line": 786, "column": 16 }, "end": { "line": 786, "column": 99 } } }, { "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": 27923, "end": 27928, "loc": { "start": { "line": 787, "column": 16 }, "end": { "line": 787, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 27929, "end": 27941, "loc": { "start": { "line": 787, "column": 22 }, "end": { "line": 787, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27942, "end": 27943, "loc": { "start": { "line": 787, "column": 35 }, "end": { "line": 787, "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": 27944, "end": 27948, "loc": { "start": { "line": 787, "column": 37 }, "end": { "line": 787, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27948, "end": 27949, "loc": { "start": { "line": 787, "column": 41 }, "end": { "line": 787, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 27949, "end": 27960, "loc": { "start": { "line": 787, "column": 42 }, "end": { "line": 787, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 27961, "end": 27962, "loc": { "start": { "line": 787, "column": 54 }, "end": { "line": 787, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemOffset", "start": 27963, "end": 27977, "loc": { "start": { "line": 787, "column": 56 }, "end": { "line": 787, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27977, "end": 27978, "loc": { "start": { "line": 787, "column": 70 }, "end": { "line": 787, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 27996, "end": 28002, "loc": { "start": { "line": 788, "column": 16 }, "end": { "line": 788, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28002, "end": 28003, "loc": { "start": { "line": 788, "column": 22 }, "end": { "line": 788, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 28025, "end": 28037, "loc": { "start": { "line": 789, "column": 20 }, "end": { "line": 789, "column": 32 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 28038, "end": 28040, "loc": { "start": { "line": 789, "column": 33 }, "end": { "line": 789, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 28041, "end": 28044, "loc": { "start": { "line": 789, "column": 36 }, "end": { "line": 789, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28044, "end": 28045, "loc": { "start": { "line": 789, "column": 39 }, "end": { "line": 789, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Last item distance mismatch: ", "start": 28067, "end": 28098, "loc": { "start": { "line": 790, "column": 20 }, "end": { "line": 790, "column": 51 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 28099, "end": 28100, "loc": { "start": { "line": 790, "column": 52 }, "end": { "line": 790, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 28126, "end": 28138, "loc": { "start": { "line": 791, "column": 24 }, "end": { "line": 791, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 28139, "end": 28140, "loc": { "start": { "line": 791, "column": 37 }, "end": { "line": 791, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " -> Total length was ", "start": 28166, "end": 28189, "loc": { "start": { "line": 792, "column": 24 }, "end": { "line": 792, "column": 47 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 28190, "end": 28191, "loc": { "start": { "line": 792, "column": 48 }, "end": { "line": 792, "column": 49 } } }, { "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": 28217, "end": 28221, "loc": { "start": { "line": 793, "column": 24 }, "end": { "line": 793, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28221, "end": 28222, "loc": { "start": { "line": 793, "column": 28 }, "end": { "line": 793, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 28222, "end": 28233, "loc": { "start": { "line": 793, "column": 29 }, "end": { "line": 793, "column": 40 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 28234, "end": 28235, "loc": { "start": { "line": 793, "column": 41 }, "end": { "line": 793, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " and lastItemOffset was ", "start": 28261, "end": 28287, "loc": { "start": { "line": 794, "column": 24 }, "end": { "line": 794, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 28288, "end": 28289, "loc": { "start": { "line": 794, "column": 51 }, "end": { "line": 794, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemOffset", "start": 28315, "end": 28329, "loc": { "start": { "line": 795, "column": 24 }, "end": { "line": 795, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28347, "end": 28348, "loc": { "start": { "line": 796, "column": 16 }, "end": { "line": 796, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28348, "end": 28349, "loc": { "start": { "line": 796, "column": 17 }, "end": { "line": 796, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 28369, "end": 28374, "loc": { "start": { "line": 798, "column": 16 }, "end": { "line": 798, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 28375, "end": 28377, "loc": { "start": { "line": 798, "column": 22 }, "end": { "line": 798, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 28399, "end": 28405, "loc": { "start": { "line": 799, "column": 20 }, "end": { "line": 799, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28405, "end": 28406, "loc": { "start": { "line": 799, "column": 26 }, "end": { "line": 799, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 28406, "end": 28409, "loc": { "start": { "line": 799, "column": 27 }, "end": { "line": 799, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28409, "end": 28410, "loc": { "start": { "line": 799, "column": 30 }, "end": { "line": 799, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Adjusted distance of last item: it is at", "start": 28436, "end": 28478, "loc": { "start": { "line": 800, "column": 24 }, "end": { "line": 800, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28478, "end": 28479, "loc": { "start": { "line": 800, "column": 66 }, "end": { "line": 800, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemOffset", "start": 28505, "end": 28519, "loc": { "start": { "line": 801, "column": 24 }, "end": { "line": 801, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28519, "end": 28520, "loc": { "start": { "line": 801, "column": 38 }, "end": { "line": 801, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "so it has a distance of", "start": 28546, "end": 28571, "loc": { "start": { "line": 802, "column": 24 }, "end": { "line": 802, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28571, "end": 28572, "loc": { "start": { "line": 802, "column": 49 }, "end": { "line": 802, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 28598, "end": 28610, "loc": { "start": { "line": 803, "column": 24 }, "end": { "line": 803, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28610, "end": 28611, "loc": { "start": { "line": 803, "column": 36 }, "end": { "line": 803, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "to the end (", "start": 28637, "end": 28651, "loc": { "start": { "line": 804, "column": 24 }, "end": { "line": 804, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28651, "end": 28652, "loc": { "start": { "line": 804, "column": 38 }, "end": { "line": 804, "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": 28678, "end": 28682, "loc": { "start": { "line": 805, "column": 24 }, "end": { "line": 805, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28682, "end": 28683, "loc": { "start": { "line": 805, "column": 28 }, "end": { "line": 805, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 28683, "end": 28694, "loc": { "start": { "line": 805, "column": 29 }, "end": { "line": 805, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28694, "end": 28695, "loc": { "start": { "line": 805, "column": 40 }, "end": { "line": 805, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 28721, "end": 28724, "loc": { "start": { "line": 806, "column": 24 }, "end": { "line": 806, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28746, "end": 28747, "loc": { "start": { "line": 807, "column": 20 }, "end": { "line": 807, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28747, "end": 28748, "loc": { "start": { "line": 807, "column": 21 }, "end": { "line": 807, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 28766, "end": 28770, "loc": { "start": { "line": 808, "column": 16 }, "end": { "line": 808, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28770, "end": 28771, "loc": { "start": { "line": 808, "column": 20 }, "end": { "line": 808, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 28771, "end": 28776, "loc": { "start": { "line": 808, "column": 21 }, "end": { "line": 808, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28776, "end": 28777, "loc": { "start": { "line": 808, "column": 26 }, "end": { "line": 808, "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": 28777, "end": 28781, "loc": { "start": { "line": 808, "column": 27 }, "end": { "line": 808, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28781, "end": 28782, "loc": { "start": { "line": 808, "column": 31 }, "end": { "line": 808, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 28782, "end": 28787, "loc": { "start": { "line": 808, "column": 32 }, "end": { "line": 808, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28787, "end": 28788, "loc": { "start": { "line": 808, "column": 37 }, "end": { "line": 808, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 28788, "end": 28794, "loc": { "start": { "line": 808, "column": 38 }, "end": { "line": 808, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 28795, "end": 28796, "loc": { "start": { "line": 808, "column": 45 }, "end": { "line": 808, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 28797, "end": 28798, "loc": { "start": { "line": 808, "column": 47 }, "end": { "line": 808, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28798, "end": 28799, "loc": { "start": { "line": 808, "column": 48 }, "end": { "line": 808, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28799, "end": 28800, "loc": { "start": { "line": 808, "column": 49 }, "end": { "line": 808, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 28800, "end": 28813, "loc": { "start": { "line": 808, "column": 50 }, "end": { "line": 808, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28813, "end": 28814, "loc": { "start": { "line": 808, "column": 63 }, "end": { "line": 808, "column": 64 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28815, "end": 28816, "loc": { "start": { "line": 808, "column": 65 }, "end": { "line": 808, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 28817, "end": 28829, "loc": { "start": { "line": 808, "column": 67 }, "end": { "line": 808, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28829, "end": 28830, "loc": { "start": { "line": 808, "column": 79 }, "end": { "line": 808, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28844, "end": 28845, "loc": { "start": { "line": 809, "column": 12 }, "end": { "line": 809, "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": 28846, "end": 28850, "loc": { "start": { "line": 809, "column": 14 }, "end": { "line": 809, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28851, "end": 28852, "loc": { "start": { "line": 809, "column": 19 }, "end": { "line": 809, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 28870, "end": 28875, "loc": { "start": { "line": 810, "column": 16 }, "end": { "line": 810, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 28876, "end": 28878, "loc": { "start": { "line": 810, "column": 22 }, "end": { "line": 810, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 28879, "end": 28885, "loc": { "start": { "line": 810, "column": 25 }, "end": { "line": 810, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28885, "end": 28886, "loc": { "start": { "line": 810, "column": 31 }, "end": { "line": 810, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 28886, "end": 28889, "loc": { "start": { "line": 810, "column": 32 }, "end": { "line": 810, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28889, "end": 28890, "loc": { "start": { "line": 810, "column": 35 }, "end": { "line": 810, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Removed all items so we'll update spacing to total length", "start": 28890, "end": 28951, "loc": { "start": { "line": 810, "column": 36 }, "end": { "line": 810, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28951, "end": 28952, "loc": { "start": { "line": 810, "column": 97 }, "end": { "line": 810, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28952, "end": 28953, "loc": { "start": { "line": 810, "column": 98 }, "end": { "line": 810, "column": 99 } } }, { "type": "CommentLine", "value": " We removed all items so update our spacing", "start": 28973, "end": 29018, "loc": { "start": { "line": 812, "column": 16 }, "end": { "line": 812, "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": 29036, "end": 29040, "loc": { "start": { "line": 813, "column": 16 }, "end": { "line": 813, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29040, "end": 29041, "loc": { "start": { "line": 813, "column": 20 }, "end": { "line": 813, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 29041, "end": 29059, "loc": { "start": { "line": 813, "column": 21 }, "end": { "line": 813, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 29060, "end": 29061, "loc": { "start": { "line": 813, "column": 40 }, "end": { "line": 813, "column": 41 } } }, { "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": 29062, "end": 29066, "loc": { "start": { "line": 813, "column": 42 }, "end": { "line": 813, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29066, "end": 29067, "loc": { "start": { "line": 813, "column": 46 }, "end": { "line": 813, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 29067, "end": 29078, "loc": { "start": { "line": 813, "column": 47 }, "end": { "line": 813, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29078, "end": 29079, "loc": { "start": { "line": 813, "column": 58 }, "end": { "line": 813, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29093, "end": 29094, "loc": { "start": { "line": 814, "column": 12 }, "end": { "line": 814, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29104, "end": 29105, "loc": { "start": { "line": 815, "column": 8 }, "end": { "line": 815, "column": 9 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 29117, "end": 29133, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 29143, "end": 29147, "loc": { "start": { "line": 818, "column": 8 }, "end": { "line": 818, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29147, "end": 29148, "loc": { "start": { "line": 818, "column": 12 }, "end": { "line": 818, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 29148, "end": 29159, "loc": { "start": { "line": 818, "column": 13 }, "end": { "line": 818, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 29160, "end": 29161, "loc": { "start": { "line": 818, "column": 25 }, "end": { "line": 818, "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": 29162, "end": 29166, "loc": { "start": { "line": 818, "column": 27 }, "end": { "line": 818, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29166, "end": 29167, "loc": { "start": { "line": 818, "column": 31 }, "end": { "line": 818, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 29167, "end": 29180, "loc": { "start": { "line": 818, "column": 32 }, "end": { "line": 818, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29180, "end": 29181, "loc": { "start": { "line": 818, "column": 45 }, "end": { "line": 818, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29181, "end": 29182, "loc": { "start": { "line": 818, "column": 46 }, "end": { "line": 818, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29182, "end": 29183, "loc": { "start": { "line": 818, "column": 47 }, "end": { "line": 818, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 29195, "end": 29197, "loc": { "start": { "line": 820, "column": 8 }, "end": { "line": 820, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29198, "end": 29199, "loc": { "start": { "line": 820, "column": 11 }, "end": { "line": 820, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 29199, "end": 29207, "loc": { "start": { "line": 820, "column": 12 }, "end": { "line": 820, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 29208, "end": 29210, "loc": { "start": { "line": 820, "column": 21 }, "end": { "line": 820, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 29211, "end": 29223, "loc": { "start": { "line": 820, "column": 24 }, "end": { "line": 820, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29223, "end": 29224, "loc": { "start": { "line": 820, "column": 36 }, "end": { "line": 820, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 29224, "end": 29229, "loc": { "start": { "line": 820, "column": 37 }, "end": { "line": 820, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29229, "end": 29230, "loc": { "start": { "line": 820, "column": 42 }, "end": { "line": 820, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 29230, "end": 29244, "loc": { "start": { "line": 820, "column": 43 }, "end": { "line": 820, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29244, "end": 29245, "loc": { "start": { "line": 820, "column": 57 }, "end": { "line": 820, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29246, "end": 29247, "loc": { "start": { "line": 820, "column": 59 }, "end": { "line": 820, "column": 60 } } }, { "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": 29261, "end": 29265, "loc": { "start": { "line": 821, "column": 12 }, "end": { "line": 821, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29265, "end": 29266, "loc": { "start": { "line": 821, "column": 16 }, "end": { "line": 821, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 29266, "end": 29286, "loc": { "start": { "line": 821, "column": 17 }, "end": { "line": 821, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29286, "end": 29287, "loc": { "start": { "line": 821, "column": 37 }, "end": { "line": 821, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "delete-on-end", "start": 29287, "end": 29302, "loc": { "start": { "line": 821, "column": 38 }, "end": { "line": 821, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29302, "end": 29303, "loc": { "start": { "line": 821, "column": 53 }, "end": { "line": 821, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29303, "end": 29304, "loc": { "start": { "line": 821, "column": 54 }, "end": { "line": 821, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29314, "end": 29315, "loc": { "start": { "line": 822, "column": 8 }, "end": { "line": 822, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29321, "end": 29322, "loc": { "start": { "line": 823, "column": 4 }, "end": { "line": 823, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes the entity of the start of the path\r\n * @see deleteEntityOnEnd\r\n * @param {Entity} entity\r\n ", "start": 29330, "end": 29456, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 829, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteEntityOnStart", "start": 29462, "end": 29481, "loc": { "start": { "line": 830, "column": 4 }, "end": { "line": 830, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29481, "end": 29482, "loc": { "start": { "line": 830, "column": 23 }, "end": { "line": 830, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 29482, "end": 29488, "loc": { "start": { "line": 830, "column": 24 }, "end": { "line": 830, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29488, "end": 29489, "loc": { "start": { "line": 830, "column": 30 }, "end": { "line": 830, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29490, "end": 29491, "loc": { "start": { "line": 830, "column": 32 }, "end": { "line": 830, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 29501, "end": 29507, "loc": { "start": { "line": 831, "column": 8 }, "end": { "line": 831, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29507, "end": 29508, "loc": { "start": { "line": 831, "column": 14 }, "end": { "line": 831, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 29522, "end": 29528, "loc": { "start": { "line": 832, "column": 12 }, "end": { "line": 832, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 29529, "end": 29532, "loc": { "start": { "line": 832, "column": 19 }, "end": { "line": 832, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 29533, "end": 29537, "loc": { "start": { "line": 832, "column": 23 }, "end": { "line": 832, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29537, "end": 29538, "loc": { "start": { "line": 832, "column": 27 }, "end": { "line": 832, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 29538, "end": 29548, "loc": { "start": { "line": 832, "column": 28 }, "end": { "line": 832, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29548, "end": 29549, "loc": { "start": { "line": 832, "column": 38 }, "end": { "line": 832, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 29549, "end": 29550, "loc": { "start": { "line": 832, "column": 39 }, "end": { "line": 832, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29550, "end": 29551, "loc": { "start": { "line": 832, "column": 40 }, "end": { "line": 832, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29551, "end": 29552, "loc": { "start": { "line": 832, "column": 41 }, "end": { "line": 832, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Not actually the start entity (instead ", "start": 29566, "end": 29607, "loc": { "start": { "line": 833, "column": 12 }, "end": { "line": 833, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 29608, "end": 29609, "loc": { "start": { "line": 833, "column": 54 }, "end": { "line": 833, "column": 55 } } }, { "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": 29610, "end": 29614, "loc": { "start": { "line": 833, "column": 56 }, "end": { "line": 833, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29614, "end": 29615, "loc": { "start": { "line": 833, "column": 60 }, "end": { "line": 833, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 29615, "end": 29625, "loc": { "start": { "line": 833, "column": 61 }, "end": { "line": 833, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29625, "end": 29626, "loc": { "start": { "line": 833, "column": 71 }, "end": { "line": 833, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 29626, "end": 29633, "loc": { "start": { "line": 833, "column": 72 }, "end": { "line": 833, "column": 79 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29633, "end": 29634, "loc": { "start": { "line": 833, "column": 79 }, "end": { "line": 833, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 29634, "end": 29640, "loc": { "start": { "line": 833, "column": 80 }, "end": { "line": 833, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29640, "end": 29641, "loc": { "start": { "line": 833, "column": 86 }, "end": { "line": 833, "column": 87 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 29642, "end": 29643, "loc": { "start": { "line": 833, "column": 88 }, "end": { "line": 833, "column": 89 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 29644, "end": 29647, "loc": { "start": { "line": 833, "column": 90 }, "end": { "line": 833, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29657, "end": 29658, "loc": { "start": { "line": 834, "column": 8 }, "end": { "line": 834, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29658, "end": 29659, "loc": { "start": { "line": 834, "column": 9 }, "end": { "line": 834, "column": 10 } } }, { "type": "CommentLine", "value": " Ok, first remove the entity", "start": 29671, "end": 29701, "loc": { "start": { "line": 836, "column": 8 }, "end": { "line": 836, "column": 38 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 29711, "end": 29716, "loc": { "start": { "line": 837, "column": 8 }, "end": { "line": 837, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 29717, "end": 29725, "loc": { "start": { "line": 837, "column": 14 }, "end": { "line": 837, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 29726, "end": 29727, "loc": { "start": { "line": 837, "column": 23 }, "end": { "line": 837, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 29728, "end": 29734, "loc": { "start": { "line": 837, "column": 25 }, "end": { "line": 837, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29734, "end": 29735, "loc": { "start": { "line": 837, "column": 31 }, "end": { "line": 837, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 29735, "end": 29745, "loc": { "start": { "line": 837, "column": 32 }, "end": { "line": 837, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29745, "end": 29746, "loc": { "start": { "line": 837, "column": 42 }, "end": { "line": 837, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 29746, "end": 29750, "loc": { "start": { "line": 837, "column": 43 }, "end": { "line": 837, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29750, "end": 29751, "loc": { "start": { "line": 837, "column": 47 }, "end": { "line": 837, "column": 48 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 29761, "end": 29766, "loc": { "start": { "line": 838, "column": 8 }, "end": { "line": 838, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 29767, "end": 29777, "loc": { "start": { "line": 838, "column": 14 }, "end": { "line": 838, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 29778, "end": 29779, "loc": { "start": { "line": 838, "column": 25 }, "end": { "line": 838, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 29780, "end": 29788, "loc": { "start": { "line": 838, "column": 27 }, "end": { "line": 838, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29788, "end": 29789, "loc": { "start": { "line": 838, "column": 35 }, "end": { "line": 838, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 29789, "end": 29812, "loc": { "start": { "line": 838, "column": 36 }, "end": { "line": 838, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29812, "end": 29813, "loc": { "start": { "line": 838, "column": 59 }, "end": { "line": 838, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29813, "end": 29814, "loc": { "start": { "line": 838, "column": 60 }, "end": { "line": 838, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29814, "end": 29815, "loc": { "start": { "line": 838, "column": 61 }, "end": { "line": 838, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 29827, "end": 29832, "loc": { "start": { "line": 840, "column": 8 }, "end": { "line": 840, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 29833, "end": 29835, "loc": { "start": { "line": 840, "column": 14 }, "end": { "line": 840, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 29849, "end": 29855, "loc": { "start": { "line": 841, "column": 12 }, "end": { "line": 841, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29855, "end": 29856, "loc": { "start": { "line": 841, "column": 18 }, "end": { "line": 841, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 29856, "end": 29859, "loc": { "start": { "line": 841, "column": 19 }, "end": { "line": 841, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29859, "end": 29860, "loc": { "start": { "line": 841, "column": 22 }, "end": { "line": 841, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Deleting first entity on path with length", "start": 29878, "end": 29921, "loc": { "start": { "line": 842, "column": 16 }, "end": { "line": 842, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29921, "end": 29922, "loc": { "start": { "line": 842, "column": 59 }, "end": { "line": 842, "column": 60 } } }, { "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": 29940, "end": 29944, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29944, "end": 29945, "loc": { "start": { "line": 843, "column": 20 }, "end": { "line": 843, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 29945, "end": 29955, "loc": { "start": { "line": 843, "column": 21 }, "end": { "line": 843, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29955, "end": 29956, "loc": { "start": { "line": 843, "column": 31 }, "end": { "line": 843, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 29956, "end": 29962, "loc": { "start": { "line": 843, "column": 32 }, "end": { "line": 843, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29962, "end": 29963, "loc": { "start": { "line": 843, "column": 38 }, "end": { "line": 843, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(reducing", "start": 29981, "end": 29992, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29992, "end": 29993, "loc": { "start": { "line": 844, "column": 27 }, "end": { "line": 844, "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": 30011, "end": 30015, "loc": { "start": { "line": 845, "column": 16 }, "end": { "line": 845, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30015, "end": 30016, "loc": { "start": { "line": 845, "column": 20 }, "end": { "line": 845, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 30016, "end": 30027, "loc": { "start": { "line": 845, "column": 21 }, "end": { "line": 845, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30027, "end": 30028, "loc": { "start": { "line": 845, "column": 32 }, "end": { "line": 845, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " by", "start": 30046, "end": 30051, "loc": { "start": { "line": 846, "column": 16 }, "end": { "line": 846, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30051, "end": 30052, "loc": { "start": { "line": 846, "column": 21 }, "end": { "line": 846, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 30070, "end": 30080, "loc": { "start": { "line": 847, "column": 16 }, "end": { "line": 847, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30080, "end": 30081, "loc": { "start": { "line": 847, "column": 26 }, "end": { "line": 847, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 30099, "end": 30102, "loc": { "start": { "line": 848, "column": 16 }, "end": { "line": 848, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30116, "end": 30117, "loc": { "start": { "line": 849, "column": 12 }, "end": { "line": 849, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30117, "end": 30118, "loc": { "start": { "line": 849, "column": 13 }, "end": { "line": 849, "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": 30128, "end": 30132, "loc": { "start": { "line": 850, "column": 8 }, "end": { "line": 850, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30132, "end": 30133, "loc": { "start": { "line": 850, "column": 12 }, "end": { "line": 850, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 30133, "end": 30144, "loc": { "start": { "line": 850, "column": 13 }, "end": { "line": 850, "column": 24 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 30145, "end": 30147, "loc": { "start": { "line": 850, "column": 25 }, "end": { "line": 850, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 30148, "end": 30158, "loc": { "start": { "line": 850, "column": 28 }, "end": { "line": 850, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30158, "end": 30159, "loc": { "start": { "line": 850, "column": 38 }, "end": { "line": 850, "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": 30169, "end": 30173, "loc": { "start": { "line": 851, "column": 8 }, "end": { "line": 851, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30173, "end": 30174, "loc": { "start": { "line": 851, "column": 12 }, "end": { "line": 851, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 30174, "end": 30184, "loc": { "start": { "line": 851, "column": 13 }, "end": { "line": 851, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30184, "end": 30185, "loc": { "start": { "line": 851, "column": 23 }, "end": { "line": 851, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shift", "start": 30185, "end": 30190, "loc": { "start": { "line": 851, "column": 24 }, "end": { "line": 851, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30190, "end": 30191, "loc": { "start": { "line": 851, "column": 29 }, "end": { "line": 851, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30191, "end": 30192, "loc": { "start": { "line": 851, "column": 30 }, "end": { "line": 851, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30192, "end": 30193, "loc": { "start": { "line": 851, "column": 31 }, "end": { "line": 851, "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": 30203, "end": 30207, "loc": { "start": { "line": 852, "column": 8 }, "end": { "line": 852, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30207, "end": 30208, "loc": { "start": { "line": 852, "column": 12 }, "end": { "line": 852, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 30208, "end": 30221, "loc": { "start": { "line": 852, "column": 13 }, "end": { "line": 852, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30221, "end": 30222, "loc": { "start": { "line": 852, "column": 26 }, "end": { "line": 852, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30222, "end": 30223, "loc": { "start": { "line": 852, "column": 27 }, "end": { "line": 852, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30223, "end": 30224, "loc": { "start": { "line": 852, "column": 28 }, "end": { "line": 852, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 30236, "end": 30241, "loc": { "start": { "line": 854, "column": 8 }, "end": { "line": 854, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 30242, "end": 30244, "loc": { "start": { "line": 854, "column": 14 }, "end": { "line": 854, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 30258, "end": 30264, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30264, "end": 30265, "loc": { "start": { "line": 855, "column": 18 }, "end": { "line": 855, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 30265, "end": 30268, "loc": { "start": { "line": 855, "column": 19 }, "end": { "line": 855, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30268, "end": 30269, "loc": { "start": { "line": 855, "column": 22 }, "end": { "line": 855, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " New path has length of", "start": 30287, "end": 30313, "loc": { "start": { "line": 856, "column": 16 }, "end": { "line": 856, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30313, "end": 30314, "loc": { "start": { "line": 856, "column": 42 }, "end": { "line": 856, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 30332, "end": 30336, "loc": { "start": { "line": 857, "column": 16 }, "end": { "line": 857, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30336, "end": 30337, "loc": { "start": { "line": 857, "column": 20 }, "end": { "line": 857, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 30337, "end": 30348, "loc": { "start": { "line": 857, "column": 21 }, "end": { "line": 857, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30348, "end": 30349, "loc": { "start": { "line": 857, "column": 32 }, "end": { "line": 857, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "with", "start": 30367, "end": 30373, "loc": { "start": { "line": 858, "column": 16 }, "end": { "line": 858, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30373, "end": 30374, "loc": { "start": { "line": 858, "column": 22 }, "end": { "line": 858, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 30392, "end": 30396, "loc": { "start": { "line": 859, "column": 16 }, "end": { "line": 859, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30396, "end": 30397, "loc": { "start": { "line": 859, "column": 20 }, "end": { "line": 859, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 30397, "end": 30407, "loc": { "start": { "line": 859, "column": 21 }, "end": { "line": 859, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30407, "end": 30408, "loc": { "start": { "line": 859, "column": 31 }, "end": { "line": 859, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 30408, "end": 30414, "loc": { "start": { "line": 859, "column": 32 }, "end": { "line": 859, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30414, "end": 30415, "loc": { "start": { "line": 859, "column": 38 }, "end": { "line": 859, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "entities", "start": 30433, "end": 30443, "loc": { "start": { "line": 860, "column": 16 }, "end": { "line": 860, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30457, "end": 30458, "loc": { "start": { "line": 861, "column": 12 }, "end": { "line": 861, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30458, "end": 30459, "loc": { "start": { "line": 861, "column": 13 }, "end": { "line": 861, "column": 14 } } }, { "type": "CommentLine", "value": " This is just for sanity", "start": 30471, "end": 30497, "loc": { "start": { "line": 863, "column": 8 }, "end": { "line": 863, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 30507, "end": 30515, "loc": { "start": { "line": 864, "column": 8 }, "end": { "line": 864, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30515, "end": 30516, "loc": { "start": { "line": 864, "column": 16 }, "end": { "line": 864, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 30516, "end": 30528, "loc": { "start": { "line": 864, "column": 17 }, "end": { "line": 864, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30529, "end": 30530, "loc": { "start": { "line": 864, "column": 30 }, "end": { "line": 864, "column": 31 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 30531, "end": 30535, "loc": { "start": { "line": 864, "column": 32 }, "end": { "line": 864, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30535, "end": 30536, "loc": { "start": { "line": 864, "column": 36 }, "end": { "line": 864, "column": 37 } } }, { "type": "CommentLine", "value": " Clean up items", "start": 30548, "end": 30565, "loc": { "start": { "line": 866, "column": 8 }, "end": { "line": 866, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 30575, "end": 30577, "loc": { "start": { "line": 867, "column": 8 }, "end": { "line": 867, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30578, "end": 30579, "loc": { "start": { "line": 867, "column": 11 }, "end": { "line": 867, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 30579, "end": 30583, "loc": { "start": { "line": 867, "column": 12 }, "end": { "line": 867, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30583, "end": 30584, "loc": { "start": { "line": 867, "column": 16 }, "end": { "line": 867, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 30584, "end": 30589, "loc": { "start": { "line": 867, "column": 17 }, "end": { "line": 867, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30589, "end": 30590, "loc": { "start": { "line": 867, "column": 22 }, "end": { "line": 867, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 30590, "end": 30596, "loc": { "start": { "line": 867, "column": 23 }, "end": { "line": 867, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 30597, "end": 30600, "loc": { "start": { "line": 867, "column": 30 }, "end": { "line": 867, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 30601, "end": 30602, "loc": { "start": { "line": 867, "column": 34 }, "end": { "line": 867, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30602, "end": 30603, "loc": { "start": { "line": 867, "column": 35 }, "end": { "line": 867, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30604, "end": 30605, "loc": { "start": { "line": 867, "column": 37 }, "end": { "line": 867, "column": 38 } } }, { "type": "CommentLine", "value": " Simple case with no items, just update the first item spacing", "start": 30619, "end": 30683, "loc": { "start": { "line": 868, "column": 12 }, "end": { "line": 868, "column": 76 } } }, { "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": 30697, "end": 30701, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30701, "end": 30702, "loc": { "start": { "line": 869, "column": 16 }, "end": { "line": 869, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 30702, "end": 30720, "loc": { "start": { "line": 869, "column": 17 }, "end": { "line": 869, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30721, "end": 30722, "loc": { "start": { "line": 869, "column": 36 }, "end": { "line": 869, "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": 30723, "end": 30727, "loc": { "start": { "line": 869, "column": 38 }, "end": { "line": 869, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30727, "end": 30728, "loc": { "start": { "line": 869, "column": 42 }, "end": { "line": 869, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 30728, "end": 30739, "loc": { "start": { "line": 869, "column": 43 }, "end": { "line": 869, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30739, "end": 30740, "loc": { "start": { "line": 869, "column": 54 }, "end": { "line": 869, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30750, "end": 30751, "loc": { "start": { "line": 870, "column": 8 }, "end": { "line": 870, "column": 9 } } }, { "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": 30752, "end": 30756, "loc": { "start": { "line": 870, "column": 10 }, "end": { "line": 870, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30757, "end": 30758, "loc": { "start": { "line": 870, "column": 15 }, "end": { "line": 870, "column": 16 } } }, { "type": "CommentLine", "value": " Simple case, we had no item on the beginning -> all good", "start": 30772, "end": 30831, "loc": { "start": { "line": 871, "column": 12 }, "end": { "line": 871, "column": 71 } } }, { "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": 30845, "end": 30847, "loc": { "start": { "line": 872, "column": 12 }, "end": { "line": 872, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30848, "end": 30849, "loc": { "start": { "line": 872, "column": 15 }, "end": { "line": 872, "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": 30849, "end": 30853, "loc": { "start": { "line": 872, "column": 16 }, "end": { "line": 872, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30853, "end": 30854, "loc": { "start": { "line": 872, "column": 20 }, "end": { "line": 872, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 30854, "end": 30872, "loc": { "start": { "line": 872, "column": 21 }, "end": { "line": 872, "column": 39 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 30873, "end": 30875, "loc": { "start": { "line": 872, "column": 40 }, "end": { "line": 872, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 30876, "end": 30886, "loc": { "start": { "line": 872, "column": 43 }, "end": { "line": 872, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30886, "end": 30887, "loc": { "start": { "line": 872, "column": 53 }, "end": { "line": 872, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30888, "end": 30889, "loc": { "start": { "line": 872, "column": 55 }, "end": { "line": 872, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 30907, "end": 30912, "loc": { "start": { "line": 873, "column": 16 }, "end": { "line": 873, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 30913, "end": 30915, "loc": { "start": { "line": 873, "column": 22 }, "end": { "line": 873, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 30937, "end": 30943, "loc": { "start": { "line": 874, "column": 20 }, "end": { "line": 874, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30943, "end": 30944, "loc": { "start": { "line": 874, "column": 26 }, "end": { "line": 874, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 30944, "end": 30947, "loc": { "start": { "line": 874, "column": 27 }, "end": { "line": 874, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30947, "end": 30948, "loc": { "start": { "line": 874, "column": 30 }, "end": { "line": 874, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " No item on the first place, so we can just adjust the spacing (spacing=", "start": 30974, "end": 31049, "loc": { "start": { "line": 875, "column": 24 }, "end": { "line": 875, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31049, "end": 31050, "loc": { "start": { "line": 875, "column": 99 }, "end": { "line": 875, "column": 100 } } }, { "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": 31076, "end": 31080, "loc": { "start": { "line": 876, "column": 24 }, "end": { "line": 876, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31080, "end": 31081, "loc": { "start": { "line": 876, "column": 28 }, "end": { "line": 876, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 31081, "end": 31099, "loc": { "start": { "line": 876, "column": 29 }, "end": { "line": 876, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31099, "end": 31100, "loc": { "start": { "line": 876, "column": 47 }, "end": { "line": 876, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") removed =", "start": 31126, "end": 31139, "loc": { "start": { "line": 877, "column": 24 }, "end": { "line": 877, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31139, "end": 31140, "loc": { "start": { "line": 877, "column": 37 }, "end": { "line": 877, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 31166, "end": 31176, "loc": { "start": { "line": 878, "column": 24 }, "end": { "line": 878, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31198, "end": 31199, "loc": { "start": { "line": 879, "column": 20 }, "end": { "line": 879, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31199, "end": 31200, "loc": { "start": { "line": 879, "column": 21 }, "end": { "line": 879, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 31218, "end": 31222, "loc": { "start": { "line": 880, "column": 16 }, "end": { "line": 880, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31222, "end": 31223, "loc": { "start": { "line": 880, "column": 20 }, "end": { "line": 880, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 31223, "end": 31241, "loc": { "start": { "line": 880, "column": 21 }, "end": { "line": 880, "column": 39 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 31242, "end": 31244, "loc": { "start": { "line": 880, "column": 40 }, "end": { "line": 880, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 31245, "end": 31255, "loc": { "start": { "line": 880, "column": 43 }, "end": { "line": 880, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31255, "end": 31256, "loc": { "start": { "line": 880, "column": 53 }, "end": { "line": 880, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31270, "end": 31271, "loc": { "start": { "line": 881, "column": 12 }, "end": { "line": 881, "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": 31272, "end": 31276, "loc": { "start": { "line": 881, "column": 14 }, "end": { "line": 881, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31277, "end": 31278, "loc": { "start": { "line": 881, "column": 19 }, "end": { "line": 881, "column": 20 } } }, { "type": "CommentLine", "value": " Welp, okay we need to drop all items which are < beltLength and adjust", "start": 31296, "end": 31369, "loc": { "start": { "line": 882, "column": 16 }, "end": { "line": 882, "column": 89 } } }, { "type": "CommentLine", "value": " the other item offsets as well", "start": 31387, "end": 31420, "loc": { "start": { "line": 883, "column": 16 }, "end": { "line": 883, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 31440, "end": 31445, "loc": { "start": { "line": 885, "column": 16 }, "end": { "line": 885, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 31446, "end": 31448, "loc": { "start": { "line": 885, "column": 22 }, "end": { "line": 885, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 31470, "end": 31476, "loc": { "start": { "line": 886, "column": 20 }, "end": { "line": 886, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31476, "end": 31477, "loc": { "start": { "line": 886, "column": 26 }, "end": { "line": 886, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 31477, "end": 31480, "loc": { "start": { "line": 886, "column": 27 }, "end": { "line": 886, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31480, "end": 31481, "loc": { "start": { "line": 886, "column": 30 }, "end": { "line": 886, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " We have at least one item in the beginning, drop those and adjust spacing (first item @", "start": 31507, "end": 31598, "loc": { "start": { "line": 887, "column": 24 }, "end": { "line": 887, "column": 115 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31598, "end": 31599, "loc": { "start": { "line": 887, "column": 115 }, "end": { "line": 887, "column": 116 } } }, { "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": 31625, "end": 31629, "loc": { "start": { "line": 888, "column": 24 }, "end": { "line": 888, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31629, "end": 31630, "loc": { "start": { "line": 888, "column": 28 }, "end": { "line": 888, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 31630, "end": 31648, "loc": { "start": { "line": 888, "column": 29 }, "end": { "line": 888, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31648, "end": 31649, "loc": { "start": { "line": 888, "column": 47 }, "end": { "line": 888, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") since we removed", "start": 31675, "end": 31695, "loc": { "start": { "line": 889, "column": 24 }, "end": { "line": 889, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31695, "end": 31696, "loc": { "start": { "line": 889, "column": 44 }, "end": { "line": 889, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 31722, "end": 31732, "loc": { "start": { "line": 890, "column": 24 }, "end": { "line": 890, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31732, "end": 31733, "loc": { "start": { "line": 890, "column": 34 }, "end": { "line": 890, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "length from path", "start": 31759, "end": 31777, "loc": { "start": { "line": 891, "column": 24 }, "end": { "line": 891, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31799, "end": 31800, "loc": { "start": { "line": 892, "column": 20 }, "end": { "line": 892, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31800, "end": 31801, "loc": { "start": { "line": 892, "column": 21 }, "end": { "line": 892, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 31819, "end": 31824, "loc": { "start": { "line": 893, "column": 16 }, "end": { "line": 893, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 31825, "end": 31827, "loc": { "start": { "line": 893, "column": 22 }, "end": { "line": 893, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 31849, "end": 31855, "loc": { "start": { "line": 894, "column": 20 }, "end": { "line": 894, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31855, "end": 31856, "loc": { "start": { "line": 894, "column": 26 }, "end": { "line": 894, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 31856, "end": 31859, "loc": { "start": { "line": 894, "column": 27 }, "end": { "line": 894, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31859, "end": 31860, "loc": { "start": { "line": 894, "column": 30 }, "end": { "line": 894, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Items:", "start": 31886, "end": 31898, "loc": { "start": { "line": 895, "column": 24 }, "end": { "line": 895, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31898, "end": 31899, "loc": { "start": { "line": 895, "column": 36 }, "end": { "line": 895, "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": 31925, "end": 31929, "loc": { "start": { "line": 896, "column": 24 }, "end": { "line": 896, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31929, "end": 31930, "loc": { "start": { "line": 896, "column": 28 }, "end": { "line": 896, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 31930, "end": 31935, "loc": { "start": { "line": 896, "column": 29 }, "end": { "line": 896, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31935, "end": 31936, "loc": { "start": { "line": 896, "column": 34 }, "end": { "line": 896, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 31936, "end": 31939, "loc": { "start": { "line": 896, "column": 35 }, "end": { "line": 896, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31939, "end": 31940, "loc": { "start": { "line": 896, "column": 38 }, "end": { "line": 896, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 31940, "end": 31941, "loc": { "start": { "line": 896, "column": 39 }, "end": { "line": 896, "column": 40 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31942, "end": 31944, "loc": { "start": { "line": 896, "column": 41 }, "end": { "line": 896, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 31945, "end": 31946, "loc": { "start": { "line": 896, "column": 44 }, "end": { "line": 896, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31946, "end": 31947, "loc": { "start": { "line": 896, "column": 45 }, "end": { "line": 896, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 31947, "end": 31960, "loc": { "start": { "line": 896, "column": 46 }, "end": { "line": 896, "column": 59 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31960, "end": 31961, "loc": { "start": { "line": 896, "column": 59 }, "end": { "line": 896, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31961, "end": 31962, "loc": { "start": { "line": 896, "column": 60 }, "end": { "line": 896, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31984, "end": 31985, "loc": { "start": { "line": 897, "column": 20 }, "end": { "line": 897, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31985, "end": 31986, "loc": { "start": { "line": 897, "column": 21 }, "end": { "line": 897, "column": 22 } } }, { "type": "CommentLine", "value": " Find offset to first item", "start": 32006, "end": 32034, "loc": { "start": { "line": 899, "column": 16 }, "end": { "line": 899, "column": 44 } } }, { "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": 32052, "end": 32055, "loc": { "start": { "line": 900, "column": 16 }, "end": { "line": 900, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 32056, "end": 32066, "loc": { "start": { "line": 900, "column": 20 }, "end": { "line": 900, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32067, "end": 32068, "loc": { "start": { "line": 900, "column": 31 }, "end": { "line": 900, "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": 32069, "end": 32073, "loc": { "start": { "line": 900, "column": 33 }, "end": { "line": 900, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32073, "end": 32074, "loc": { "start": { "line": 900, "column": 37 }, "end": { "line": 900, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 32074, "end": 32092, "loc": { "start": { "line": 900, "column": 38 }, "end": { "line": 900, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32092, "end": 32093, "loc": { "start": { "line": 900, "column": 56 }, "end": { "line": 900, "column": 57 } } }, { "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": 32111, "end": 32114, "loc": { "start": { "line": 901, "column": 16 }, "end": { "line": 901, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32115, "end": 32116, "loc": { "start": { "line": 901, "column": 20 }, "end": { "line": 901, "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": 32116, "end": 32119, "loc": { "start": { "line": 901, "column": 21 }, "end": { "line": 901, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32120, "end": 32121, "loc": { "start": { "line": 901, "column": 25 }, "end": { "line": 901, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32122, "end": 32123, "loc": { "start": { "line": 901, "column": 27 }, "end": { "line": 901, "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": 32124, "end": 32125, "loc": { "start": { "line": 901, "column": 29 }, "end": { "line": 901, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32125, "end": 32126, "loc": { "start": { "line": 901, "column": 30 }, "end": { "line": 901, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32127, "end": 32128, "loc": { "start": { "line": 901, "column": 32 }, "end": { "line": 901, "column": 33 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 32129, "end": 32130, "loc": { "start": { "line": 901, "column": 34 }, "end": { "line": 901, "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": 32131, "end": 32135, "loc": { "start": { "line": 901, "column": 36 }, "end": { "line": 901, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32135, "end": 32136, "loc": { "start": { "line": 901, "column": 40 }, "end": { "line": 901, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 32136, "end": 32141, "loc": { "start": { "line": 901, "column": 41 }, "end": { "line": 901, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32141, "end": 32142, "loc": { "start": { "line": 901, "column": 46 }, "end": { "line": 901, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 32142, "end": 32148, "loc": { "start": { "line": 901, "column": 47 }, "end": { "line": 901, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32148, "end": 32149, "loc": { "start": { "line": 901, "column": 53 }, "end": { "line": 901, "column": 54 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 32150, "end": 32152, "loc": { "start": { "line": 901, "column": 55 }, "end": { "line": 901, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32152, "end": 32153, "loc": { "start": { "line": 901, "column": 57 }, "end": { "line": 901, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32153, "end": 32154, "loc": { "start": { "line": 901, "column": 58 }, "end": { "line": 901, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32155, "end": 32156, "loc": { "start": { "line": 901, "column": 60 }, "end": { "line": 901, "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": 32178, "end": 32183, "loc": { "start": { "line": 902, "column": 20 }, "end": { "line": 902, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 32184, "end": 32188, "loc": { "start": { "line": 902, "column": 26 }, "end": { "line": 902, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32189, "end": 32190, "loc": { "start": { "line": 902, "column": 31 }, "end": { "line": 902, "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": 32191, "end": 32195, "loc": { "start": { "line": 902, "column": 33 }, "end": { "line": 902, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32195, "end": 32196, "loc": { "start": { "line": 902, "column": 37 }, "end": { "line": 902, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 32196, "end": 32201, "loc": { "start": { "line": 902, "column": 38 }, "end": { "line": 902, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32201, "end": 32202, "loc": { "start": { "line": 902, "column": 43 }, "end": { "line": 902, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32202, "end": 32203, "loc": { "start": { "line": 902, "column": 44 }, "end": { "line": 902, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32203, "end": 32204, "loc": { "start": { "line": 902, "column": 45 }, "end": { "line": 902, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32204, "end": 32205, "loc": { "start": { "line": 902, "column": 46 }, "end": { "line": 902, "column": 47 } } }, { "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": 32227, "end": 32229, "loc": { "start": { "line": 903, "column": 20 }, "end": { "line": 903, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32230, "end": 32231, "loc": { "start": { "line": 903, "column": 23 }, "end": { "line": 903, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 32231, "end": 32241, "loc": { "start": { "line": 903, "column": 24 }, "end": { "line": 903, "column": 34 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 32242, "end": 32244, "loc": { "start": { "line": 903, "column": 35 }, "end": { "line": 903, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 32245, "end": 32255, "loc": { "start": { "line": 903, "column": 38 }, "end": { "line": 903, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32255, "end": 32256, "loc": { "start": { "line": 903, "column": 48 }, "end": { "line": 903, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32257, "end": 32258, "loc": { "start": { "line": 903, "column": 50 }, "end": { "line": 903, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 32284, "end": 32289, "loc": { "start": { "line": 904, "column": 24 }, "end": { "line": 904, "column": 29 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 32290, "end": 32292, "loc": { "start": { "line": 904, "column": 30 }, "end": { "line": 904, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 32322, "end": 32328, "loc": { "start": { "line": 905, "column": 28 }, "end": { "line": 905, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32328, "end": 32329, "loc": { "start": { "line": 905, "column": 34 }, "end": { "line": 905, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 32329, "end": 32332, "loc": { "start": { "line": 905, "column": 35 }, "end": { "line": 905, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32332, "end": 32333, "loc": { "start": { "line": 905, "column": 38 }, "end": { "line": 905, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " -> Dropping item with index", "start": 32367, "end": 32398, "loc": { "start": { "line": 906, "column": 32 }, "end": { "line": 906, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32398, "end": 32399, "loc": { "start": { "line": 906, "column": 63 }, "end": { "line": 906, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32433, "end": 32434, "loc": { "start": { "line": 907, "column": 32 }, "end": { "line": 907, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32434, "end": 32435, "loc": { "start": { "line": 907, "column": 33 }, "end": { "line": 907, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "at", "start": 32469, "end": 32473, "loc": { "start": { "line": 908, "column": 32 }, "end": { "line": 908, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32473, "end": 32474, "loc": { "start": { "line": 908, "column": 36 }, "end": { "line": 908, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 32508, "end": 32518, "loc": { "start": { "line": 909, "column": 32 }, "end": { "line": 909, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32518, "end": 32519, "loc": { "start": { "line": 909, "column": 42 }, "end": { "line": 909, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "since it was on the removed belt", "start": 32553, "end": 32587, "loc": { "start": { "line": 910, "column": 32 }, "end": { "line": 910, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32617, "end": 32618, "loc": { "start": { "line": 911, "column": 28 }, "end": { "line": 911, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32618, "end": 32619, "loc": { "start": { "line": 911, "column": 29 }, "end": { "line": 911, "column": 30 } } }, { "type": "CommentLine", "value": " This item must be dropped", "start": 32645, "end": 32673, "loc": { "start": { "line": 912, "column": 24 }, "end": { "line": 912, "column": 52 } } }, { "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": 32699, "end": 32703, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32703, "end": 32704, "loc": { "start": { "line": 913, "column": 28 }, "end": { "line": 913, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 32704, "end": 32709, "loc": { "start": { "line": 913, "column": 29 }, "end": { "line": 913, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32709, "end": 32710, "loc": { "start": { "line": 913, "column": 34 }, "end": { "line": 913, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 32710, "end": 32716, "loc": { "start": { "line": 913, "column": 35 }, "end": { "line": 913, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32716, "end": 32717, "loc": { "start": { "line": 913, "column": 41 }, "end": { "line": 913, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32717, "end": 32718, "loc": { "start": { "line": 913, "column": 42 }, "end": { "line": 913, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32718, "end": 32719, "loc": { "start": { "line": 913, "column": 43 }, "end": { "line": 913, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 32720, "end": 32721, "loc": { "start": { "line": 913, "column": 45 }, "end": { "line": 913, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32721, "end": 32722, "loc": { "start": { "line": 913, "column": 46 }, "end": { "line": 913, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32722, "end": 32723, "loc": { "start": { "line": 913, "column": 47 }, "end": { "line": 913, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 32749, "end": 32750, "loc": { "start": { "line": 914, "column": 24 }, "end": { "line": 914, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 32751, "end": 32753, "loc": { "start": { "line": 914, "column": 26 }, "end": { "line": 914, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 32754, "end": 32755, "loc": { "start": { "line": 914, "column": 29 }, "end": { "line": 914, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32755, "end": 32756, "loc": { "start": { "line": 914, "column": 30 }, "end": { "line": 914, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 32782, "end": 32792, "loc": { "start": { "line": 915, "column": 24 }, "end": { "line": 915, "column": 34 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 32793, "end": 32795, "loc": { "start": { "line": 915, "column": 35 }, "end": { "line": 915, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 32796, "end": 32800, "loc": { "start": { "line": 915, "column": 38 }, "end": { "line": 915, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32800, "end": 32801, "loc": { "start": { "line": 915, "column": 42 }, "end": { "line": 915, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 32801, "end": 32814, "loc": { "start": { "line": 915, "column": 43 }, "end": { "line": 915, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32814, "end": 32815, "loc": { "start": { "line": 915, "column": 56 }, "end": { "line": 915, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32815, "end": 32816, "loc": { "start": { "line": 915, "column": 57 }, "end": { "line": 915, "column": 58 } } }, { "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": 32842, "end": 32850, "loc": { "start": { "line": 916, "column": 24 }, "end": { "line": 916, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32850, "end": 32851, "loc": { "start": { "line": 916, "column": 32 }, "end": { "line": 916, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32873, "end": 32874, "loc": { "start": { "line": 917, "column": 20 }, "end": { "line": 917, "column": 21 } } }, { "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": 32875, "end": 32879, "loc": { "start": { "line": 917, "column": 22 }, "end": { "line": 917, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32880, "end": 32881, "loc": { "start": { "line": 917, "column": 27 }, "end": { "line": 917, "column": 28 } } }, { "type": "CommentLine", "value": " This item can be kept, thus its the first we know", "start": 32907, "end": 32959, "loc": { "start": { "line": 918, "column": 24 }, "end": { "line": 918, "column": 76 } } }, { "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": 32985, "end": 32990, "loc": { "start": { "line": 919, "column": 24 }, "end": { "line": 919, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32990, "end": 32991, "loc": { "start": { "line": 919, "column": 29 }, "end": { "line": 919, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33013, "end": 33014, "loc": { "start": { "line": 920, "column": 20 }, "end": { "line": 920, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33032, "end": 33033, "loc": { "start": { "line": 921, "column": 16 }, "end": { "line": 921, "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": 33053, "end": 33055, "loc": { "start": { "line": 923, "column": 16 }, "end": { "line": 923, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33056, "end": 33057, "loc": { "start": { "line": 923, "column": 19 }, "end": { "line": 923, "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": 33057, "end": 33061, "loc": { "start": { "line": 923, "column": 20 }, "end": { "line": 923, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33061, "end": 33062, "loc": { "start": { "line": 923, "column": 24 }, "end": { "line": 923, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 33062, "end": 33067, "loc": { "start": { "line": 923, "column": 25 }, "end": { "line": 923, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33067, "end": 33068, "loc": { "start": { "line": 923, "column": 30 }, "end": { "line": 923, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 33068, "end": 33074, "loc": { "start": { "line": 923, "column": 31 }, "end": { "line": 923, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 33075, "end": 33076, "loc": { "start": { "line": 923, "column": 38 }, "end": { "line": 923, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 33077, "end": 33078, "loc": { "start": { "line": 923, "column": 40 }, "end": { "line": 923, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33078, "end": 33079, "loc": { "start": { "line": 923, "column": 41 }, "end": { "line": 923, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33080, "end": 33081, "loc": { "start": { "line": 923, "column": 43 }, "end": { "line": 923, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 33103, "end": 33108, "loc": { "start": { "line": 924, "column": 20 }, "end": { "line": 924, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 33109, "end": 33111, "loc": { "start": { "line": 924, "column": 26 }, "end": { "line": 924, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 33137, "end": 33143, "loc": { "start": { "line": 925, "column": 24 }, "end": { "line": 925, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33143, "end": 33144, "loc": { "start": { "line": 925, "column": 30 }, "end": { "line": 925, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 33144, "end": 33147, "loc": { "start": { "line": 925, "column": 31 }, "end": { "line": 925, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33147, "end": 33148, "loc": { "start": { "line": 925, "column": 34 }, "end": { "line": 925, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Offset of first non-dropped item was at:", "start": 33178, "end": 33222, "loc": { "start": { "line": 926, "column": 28 }, "end": { "line": 926, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33222, "end": 33223, "loc": { "start": { "line": 926, "column": 72 }, "end": { "line": 926, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 33253, "end": 33263, "loc": { "start": { "line": 927, "column": 28 }, "end": { "line": 927, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33263, "end": 33264, "loc": { "start": { "line": 927, "column": 38 }, "end": { "line": 927, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-> setting spacing to it (total length=", "start": 33294, "end": 33335, "loc": { "start": { "line": 928, "column": 28 }, "end": { "line": 928, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33335, "end": 33336, "loc": { "start": { "line": 928, "column": 69 }, "end": { "line": 928, "column": 70 } } }, { "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": 33366, "end": 33370, "loc": { "start": { "line": 929, "column": 28 }, "end": { "line": 929, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33370, "end": 33371, "loc": { "start": { "line": 929, "column": 32 }, "end": { "line": 929, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 33371, "end": 33382, "loc": { "start": { "line": 929, "column": 33 }, "end": { "line": 929, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33382, "end": 33383, "loc": { "start": { "line": 929, "column": 44 }, "end": { "line": 929, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 33413, "end": 33416, "loc": { "start": { "line": 930, "column": 28 }, "end": { "line": 930, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33442, "end": 33443, "loc": { "start": { "line": 931, "column": 24 }, "end": { "line": 931, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33443, "end": 33444, "loc": { "start": { "line": 931, "column": 25 }, "end": { "line": 931, "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": 33468, "end": 33472, "loc": { "start": { "line": 933, "column": 20 }, "end": { "line": 933, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33472, "end": 33473, "loc": { "start": { "line": 933, "column": 24 }, "end": { "line": 933, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 33473, "end": 33491, "loc": { "start": { "line": 933, "column": 25 }, "end": { "line": 933, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 33492, "end": 33493, "loc": { "start": { "line": 933, "column": 44 }, "end": { "line": 933, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemOffset", "start": 33494, "end": 33504, "loc": { "start": { "line": 933, "column": 46 }, "end": { "line": 933, "column": 56 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 33505, "end": 33506, "loc": { "start": { "line": 933, "column": 57 }, "end": { "line": 933, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 33507, "end": 33517, "loc": { "start": { "line": 933, "column": 59 }, "end": { "line": 933, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33517, "end": 33518, "loc": { "start": { "line": 933, "column": 69 }, "end": { "line": 933, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 33540, "end": 33546, "loc": { "start": { "line": 934, "column": 20 }, "end": { "line": 934, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33546, "end": 33547, "loc": { "start": { "line": 934, "column": 26 }, "end": { "line": 934, "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": 33573, "end": 33577, "loc": { "start": { "line": 935, "column": 24 }, "end": { "line": 935, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33577, "end": 33578, "loc": { "start": { "line": 935, "column": 28 }, "end": { "line": 935, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 33578, "end": 33596, "loc": { "start": { "line": 935, "column": 29 }, "end": { "line": 935, "column": 47 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 33597, "end": 33599, "loc": { "start": { "line": 935, "column": 48 }, "end": { "line": 935, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 33600, "end": 33603, "loc": { "start": { "line": 935, "column": 51 }, "end": { "line": 935, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33603, "end": 33604, "loc": { "start": { "line": 935, "column": 54 }, "end": { "line": 935, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid spacing after delete on start: ", "start": 33630, "end": 33671, "loc": { "start": { "line": 936, "column": 24 }, "end": { "line": 936, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 33672, "end": 33673, "loc": { "start": { "line": 936, "column": 66 }, "end": { "line": 936, "column": 67 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 33674, "end": 33678, "loc": { "start": { "line": 936, "column": 68 }, "end": { "line": 936, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33678, "end": 33679, "loc": { "start": { "line": 936, "column": 72 }, "end": { "line": 936, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 33679, "end": 33697, "loc": { "start": { "line": 936, "column": 73 }, "end": { "line": 936, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33719, "end": 33720, "loc": { "start": { "line": 937, "column": 20 }, "end": { "line": 937, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33720, "end": 33721, "loc": { "start": { "line": 937, "column": 21 }, "end": { "line": 937, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33739, "end": 33740, "loc": { "start": { "line": 938, "column": 16 }, "end": { "line": 938, "column": 17 } } }, { "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": 33741, "end": 33745, "loc": { "start": { "line": 938, "column": 18 }, "end": { "line": 938, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33746, "end": 33747, "loc": { "start": { "line": 938, "column": 23 }, "end": { "line": 938, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 33769, "end": 33774, "loc": { "start": { "line": 939, "column": 20 }, "end": { "line": 939, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 33775, "end": 33777, "loc": { "start": { "line": 939, "column": 26 }, "end": { "line": 939, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 33778, "end": 33784, "loc": { "start": { "line": 939, "column": 29 }, "end": { "line": 939, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33784, "end": 33785, "loc": { "start": { "line": 939, "column": 35 }, "end": { "line": 939, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 33785, "end": 33788, "loc": { "start": { "line": 939, "column": 36 }, "end": { "line": 939, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33788, "end": 33789, "loc": { "start": { "line": 939, "column": 39 }, "end": { "line": 939, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " We dropped all items, simply set spacing to total length", "start": 33789, "end": 33849, "loc": { "start": { "line": 939, "column": 40 }, "end": { "line": 939, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33849, "end": 33850, "loc": { "start": { "line": 939, "column": 100 }, "end": { "line": 939, "column": 101 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33850, "end": 33851, "loc": { "start": { "line": 939, "column": 101 }, "end": { "line": 939, "column": 102 } } }, { "type": "CommentLine", "value": " We dropped all items, simple one", "start": 33873, "end": 33908, "loc": { "start": { "line": 940, "column": 20 }, "end": { "line": 940, "column": 55 } } }, { "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": 33930, "end": 33934, "loc": { "start": { "line": 941, "column": 20 }, "end": { "line": 941, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33934, "end": 33935, "loc": { "start": { "line": 941, "column": 24 }, "end": { "line": 941, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 33935, "end": 33953, "loc": { "start": { "line": 941, "column": 25 }, "end": { "line": 941, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 33954, "end": 33955, "loc": { "start": { "line": 941, "column": 44 }, "end": { "line": 941, "column": 45 } } }, { "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": 33956, "end": 33960, "loc": { "start": { "line": 941, "column": 46 }, "end": { "line": 941, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33960, "end": 33961, "loc": { "start": { "line": 941, "column": 50 }, "end": { "line": 941, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 33961, "end": 33972, "loc": { "start": { "line": 941, "column": 51 }, "end": { "line": 941, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33972, "end": 33973, "loc": { "start": { "line": 941, "column": 62 }, "end": { "line": 941, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33991, "end": 33992, "loc": { "start": { "line": 942, "column": 16 }, "end": { "line": 942, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34006, "end": 34007, "loc": { "start": { "line": 943, "column": 12 }, "end": { "line": 943, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34017, "end": 34018, "loc": { "start": { "line": 944, "column": 8 }, "end": { "line": 944, "column": 9 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 34030, "end": 34046, "loc": { "start": { "line": 946, "column": 8 }, "end": { "line": 946, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 34056, "end": 34060, "loc": { "start": { "line": 947, "column": 8 }, "end": { "line": 947, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34060, "end": 34061, "loc": { "start": { "line": 947, "column": 12 }, "end": { "line": 947, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 34061, "end": 34072, "loc": { "start": { "line": 947, "column": 13 }, "end": { "line": 947, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 34073, "end": 34074, "loc": { "start": { "line": 947, "column": 25 }, "end": { "line": 947, "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": 34075, "end": 34079, "loc": { "start": { "line": 947, "column": 27 }, "end": { "line": 947, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34079, "end": 34080, "loc": { "start": { "line": 947, "column": 31 }, "end": { "line": 947, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 34080, "end": 34093, "loc": { "start": { "line": 947, "column": 32 }, "end": { "line": 947, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34093, "end": 34094, "loc": { "start": { "line": 947, "column": 45 }, "end": { "line": 947, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34094, "end": 34095, "loc": { "start": { "line": 947, "column": 46 }, "end": { "line": 947, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34095, "end": 34096, "loc": { "start": { "line": 947, "column": 47 }, "end": { "line": 947, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 34108, "end": 34110, "loc": { "start": { "line": 949, "column": 8 }, "end": { "line": 949, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34111, "end": 34112, "loc": { "start": { "line": 949, "column": 11 }, "end": { "line": 949, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 34112, "end": 34120, "loc": { "start": { "line": 949, "column": 12 }, "end": { "line": 949, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 34121, "end": 34123, "loc": { "start": { "line": 949, "column": 21 }, "end": { "line": 949, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 34124, "end": 34136, "loc": { "start": { "line": 949, "column": 24 }, "end": { "line": 949, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34136, "end": 34137, "loc": { "start": { "line": 949, "column": 36 }, "end": { "line": 949, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 34137, "end": 34142, "loc": { "start": { "line": 949, "column": 37 }, "end": { "line": 949, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34142, "end": 34143, "loc": { "start": { "line": 949, "column": 42 }, "end": { "line": 949, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 34143, "end": 34157, "loc": { "start": { "line": 949, "column": 43 }, "end": { "line": 949, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34157, "end": 34158, "loc": { "start": { "line": 949, "column": 57 }, "end": { "line": 949, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34159, "end": 34160, "loc": { "start": { "line": 949, "column": 59 }, "end": { "line": 949, "column": 60 } } }, { "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": 34174, "end": 34178, "loc": { "start": { "line": 950, "column": 12 }, "end": { "line": 950, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34178, "end": 34179, "loc": { "start": { "line": 950, "column": 16 }, "end": { "line": 950, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 34179, "end": 34199, "loc": { "start": { "line": 950, "column": 17 }, "end": { "line": 950, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34199, "end": 34200, "loc": { "start": { "line": 950, "column": 37 }, "end": { "line": 950, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "delete-on-start", "start": 34200, "end": 34217, "loc": { "start": { "line": 950, "column": 38 }, "end": { "line": 950, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34217, "end": 34218, "loc": { "start": { "line": 950, "column": 55 }, "end": { "line": 950, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34218, "end": 34219, "loc": { "start": { "line": 950, "column": 56 }, "end": { "line": 950, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34229, "end": 34230, "loc": { "start": { "line": 951, "column": 8 }, "end": { "line": 951, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34236, "end": 34237, "loc": { "start": { "line": 952, "column": 4 }, "end": { "line": 952, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Extends the path by the given other path\r\n * @param {BeltPath} otherPath\r\n ", "start": 34245, "end": 34342, "loc": { "start": { "line": 954, "column": 4 }, "end": { "line": 957, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "extendByPath", "start": 34348, "end": 34360, "loc": { "start": { "line": 958, "column": 4 }, "end": { "line": 958, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34360, "end": 34361, "loc": { "start": { "line": 958, "column": 16 }, "end": { "line": 958, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 34361, "end": 34370, "loc": { "start": { "line": 958, "column": 17 }, "end": { "line": 958, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34370, "end": 34371, "loc": { "start": { "line": 958, "column": 26 }, "end": { "line": 958, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34372, "end": 34373, "loc": { "start": { "line": 958, "column": 28 }, "end": { "line": 958, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 34383, "end": 34389, "loc": { "start": { "line": 959, "column": 8 }, "end": { "line": 959, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34389, "end": 34390, "loc": { "start": { "line": 959, "column": 14 }, "end": { "line": 959, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 34390, "end": 34399, "loc": { "start": { "line": 959, "column": 15 }, "end": { "line": 959, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 34400, "end": 34403, "loc": { "start": { "line": 959, "column": 25 }, "end": { "line": 959, "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": 34404, "end": 34408, "loc": { "start": { "line": 959, "column": 29 }, "end": { "line": 959, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34408, "end": 34409, "loc": { "start": { "line": 959, "column": 33 }, "end": { "line": 959, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Circular path dependency", "start": 34410, "end": 34436, "loc": { "start": { "line": 959, "column": 35 }, "end": { "line": 959, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34436, "end": 34437, "loc": { "start": { "line": 959, "column": 61 }, "end": { "line": 959, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34437, "end": 34438, "loc": { "start": { "line": 959, "column": 62 }, "end": { "line": 959, "column": 63 } } }, { "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": 34450, "end": 34455, "loc": { "start": { "line": 961, "column": 8 }, "end": { "line": 961, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 34456, "end": 34464, "loc": { "start": { "line": 961, "column": 14 }, "end": { "line": 961, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 34465, "end": 34466, "loc": { "start": { "line": 961, "column": 23 }, "end": { "line": 961, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 34467, "end": 34476, "loc": { "start": { "line": 961, "column": 25 }, "end": { "line": 961, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34476, "end": 34477, "loc": { "start": { "line": 961, "column": 34 }, "end": { "line": 961, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 34477, "end": 34487, "loc": { "start": { "line": 961, "column": 35 }, "end": { "line": 961, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34487, "end": 34488, "loc": { "start": { "line": 961, "column": 45 }, "end": { "line": 961, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 34498, "end": 34503, "loc": { "start": { "line": 962, "column": 8 }, "end": { "line": 962, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 34504, "end": 34506, "loc": { "start": { "line": 962, "column": 14 }, "end": { "line": 962, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 34507, "end": 34513, "loc": { "start": { "line": 962, "column": 17 }, "end": { "line": 962, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34513, "end": 34514, "loc": { "start": { "line": 962, "column": 23 }, "end": { "line": 962, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 34514, "end": 34517, "loc": { "start": { "line": 962, "column": 24 }, "end": { "line": 962, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34517, "end": 34518, "loc": { "start": { "line": 962, "column": 27 }, "end": { "line": 962, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Extending path by other path, starting to add entities", "start": 34518, "end": 34574, "loc": { "start": { "line": 962, "column": 28 }, "end": { "line": 962, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34574, "end": 34575, "loc": { "start": { "line": 962, "column": 84 }, "end": { "line": 962, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34575, "end": 34576, "loc": { "start": { "line": 962, "column": 85 }, "end": { "line": 962, "column": 86 } } }, { "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": 34588, "end": 34593, "loc": { "start": { "line": 964, "column": 8 }, "end": { "line": 964, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldLength", "start": 34594, "end": 34603, "loc": { "start": { "line": 964, "column": 14 }, "end": { "line": 964, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 34604, "end": 34605, "loc": { "start": { "line": 964, "column": 24 }, "end": { "line": 964, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 34606, "end": 34610, "loc": { "start": { "line": 964, "column": 26 }, "end": { "line": 964, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34610, "end": 34611, "loc": { "start": { "line": 964, "column": 30 }, "end": { "line": 964, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 34611, "end": 34622, "loc": { "start": { "line": 964, "column": 31 }, "end": { "line": 964, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34622, "end": 34623, "loc": { "start": { "line": 964, "column": 42 }, "end": { "line": 964, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 34635, "end": 34640, "loc": { "start": { "line": 966, "column": 8 }, "end": { "line": 966, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 34641, "end": 34643, "loc": { "start": { "line": 966, "column": 14 }, "end": { "line": 966, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 34644, "end": 34650, "loc": { "start": { "line": 966, "column": 17 }, "end": { "line": 966, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34650, "end": 34651, "loc": { "start": { "line": 966, "column": 23 }, "end": { "line": 966, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 34651, "end": 34654, "loc": { "start": { "line": 966, "column": 24 }, "end": { "line": 966, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34654, "end": 34655, "loc": { "start": { "line": 966, "column": 27 }, "end": { "line": 966, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Adding", "start": 34655, "end": 34665, "loc": { "start": { "line": 966, "column": 28 }, "end": { "line": 966, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34665, "end": 34666, "loc": { "start": { "line": 966, "column": 38 }, "end": { "line": 966, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 34667, "end": 34675, "loc": { "start": { "line": 966, "column": 40 }, "end": { "line": 966, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34675, "end": 34676, "loc": { "start": { "line": 966, "column": 48 }, "end": { "line": 966, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 34676, "end": 34682, "loc": { "start": { "line": 966, "column": 49 }, "end": { "line": 966, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34682, "end": 34683, "loc": { "start": { "line": 966, "column": 55 }, "end": { "line": 966, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new entities, current length =", "start": 34684, "end": 34716, "loc": { "start": { "line": 966, "column": 57 }, "end": { "line": 966, "column": 89 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34716, "end": 34717, "loc": { "start": { "line": 966, "column": 89 }, "end": { "line": 966, "column": 90 } } }, { "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": 34718, "end": 34722, "loc": { "start": { "line": 966, "column": 91 }, "end": { "line": 966, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34722, "end": 34723, "loc": { "start": { "line": 966, "column": 95 }, "end": { "line": 966, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 34723, "end": 34734, "loc": { "start": { "line": 966, "column": 96 }, "end": { "line": 966, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34734, "end": 34735, "loc": { "start": { "line": 966, "column": 107 }, "end": { "line": 966, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34735, "end": 34736, "loc": { "start": { "line": 966, "column": 108 }, "end": { "line": 966, "column": 109 } } }, { "type": "CommentLine", "value": " First, append entities", "start": 34748, "end": 34773, "loc": { "start": { "line": 968, "column": 8 }, "end": { "line": 968, "column": 33 } } }, { "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": 34783, "end": 34786, "loc": { "start": { "line": 969, "column": 8 }, "end": { "line": 969, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34787, "end": 34788, "loc": { "start": { "line": 969, "column": 12 }, "end": { "line": 969, "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": 34788, "end": 34791, "loc": { "start": { "line": 969, "column": 13 }, "end": { "line": 969, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 34792, "end": 34793, "loc": { "start": { "line": 969, "column": 17 }, "end": { "line": 969, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 34794, "end": 34795, "loc": { "start": { "line": 969, "column": 19 }, "end": { "line": 969, "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": 34796, "end": 34797, "loc": { "start": { "line": 969, "column": 21 }, "end": { "line": 969, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34797, "end": 34798, "loc": { "start": { "line": 969, "column": 22 }, "end": { "line": 969, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 34799, "end": 34800, "loc": { "start": { "line": 969, "column": 24 }, "end": { "line": 969, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 34801, "end": 34802, "loc": { "start": { "line": 969, "column": 26 }, "end": { "line": 969, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 34803, "end": 34811, "loc": { "start": { "line": 969, "column": 28 }, "end": { "line": 969, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34811, "end": 34812, "loc": { "start": { "line": 969, "column": 36 }, "end": { "line": 969, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 34812, "end": 34818, "loc": { "start": { "line": 969, "column": 37 }, "end": { "line": 969, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34818, "end": 34819, "loc": { "start": { "line": 969, "column": 43 }, "end": { "line": 969, "column": 44 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 34820, "end": 34822, "loc": { "start": { "line": 969, "column": 45 }, "end": { "line": 969, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 34822, "end": 34823, "loc": { "start": { "line": 969, "column": 47 }, "end": { "line": 969, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34823, "end": 34824, "loc": { "start": { "line": 969, "column": 48 }, "end": { "line": 969, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34825, "end": 34826, "loc": { "start": { "line": 969, "column": 50 }, "end": { "line": 969, "column": 51 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 34840, "end": 34845, "loc": { "start": { "line": 970, "column": 12 }, "end": { "line": 970, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 34846, "end": 34852, "loc": { "start": { "line": 970, "column": 18 }, "end": { "line": 970, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 34853, "end": 34854, "loc": { "start": { "line": 970, "column": 25 }, "end": { "line": 970, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 34855, "end": 34863, "loc": { "start": { "line": 970, "column": 27 }, "end": { "line": 970, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34863, "end": 34864, "loc": { "start": { "line": 970, "column": 35 }, "end": { "line": 970, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 34864, "end": 34865, "loc": { "start": { "line": 970, "column": 36 }, "end": { "line": 970, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34865, "end": 34866, "loc": { "start": { "line": 970, "column": 37 }, "end": { "line": 970, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34866, "end": 34867, "loc": { "start": { "line": 970, "column": 38 }, "end": { "line": 970, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 34881, "end": 34886, "loc": { "start": { "line": 971, "column": 12 }, "end": { "line": 971, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 34887, "end": 34895, "loc": { "start": { "line": 971, "column": 18 }, "end": { "line": 971, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 34896, "end": 34897, "loc": { "start": { "line": 971, "column": 27 }, "end": { "line": 971, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 34898, "end": 34904, "loc": { "start": { "line": 971, "column": 29 }, "end": { "line": 971, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34904, "end": 34905, "loc": { "start": { "line": 971, "column": 35 }, "end": { "line": 971, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 34905, "end": 34915, "loc": { "start": { "line": 971, "column": 36 }, "end": { "line": 971, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34915, "end": 34916, "loc": { "start": { "line": 971, "column": 46 }, "end": { "line": 971, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 34916, "end": 34920, "loc": { "start": { "line": 971, "column": 47 }, "end": { "line": 971, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34920, "end": 34921, "loc": { "start": { "line": 971, "column": 51 }, "end": { "line": 971, "column": 52 } } }, { "type": "CommentLine", "value": " Add to path and update references", "start": 34937, "end": 34973, "loc": { "start": { "line": 973, "column": 12 }, "end": { "line": 973, "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": 34987, "end": 34991, "loc": { "start": { "line": 974, "column": 12 }, "end": { "line": 974, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 34991, "end": 34992, "loc": { "start": { "line": 974, "column": 16 }, "end": { "line": 974, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 34992, "end": 35002, "loc": { "start": { "line": 974, "column": 17 }, "end": { "line": 974, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35002, "end": 35003, "loc": { "start": { "line": 974, "column": 27 }, "end": { "line": 974, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 35003, "end": 35007, "loc": { "start": { "line": 974, "column": 28 }, "end": { "line": 974, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35007, "end": 35008, "loc": { "start": { "line": 974, "column": 32 }, "end": { "line": 974, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 35008, "end": 35014, "loc": { "start": { "line": 974, "column": 33 }, "end": { "line": 974, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35014, "end": 35015, "loc": { "start": { "line": 974, "column": 39 }, "end": { "line": 974, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35015, "end": 35016, "loc": { "start": { "line": 974, "column": 40 }, "end": { "line": 974, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 35030, "end": 35038, "loc": { "start": { "line": 975, "column": 12 }, "end": { "line": 975, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35038, "end": 35039, "loc": { "start": { "line": 975, "column": 20 }, "end": { "line": 975, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 35039, "end": 35051, "loc": { "start": { "line": 975, "column": 21 }, "end": { "line": 975, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 35052, "end": 35053, "loc": { "start": { "line": 975, "column": 34 }, "end": { "line": 975, "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": 35054, "end": 35058, "loc": { "start": { "line": 975, "column": 36 }, "end": { "line": 975, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35058, "end": 35059, "loc": { "start": { "line": 975, "column": 40 }, "end": { "line": 975, "column": 41 } } }, { "type": "CommentLine", "value": " Update our length", "start": 35075, "end": 35095, "loc": { "start": { "line": 977, "column": 12 }, "end": { "line": 977, "column": 32 } } }, { "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": 35109, "end": 35114, "loc": { "start": { "line": 978, "column": 12 }, "end": { "line": 978, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 35115, "end": 35131, "loc": { "start": { "line": 978, "column": 18 }, "end": { "line": 978, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 35132, "end": 35133, "loc": { "start": { "line": 978, "column": 35 }, "end": { "line": 978, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 35134, "end": 35142, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35142, "end": 35143, "loc": { "start": { "line": 978, "column": 45 }, "end": { "line": 978, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 35143, "end": 35166, "loc": { "start": { "line": 978, "column": 46 }, "end": { "line": 978, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35166, "end": 35167, "loc": { "start": { "line": 978, "column": 69 }, "end": { "line": 978, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35167, "end": 35168, "loc": { "start": { "line": 978, "column": 70 }, "end": { "line": 978, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35168, "end": 35169, "loc": { "start": { "line": 978, "column": 71 }, "end": { "line": 978, "column": 72 } } }, { "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": 35183, "end": 35187, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35187, "end": 35188, "loc": { "start": { "line": 979, "column": 16 }, "end": { "line": 979, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 35188, "end": 35199, "loc": { "start": { "line": 979, "column": 17 }, "end": { "line": 979, "column": 28 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 35200, "end": 35202, "loc": { "start": { "line": 979, "column": 29 }, "end": { "line": 979, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "additionalLength", "start": 35203, "end": 35219, "loc": { "start": { "line": 979, "column": 32 }, "end": { "line": 979, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35219, "end": 35220, "loc": { "start": { "line": 979, "column": 48 }, "end": { "line": 979, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35230, "end": 35231, "loc": { "start": { "line": 980, "column": 8 }, "end": { "line": 980, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 35243, "end": 35248, "loc": { "start": { "line": 982, "column": 8 }, "end": { "line": 982, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 35249, "end": 35251, "loc": { "start": { "line": 982, "column": 14 }, "end": { "line": 982, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 35265, "end": 35271, "loc": { "start": { "line": 983, "column": 12 }, "end": { "line": 983, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35271, "end": 35272, "loc": { "start": { "line": 983, "column": 18 }, "end": { "line": 983, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 35272, "end": 35275, "loc": { "start": { "line": 983, "column": 19 }, "end": { "line": 983, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35275, "end": 35276, "loc": { "start": { "line": 983, "column": 22 }, "end": { "line": 983, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Path is now", "start": 35294, "end": 35309, "loc": { "start": { "line": 984, "column": 16 }, "end": { "line": 984, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35309, "end": 35310, "loc": { "start": { "line": 984, "column": 31 }, "end": { "line": 984, "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": 35328, "end": 35332, "loc": { "start": { "line": 985, "column": 16 }, "end": { "line": 985, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35332, "end": 35333, "loc": { "start": { "line": 985, "column": 20 }, "end": { "line": 985, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 35333, "end": 35343, "loc": { "start": { "line": 985, "column": 21 }, "end": { "line": 985, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35343, "end": 35344, "loc": { "start": { "line": 985, "column": 31 }, "end": { "line": 985, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 35344, "end": 35350, "loc": { "start": { "line": 985, "column": 32 }, "end": { "line": 985, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35350, "end": 35351, "loc": { "start": { "line": 985, "column": 38 }, "end": { "line": 985, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "entities and has a length of", "start": 35369, "end": 35399, "loc": { "start": { "line": 986, "column": 16 }, "end": { "line": 986, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35399, "end": 35400, "loc": { "start": { "line": 986, "column": 46 }, "end": { "line": 986, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 35418, "end": 35422, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35422, "end": 35423, "loc": { "start": { "line": 987, "column": 20 }, "end": { "line": 987, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 35423, "end": 35434, "loc": { "start": { "line": 987, "column": 21 }, "end": { "line": 987, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35448, "end": 35449, "loc": { "start": { "line": 988, "column": 12 }, "end": { "line": 988, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35449, "end": 35450, "loc": { "start": { "line": 988, "column": 13 }, "end": { "line": 988, "column": 14 } } }, { "type": "CommentLine", "value": " Now, update the distance of our last item", "start": 35462, "end": 35506, "loc": { "start": { "line": 990, "column": 8 }, "end": { "line": 990, "column": 52 } } }, { "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": 35516, "end": 35518, "loc": { "start": { "line": 991, "column": 8 }, "end": { "line": 991, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35519, "end": 35520, "loc": { "start": { "line": 991, "column": 11 }, "end": { "line": 991, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 35520, "end": 35524, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 991, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35524, "end": 35525, "loc": { "start": { "line": 991, "column": 16 }, "end": { "line": 991, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 35525, "end": 35530, "loc": { "start": { "line": 991, "column": 17 }, "end": { "line": 991, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35530, "end": 35531, "loc": { "start": { "line": 991, "column": 22 }, "end": { "line": 991, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 35531, "end": 35537, "loc": { "start": { "line": 991, "column": 23 }, "end": { "line": 991, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 35538, "end": 35541, "loc": { "start": { "line": 991, "column": 30 }, "end": { "line": 991, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 35542, "end": 35543, "loc": { "start": { "line": 991, "column": 34 }, "end": { "line": 991, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35543, "end": 35544, "loc": { "start": { "line": 991, "column": 35 }, "end": { "line": 991, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35545, "end": 35546, "loc": { "start": { "line": 991, "column": 37 }, "end": { "line": 991, "column": 38 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 35560, "end": 35565, "loc": { "start": { "line": 992, "column": 12 }, "end": { "line": 992, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 35566, "end": 35574, "loc": { "start": { "line": 992, "column": 18 }, "end": { "line": 992, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 35575, "end": 35576, "loc": { "start": { "line": 992, "column": 27 }, "end": { "line": 992, "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": 35577, "end": 35581, "loc": { "start": { "line": 992, "column": 29 }, "end": { "line": 992, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35581, "end": 35582, "loc": { "start": { "line": 992, "column": 33 }, "end": { "line": 992, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 35582, "end": 35587, "loc": { "start": { "line": 992, "column": 34 }, "end": { "line": 992, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35587, "end": 35588, "loc": { "start": { "line": 992, "column": 39 }, "end": { "line": 992, "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": 35588, "end": 35592, "loc": { "start": { "line": 992, "column": 40 }, "end": { "line": 992, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35592, "end": 35593, "loc": { "start": { "line": 992, "column": 44 }, "end": { "line": 992, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 35593, "end": 35598, "loc": { "start": { "line": 992, "column": 45 }, "end": { "line": 992, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35598, "end": 35599, "loc": { "start": { "line": 992, "column": 50 }, "end": { "line": 992, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 35599, "end": 35605, "loc": { "start": { "line": 992, "column": 51 }, "end": { "line": 992, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 35606, "end": 35607, "loc": { "start": { "line": 992, "column": 58 }, "end": { "line": 992, "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": 35608, "end": 35609, "loc": { "start": { "line": 992, "column": 60 }, "end": { "line": 992, "column": 61 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35609, "end": 35610, "loc": { "start": { "line": 992, "column": 61 }, "end": { "line": 992, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35610, "end": 35611, "loc": { "start": { "line": 992, "column": 62 }, "end": { "line": 992, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 35625, "end": 35633, "loc": { "start": { "line": 993, "column": 12 }, "end": { "line": 993, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35633, "end": 35634, "loc": { "start": { "line": 993, "column": 20 }, "end": { "line": 993, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 35634, "end": 35647, "loc": { "start": { "line": 993, "column": 21 }, "end": { "line": 993, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35647, "end": 35648, "loc": { "start": { "line": 993, "column": 34 }, "end": { "line": 993, "column": 35 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 35649, "end": 35651, "loc": { "start": { "line": 993, "column": 36 }, "end": { "line": 993, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 35652, "end": 35661, "loc": { "start": { "line": 993, "column": 39 }, "end": { "line": 993, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35661, "end": 35662, "loc": { "start": { "line": 993, "column": 48 }, "end": { "line": 993, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 35662, "end": 35680, "loc": { "start": { "line": 993, "column": 49 }, "end": { "line": 993, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35680, "end": 35681, "loc": { "start": { "line": 993, "column": 67 }, "end": { "line": 993, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 35695, "end": 35700, "loc": { "start": { "line": 994, "column": 12 }, "end": { "line": 994, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 35701, "end": 35703, "loc": { "start": { "line": 994, "column": 18 }, "end": { "line": 994, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 35721, "end": 35727, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35727, "end": 35728, "loc": { "start": { "line": 995, "column": 22 }, "end": { "line": 995, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 35728, "end": 35731, "loc": { "start": { "line": 995, "column": 23 }, "end": { "line": 995, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35731, "end": 35732, "loc": { "start": { "line": 995, "column": 26 }, "end": { "line": 995, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Add distance to last item, effectively being", "start": 35732, "end": 35780, "loc": { "start": { "line": 995, "column": 27 }, "end": { "line": 995, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35780, "end": 35781, "loc": { "start": { "line": 995, "column": 75 }, "end": { "line": 995, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 35782, "end": 35790, "loc": { "start": { "line": 995, "column": 77 }, "end": { "line": 995, "column": 85 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35790, "end": 35791, "loc": { "start": { "line": 995, "column": 85 }, "end": { "line": 995, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 35791, "end": 35804, "loc": { "start": { "line": 995, "column": 86 }, "end": { "line": 995, "column": 99 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35804, "end": 35805, "loc": { "start": { "line": 995, "column": 99 }, "end": { "line": 995, "column": 100 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35805, "end": 35806, "loc": { "start": { "line": 995, "column": 100 }, "end": { "line": 995, "column": 101 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "now", "start": 35807, "end": 35812, "loc": { "start": { "line": 995, "column": 102 }, "end": { "line": 995, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35812, "end": 35813, "loc": { "start": { "line": 995, "column": 107 }, "end": { "line": 995, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35813, "end": 35814, "loc": { "start": { "line": 995, "column": 108 }, "end": { "line": 995, "column": 109 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35824, "end": 35825, "loc": { "start": { "line": 996, "column": 8 }, "end": { "line": 996, "column": 9 } } }, { "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": 35826, "end": 35830, "loc": { "start": { "line": 996, "column": 10 }, "end": { "line": 996, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35831, "end": 35832, "loc": { "start": { "line": 996, "column": 15 }, "end": { "line": 996, "column": 16 } } }, { "type": "CommentLine", "value": " Seems we have no items, update our first item distance", "start": 35846, "end": 35903, "loc": { "start": { "line": 997, "column": 12 }, "end": { "line": 997, "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": 35917, "end": 35921, "loc": { "start": { "line": 998, "column": 12 }, "end": { "line": 998, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35921, "end": 35922, "loc": { "start": { "line": 998, "column": 16 }, "end": { "line": 998, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 35922, "end": 35940, "loc": { "start": { "line": 998, "column": 17 }, "end": { "line": 998, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 35941, "end": 35942, "loc": { "start": { "line": 998, "column": 36 }, "end": { "line": 998, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldLength", "start": 35943, "end": 35952, "loc": { "start": { "line": 998, "column": 38 }, "end": { "line": 998, "column": 47 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 35953, "end": 35954, "loc": { "start": { "line": 998, "column": 48 }, "end": { "line": 998, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 35955, "end": 35964, "loc": { "start": { "line": 998, "column": 50 }, "end": { "line": 998, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35964, "end": 35965, "loc": { "start": { "line": 998, "column": 59 }, "end": { "line": 998, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 35965, "end": 35983, "loc": { "start": { "line": 998, "column": 60 }, "end": { "line": 998, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35983, "end": 35984, "loc": { "start": { "line": 998, "column": 78 }, "end": { "line": 998, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 35998, "end": 36003, "loc": { "start": { "line": 999, "column": 12 }, "end": { "line": 999, "column": 17 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 36004, "end": 36006, "loc": { "start": { "line": 999, "column": 18 }, "end": { "line": 999, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 36024, "end": 36030, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36030, "end": 36031, "loc": { "start": { "line": 1000, "column": 22 }, "end": { "line": 1000, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 36031, "end": 36034, "loc": { "start": { "line": 1000, "column": 23 }, "end": { "line": 1000, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36034, "end": 36035, "loc": { "start": { "line": 1000, "column": 26 }, "end": { "line": 1000, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " We had no items, so our new spacing to first is old length (", "start": 36057, "end": 36121, "loc": { "start": { "line": 1001, "column": 20 }, "end": { "line": 1001, "column": 84 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36121, "end": 36122, "loc": { "start": { "line": 1001, "column": 84 }, "end": { "line": 1001, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldLength", "start": 36144, "end": 36153, "loc": { "start": { "line": 1002, "column": 20 }, "end": { "line": 1002, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36153, "end": 36154, "loc": { "start": { "line": 1002, "column": 29 }, "end": { "line": 1002, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") plus others spacing to first (", "start": 36176, "end": 36210, "loc": { "start": { "line": 1003, "column": 20 }, "end": { "line": 1003, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36210, "end": 36211, "loc": { "start": { "line": 1003, "column": 54 }, "end": { "line": 1003, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 36233, "end": 36242, "loc": { "start": { "line": 1004, "column": 20 }, "end": { "line": 1004, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36242, "end": 36243, "loc": { "start": { "line": 1004, "column": 29 }, "end": { "line": 1004, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 36243, "end": 36261, "loc": { "start": { "line": 1004, "column": 30 }, "end": { "line": 1004, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36261, "end": 36262, "loc": { "start": { "line": 1004, "column": 48 }, "end": { "line": 1004, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ") =", "start": 36284, "end": 36289, "loc": { "start": { "line": 1005, "column": 20 }, "end": { "line": 1005, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36289, "end": 36290, "loc": { "start": { "line": 1005, "column": 25 }, "end": { "line": 1005, "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": 36312, "end": 36316, "loc": { "start": { "line": 1006, "column": 20 }, "end": { "line": 1006, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36316, "end": 36317, "loc": { "start": { "line": 1006, "column": 24 }, "end": { "line": 1006, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 36317, "end": 36335, "loc": { "start": { "line": 1006, "column": 25 }, "end": { "line": 1006, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36353, "end": 36354, "loc": { "start": { "line": 1007, "column": 16 }, "end": { "line": 1007, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36354, "end": 36355, "loc": { "start": { "line": 1007, "column": 17 }, "end": { "line": 1007, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36365, "end": 36366, "loc": { "start": { "line": 1008, "column": 8 }, "end": { "line": 1008, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DEBUG", "start": 36378, "end": 36383, "loc": { "start": { "line": 1010, "column": 8 }, "end": { "line": 1010, "column": 13 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 36384, "end": 36386, "loc": { "start": { "line": 1010, "column": 14 }, "end": { "line": 1010, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 36387, "end": 36393, "loc": { "start": { "line": 1010, "column": 17 }, "end": { "line": 1010, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36393, "end": 36394, "loc": { "start": { "line": 1010, "column": 23 }, "end": { "line": 1010, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 36394, "end": 36397, "loc": { "start": { "line": 1010, "column": 24 }, "end": { "line": 1010, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36397, "end": 36398, "loc": { "start": { "line": 1010, "column": 27 }, "end": { "line": 1010, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Pushing", "start": 36398, "end": 36409, "loc": { "start": { "line": 1010, "column": 28 }, "end": { "line": 1010, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36409, "end": 36410, "loc": { "start": { "line": 1010, "column": 39 }, "end": { "line": 1010, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 36411, "end": 36420, "loc": { "start": { "line": 1010, "column": 41 }, "end": { "line": 1010, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36420, "end": 36421, "loc": { "start": { "line": 1010, "column": 50 }, "end": { "line": 1010, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 36421, "end": 36426, "loc": { "start": { "line": 1010, "column": 51 }, "end": { "line": 1010, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36426, "end": 36427, "loc": { "start": { "line": 1010, "column": 56 }, "end": { "line": 1010, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 36427, "end": 36433, "loc": { "start": { "line": 1010, "column": 57 }, "end": { "line": 1010, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36433, "end": 36434, "loc": { "start": { "line": 1010, "column": 63 }, "end": { "line": 1010, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "items from other path", "start": 36435, "end": 36458, "loc": { "start": { "line": 1010, "column": 65 }, "end": { "line": 1010, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36458, "end": 36459, "loc": { "start": { "line": 1010, "column": 88 }, "end": { "line": 1010, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36459, "end": 36460, "loc": { "start": { "line": 1010, "column": 89 }, "end": { "line": 1010, "column": 90 } } }, { "type": "CommentLine", "value": " Aaand push the other paths items", "start": 36472, "end": 36507, "loc": { "start": { "line": 1012, "column": 8 }, "end": { "line": 1012, "column": 43 } } }, { "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": 36517, "end": 36520, "loc": { "start": { "line": 1013, "column": 8 }, "end": { "line": 1013, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36521, "end": 36522, "loc": { "start": { "line": 1013, "column": 12 }, "end": { "line": 1013, "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": 36522, "end": 36525, "loc": { "start": { "line": 1013, "column": 13 }, "end": { "line": 1013, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 36526, "end": 36527, "loc": { "start": { "line": 1013, "column": 17 }, "end": { "line": 1013, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 36528, "end": 36529, "loc": { "start": { "line": 1013, "column": 19 }, "end": { "line": 1013, "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": 36530, "end": 36531, "loc": { "start": { "line": 1013, "column": 21 }, "end": { "line": 1013, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36531, "end": 36532, "loc": { "start": { "line": 1013, "column": 22 }, "end": { "line": 1013, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 36533, "end": 36534, "loc": { "start": { "line": 1013, "column": 24 }, "end": { "line": 1013, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 36535, "end": 36536, "loc": { "start": { "line": 1013, "column": 26 }, "end": { "line": 1013, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 36537, "end": 36546, "loc": { "start": { "line": 1013, "column": 28 }, "end": { "line": 1013, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36546, "end": 36547, "loc": { "start": { "line": 1013, "column": 37 }, "end": { "line": 1013, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 36547, "end": 36552, "loc": { "start": { "line": 1013, "column": 38 }, "end": { "line": 1013, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36552, "end": 36553, "loc": { "start": { "line": 1013, "column": 43 }, "end": { "line": 1013, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 36553, "end": 36559, "loc": { "start": { "line": 1013, "column": 44 }, "end": { "line": 1013, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36559, "end": 36560, "loc": { "start": { "line": 1013, "column": 50 }, "end": { "line": 1013, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 36561, "end": 36563, "loc": { "start": { "line": 1013, "column": 52 }, "end": { "line": 1013, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 36563, "end": 36564, "loc": { "start": { "line": 1013, "column": 54 }, "end": { "line": 1013, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36564, "end": 36565, "loc": { "start": { "line": 1013, "column": 55 }, "end": { "line": 1013, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36566, "end": 36567, "loc": { "start": { "line": 1013, "column": 57 }, "end": { "line": 1013, "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": 36581, "end": 36586, "loc": { "start": { "line": 1014, "column": 12 }, "end": { "line": 1014, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 36587, "end": 36591, "loc": { "start": { "line": 1014, "column": 18 }, "end": { "line": 1014, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 36592, "end": 36593, "loc": { "start": { "line": 1014, "column": 23 }, "end": { "line": 1014, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "otherPath", "start": 36594, "end": 36603, "loc": { "start": { "line": 1014, "column": 25 }, "end": { "line": 1014, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36603, "end": 36604, "loc": { "start": { "line": 1014, "column": 34 }, "end": { "line": 1014, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 36604, "end": 36609, "loc": { "start": { "line": 1014, "column": 35 }, "end": { "line": 1014, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36609, "end": 36610, "loc": { "start": { "line": 1014, "column": 40 }, "end": { "line": 1014, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 36610, "end": 36611, "loc": { "start": { "line": 1014, "column": 41 }, "end": { "line": 1014, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36611, "end": 36612, "loc": { "start": { "line": 1014, "column": 42 }, "end": { "line": 1014, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36612, "end": 36613, "loc": { "start": { "line": 1014, "column": 43 }, "end": { "line": 1014, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 36627, "end": 36631, "loc": { "start": { "line": 1015, "column": 12 }, "end": { "line": 1015, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36631, "end": 36632, "loc": { "start": { "line": 1015, "column": 16 }, "end": { "line": 1015, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 36632, "end": 36637, "loc": { "start": { "line": 1015, "column": 17 }, "end": { "line": 1015, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36637, "end": 36638, "loc": { "start": { "line": 1015, "column": 22 }, "end": { "line": 1015, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 36638, "end": 36642, "loc": { "start": { "line": 1015, "column": 23 }, "end": { "line": 1015, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36642, "end": 36643, "loc": { "start": { "line": 1015, "column": 27 }, "end": { "line": 1015, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36643, "end": 36644, "loc": { "start": { "line": 1015, "column": 28 }, "end": { "line": 1015, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 36644, "end": 36648, "loc": { "start": { "line": 1015, "column": 29 }, "end": { "line": 1015, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36648, "end": 36649, "loc": { "start": { "line": 1015, "column": 33 }, "end": { "line": 1015, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 36649, "end": 36662, "loc": { "start": { "line": 1015, "column": 34 }, "end": { "line": 1015, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36662, "end": 36663, "loc": { "start": { "line": 1015, "column": 47 }, "end": { "line": 1015, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36663, "end": 36664, "loc": { "start": { "line": 1015, "column": 48 }, "end": { "line": 1015, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 36665, "end": 36669, "loc": { "start": { "line": 1015, "column": 50 }, "end": { "line": 1015, "column": 54 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36669, "end": 36670, "loc": { "start": { "line": 1015, "column": 54 }, "end": { "line": 1015, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 36670, "end": 36675, "loc": { "start": { "line": 1015, "column": 55 }, "end": { "line": 1015, "column": 60 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36675, "end": 36676, "loc": { "start": { "line": 1015, "column": 60 }, "end": { "line": 1015, "column": 61 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36676, "end": 36677, "loc": { "start": { "line": 1015, "column": 61 }, "end": { "line": 1015, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36677, "end": 36678, "loc": { "start": { "line": 1015, "column": 62 }, "end": { "line": 1015, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36678, "end": 36679, "loc": { "start": { "line": 1015, "column": 63 }, "end": { "line": 1015, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36689, "end": 36690, "loc": { "start": { "line": 1016, "column": 8 }, "end": { "line": 1016, "column": 9 } } }, { "type": "CommentLine", "value": " Update bounds", "start": 36702, "end": 36718, "loc": { "start": { "line": 1018, "column": 8 }, "end": { "line": 1018, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 36728, "end": 36732, "loc": { "start": { "line": 1019, "column": 8 }, "end": { "line": 1019, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36732, "end": 36733, "loc": { "start": { "line": 1019, "column": 12 }, "end": { "line": 1019, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 36733, "end": 36744, "loc": { "start": { "line": 1019, "column": 13 }, "end": { "line": 1019, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 36745, "end": 36746, "loc": { "start": { "line": 1019, "column": 25 }, "end": { "line": 1019, "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": 36747, "end": 36751, "loc": { "start": { "line": 1019, "column": 27 }, "end": { "line": 1019, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36751, "end": 36752, "loc": { "start": { "line": 1019, "column": 31 }, "end": { "line": 1019, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeBounds", "start": 36752, "end": 36765, "loc": { "start": { "line": 1019, "column": 32 }, "end": { "line": 1019, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36765, "end": 36766, "loc": { "start": { "line": 1019, "column": 45 }, "end": { "line": 1019, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36766, "end": 36767, "loc": { "start": { "line": 1019, "column": 46 }, "end": { "line": 1019, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36767, "end": 36768, "loc": { "start": { "line": 1019, "column": 47 }, "end": { "line": 1019, "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": 36780, "end": 36784, "loc": { "start": { "line": 1021, "column": 8 }, "end": { "line": 1021, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36784, "end": 36785, "loc": { "start": { "line": 1021, "column": 12 }, "end": { "line": 1021, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPathChanged", "start": 36785, "end": 36798, "loc": { "start": { "line": 1021, "column": 13 }, "end": { "line": 1021, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36798, "end": 36799, "loc": { "start": { "line": 1021, "column": 26 }, "end": { "line": 1021, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36799, "end": 36800, "loc": { "start": { "line": 1021, "column": 27 }, "end": { "line": 1021, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36800, "end": 36801, "loc": { "start": { "line": 1021, "column": 28 }, "end": { "line": 1021, "column": 29 } } }, { "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": 36813, "end": 36815, "loc": { "start": { "line": 1023, "column": 8 }, "end": { "line": 1023, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36816, "end": 36817, "loc": { "start": { "line": 1023, "column": 11 }, "end": { "line": 1023, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 36817, "end": 36825, "loc": { "start": { "line": 1023, "column": 12 }, "end": { "line": 1023, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 36826, "end": 36828, "loc": { "start": { "line": 1023, "column": 21 }, "end": { "line": 1023, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 36829, "end": 36841, "loc": { "start": { "line": 1023, "column": 24 }, "end": { "line": 1023, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36841, "end": 36842, "loc": { "start": { "line": 1023, "column": 36 }, "end": { "line": 1023, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 36842, "end": 36847, "loc": { "start": { "line": 1023, "column": 37 }, "end": { "line": 1023, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36847, "end": 36848, "loc": { "start": { "line": 1023, "column": 42 }, "end": { "line": 1023, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 36848, "end": 36862, "loc": { "start": { "line": 1023, "column": 43 }, "end": { "line": 1023, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36862, "end": 36863, "loc": { "start": { "line": 1023, "column": 57 }, "end": { "line": 1023, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36864, "end": 36865, "loc": { "start": { "line": 1023, "column": 59 }, "end": { "line": 1023, "column": 60 } } }, { "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": 36879, "end": 36883, "loc": { "start": { "line": 1024, "column": 12 }, "end": { "line": 1024, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36883, "end": 36884, "loc": { "start": { "line": 1024, "column": 16 }, "end": { "line": 1024, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 36884, "end": 36904, "loc": { "start": { "line": 1024, "column": 17 }, "end": { "line": 1024, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36904, "end": 36905, "loc": { "start": { "line": 1024, "column": 37 }, "end": { "line": 1024, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extend-by-path", "start": 36905, "end": 36921, "loc": { "start": { "line": 1024, "column": 38 }, "end": { "line": 1024, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36921, "end": 36922, "loc": { "start": { "line": 1024, "column": 54 }, "end": { "line": 1024, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36922, "end": 36923, "loc": { "start": { "line": 1024, "column": 55 }, "end": { "line": 1024, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36933, "end": 36934, "loc": { "start": { "line": 1025, "column": 8 }, "end": { "line": 1025, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36940, "end": 36941, "loc": { "start": { "line": 1026, "column": 4 }, "end": { "line": 1026, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Computes the total length of the path\r\n * @returns {number}\r\n ", "start": 36949, "end": 37033, "loc": { "start": { "line": 1028, "column": 4 }, "end": { "line": 1031, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computeTotalLength", "start": 37039, "end": 37057, "loc": { "start": { "line": 1032, "column": 4 }, "end": { "line": 1032, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37057, "end": 37058, "loc": { "start": { "line": 1032, "column": 22 }, "end": { "line": 1032, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37058, "end": 37059, "loc": { "start": { "line": 1032, "column": 23 }, "end": { "line": 1032, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37060, "end": 37061, "loc": { "start": { "line": 1032, "column": 25 }, "end": { "line": 1032, "column": 26 } } }, { "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": 37071, "end": 37074, "loc": { "start": { "line": 1033, "column": 8 }, "end": { "line": 1033, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 37075, "end": 37081, "loc": { "start": { "line": 1033, "column": 12 }, "end": { "line": 1033, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 37082, "end": 37083, "loc": { "start": { "line": 1033, "column": 19 }, "end": { "line": 1033, "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": 37084, "end": 37085, "loc": { "start": { "line": 1033, "column": 21 }, "end": { "line": 1033, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37085, "end": 37086, "loc": { "start": { "line": 1033, "column": 22 }, "end": { "line": 1033, "column": 23 } } }, { "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": 37096, "end": 37099, "loc": { "start": { "line": 1034, "column": 8 }, "end": { "line": 1034, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37100, "end": 37101, "loc": { "start": { "line": 1034, "column": 12 }, "end": { "line": 1034, "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": 37101, "end": 37104, "loc": { "start": { "line": 1034, "column": 13 }, "end": { "line": 1034, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 37105, "end": 37106, "loc": { "start": { "line": 1034, "column": 17 }, "end": { "line": 1034, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 37107, "end": 37108, "loc": { "start": { "line": 1034, "column": 19 }, "end": { "line": 1034, "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": 37109, "end": 37110, "loc": { "start": { "line": 1034, "column": 21 }, "end": { "line": 1034, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37110, "end": 37111, "loc": { "start": { "line": 1034, "column": 22 }, "end": { "line": 1034, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 37112, "end": 37113, "loc": { "start": { "line": 1034, "column": 24 }, "end": { "line": 1034, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 37114, "end": 37115, "loc": { "start": { "line": 1034, "column": 26 }, "end": { "line": 1034, "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": 37116, "end": 37120, "loc": { "start": { "line": 1034, "column": 28 }, "end": { "line": 1034, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37120, "end": 37121, "loc": { "start": { "line": 1034, "column": 32 }, "end": { "line": 1034, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 37121, "end": 37131, "loc": { "start": { "line": 1034, "column": 33 }, "end": { "line": 1034, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37131, "end": 37132, "loc": { "start": { "line": 1034, "column": 43 }, "end": { "line": 1034, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 37132, "end": 37138, "loc": { "start": { "line": 1034, "column": 44 }, "end": { "line": 1034, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37138, "end": 37139, "loc": { "start": { "line": 1034, "column": 50 }, "end": { "line": 1034, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 37140, "end": 37142, "loc": { "start": { "line": 1034, "column": 52 }, "end": { "line": 1034, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 37142, "end": 37143, "loc": { "start": { "line": 1034, "column": 54 }, "end": { "line": 1034, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37143, "end": 37144, "loc": { "start": { "line": 1034, "column": 55 }, "end": { "line": 1034, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37145, "end": 37146, "loc": { "start": { "line": 1034, "column": 57 }, "end": { "line": 1034, "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": 37160, "end": 37165, "loc": { "start": { "line": 1035, "column": 12 }, "end": { "line": 1035, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 37166, "end": 37172, "loc": { "start": { "line": 1035, "column": 18 }, "end": { "line": 1035, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 37173, "end": 37174, "loc": { "start": { "line": 1035, "column": 25 }, "end": { "line": 1035, "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": 37175, "end": 37179, "loc": { "start": { "line": 1035, "column": 27 }, "end": { "line": 1035, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37179, "end": 37180, "loc": { "start": { "line": 1035, "column": 31 }, "end": { "line": 1035, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 37180, "end": 37190, "loc": { "start": { "line": 1035, "column": 32 }, "end": { "line": 1035, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37190, "end": 37191, "loc": { "start": { "line": 1035, "column": 42 }, "end": { "line": 1035, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 37191, "end": 37192, "loc": { "start": { "line": 1035, "column": 43 }, "end": { "line": 1035, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37192, "end": 37193, "loc": { "start": { "line": 1035, "column": 44 }, "end": { "line": 1035, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37193, "end": 37194, "loc": { "start": { "line": 1035, "column": 45 }, "end": { "line": 1035, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 37208, "end": 37214, "loc": { "start": { "line": 1036, "column": 12 }, "end": { "line": 1036, "column": 18 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 37215, "end": 37217, "loc": { "start": { "line": 1036, "column": 19 }, "end": { "line": 1036, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 37218, "end": 37224, "loc": { "start": { "line": 1036, "column": 22 }, "end": { "line": 1036, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37224, "end": 37225, "loc": { "start": { "line": 1036, "column": 28 }, "end": { "line": 1036, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 37225, "end": 37235, "loc": { "start": { "line": 1036, "column": 29 }, "end": { "line": 1036, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37235, "end": 37236, "loc": { "start": { "line": 1036, "column": 39 }, "end": { "line": 1036, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 37236, "end": 37240, "loc": { "start": { "line": 1036, "column": 40 }, "end": { "line": 1036, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37240, "end": 37241, "loc": { "start": { "line": 1036, "column": 44 }, "end": { "line": 1036, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 37241, "end": 37264, "loc": { "start": { "line": 1036, "column": 45 }, "end": { "line": 1036, "column": 68 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37264, "end": 37265, "loc": { "start": { "line": 1036, "column": 68 }, "end": { "line": 1036, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37265, "end": 37266, "loc": { "start": { "line": 1036, "column": 69 }, "end": { "line": 1036, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37266, "end": 37267, "loc": { "start": { "line": 1036, "column": 70 }, "end": { "line": 1036, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37277, "end": 37278, "loc": { "start": { "line": 1037, "column": 8 }, "end": { "line": 1037, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 37288, "end": 37294, "loc": { "start": { "line": 1038, "column": 8 }, "end": { "line": 1038, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 37295, "end": 37301, "loc": { "start": { "line": 1038, "column": 15 }, "end": { "line": 1038, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37301, "end": 37302, "loc": { "start": { "line": 1038, "column": 21 }, "end": { "line": 1038, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37308, "end": 37309, "loc": { "start": { "line": 1039, "column": 4 }, "end": { "line": 1039, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Performs one tick\r\n ", "start": 37317, "end": 37355, "loc": { "start": { "line": 1041, "column": 4 }, "end": { "line": 1043, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 37361, "end": 37367, "loc": { "start": { "line": 1044, "column": 4 }, "end": { "line": 1044, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37367, "end": 37368, "loc": { "start": { "line": 1044, "column": 10 }, "end": { "line": 1044, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37368, "end": 37369, "loc": { "start": { "line": 1044, "column": 11 }, "end": { "line": 1044, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37370, "end": 37371, "loc": { "start": { "line": 1044, "column": 13 }, "end": { "line": 1044, "column": 14 } } }, { "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": 37381, "end": 37383, "loc": { "start": { "line": 1045, "column": 8 }, "end": { "line": 1045, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37384, "end": 37385, "loc": { "start": { "line": 1045, "column": 11 }, "end": { "line": 1045, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 37385, "end": 37393, "loc": { "start": { "line": 1045, "column": 12 }, "end": { "line": 1045, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 37394, "end": 37396, "loc": { "start": { "line": 1045, "column": 21 }, "end": { "line": 1045, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 37397, "end": 37409, "loc": { "start": { "line": 1045, "column": 24 }, "end": { "line": 1045, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37409, "end": 37410, "loc": { "start": { "line": 1045, "column": 36 }, "end": { "line": 1045, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 37410, "end": 37415, "loc": { "start": { "line": 1045, "column": 37 }, "end": { "line": 1045, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37415, "end": 37416, "loc": { "start": { "line": 1045, "column": 42 }, "end": { "line": 1045, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 37416, "end": 37430, "loc": { "start": { "line": 1045, "column": 43 }, "end": { "line": 1045, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37430, "end": 37431, "loc": { "start": { "line": 1045, "column": 57 }, "end": { "line": 1045, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37432, "end": 37433, "loc": { "start": { "line": 1045, "column": 59 }, "end": { "line": 1045, "column": 60 } } }, { "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": 37447, "end": 37451, "loc": { "start": { "line": 1046, "column": 12 }, "end": { "line": 1046, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37451, "end": 37452, "loc": { "start": { "line": 1046, "column": 16 }, "end": { "line": 1046, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 37452, "end": 37472, "loc": { "start": { "line": 1046, "column": 17 }, "end": { "line": 1046, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37472, "end": 37473, "loc": { "start": { "line": 1046, "column": 37 }, "end": { "line": 1046, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "pre-update", "start": 37473, "end": 37485, "loc": { "start": { "line": 1046, "column": 38 }, "end": { "line": 1046, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37485, "end": 37486, "loc": { "start": { "line": 1046, "column": 50 }, "end": { "line": 1046, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37486, "end": 37487, "loc": { "start": { "line": 1046, "column": 51 }, "end": { "line": 1046, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37497, "end": 37498, "loc": { "start": { "line": 1047, "column": 8 }, "end": { "line": 1047, "column": 9 } } }, { "type": "CommentLine", "value": " Divide by item spacing on belts since we use throughput and not speed", "start": 37510, "end": 37582, "loc": { "start": { "line": 1049, "column": 8 }, "end": { "line": 1049, "column": 80 } } }, { "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": 37592, "end": 37595, "loc": { "start": { "line": 1050, "column": 8 }, "end": { "line": 1050, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltSpeed", "start": 37596, "end": 37605, "loc": { "start": { "line": 1050, "column": 12 }, "end": { "line": 1050, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 37606, "end": 37607, "loc": { "start": { "line": 1050, "column": 22 }, "end": { "line": 1050, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 37621, "end": 37625, "loc": { "start": { "line": 1051, "column": 12 }, "end": { "line": 1051, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37625, "end": 37626, "loc": { "start": { "line": 1051, "column": 16 }, "end": { "line": 1051, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 37626, "end": 37630, "loc": { "start": { "line": 1051, "column": 17 }, "end": { "line": 1051, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37630, "end": 37631, "loc": { "start": { "line": 1051, "column": 21 }, "end": { "line": 1051, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 37631, "end": 37639, "loc": { "start": { "line": 1051, "column": 22 }, "end": { "line": 1051, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37639, "end": 37640, "loc": { "start": { "line": 1051, "column": 30 }, "end": { "line": 1051, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBeltBaseSpeed", "start": 37640, "end": 37656, "loc": { "start": { "line": 1051, "column": 31 }, "end": { "line": 1051, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37656, "end": 37657, "loc": { "start": { "line": 1051, "column": 47 }, "end": { "line": 1051, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37657, "end": 37658, "loc": { "start": { "line": 1051, "column": 48 }, "end": { "line": 1051, "column": 49 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 37659, "end": 37660, "loc": { "start": { "line": 1051, "column": 50 }, "end": { "line": 1051, "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": 37674, "end": 37678, "loc": { "start": { "line": 1052, "column": 12 }, "end": { "line": 1052, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37678, "end": 37679, "loc": { "start": { "line": 1052, "column": 16 }, "end": { "line": 1052, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 37679, "end": 37683, "loc": { "start": { "line": 1052, "column": 17 }, "end": { "line": 1052, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37683, "end": 37684, "loc": { "start": { "line": 1052, "column": 21 }, "end": { "line": 1052, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dynamicTickrate", "start": 37684, "end": 37699, "loc": { "start": { "line": 1052, "column": 22 }, "end": { "line": 1052, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37699, "end": 37700, "loc": { "start": { "line": 1052, "column": 37 }, "end": { "line": 1052, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deltaSeconds", "start": 37700, "end": 37712, "loc": { "start": { "line": 1052, "column": 38 }, "end": { "line": 1052, "column": 50 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 37713, "end": 37714, "loc": { "start": { "line": 1052, "column": 51 }, "end": { "line": 1052, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 37728, "end": 37740, "loc": { "start": { "line": 1053, "column": 12 }, "end": { "line": 1053, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37740, "end": 37741, "loc": { "start": { "line": 1053, "column": 24 }, "end": { "line": 1053, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 37741, "end": 37759, "loc": { "start": { "line": 1053, "column": 25 }, "end": { "line": 1053, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37759, "end": 37760, "loc": { "start": { "line": 1053, "column": 43 }, "end": { "line": 1053, "column": 44 } } }, { "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": 37772, "end": 37774, "loc": { "start": { "line": 1055, "column": 8 }, "end": { "line": 1055, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37775, "end": 37776, "loc": { "start": { "line": 1055, "column": 11 }, "end": { "line": 1055, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 37776, "end": 37784, "loc": { "start": { "line": 1055, "column": 12 }, "end": { "line": 1055, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 37785, "end": 37787, "loc": { "start": { "line": 1055, "column": 21 }, "end": { "line": 1055, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 37788, "end": 37800, "loc": { "start": { "line": 1055, "column": 24 }, "end": { "line": 1055, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37800, "end": 37801, "loc": { "start": { "line": 1055, "column": 36 }, "end": { "line": 1055, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 37801, "end": 37806, "loc": { "start": { "line": 1055, "column": 37 }, "end": { "line": 1055, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37806, "end": 37807, "loc": { "start": { "line": 1055, "column": 42 }, "end": { "line": 1055, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instantBelts", "start": 37807, "end": 37819, "loc": { "start": { "line": 1055, "column": 43 }, "end": { "line": 1055, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37819, "end": 37820, "loc": { "start": { "line": 1055, "column": 55 }, "end": { "line": 1055, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37821, "end": 37822, "loc": { "start": { "line": 1055, "column": 57 }, "end": { "line": 1055, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltSpeed", "start": 37836, "end": 37845, "loc": { "start": { "line": 1056, "column": 12 }, "end": { "line": 1056, "column": 21 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*=", "start": 37846, "end": 37848, "loc": { "start": { "line": 1056, "column": 22 }, "end": { "line": 1056, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 37849, "end": 37852, "loc": { "start": { "line": 1056, "column": 25 }, "end": { "line": 1056, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 37852, "end": 37853, "loc": { "start": { "line": 1056, "column": 28 }, "end": { "line": 1056, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 37863, "end": 37864, "loc": { "start": { "line": 1057, "column": 8 }, "end": { "line": 1057, "column": 9 } } }, { "type": "CommentLine", "value": " Store whether this is the first item we processed, so premature", "start": 37876, "end": 37942, "loc": { "start": { "line": 1059, "column": 8 }, "end": { "line": 1059, "column": 74 } } }, { "type": "CommentLine", "value": " item ejection is available", "start": 37952, "end": 37981, "loc": { "start": { "line": 1060, "column": 8 }, "end": { "line": 1060, "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": 37991, "end": 37994, "loc": { "start": { "line": 1061, "column": 8 }, "end": { "line": 1061, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFirstItemProcessed", "start": 37995, "end": 38015, "loc": { "start": { "line": 1061, "column": 12 }, "end": { "line": 1061, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 38016, "end": 38017, "loc": { "start": { "line": 1061, "column": 33 }, "end": { "line": 1061, "column": 34 } } }, { "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": 38018, "end": 38022, "loc": { "start": { "line": 1061, "column": 35 }, "end": { "line": 1061, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38022, "end": 38023, "loc": { "start": { "line": 1061, "column": 39 }, "end": { "line": 1061, "column": 40 } } }, { "type": "CommentLine", "value": " Store how much velocity (strictly its distance, not velocity) we have to distribute over all items", "start": 38035, "end": 38136, "loc": { "start": { "line": 1063, "column": 8 }, "end": { "line": 1063, "column": 109 } } }, { "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": 38146, "end": 38149, "loc": { "start": { "line": 1064, "column": 8 }, "end": { "line": 1064, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingVelocity", "start": 38150, "end": 38167, "loc": { "start": { "line": 1064, "column": 12 }, "end": { "line": 1064, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 38168, "end": 38169, "loc": { "start": { "line": 1064, "column": 30 }, "end": { "line": 1064, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltSpeed", "start": 38170, "end": 38179, "loc": { "start": { "line": 1064, "column": 32 }, "end": { "line": 1064, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38179, "end": 38180, "loc": { "start": { "line": 1064, "column": 41 }, "end": { "line": 1064, "column": 42 } } }, { "type": "CommentLine", "value": " Store the last item we processed, so we can skip clashed ones", "start": 38192, "end": 38256, "loc": { "start": { "line": 1066, "column": 8 }, "end": { "line": 1066, "column": 72 } } }, { "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": 38266, "end": 38269, "loc": { "start": { "line": 1067, "column": 8 }, "end": { "line": 1067, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 38270, "end": 38287, "loc": { "start": { "line": 1067, "column": 12 }, "end": { "line": 1067, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38287, "end": 38288, "loc": { "start": { "line": 1067, "column": 29 }, "end": { "line": 1067, "column": 30 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 38300, "end": 38303, "loc": { "start": { "line": 1069, "column": 8 }, "end": { "line": 1069, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38304, "end": 38305, "loc": { "start": { "line": 1069, "column": 12 }, "end": { "line": 1069, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 38305, "end": 38322, "loc": { "start": { "line": 1069, "column": 13 }, "end": { "line": 1069, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 38323, "end": 38324, "loc": { "start": { "line": 1069, "column": 31 }, "end": { "line": 1069, "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": 38325, "end": 38329, "loc": { "start": { "line": 1069, "column": 33 }, "end": { "line": 1069, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38329, "end": 38330, "loc": { "start": { "line": 1069, "column": 37 }, "end": { "line": 1069, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 38330, "end": 38335, "loc": { "start": { "line": 1069, "column": 38 }, "end": { "line": 1069, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38335, "end": 38336, "loc": { "start": { "line": 1069, "column": 43 }, "end": { "line": 1069, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 38336, "end": 38342, "loc": { "start": { "line": 1069, "column": 44 }, "end": { "line": 1069, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 38343, "end": 38344, "loc": { "start": { "line": 1069, "column": 51 }, "end": { "line": 1069, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 38345, "end": 38346, "loc": { "start": { "line": 1069, "column": 53 }, "end": { "line": 1069, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38346, "end": 38347, "loc": { "start": { "line": 1069, "column": 54 }, "end": { "line": 1069, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 38348, "end": 38365, "loc": { "start": { "line": 1069, "column": 56 }, "end": { "line": 1069, "column": 73 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 38366, "end": 38368, "loc": { "start": { "line": 1069, "column": 74 }, "end": { "line": 1069, "column": 76 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 38369, "end": 38370, "loc": { "start": { "line": 1069, "column": 77 }, "end": { "line": 1069, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38370, "end": 38371, "loc": { "start": { "line": 1069, "column": 78 }, "end": { "line": 1069, "column": 79 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 38372, "end": 38374, "loc": { "start": { "line": 1069, "column": 80 }, "end": { "line": 1069, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 38374, "end": 38391, "loc": { "start": { "line": 1069, "column": 82 }, "end": { "line": 1069, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38391, "end": 38392, "loc": { "start": { "line": 1069, "column": 99 }, "end": { "line": 1069, "column": 100 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38393, "end": 38394, "loc": { "start": { "line": 1069, "column": 101 }, "end": { "line": 1069, "column": 102 } } }, { "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": 38408, "end": 38413, "loc": { "start": { "line": 1070, "column": 12 }, "end": { "line": 1070, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 38414, "end": 38433, "loc": { "start": { "line": 1070, "column": 18 }, "end": { "line": 1070, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 38434, "end": 38435, "loc": { "start": { "line": 1070, "column": 38 }, "end": { "line": 1070, "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": 38436, "end": 38440, "loc": { "start": { "line": 1070, "column": 40 }, "end": { "line": 1070, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38440, "end": 38441, "loc": { "start": { "line": 1070, "column": 44 }, "end": { "line": 1070, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 38441, "end": 38446, "loc": { "start": { "line": 1070, "column": 45 }, "end": { "line": 1070, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38446, "end": 38447, "loc": { "start": { "line": 1070, "column": 50 }, "end": { "line": 1070, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 38447, "end": 38464, "loc": { "start": { "line": 1070, "column": 51 }, "end": { "line": 1070, "column": 68 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38464, "end": 38465, "loc": { "start": { "line": 1070, "column": 68 }, "end": { "line": 1070, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38465, "end": 38466, "loc": { "start": { "line": 1070, "column": 69 }, "end": { "line": 1070, "column": 70 } } }, { "type": "CommentLine", "value": " Compute how much spacing we need at least", "start": 38482, "end": 38526, "loc": { "start": { "line": 1072, "column": 12 }, "end": { "line": 1072, "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": 38540, "end": 38545, "loc": { "start": { "line": 1073, "column": 12 }, "end": { "line": 1073, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumSpacing", "start": 38546, "end": 38560, "loc": { "start": { "line": 1073, "column": 18 }, "end": { "line": 1073, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 38561, "end": 38562, "loc": { "start": { "line": 1073, "column": 33 }, "end": { "line": 1073, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 38580, "end": 38597, "loc": { "start": { "line": 1074, "column": 16 }, "end": { "line": 1074, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 38598, "end": 38601, "loc": { "start": { "line": 1074, "column": 34 }, "end": { "line": 1074, "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": 38602, "end": 38606, "loc": { "start": { "line": 1074, "column": 38 }, "end": { "line": 1074, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38606, "end": 38607, "loc": { "start": { "line": 1074, "column": 42 }, "end": { "line": 1074, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 38607, "end": 38612, "loc": { "start": { "line": 1074, "column": 43 }, "end": { "line": 1074, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38612, "end": 38613, "loc": { "start": { "line": 1074, "column": 48 }, "end": { "line": 1074, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 38613, "end": 38619, "loc": { "start": { "line": 1074, "column": 49 }, "end": { "line": 1074, "column": 55 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 38620, "end": 38621, "loc": { "start": { "line": 1074, "column": 56 }, "end": { "line": 1074, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 38622, "end": 38623, "loc": { "start": { "line": 1074, "column": 58 }, "end": { "line": 1074, "column": 59 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38624, "end": 38625, "loc": { "start": { "line": 1074, "column": 60 }, "end": { "line": 1074, "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": 38626, "end": 38627, "loc": { "start": { "line": 1074, "column": 62 }, "end": { "line": 1074, "column": 63 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38628, "end": 38629, "loc": { "start": { "line": 1074, "column": 64 }, "end": { "line": 1074, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 38630, "end": 38642, "loc": { "start": { "line": 1074, "column": 66 }, "end": { "line": 1074, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38642, "end": 38643, "loc": { "start": { "line": 1074, "column": 78 }, "end": { "line": 1074, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSpacingOnBelts", "start": 38643, "end": 38661, "loc": { "start": { "line": 1074, "column": 79 }, "end": { "line": 1074, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38661, "end": 38662, "loc": { "start": { "line": 1074, "column": 97 }, "end": { "line": 1074, "column": 98 } } }, { "type": "CommentLine", "value": " Compute how much we can advance", "start": 38678, "end": 38712, "loc": { "start": { "line": 1076, "column": 12 }, "end": { "line": 1076, "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": 38726, "end": 38731, "loc": { "start": { "line": 1077, "column": 12 }, "end": { "line": 1077, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedProgress", "start": 38732, "end": 38747, "loc": { "start": { "line": 1077, "column": 18 }, "end": { "line": 1077, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 38748, "end": 38749, "loc": { "start": { "line": 1077, "column": 34 }, "end": { "line": 1077, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 38750, "end": 38754, "loc": { "start": { "line": 1077, "column": 36 }, "end": { "line": 1077, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38754, "end": 38755, "loc": { "start": { "line": 1077, "column": 40 }, "end": { "line": 1077, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 38755, "end": 38758, "loc": { "start": { "line": 1077, "column": 41 }, "end": { "line": 1077, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38758, "end": 38759, "loc": { "start": { "line": 1077, "column": 44 }, "end": { "line": 1077, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 38777, "end": 38778, "loc": { "start": { "line": 1078, "column": 16 }, "end": { "line": 1078, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38778, "end": 38779, "loc": { "start": { "line": 1078, "column": 17 }, "end": { "line": 1078, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 38797, "end": 38801, "loc": { "start": { "line": 1079, "column": 16 }, "end": { "line": 1079, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38801, "end": 38802, "loc": { "start": { "line": 1079, "column": 20 }, "end": { "line": 1079, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 38802, "end": 38805, "loc": { "start": { "line": 1079, "column": 21 }, "end": { "line": 1079, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38805, "end": 38806, "loc": { "start": { "line": 1079, "column": 24 }, "end": { "line": 1079, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingVelocity", "start": 38806, "end": 38823, "loc": { "start": { "line": 1079, "column": 25 }, "end": { "line": 1079, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38823, "end": 38824, "loc": { "start": { "line": 1079, "column": 42 }, "end": { "line": 1079, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 38825, "end": 38844, "loc": { "start": { "line": 1079, "column": 44 }, "end": { "line": 1079, "column": 63 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38844, "end": 38845, "loc": { "start": { "line": 1079, "column": 63 }, "end": { "line": 1079, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 38845, "end": 38858, "loc": { "start": { "line": 1079, "column": 64 }, "end": { "line": 1079, "column": 77 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38858, "end": 38859, "loc": { "start": { "line": 1079, "column": 77 }, "end": { "line": 1079, "column": 78 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 38860, "end": 38861, "loc": { "start": { "line": 1079, "column": 79 }, "end": { "line": 1079, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumSpacing", "start": 38862, "end": 38876, "loc": { "start": { "line": 1079, "column": 81 }, "end": { "line": 1079, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38876, "end": 38877, "loc": { "start": { "line": 1079, "column": 95 }, "end": { "line": 1079, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 38891, "end": 38892, "loc": { "start": { "line": 1080, "column": 12 }, "end": { "line": 1080, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38892, "end": 38893, "loc": { "start": { "line": 1080, "column": 13 }, "end": { "line": 1080, "column": 14 } } }, { "type": "CommentLine", "value": " Reduce our velocity by the amount we consumed", "start": 38909, "end": 38957, "loc": { "start": { "line": 1082, "column": 12 }, "end": { "line": 1082, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingVelocity", "start": 38971, "end": 38988, "loc": { "start": { "line": 1083, "column": 12 }, "end": { "line": 1083, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 38989, "end": 38991, "loc": { "start": { "line": 1083, "column": 30 }, "end": { "line": 1083, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedProgress", "start": 38992, "end": 39007, "loc": { "start": { "line": 1083, "column": 33 }, "end": { "line": 1083, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39007, "end": 39008, "loc": { "start": { "line": 1083, "column": 48 }, "end": { "line": 1083, "column": 49 } } }, { "type": "CommentLine", "value": " Reduce the spacing", "start": 39024, "end": 39045, "loc": { "start": { "line": 1085, "column": 12 }, "end": { "line": 1085, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 39059, "end": 39078, "loc": { "start": { "line": 1086, "column": 12 }, "end": { "line": 1086, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39078, "end": 39079, "loc": { "start": { "line": 1086, "column": 31 }, "end": { "line": 1086, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 39079, "end": 39092, "loc": { "start": { "line": 1086, "column": 32 }, "end": { "line": 1086, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39092, "end": 39093, "loc": { "start": { "line": 1086, "column": 45 }, "end": { "line": 1086, "column": 46 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 39094, "end": 39096, "loc": { "start": { "line": 1086, "column": 47 }, "end": { "line": 1086, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedProgress", "start": 39097, "end": 39112, "loc": { "start": { "line": 1086, "column": 50 }, "end": { "line": 1086, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39112, "end": 39113, "loc": { "start": { "line": 1086, "column": 65 }, "end": { "line": 1086, "column": 66 } } }, { "type": "CommentLine", "value": " Advance all items behind by the progress we made", "start": 39129, "end": 39180, "loc": { "start": { "line": 1088, "column": 12 }, "end": { "line": 1088, "column": 63 } } }, { "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": 39194, "end": 39198, "loc": { "start": { "line": 1089, "column": 12 }, "end": { "line": 1089, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39198, "end": 39199, "loc": { "start": { "line": 1089, "column": 16 }, "end": { "line": 1089, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 39199, "end": 39217, "loc": { "start": { "line": 1089, "column": 17 }, "end": { "line": 1089, "column": 35 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 39218, "end": 39220, "loc": { "start": { "line": 1089, "column": 36 }, "end": { "line": 1089, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedProgress", "start": 39221, "end": 39236, "loc": { "start": { "line": 1089, "column": 39 }, "end": { "line": 1089, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39236, "end": 39237, "loc": { "start": { "line": 1089, "column": 54 }, "end": { "line": 1089, "column": 55 } } }, { "type": "CommentLine", "value": " If the last item can be ejected, eject it and reduce the spacing, because otherwise", "start": 39253, "end": 39339, "loc": { "start": { "line": 1091, "column": 12 }, "end": { "line": 1091, "column": 98 } } }, { "type": "CommentLine", "value": " we lose velocity", "start": 39353, "end": 39372, "loc": { "start": { "line": 1092, "column": 12 }, "end": { "line": 1092, "column": 31 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 39386, "end": 39388, "loc": { "start": { "line": 1093, "column": 12 }, "end": { "line": 1093, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39389, "end": 39390, "loc": { "start": { "line": 1093, "column": 15 }, "end": { "line": 1093, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFirstItemProcessed", "start": 39390, "end": 39410, "loc": { "start": { "line": 1093, "column": 16 }, "end": { "line": 1093, "column": 36 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 39411, "end": 39413, "loc": { "start": { "line": 1093, "column": 37 }, "end": { "line": 1093, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 39414, "end": 39433, "loc": { "start": { "line": 1093, "column": 40 }, "end": { "line": 1093, "column": 59 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39433, "end": 39434, "loc": { "start": { "line": 1093, "column": 59 }, "end": { "line": 1093, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 39434, "end": 39447, "loc": { "start": { "line": 1093, "column": 60 }, "end": { "line": 1093, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39447, "end": 39448, "loc": { "start": { "line": 1093, "column": 73 }, "end": { "line": 1093, "column": 74 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 39449, "end": 39450, "loc": { "start": { "line": 1093, "column": 75 }, "end": { "line": 1093, "column": 76 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1e-7, "start": 39451, "end": 39455, "loc": { "start": { "line": 1093, "column": 77 }, "end": { "line": 1093, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39455, "end": 39456, "loc": { "start": { "line": 1093, "column": 81 }, "end": { "line": 1093, "column": 82 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39457, "end": 39458, "loc": { "start": { "line": 1093, "column": 83 }, "end": { "line": 1093, "column": 84 } } }, { "type": "CommentLine", "value": " Store how much velocity we \"lost\" because we bumped the item to the end of the", "start": 39476, "end": 39557, "loc": { "start": { "line": 1094, "column": 16 }, "end": { "line": 1094, "column": 97 } } }, { "type": "CommentLine", "value": " belt but couldn't move it any farther. We need this to tell the item acceptor", "start": 39575, "end": 39655, "loc": { "start": { "line": 1095, "column": 16 }, "end": { "line": 1095, "column": 96 } } }, { "type": "CommentLine", "value": " animation to start a tad later, so everything matches up. Yes I'm a perfectionist.", "start": 39673, "end": 39758, "loc": { "start": { "line": 1096, "column": 16 }, "end": { "line": 1096, "column": 101 } } }, { "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": 39776, "end": 39781, "loc": { "start": { "line": 1097, "column": 16 }, "end": { "line": 1097, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "excessVelocity", "start": 39782, "end": 39796, "loc": { "start": { "line": 1097, "column": 22 }, "end": { "line": 1097, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 39797, "end": 39798, "loc": { "start": { "line": 1097, "column": 37 }, "end": { "line": 1097, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltSpeed", "start": 39799, "end": 39808, "loc": { "start": { "line": 1097, "column": 39 }, "end": { "line": 1097, "column": 48 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 39809, "end": 39810, "loc": { "start": { "line": 1097, "column": 49 }, "end": { "line": 1097, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampedProgress", "start": 39811, "end": 39826, "loc": { "start": { "line": 1097, "column": 51 }, "end": { "line": 1097, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39826, "end": 39827, "loc": { "start": { "line": 1097, "column": 66 }, "end": { "line": 1097, "column": 67 } } }, { "type": "CommentLine", "value": " Try to directly get rid of the item", "start": 39847, "end": 39885, "loc": { "start": { "line": 1099, "column": 16 }, "end": { "line": 1099, "column": 54 } } }, { "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": 39903, "end": 39905, "loc": { "start": { "line": 1100, "column": 16 }, "end": { "line": 1100, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39906, "end": 39907, "loc": { "start": { "line": 1100, "column": 19 }, "end": { "line": 1100, "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": 39907, "end": 39911, "loc": { "start": { "line": 1100, "column": 20 }, "end": { "line": 1100, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39911, "end": 39912, "loc": { "start": { "line": 1100, "column": 24 }, "end": { "line": 1100, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryHandOverItem", "start": 39912, "end": 39927, "loc": { "start": { "line": 1100, "column": 25 }, "end": { "line": 1100, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39927, "end": 39928, "loc": { "start": { "line": 1100, "column": 40 }, "end": { "line": 1100, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 39928, "end": 39947, "loc": { "start": { "line": 1100, "column": 41 }, "end": { "line": 1100, "column": 60 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39947, "end": 39948, "loc": { "start": { "line": 1100, "column": 60 }, "end": { "line": 1100, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 39948, "end": 39953, "loc": { "start": { "line": 1100, "column": 61 }, "end": { "line": 1100, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39953, "end": 39954, "loc": { "start": { "line": 1100, "column": 66 }, "end": { "line": 1100, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 39954, "end": 39955, "loc": { "start": { "line": 1100, "column": 67 }, "end": { "line": 1100, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "excessVelocity", "start": 39956, "end": 39970, "loc": { "start": { "line": 1100, "column": 69 }, "end": { "line": 1100, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39970, "end": 39971, "loc": { "start": { "line": 1100, "column": 83 }, "end": { "line": 1100, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39971, "end": 39972, "loc": { "start": { "line": 1100, "column": 84 }, "end": { "line": 1100, "column": 85 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39973, "end": 39974, "loc": { "start": { "line": 1100, "column": 86 }, "end": { "line": 1100, "column": 87 } } }, { "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": 39996, "end": 40000, "loc": { "start": { "line": 1101, "column": 20 }, "end": { "line": 1101, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40000, "end": 40001, "loc": { "start": { "line": 1101, "column": 24 }, "end": { "line": 1101, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 40001, "end": 40006, "loc": { "start": { "line": 1101, "column": 25 }, "end": { "line": 1101, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40006, "end": 40007, "loc": { "start": { "line": 1101, "column": 30 }, "end": { "line": 1101, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pop", "start": 40007, "end": 40010, "loc": { "start": { "line": 1101, "column": 31 }, "end": { "line": 1101, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40010, "end": 40011, "loc": { "start": { "line": 1101, "column": 34 }, "end": { "line": 1101, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40011, "end": 40012, "loc": { "start": { "line": 1101, "column": 35 }, "end": { "line": 1101, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40012, "end": 40013, "loc": { "start": { "line": 1101, "column": 36 }, "end": { "line": 1101, "column": 37 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 40037, "end": 40042, "loc": { "start": { "line": 1103, "column": 20 }, "end": { "line": 1103, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemBehind", "start": 40043, "end": 40053, "loc": { "start": { "line": 1103, "column": 26 }, "end": { "line": 1103, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 40054, "end": 40055, "loc": { "start": { "line": 1103, "column": 37 }, "end": { "line": 1103, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 40056, "end": 40060, "loc": { "start": { "line": 1103, "column": 39 }, "end": { "line": 1103, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40060, "end": 40061, "loc": { "start": { "line": 1103, "column": 43 }, "end": { "line": 1103, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 40061, "end": 40066, "loc": { "start": { "line": 1103, "column": 44 }, "end": { "line": 1103, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40066, "end": 40067, "loc": { "start": { "line": 1103, "column": 49 }, "end": { "line": 1103, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 40067, "end": 40084, "loc": { "start": { "line": 1103, "column": 50 }, "end": { "line": 1103, "column": 67 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 40085, "end": 40086, "loc": { "start": { "line": 1103, "column": 68 }, "end": { "line": 1103, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 40087, "end": 40088, "loc": { "start": { "line": 1103, "column": 70 }, "end": { "line": 1103, "column": 71 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40088, "end": 40089, "loc": { "start": { "line": 1103, "column": 71 }, "end": { "line": 1103, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40089, "end": 40090, "loc": { "start": { "line": 1103, "column": 72 }, "end": { "line": 1103, "column": 73 } } }, { "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": 40112, "end": 40114, "loc": { "start": { "line": 1104, "column": 20 }, "end": { "line": 1104, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40115, "end": 40116, "loc": { "start": { "line": 1104, "column": 23 }, "end": { "line": 1104, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemBehind", "start": 40116, "end": 40126, "loc": { "start": { "line": 1104, "column": 24 }, "end": { "line": 1104, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 40127, "end": 40129, "loc": { "start": { "line": 1104, "column": 35 }, "end": { "line": 1104, "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": 40130, "end": 40134, "loc": { "start": { "line": 1104, "column": 38 }, "end": { "line": 1104, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40134, "end": 40135, "loc": { "start": { "line": 1104, "column": 42 }, "end": { "line": 1104, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 40135, "end": 40167, "loc": { "start": { "line": 1104, "column": 43 }, "end": { "line": 1104, "column": 75 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 40168, "end": 40169, "loc": { "start": { "line": 1104, "column": 76 }, "end": { "line": 1104, "column": 77 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 40170, "end": 40171, "loc": { "start": { "line": 1104, "column": 78 }, "end": { "line": 1104, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40171, "end": 40172, "loc": { "start": { "line": 1104, "column": 79 }, "end": { "line": 1104, "column": 80 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40173, "end": 40174, "loc": { "start": { "line": 1104, "column": 81 }, "end": { "line": 1104, "column": 82 } } }, { "type": "CommentLine", "value": " So, with the next tick we will skip this item, but it actually has the potential", "start": 40200, "end": 40283, "loc": { "start": { "line": 1105, "column": 24 }, "end": { "line": 1105, "column": 107 } } }, { "type": "CommentLine", "value": " to process farther -> If we don't advance here, we loose a tiny bit of progress", "start": 40309, "end": 40391, "loc": { "start": { "line": 1106, "column": 24 }, "end": { "line": 1106, "column": 106 } } }, { "type": "CommentLine", "value": " every tick which causes the belt to be slower than it actually is.", "start": 40417, "end": 40486, "loc": { "start": { "line": 1107, "column": 24 }, "end": { "line": 1107, "column": 93 } } }, { "type": "CommentLine", "value": " Also see #999", "start": 40512, "end": 40528, "loc": { "start": { "line": 1108, "column": 24 }, "end": { "line": 1108, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 40554, "end": 40559, "loc": { "start": { "line": 1109, "column": 24 }, "end": { "line": 1109, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fixupProgress", "start": 40560, "end": 40573, "loc": { "start": { "line": 1109, "column": 30 }, "end": { "line": 1109, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 40574, "end": 40575, "loc": { "start": { "line": 1109, "column": 44 }, "end": { "line": 1109, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 40576, "end": 40580, "loc": { "start": { "line": 1109, "column": 46 }, "end": { "line": 1109, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40580, "end": 40581, "loc": { "start": { "line": 1109, "column": 50 }, "end": { "line": 1109, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 40581, "end": 40584, "loc": { "start": { "line": 1109, "column": 51 }, "end": { "line": 1109, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40584, "end": 40585, "loc": { "start": { "line": 1109, "column": 54 }, "end": { "line": 1109, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 40615, "end": 40616, "loc": { "start": { "line": 1110, "column": 28 }, "end": { "line": 1110, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40616, "end": 40617, "loc": { "start": { "line": 1110, "column": 29 }, "end": { "line": 1110, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 40647, "end": 40651, "loc": { "start": { "line": 1111, "column": 28 }, "end": { "line": 1111, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40651, "end": 40652, "loc": { "start": { "line": 1111, "column": 32 }, "end": { "line": 1111, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 40652, "end": 40655, "loc": { "start": { "line": 1111, "column": 33 }, "end": { "line": 1111, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40655, "end": 40656, "loc": { "start": { "line": 1111, "column": 36 }, "end": { "line": 1111, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingVelocity", "start": 40656, "end": 40673, "loc": { "start": { "line": 1111, "column": 37 }, "end": { "line": 1111, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40673, "end": 40674, "loc": { "start": { "line": 1111, "column": 54 }, "end": { "line": 1111, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemBehind", "start": 40675, "end": 40685, "loc": { "start": { "line": 1111, "column": 56 }, "end": { "line": 1111, "column": 66 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40685, "end": 40686, "loc": { "start": { "line": 1111, "column": 66 }, "end": { "line": 1111, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 40686, "end": 40699, "loc": { "start": { "line": 1111, "column": 67 }, "end": { "line": 1111, "column": 80 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40699, "end": 40700, "loc": { "start": { "line": 1111, "column": 80 }, "end": { "line": 1111, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40700, "end": 40701, "loc": { "start": { "line": 1111, "column": 81 }, "end": { "line": 1111, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40727, "end": 40728, "loc": { "start": { "line": 1112, "column": 24 }, "end": { "line": 1112, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40728, "end": 40729, "loc": { "start": { "line": 1112, "column": 25 }, "end": { "line": 1112, "column": 26 } } }, { "type": "CommentLine", "value": " See above", "start": 40757, "end": 40769, "loc": { "start": { "line": 1114, "column": 24 }, "end": { "line": 1114, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemBehind", "start": 40795, "end": 40805, "loc": { "start": { "line": 1115, "column": 24 }, "end": { "line": 1115, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40805, "end": 40806, "loc": { "start": { "line": 1115, "column": 34 }, "end": { "line": 1115, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 40806, "end": 40819, "loc": { "start": { "line": 1115, "column": 35 }, "end": { "line": 1115, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40819, "end": 40820, "loc": { "start": { "line": 1115, "column": 48 }, "end": { "line": 1115, "column": 49 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 40821, "end": 40823, "loc": { "start": { "line": 1115, "column": 50 }, "end": { "line": 1115, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fixupProgress", "start": 40824, "end": 40837, "loc": { "start": { "line": 1115, "column": 53 }, "end": { "line": 1115, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40837, "end": 40838, "loc": { "start": { "line": 1115, "column": 66 }, "end": { "line": 1115, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingVelocity", "start": 40864, "end": 40881, "loc": { "start": { "line": 1116, "column": 24 }, "end": { "line": 1116, "column": 41 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 40882, "end": 40884, "loc": { "start": { "line": 1116, "column": 42 }, "end": { "line": 1116, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fixupProgress", "start": 40885, "end": 40898, "loc": { "start": { "line": 1116, "column": 45 }, "end": { "line": 1116, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40898, "end": 40899, "loc": { "start": { "line": 1116, "column": 58 }, "end": { "line": 1116, "column": 59 } } }, { "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": 40925, "end": 40929, "loc": { "start": { "line": 1117, "column": 24 }, "end": { "line": 1117, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40929, "end": 40930, "loc": { "start": { "line": 1117, "column": 28 }, "end": { "line": 1117, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 40930, "end": 40948, "loc": { "start": { "line": 1117, "column": 29 }, "end": { "line": 1117, "column": 47 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 40949, "end": 40951, "loc": { "start": { "line": 1117, "column": 48 }, "end": { "line": 1117, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fixupProgress", "start": 40952, "end": 40965, "loc": { "start": { "line": 1117, "column": 51 }, "end": { "line": 1117, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40965, "end": 40966, "loc": { "start": { "line": 1117, "column": 64 }, "end": { "line": 1117, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 40988, "end": 40989, "loc": { "start": { "line": 1118, "column": 20 }, "end": { "line": 1118, "column": 21 } } }, { "type": "CommentLine", "value": " Reduce the number of compressed items since the first item no longer exists", "start": 41013, "end": 41091, "loc": { "start": { "line": 1120, "column": 20 }, "end": { "line": 1120, "column": 98 } } }, { "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": 41113, "end": 41117, "loc": { "start": { "line": 1121, "column": 20 }, "end": { "line": 1121, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41117, "end": 41118, "loc": { "start": { "line": 1121, "column": 24 }, "end": { "line": 1121, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 41118, "end": 41150, "loc": { "start": { "line": 1121, "column": 25 }, "end": { "line": 1121, "column": 57 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 41151, "end": 41152, "loc": { "start": { "line": 1121, "column": 58 }, "end": { "line": 1121, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 41153, "end": 41157, "loc": { "start": { "line": 1121, "column": 60 }, "end": { "line": 1121, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41157, "end": 41158, "loc": { "start": { "line": 1121, "column": 64 }, "end": { "line": 1121, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 41158, "end": 41161, "loc": { "start": { "line": 1121, "column": 65 }, "end": { "line": 1121, "column": 68 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41161, "end": 41162, "loc": { "start": { "line": 1121, "column": 68 }, "end": { "line": 1121, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 41188, "end": 41189, "loc": { "start": { "line": 1122, "column": 24 }, "end": { "line": 1122, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41189, "end": 41190, "loc": { "start": { "line": 1122, "column": 25 }, "end": { "line": 1122, "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": 41216, "end": 41220, "loc": { "start": { "line": 1123, "column": 24 }, "end": { "line": 1123, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41220, "end": 41221, "loc": { "start": { "line": 1123, "column": 28 }, "end": { "line": 1123, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 41221, "end": 41253, "loc": { "start": { "line": 1123, "column": 29 }, "end": { "line": 1123, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 41254, "end": 41255, "loc": { "start": { "line": 1123, "column": 62 }, "end": { "line": 1123, "column": 63 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 41256, "end": 41257, "loc": { "start": { "line": 1123, "column": 64 }, "end": { "line": 1123, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41279, "end": 41280, "loc": { "start": { "line": 1124, "column": 20 }, "end": { "line": 1124, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41280, "end": 41281, "loc": { "start": { "line": 1124, "column": 21 }, "end": { "line": 1124, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41299, "end": 41300, "loc": { "start": { "line": 1125, "column": 16 }, "end": { "line": 1125, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41314, "end": 41315, "loc": { "start": { "line": 1126, "column": 12 }, "end": { "line": 1126, "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": 41331, "end": 41333, "loc": { "start": { "line": 1128, "column": 12 }, "end": { "line": 1128, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41334, "end": 41335, "loc": { "start": { "line": 1128, "column": 15 }, "end": { "line": 1128, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFirstItemProcessed", "start": 41335, "end": 41355, "loc": { "start": { "line": 1128, "column": 16 }, "end": { "line": 1128, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41355, "end": 41356, "loc": { "start": { "line": 1128, "column": 36 }, "end": { "line": 1128, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41357, "end": 41358, "loc": { "start": { "line": 1128, "column": 38 }, "end": { "line": 1128, "column": 39 } } }, { "type": "CommentLine", "value": " Skip N null items after first items", "start": 41376, "end": 41414, "loc": { "start": { "line": 1129, "column": 16 }, "end": { "line": 1129, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 41432, "end": 41449, "loc": { "start": { "line": 1130, "column": 16 }, "end": { "line": 1130, "column": 33 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 41450, "end": 41452, "loc": { "start": { "line": 1130, "column": 34 }, "end": { "line": 1130, "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": 41453, "end": 41457, "loc": { "start": { "line": 1130, "column": 37 }, "end": { "line": 1130, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41457, "end": 41458, "loc": { "start": { "line": 1130, "column": 41 }, "end": { "line": 1130, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 41458, "end": 41490, "loc": { "start": { "line": 1130, "column": 42 }, "end": { "line": 1130, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41490, "end": 41491, "loc": { "start": { "line": 1130, "column": 74 }, "end": { "line": 1130, "column": 75 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41505, "end": 41506, "loc": { "start": { "line": 1131, "column": 12 }, "end": { "line": 1131, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFirstItemProcessed", "start": 41522, "end": 41542, "loc": { "start": { "line": 1133, "column": 12 }, "end": { "line": 1133, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 41543, "end": 41544, "loc": { "start": { "line": 1133, "column": 33 }, "end": { "line": 1133, "column": 34 } } }, { "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": 41545, "end": 41550, "loc": { "start": { "line": 1133, "column": 35 }, "end": { "line": 1133, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41550, "end": 41551, "loc": { "start": { "line": 1133, "column": 40 }, "end": { "line": 1133, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 41565, "end": 41567, "loc": { "start": { "line": 1134, "column": 12 }, "end": { "line": 1134, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41568, "end": 41569, "loc": { "start": { "line": 1134, "column": 15 }, "end": { "line": 1134, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingVelocity", "start": 41569, "end": 41586, "loc": { "start": { "line": 1134, "column": 16 }, "end": { "line": 1134, "column": 33 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 41587, "end": 41588, "loc": { "start": { "line": 1134, "column": 34 }, "end": { "line": 1134, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1e-7, "start": 41589, "end": 41593, "loc": { "start": { "line": 1134, "column": 36 }, "end": { "line": 1134, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41593, "end": 41594, "loc": { "start": { "line": 1134, "column": 40 }, "end": { "line": 1134, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41595, "end": 41596, "loc": { "start": { "line": 1134, "column": 42 }, "end": { "line": 1134, "column": 43 } } }, { "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": 41614, "end": 41619, "loc": { "start": { "line": 1135, "column": 16 }, "end": { "line": 1135, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41619, "end": 41620, "loc": { "start": { "line": 1135, "column": 21 }, "end": { "line": 1135, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41634, "end": 41635, "loc": { "start": { "line": 1136, "column": 12 }, "end": { "line": 1136, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41645, "end": 41646, "loc": { "start": { "line": 1137, "column": 8 }, "end": { "line": 1137, "column": 9 } } }, { "type": "CommentLine", "value": " Compute compressed item count", "start": 41658, "end": 41690, "loc": { "start": { "line": 1139, "column": 8 }, "end": { "line": 1139, "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": 41700, "end": 41704, "loc": { "start": { "line": 1140, "column": 8 }, "end": { "line": 1140, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41704, "end": 41705, "loc": { "start": { "line": 1140, "column": 12 }, "end": { "line": 1140, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 41705, "end": 41737, "loc": { "start": { "line": 1140, "column": 13 }, "end": { "line": 1140, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 41738, "end": 41739, "loc": { "start": { "line": 1140, "column": 46 }, "end": { "line": 1140, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 41740, "end": 41744, "loc": { "start": { "line": 1140, "column": 48 }, "end": { "line": 1140, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41744, "end": 41745, "loc": { "start": { "line": 1140, "column": 52 }, "end": { "line": 1140, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 41745, "end": 41748, "loc": { "start": { "line": 1140, "column": 53 }, "end": { "line": 1140, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41748, "end": 41749, "loc": { "start": { "line": 1140, "column": 56 }, "end": { "line": 1140, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 41763, "end": 41764, "loc": { "start": { "line": 1141, "column": 12 }, "end": { "line": 1141, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41764, "end": 41765, "loc": { "start": { "line": 1141, "column": 13 }, "end": { "line": 1141, "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": 41779, "end": 41783, "loc": { "start": { "line": 1142, "column": 12 }, "end": { "line": 1142, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41783, "end": 41784, "loc": { "start": { "line": 1142, "column": 16 }, "end": { "line": 1142, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 41784, "end": 41816, "loc": { "start": { "line": 1142, "column": 17 }, "end": { "line": 1142, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41816, "end": 41817, "loc": { "start": { "line": 1142, "column": 49 }, "end": { "line": 1142, "column": 50 } } }, { "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": 41831, "end": 41835, "loc": { "start": { "line": 1143, "column": 12 }, "end": { "line": 1143, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41835, "end": 41836, "loc": { "start": { "line": 1143, "column": 16 }, "end": { "line": 1143, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 41836, "end": 41841, "loc": { "start": { "line": 1143, "column": 17 }, "end": { "line": 1143, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41841, "end": 41842, "loc": { "start": { "line": 1143, "column": 22 }, "end": { "line": 1143, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 41842, "end": 41848, "loc": { "start": { "line": 1143, "column": 23 }, "end": { "line": 1143, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 41849, "end": 41850, "loc": { "start": { "line": 1143, "column": 30 }, "end": { "line": 1143, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 41851, "end": 41852, "loc": { "start": { "line": 1143, "column": 32 }, "end": { "line": 1143, "column": 33 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 41853, "end": 41854, "loc": { "start": { "line": 1143, "column": 34 }, "end": { "line": 1143, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemProcessed", "start": 41855, "end": 41872, "loc": { "start": { "line": 1143, "column": 36 }, "end": { "line": 1143, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 41882, "end": 41883, "loc": { "start": { "line": 1144, "column": 8 }, "end": { "line": 1144, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41883, "end": 41884, "loc": { "start": { "line": 1144, "column": 9 }, "end": { "line": 1144, "column": 10 } } }, { "type": "CommentLine", "value": " Check if we have an item which is ready to be emitted", "start": 41896, "end": 41952, "loc": { "start": { "line": 1146, "column": 8 }, "end": { "line": 1146, "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": 41962, "end": 41967, "loc": { "start": { "line": 1147, "column": 8 }, "end": { "line": 1147, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 41968, "end": 41976, "loc": { "start": { "line": 1147, "column": 14 }, "end": { "line": 1147, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 41977, "end": 41978, "loc": { "start": { "line": 1147, "column": 23 }, "end": { "line": 1147, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 41979, "end": 41983, "loc": { "start": { "line": 1147, "column": 25 }, "end": { "line": 1147, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41983, "end": 41984, "loc": { "start": { "line": 1147, "column": 29 }, "end": { "line": 1147, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 41984, "end": 41989, "loc": { "start": { "line": 1147, "column": 30 }, "end": { "line": 1147, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41989, "end": 41990, "loc": { "start": { "line": 1147, "column": 35 }, "end": { "line": 1147, "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": 41990, "end": 41994, "loc": { "start": { "line": 1147, "column": 36 }, "end": { "line": 1147, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 41994, "end": 41995, "loc": { "start": { "line": 1147, "column": 40 }, "end": { "line": 1147, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 41995, "end": 42000, "loc": { "start": { "line": 1147, "column": 41 }, "end": { "line": 1147, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42000, "end": 42001, "loc": { "start": { "line": 1147, "column": 46 }, "end": { "line": 1147, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 42001, "end": 42007, "loc": { "start": { "line": 1147, "column": 47 }, "end": { "line": 1147, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 42008, "end": 42009, "loc": { "start": { "line": 1147, "column": 54 }, "end": { "line": 1147, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 42010, "end": 42011, "loc": { "start": { "line": 1147, "column": 56 }, "end": { "line": 1147, "column": 57 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42011, "end": 42012, "loc": { "start": { "line": 1147, "column": 57 }, "end": { "line": 1147, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42012, "end": 42013, "loc": { "start": { "line": 1147, "column": 58 }, "end": { "line": 1147, "column": 59 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 42023, "end": 42025, "loc": { "start": { "line": 1148, "column": 8 }, "end": { "line": 1148, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42026, "end": 42027, "loc": { "start": { "line": 1148, "column": 11 }, "end": { "line": 1148, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 42027, "end": 42035, "loc": { "start": { "line": 1148, "column": 12 }, "end": { "line": 1148, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 42036, "end": 42038, "loc": { "start": { "line": 1148, "column": 21 }, "end": { "line": 1148, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 42039, "end": 42047, "loc": { "start": { "line": 1148, "column": 24 }, "end": { "line": 1148, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42047, "end": 42048, "loc": { "start": { "line": 1148, "column": 32 }, "end": { "line": 1148, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 42048, "end": 42061, "loc": { "start": { "line": 1148, "column": 33 }, "end": { "line": 1148, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42061, "end": 42062, "loc": { "start": { "line": 1148, "column": 46 }, "end": { "line": 1148, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 42063, "end": 42066, "loc": { "start": { "line": 1148, "column": 48 }, "end": { "line": 1148, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 42067, "end": 42068, "loc": { "start": { "line": 1148, "column": 52 }, "end": { "line": 1148, "column": 53 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 42069, "end": 42071, "loc": { "start": { "line": 1148, "column": 54 }, "end": { "line": 1148, "column": 56 } } }, { "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": 42072, "end": 42076, "loc": { "start": { "line": 1148, "column": 57 }, "end": { "line": 1148, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42076, "end": 42077, "loc": { "start": { "line": 1148, "column": 61 }, "end": { "line": 1148, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 42077, "end": 42091, "loc": { "start": { "line": 1148, "column": 62 }, "end": { "line": 1148, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42091, "end": 42092, "loc": { "start": { "line": 1148, "column": 76 }, "end": { "line": 1148, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42093, "end": 42094, "loc": { "start": { "line": 1148, "column": 78 }, "end": { "line": 1148, "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": 42108, "end": 42110, "loc": { "start": { "line": 1149, "column": 12 }, "end": { "line": 1149, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42111, "end": 42112, "loc": { "start": { "line": 1149, "column": 15 }, "end": { "line": 1149, "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": 42112, "end": 42116, "loc": { "start": { "line": 1149, "column": 16 }, "end": { "line": 1149, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42116, "end": 42117, "loc": { "start": { "line": 1149, "column": 20 }, "end": { "line": 1149, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryHandOverItem", "start": 42117, "end": 42132, "loc": { "start": { "line": 1149, "column": 21 }, "end": { "line": 1149, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42132, "end": 42133, "loc": { "start": { "line": 1149, "column": 36 }, "end": { "line": 1149, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 42133, "end": 42141, "loc": { "start": { "line": 1149, "column": 37 }, "end": { "line": 1149, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42141, "end": 42142, "loc": { "start": { "line": 1149, "column": 45 }, "end": { "line": 1149, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 42142, "end": 42147, "loc": { "start": { "line": 1149, "column": 46 }, "end": { "line": 1149, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42147, "end": 42148, "loc": { "start": { "line": 1149, "column": 51 }, "end": { "line": 1149, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42148, "end": 42149, "loc": { "start": { "line": 1149, "column": 52 }, "end": { "line": 1149, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42149, "end": 42150, "loc": { "start": { "line": 1149, "column": 53 }, "end": { "line": 1149, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42151, "end": 42152, "loc": { "start": { "line": 1149, "column": 55 }, "end": { "line": 1149, "column": 56 } } }, { "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": 42170, "end": 42174, "loc": { "start": { "line": 1150, "column": 16 }, "end": { "line": 1150, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42174, "end": 42175, "loc": { "start": { "line": 1150, "column": 20 }, "end": { "line": 1150, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 42175, "end": 42180, "loc": { "start": { "line": 1150, "column": 21 }, "end": { "line": 1150, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42180, "end": 42181, "loc": { "start": { "line": 1150, "column": 26 }, "end": { "line": 1150, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pop", "start": 42181, "end": 42184, "loc": { "start": { "line": 1150, "column": 27 }, "end": { "line": 1150, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42184, "end": 42185, "loc": { "start": { "line": 1150, "column": 30 }, "end": { "line": 1150, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42185, "end": 42186, "loc": { "start": { "line": 1150, "column": 31 }, "end": { "line": 1150, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42186, "end": 42187, "loc": { "start": { "line": 1150, "column": 32 }, "end": { "line": 1150, "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": 42205, "end": 42209, "loc": { "start": { "line": 1151, "column": 16 }, "end": { "line": 1151, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42209, "end": 42210, "loc": { "start": { "line": 1151, "column": 20 }, "end": { "line": 1151, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 42210, "end": 42242, "loc": { "start": { "line": 1151, "column": 21 }, "end": { "line": 1151, "column": 53 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 42243, "end": 42244, "loc": { "start": { "line": 1151, "column": 54 }, "end": { "line": 1151, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 42245, "end": 42249, "loc": { "start": { "line": 1151, "column": 56 }, "end": { "line": 1151, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42249, "end": 42250, "loc": { "start": { "line": 1151, "column": 60 }, "end": { "line": 1151, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 42250, "end": 42253, "loc": { "start": { "line": 1151, "column": 61 }, "end": { "line": 1151, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42253, "end": 42254, "loc": { "start": { "line": 1151, "column": 64 }, "end": { "line": 1151, "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": 42276, "end": 42277, "loc": { "start": { "line": 1152, "column": 20 }, "end": { "line": 1152, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42277, "end": 42278, "loc": { "start": { "line": 1152, "column": 21 }, "end": { "line": 1152, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 42300, "end": 42304, "loc": { "start": { "line": 1153, "column": 20 }, "end": { "line": 1153, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42304, "end": 42305, "loc": { "start": { "line": 1153, "column": 24 }, "end": { "line": 1153, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 42305, "end": 42337, "loc": { "start": { "line": 1153, "column": 25 }, "end": { "line": 1153, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 42338, "end": 42339, "loc": { "start": { "line": 1153, "column": 58 }, "end": { "line": 1153, "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": 42340, "end": 42341, "loc": { "start": { "line": 1153, "column": 60 }, "end": { "line": 1153, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42359, "end": 42360, "loc": { "start": { "line": 1154, "column": 16 }, "end": { "line": 1154, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42360, "end": 42361, "loc": { "start": { "line": 1154, "column": 17 }, "end": { "line": 1154, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42375, "end": 42376, "loc": { "start": { "line": 1155, "column": 12 }, "end": { "line": 1155, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42386, "end": 42387, "loc": { "start": { "line": 1156, "column": 8 }, "end": { "line": 1156, "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": 42399, "end": 42401, "loc": { "start": { "line": 1158, "column": 8 }, "end": { "line": 1158, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42402, "end": 42403, "loc": { "start": { "line": 1158, "column": 11 }, "end": { "line": 1158, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 42403, "end": 42411, "loc": { "start": { "line": 1158, "column": 12 }, "end": { "line": 1158, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 42412, "end": 42414, "loc": { "start": { "line": 1158, "column": 21 }, "end": { "line": 1158, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 42415, "end": 42427, "loc": { "start": { "line": 1158, "column": 24 }, "end": { "line": 1158, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42427, "end": 42428, "loc": { "start": { "line": 1158, "column": 36 }, "end": { "line": 1158, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 42428, "end": 42433, "loc": { "start": { "line": 1158, "column": 37 }, "end": { "line": 1158, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42433, "end": 42434, "loc": { "start": { "line": 1158, "column": 42 }, "end": { "line": 1158, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkBeltPaths", "start": 42434, "end": 42448, "loc": { "start": { "line": 1158, "column": 43 }, "end": { "line": 1158, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42448, "end": 42449, "loc": { "start": { "line": 1158, "column": 57 }, "end": { "line": 1158, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42450, "end": 42451, "loc": { "start": { "line": 1158, "column": 59 }, "end": { "line": 1158, "column": 60 } } }, { "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": 42465, "end": 42469, "loc": { "start": { "line": 1159, "column": 12 }, "end": { "line": 1159, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42469, "end": 42470, "loc": { "start": { "line": 1159, "column": 16 }, "end": { "line": 1159, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug_checkIntegrity", "start": 42470, "end": 42490, "loc": { "start": { "line": 1159, "column": 17 }, "end": { "line": 1159, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42490, "end": 42491, "loc": { "start": { "line": 1159, "column": 37 }, "end": { "line": 1159, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "post-update", "start": 42491, "end": 42504, "loc": { "start": { "line": 1159, "column": 38 }, "end": { "line": 1159, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42504, "end": 42505, "loc": { "start": { "line": 1159, "column": 51 }, "end": { "line": 1159, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42505, "end": 42506, "loc": { "start": { "line": 1159, "column": 52 }, "end": { "line": 1159, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42516, "end": 42517, "loc": { "start": { "line": 1160, "column": 8 }, "end": { "line": 1160, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42523, "end": 42524, "loc": { "start": { "line": 1161, "column": 4 }, "end": { "line": 1161, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Tries to hand over the item to the end entity\r\n * @param {BaseItem} item\r\n ", "start": 42532, "end": 42629, "loc": { "start": { "line": 1163, "column": 4 }, "end": { "line": 1166, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryHandOverItem", "start": 42635, "end": 42650, "loc": { "start": { "line": 1167, "column": 4 }, "end": { "line": 1167, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42650, "end": 42651, "loc": { "start": { "line": 1167, "column": 19 }, "end": { "line": 1167, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 42651, "end": 42655, "loc": { "start": { "line": 1167, "column": 20 }, "end": { "line": 1167, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42655, "end": 42656, "loc": { "start": { "line": 1167, "column": 24 }, "end": { "line": 1167, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingProgress", "start": 42657, "end": 42674, "loc": { "start": { "line": 1167, "column": 26 }, "end": { "line": 1167, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 42675, "end": 42676, "loc": { "start": { "line": 1167, "column": 44 }, "end": { "line": 1167, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 42677, "end": 42680, "loc": { "start": { "line": 1167, "column": 46 }, "end": { "line": 1167, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42680, "end": 42681, "loc": { "start": { "line": 1167, "column": 49 }, "end": { "line": 1167, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42682, "end": 42683, "loc": { "start": { "line": 1167, "column": 51 }, "end": { "line": 1167, "column": 52 } } }, { "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": 42693, "end": 42695, "loc": { "start": { "line": 1168, "column": 8 }, "end": { "line": 1168, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42696, "end": 42697, "loc": { "start": { "line": 1168, "column": 11 }, "end": { "line": 1168, "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": 42697, "end": 42698, "loc": { "start": { "line": 1168, "column": 12 }, "end": { "line": 1168, "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": 42698, "end": 42702, "loc": { "start": { "line": 1168, "column": 13 }, "end": { "line": 1168, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42702, "end": 42703, "loc": { "start": { "line": 1168, "column": 17 }, "end": { "line": 1168, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 42703, "end": 42717, "loc": { "start": { "line": 1168, "column": 18 }, "end": { "line": 1168, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42717, "end": 42718, "loc": { "start": { "line": 1168, "column": 32 }, "end": { "line": 1168, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42719, "end": 42720, "loc": { "start": { "line": 1168, "column": 34 }, "end": { "line": 1168, "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": 42734, "end": 42740, "loc": { "start": { "line": 1169, "column": 12 }, "end": { "line": 1169, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42740, "end": 42741, "loc": { "start": { "line": 1169, "column": 18 }, "end": { "line": 1169, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42751, "end": 42752, "loc": { "start": { "line": 1170, "column": 8 }, "end": { "line": 1170, "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": 42764, "end": 42769, "loc": { "start": { "line": 1172, "column": 8 }, "end": { "line": 1172, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 42770, "end": 42788, "loc": { "start": { "line": 1172, "column": 14 }, "end": { "line": 1172, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 42789, "end": 42790, "loc": { "start": { "line": 1172, "column": 33 }, "end": { "line": 1172, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 42791, "end": 42795, "loc": { "start": { "line": 1172, "column": 35 }, "end": { "line": 1172, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42795, "end": 42796, "loc": { "start": { "line": 1172, "column": 39 }, "end": { "line": 1172, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 42796, "end": 42810, "loc": { "start": { "line": 1172, "column": 40 }, "end": { "line": 1172, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42810, "end": 42811, "loc": { "start": { "line": 1172, "column": 54 }, "end": { "line": 1172, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 42811, "end": 42817, "loc": { "start": { "line": 1172, "column": 55 }, "end": { "line": 1172, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42817, "end": 42818, "loc": { "start": { "line": 1172, "column": 61 }, "end": { "line": 1172, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 42818, "end": 42828, "loc": { "start": { "line": 1172, "column": 62 }, "end": { "line": 1172, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42828, "end": 42829, "loc": { "start": { "line": 1172, "column": 72 }, "end": { "line": 1172, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemAcceptor", "start": 42829, "end": 42841, "loc": { "start": { "line": 1172, "column": 73 }, "end": { "line": 1172, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42841, "end": 42842, "loc": { "start": { "line": 1172, "column": 85 }, "end": { "line": 1172, "column": 86 } } }, { "type": "CommentLine", "value": " Check if the acceptor has a filter for example", "start": 42854, "end": 42903, "loc": { "start": { "line": 1174, "column": 8 }, "end": { "line": 1174, "column": 57 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 42913, "end": 42915, "loc": { "start": { "line": 1175, "column": 8 }, "end": { "line": 1175, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42916, "end": 42917, "loc": { "start": { "line": 1175, "column": 11 }, "end": { "line": 1175, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 42917, "end": 42935, "loc": { "start": { "line": 1175, "column": 12 }, "end": { "line": 1175, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 42936, "end": 42938, "loc": { "start": { "line": 1175, "column": 31 }, "end": { "line": 1175, "column": 33 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 42939, "end": 42940, "loc": { "start": { "line": 1175, "column": 34 }, "end": { "line": 1175, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 42940, "end": 42958, "loc": { "start": { "line": 1175, "column": 35 }, "end": { "line": 1175, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42958, "end": 42959, "loc": { "start": { "line": 1175, "column": 53 }, "end": { "line": 1175, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canAcceptItem", "start": 42959, "end": 42972, "loc": { "start": { "line": 1175, "column": 54 }, "end": { "line": 1175, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 42972, "end": 42973, "loc": { "start": { "line": 1175, "column": 67 }, "end": { "line": 1175, "column": 68 } } }, { "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": 42973, "end": 42977, "loc": { "start": { "line": 1175, "column": 68 }, "end": { "line": 1175, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42977, "end": 42978, "loc": { "start": { "line": 1175, "column": 72 }, "end": { "line": 1175, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 42978, "end": 42992, "loc": { "start": { "line": 1175, "column": 73 }, "end": { "line": 1175, "column": 87 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42992, "end": 42993, "loc": { "start": { "line": 1175, "column": 87 }, "end": { "line": 1175, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 42993, "end": 42997, "loc": { "start": { "line": 1175, "column": 88 }, "end": { "line": 1175, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 42997, "end": 42998, "loc": { "start": { "line": 1175, "column": 92 }, "end": { "line": 1175, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 42999, "end": 43003, "loc": { "start": { "line": 1175, "column": 94 }, "end": { "line": 1175, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43003, "end": 43004, "loc": { "start": { "line": 1175, "column": 98 }, "end": { "line": 1175, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43004, "end": 43005, "loc": { "start": { "line": 1175, "column": 99 }, "end": { "line": 1175, "column": 100 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43006, "end": 43007, "loc": { "start": { "line": 1175, "column": 101 }, "end": { "line": 1175, "column": 102 } } }, { "type": "CommentLine", "value": " Well, this item is not accepted", "start": 43021, "end": 43055, "loc": { "start": { "line": 1176, "column": 12 }, "end": { "line": 1176, "column": 46 } } }, { "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": 43069, "end": 43075, "loc": { "start": { "line": 1177, "column": 12 }, "end": { "line": 1177, "column": 18 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 43076, "end": 43081, "loc": { "start": { "line": 1177, "column": 19 }, "end": { "line": 1177, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43081, "end": 43082, "loc": { "start": { "line": 1177, "column": 24 }, "end": { "line": 1177, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43092, "end": 43093, "loc": { "start": { "line": 1178, "column": 8 }, "end": { "line": 1178, "column": 9 } } }, { "type": "CommentLine", "value": " Try to pass over", "start": 43105, "end": 43124, "loc": { "start": { "line": 1180, "column": 8 }, "end": { "line": 1180, "column": 27 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 43134, "end": 43136, "loc": { "start": { "line": 1181, "column": 8 }, "end": { "line": 1181, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43137, "end": 43138, "loc": { "start": { "line": 1181, "column": 11 }, "end": { "line": 1181, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 43152, "end": 43156, "loc": { "start": { "line": 1182, "column": 12 }, "end": { "line": 1182, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43156, "end": 43157, "loc": { "start": { "line": 1182, "column": 16 }, "end": { "line": 1182, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 43157, "end": 43161, "loc": { "start": { "line": 1182, "column": 17 }, "end": { "line": 1182, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43161, "end": 43162, "loc": { "start": { "line": 1182, "column": 21 }, "end": { "line": 1182, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "systemMgr", "start": 43162, "end": 43171, "loc": { "start": { "line": 1182, "column": 22 }, "end": { "line": 1182, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43171, "end": 43172, "loc": { "start": { "line": 1182, "column": 31 }, "end": { "line": 1182, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "systems", "start": 43172, "end": 43179, "loc": { "start": { "line": 1182, "column": 32 }, "end": { "line": 1182, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43179, "end": 43180, "loc": { "start": { "line": 1182, "column": 39 }, "end": { "line": 1182, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemEjector", "start": 43180, "end": 43191, "loc": { "start": { "line": 1182, "column": 40 }, "end": { "line": 1182, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43191, "end": 43192, "loc": { "start": { "line": 1182, "column": 51 }, "end": { "line": 1182, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryPassOverItem", "start": 43192, "end": 43207, "loc": { "start": { "line": 1182, "column": 52 }, "end": { "line": 1182, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43207, "end": 43208, "loc": { "start": { "line": 1182, "column": 67 }, "end": { "line": 1182, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 43226, "end": 43230, "loc": { "start": { "line": 1183, "column": 16 }, "end": { "line": 1183, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43230, "end": 43231, "loc": { "start": { "line": 1183, "column": 20 }, "end": { "line": 1183, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 43249, "end": 43253, "loc": { "start": { "line": 1184, "column": 16 }, "end": { "line": 1184, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43253, "end": 43254, "loc": { "start": { "line": 1184, "column": 20 }, "end": { "line": 1184, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 43254, "end": 43268, "loc": { "start": { "line": 1184, "column": 21 }, "end": { "line": 1184, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43268, "end": 43269, "loc": { "start": { "line": 1184, "column": 35 }, "end": { "line": 1184, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 43269, "end": 43275, "loc": { "start": { "line": 1184, "column": 36 }, "end": { "line": 1184, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43275, "end": 43276, "loc": { "start": { "line": 1184, "column": 42 }, "end": { "line": 1184, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 43294, "end": 43298, "loc": { "start": { "line": 1185, "column": 16 }, "end": { "line": 1185, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43298, "end": 43299, "loc": { "start": { "line": 1185, "column": 20 }, "end": { "line": 1185, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 43299, "end": 43313, "loc": { "start": { "line": 1185, "column": 21 }, "end": { "line": 1185, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43313, "end": 43314, "loc": { "start": { "line": 1185, "column": 35 }, "end": { "line": 1185, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 43314, "end": 43318, "loc": { "start": { "line": 1185, "column": 36 }, "end": { "line": 1185, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43332, "end": 43333, "loc": { "start": { "line": 1186, "column": 12 }, "end": { "line": 1186, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43343, "end": 43344, "loc": { "start": { "line": 1187, "column": 8 }, "end": { "line": 1187, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43345, "end": 43346, "loc": { "start": { "line": 1187, "column": 10 }, "end": { "line": 1187, "column": 11 } } }, { "type": "CommentLine", "value": " Trigger animation on the acceptor comp", "start": 43360, "end": 43401, "loc": { "start": { "line": 1188, "column": 12 }, "end": { "line": 1188, "column": 53 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 43415, "end": 43420, "loc": { "start": { "line": 1189, "column": 12 }, "end": { "line": 1189, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 43421, "end": 43439, "loc": { "start": { "line": 1189, "column": 18 }, "end": { "line": 1189, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 43440, "end": 43441, "loc": { "start": { "line": 1189, "column": 37 }, "end": { "line": 1189, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 43442, "end": 43446, "loc": { "start": { "line": 1189, "column": 39 }, "end": { "line": 1189, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43446, "end": 43447, "loc": { "start": { "line": 1189, "column": 43 }, "end": { "line": 1189, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 43447, "end": 43461, "loc": { "start": { "line": 1189, "column": 44 }, "end": { "line": 1189, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43461, "end": 43462, "loc": { "start": { "line": 1189, "column": 58 }, "end": { "line": 1189, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 43462, "end": 43468, "loc": { "start": { "line": 1189, "column": 59 }, "end": { "line": 1189, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43468, "end": 43469, "loc": { "start": { "line": 1189, "column": 65 }, "end": { "line": 1189, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 43469, "end": 43479, "loc": { "start": { "line": 1189, "column": 66 }, "end": { "line": 1189, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43479, "end": 43480, "loc": { "start": { "line": 1189, "column": 76 }, "end": { "line": 1189, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemAcceptor", "start": 43480, "end": 43492, "loc": { "start": { "line": 1189, "column": 77 }, "end": { "line": 1189, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43492, "end": 43493, "loc": { "start": { "line": 1189, "column": 89 }, "end": { "line": 1189, "column": 90 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 43507, "end": 43509, "loc": { "start": { "line": 1190, "column": 12 }, "end": { "line": 1190, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43510, "end": 43511, "loc": { "start": { "line": 1190, "column": 15 }, "end": { "line": 1190, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 43511, "end": 43529, "loc": { "start": { "line": 1190, "column": 16 }, "end": { "line": 1190, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43529, "end": 43530, "loc": { "start": { "line": 1190, "column": 34 }, "end": { "line": 1190, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43531, "end": 43532, "loc": { "start": { "line": 1190, "column": 36 }, "end": { "line": 1190, "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": 43550, "end": 43552, "loc": { "start": { "line": 1191, "column": 16 }, "end": { "line": 1191, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43553, "end": 43554, "loc": { "start": { "line": 1191, "column": 19 }, "end": { "line": 1191, "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": 43554, "end": 43555, "loc": { "start": { "line": 1191, "column": 20 }, "end": { "line": 1191, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 43555, "end": 43559, "loc": { "start": { "line": 1191, "column": 21 }, "end": { "line": 1191, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43559, "end": 43560, "loc": { "start": { "line": 1191, "column": 25 }, "end": { "line": 1191, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 43560, "end": 43564, "loc": { "start": { "line": 1191, "column": 26 }, "end": { "line": 1191, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43564, "end": 43565, "loc": { "start": { "line": 1191, "column": 30 }, "end": { "line": 1191, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 43565, "end": 43568, "loc": { "start": { "line": 1191, "column": 31 }, "end": { "line": 1191, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43568, "end": 43569, "loc": { "start": { "line": 1191, "column": 34 }, "end": { "line": 1191, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 43569, "end": 43577, "loc": { "start": { "line": 1191, "column": 35 }, "end": { "line": 1191, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43577, "end": 43578, "loc": { "start": { "line": 1191, "column": 43 }, "end": { "line": 1191, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 43578, "end": 43592, "loc": { "start": { "line": 1191, "column": 44 }, "end": { "line": 1191, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43592, "end": 43593, "loc": { "start": { "line": 1191, "column": 58 }, "end": { "line": 1191, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43593, "end": 43594, "loc": { "start": { "line": 1191, "column": 59 }, "end": { "line": 1191, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43594, "end": 43595, "loc": { "start": { "line": 1191, "column": 60 }, "end": { "line": 1191, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simplifiedBelts", "start": 43595, "end": 43610, "loc": { "start": { "line": 1191, "column": 61 }, "end": { "line": 1191, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43610, "end": 43611, "loc": { "start": { "line": 1191, "column": 76 }, "end": { "line": 1191, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43612, "end": 43613, "loc": { "start": { "line": 1191, "column": 78 }, "end": { "line": 1191, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetAcceptorComp", "start": 43635, "end": 43653, "loc": { "start": { "line": 1192, "column": 20 }, "end": { "line": 1192, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43653, "end": 43654, "loc": { "start": { "line": 1192, "column": 38 }, "end": { "line": 1192, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onItemAccepted", "start": 43654, "end": 43668, "loc": { "start": { "line": 1192, "column": 39 }, "end": { "line": 1192, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43668, "end": 43669, "loc": { "start": { "line": 1192, "column": 53 }, "end": { "line": 1192, "column": 54 } } }, { "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": 43695, "end": 43699, "loc": { "start": { "line": 1193, "column": 24 }, "end": { "line": 1193, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43699, "end": 43700, "loc": { "start": { "line": 1193, "column": 28 }, "end": { "line": 1193, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 43700, "end": 43714, "loc": { "start": { "line": 1193, "column": 29 }, "end": { "line": 1193, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43714, "end": 43715, "loc": { "start": { "line": 1193, "column": 43 }, "end": { "line": 1193, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 43715, "end": 43719, "loc": { "start": { "line": 1193, "column": 44 }, "end": { "line": 1193, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43719, "end": 43720, "loc": { "start": { "line": 1193, "column": 48 }, "end": { "line": 1193, "column": 49 } } }, { "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": 43746, "end": 43750, "loc": { "start": { "line": 1194, "column": 24 }, "end": { "line": 1194, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43750, "end": 43751, "loc": { "start": { "line": 1194, "column": 28 }, "end": { "line": 1194, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptorTarget", "start": 43751, "end": 43765, "loc": { "start": { "line": 1194, "column": 29 }, "end": { "line": 1194, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43765, "end": 43766, "loc": { "start": { "line": 1194, "column": 43 }, "end": { "line": 1194, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 43766, "end": 43775, "loc": { "start": { "line": 1194, "column": 44 }, "end": { "line": 1194, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43775, "end": 43776, "loc": { "start": { "line": 1194, "column": 53 }, "end": { "line": 1194, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 43802, "end": 43806, "loc": { "start": { "line": 1195, "column": 24 }, "end": { "line": 1195, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43806, "end": 43807, "loc": { "start": { "line": 1195, "column": 28 }, "end": { "line": 1195, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingProgress", "start": 43833, "end": 43850, "loc": { "start": { "line": 1196, "column": 24 }, "end": { "line": 1196, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43872, "end": 43873, "loc": { "start": { "line": 1197, "column": 20 }, "end": { "line": 1197, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43873, "end": 43874, "loc": { "start": { "line": 1197, "column": 21 }, "end": { "line": 1197, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43892, "end": 43893, "loc": { "start": { "line": 1198, "column": 16 }, "end": { "line": 1198, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43907, "end": 43908, "loc": { "start": { "line": 1199, "column": 12 }, "end": { "line": 1199, "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": 43924, "end": 43930, "loc": { "start": { "line": 1201, "column": 12 }, "end": { "line": 1201, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 43931, "end": 43935, "loc": { "start": { "line": 1201, "column": 19 }, "end": { "line": 1201, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43935, "end": 43936, "loc": { "start": { "line": 1201, "column": 23 }, "end": { "line": 1201, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43946, "end": 43947, "loc": { "start": { "line": 1202, "column": 8 }, "end": { "line": 1202, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 43959, "end": 43965, "loc": { "start": { "line": 1204, "column": 8 }, "end": { "line": 1204, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 43966, "end": 43971, "loc": { "start": { "line": 1204, "column": 15 }, "end": { "line": 1204, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 43971, "end": 43972, "loc": { "start": { "line": 1204, "column": 20 }, "end": { "line": 1204, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 43978, "end": 43979, "loc": { "start": { "line": 1205, "column": 4 }, "end": { "line": 1205, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Computes a world space position from the given progress\r\n * @param {number} progress\r\n * @returns {Vector}\r\n ", "start": 43987, "end": 44122, "loc": { "start": { "line": 1207, "column": 4 }, "end": { "line": 1211, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computePositionFromProgress", "start": 44128, "end": 44155, "loc": { "start": { "line": 1212, "column": 4 }, "end": { "line": 1212, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44155, "end": 44156, "loc": { "start": { "line": 1212, "column": 31 }, "end": { "line": 1212, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 44156, "end": 44164, "loc": { "start": { "line": 1212, "column": 32 }, "end": { "line": 1212, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44164, "end": 44165, "loc": { "start": { "line": 1212, "column": 40 }, "end": { "line": 1212, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44166, "end": 44167, "loc": { "start": { "line": 1212, "column": 42 }, "end": { "line": 1212, "column": 43 } } }, { "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": 44177, "end": 44180, "loc": { "start": { "line": 1213, "column": 8 }, "end": { "line": 1213, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLength", "start": 44181, "end": 44194, "loc": { "start": { "line": 1213, "column": 12 }, "end": { "line": 1213, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 44195, "end": 44196, "loc": { "start": { "line": 1213, "column": 26 }, "end": { "line": 1213, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 44197, "end": 44198, "loc": { "start": { "line": 1213, "column": 28 }, "end": { "line": 1213, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44198, "end": 44199, "loc": { "start": { "line": 1213, "column": 29 }, "end": { "line": 1213, "column": 30 } } }, { "type": "CommentLine", "value": " floating point issues ..", "start": 44211, "end": 44238, "loc": { "start": { "line": 1215, "column": 8 }, "end": { "line": 1215, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 44248, "end": 44254, "loc": { "start": { "line": 1216, "column": 8 }, "end": { "line": 1216, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44254, "end": 44255, "loc": { "start": { "line": 1216, "column": 14 }, "end": { "line": 1216, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 44255, "end": 44263, "loc": { "start": { "line": 1216, "column": 15 }, "end": { "line": 1216, "column": 23 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 44264, "end": 44266, "loc": { "start": { "line": 1216, "column": 24 }, "end": { "line": 1216, "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": 44267, "end": 44271, "loc": { "start": { "line": 1216, "column": 27 }, "end": { "line": 1216, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44271, "end": 44272, "loc": { "start": { "line": 1216, "column": 31 }, "end": { "line": 1216, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 44272, "end": 44283, "loc": { "start": { "line": 1216, "column": 32 }, "end": { "line": 1216, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 44284, "end": 44285, "loc": { "start": { "line": 1216, "column": 44 }, "end": { "line": 1216, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.02, "start": 44286, "end": 44290, "loc": { "start": { "line": 1216, "column": 46 }, "end": { "line": 1216, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44290, "end": 44291, "loc": { "start": { "line": 1216, "column": 50 }, "end": { "line": 1216, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Progress too big: ", "start": 44292, "end": 44312, "loc": { "start": { "line": 1216, "column": 52 }, "end": { "line": 1216, "column": 72 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 44313, "end": 44314, "loc": { "start": { "line": 1216, "column": 73 }, "end": { "line": 1216, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 44315, "end": 44323, "loc": { "start": { "line": 1216, "column": 75 }, "end": { "line": 1216, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44323, "end": 44324, "loc": { "start": { "line": 1216, "column": 83 }, "end": { "line": 1216, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44324, "end": 44325, "loc": { "start": { "line": 1216, "column": 84 }, "end": { "line": 1216, "column": 85 } } }, { "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": 44337, "end": 44340, "loc": { "start": { "line": 1218, "column": 8 }, "end": { "line": 1218, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44341, "end": 44342, "loc": { "start": { "line": 1218, "column": 12 }, "end": { "line": 1218, "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": 44342, "end": 44345, "loc": { "start": { "line": 1218, "column": 13 }, "end": { "line": 1218, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 44346, "end": 44347, "loc": { "start": { "line": 1218, "column": 17 }, "end": { "line": 1218, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 44348, "end": 44349, "loc": { "start": { "line": 1218, "column": 19 }, "end": { "line": 1218, "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": 44350, "end": 44351, "loc": { "start": { "line": 1218, "column": 21 }, "end": { "line": 1218, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44351, "end": 44352, "loc": { "start": { "line": 1218, "column": 22 }, "end": { "line": 1218, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 44353, "end": 44354, "loc": { "start": { "line": 1218, "column": 24 }, "end": { "line": 1218, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 44355, "end": 44356, "loc": { "start": { "line": 1218, "column": 26 }, "end": { "line": 1218, "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": 44357, "end": 44361, "loc": { "start": { "line": 1218, "column": 28 }, "end": { "line": 1218, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44361, "end": 44362, "loc": { "start": { "line": 1218, "column": 32 }, "end": { "line": 1218, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 44362, "end": 44372, "loc": { "start": { "line": 1218, "column": 33 }, "end": { "line": 1218, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44372, "end": 44373, "loc": { "start": { "line": 1218, "column": 43 }, "end": { "line": 1218, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 44373, "end": 44379, "loc": { "start": { "line": 1218, "column": 44 }, "end": { "line": 1218, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44379, "end": 44380, "loc": { "start": { "line": 1218, "column": 50 }, "end": { "line": 1218, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 44381, "end": 44383, "loc": { "start": { "line": 1218, "column": 52 }, "end": { "line": 1218, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 44383, "end": 44384, "loc": { "start": { "line": 1218, "column": 54 }, "end": { "line": 1218, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44384, "end": 44385, "loc": { "start": { "line": 1218, "column": 55 }, "end": { "line": 1218, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44386, "end": 44387, "loc": { "start": { "line": 1218, "column": 57 }, "end": { "line": 1218, "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": 44401, "end": 44406, "loc": { "start": { "line": 1219, "column": 12 }, "end": { "line": 1219, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 44407, "end": 44415, "loc": { "start": { "line": 1219, "column": 18 }, "end": { "line": 1219, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 44416, "end": 44417, "loc": { "start": { "line": 1219, "column": 27 }, "end": { "line": 1219, "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": 44418, "end": 44422, "loc": { "start": { "line": 1219, "column": 29 }, "end": { "line": 1219, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44422, "end": 44423, "loc": { "start": { "line": 1219, "column": 33 }, "end": { "line": 1219, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 44423, "end": 44433, "loc": { "start": { "line": 1219, "column": 34 }, "end": { "line": 1219, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44433, "end": 44434, "loc": { "start": { "line": 1219, "column": 44 }, "end": { "line": 1219, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 44434, "end": 44435, "loc": { "start": { "line": 1219, "column": 45 }, "end": { "line": 1219, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44435, "end": 44436, "loc": { "start": { "line": 1219, "column": 46 }, "end": { "line": 1219, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44436, "end": 44437, "loc": { "start": { "line": 1219, "column": 47 }, "end": { "line": 1219, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 44437, "end": 44447, "loc": { "start": { "line": 1219, "column": 48 }, "end": { "line": 1219, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44447, "end": 44448, "loc": { "start": { "line": 1219, "column": 58 }, "end": { "line": 1219, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 44448, "end": 44452, "loc": { "start": { "line": 1219, "column": 59 }, "end": { "line": 1219, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44452, "end": 44453, "loc": { "start": { "line": 1219, "column": 63 }, "end": { "line": 1219, "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": 44467, "end": 44472, "loc": { "start": { "line": 1220, "column": 12 }, "end": { "line": 1220, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localLength", "start": 44473, "end": 44484, "loc": { "start": { "line": 1220, "column": 18 }, "end": { "line": 1220, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 44485, "end": 44486, "loc": { "start": { "line": 1220, "column": 30 }, "end": { "line": 1220, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 44487, "end": 44495, "loc": { "start": { "line": 1220, "column": 32 }, "end": { "line": 1220, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44495, "end": 44496, "loc": { "start": { "line": 1220, "column": 40 }, "end": { "line": 1220, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 44496, "end": 44519, "loc": { "start": { "line": 1220, "column": 41 }, "end": { "line": 1220, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44519, "end": 44520, "loc": { "start": { "line": 1220, "column": 64 }, "end": { "line": 1220, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44520, "end": 44521, "loc": { "start": { "line": 1220, "column": 65 }, "end": { "line": 1220, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44521, "end": 44522, "loc": { "start": { "line": 1220, "column": 66 }, "end": { "line": 1220, "column": 67 } } }, { "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": 44538, "end": 44540, "loc": { "start": { "line": 1222, "column": 12 }, "end": { "line": 1222, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44541, "end": 44542, "loc": { "start": { "line": 1222, "column": 15 }, "end": { "line": 1222, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLength", "start": 44542, "end": 44555, "loc": { "start": { "line": 1222, "column": 16 }, "end": { "line": 1222, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 44556, "end": 44557, "loc": { "start": { "line": 1222, "column": 30 }, "end": { "line": 1222, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localLength", "start": 44558, "end": 44569, "loc": { "start": { "line": 1222, "column": 32 }, "end": { "line": 1222, "column": 43 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 44570, "end": 44572, "loc": { "start": { "line": 1222, "column": 44 }, "end": { "line": 1222, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 44573, "end": 44581, "loc": { "start": { "line": 1222, "column": 47 }, "end": { "line": 1222, "column": 55 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 44582, "end": 44584, "loc": { "start": { "line": 1222, "column": 56 }, "end": { "line": 1222, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 44585, "end": 44586, "loc": { "start": { "line": 1222, "column": 59 }, "end": { "line": 1222, "column": 60 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 44587, "end": 44590, "loc": { "start": { "line": 1222, "column": 61 }, "end": { "line": 1222, "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": 44591, "end": 44595, "loc": { "start": { "line": 1222, "column": 65 }, "end": { "line": 1222, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44595, "end": 44596, "loc": { "start": { "line": 1222, "column": 69 }, "end": { "line": 1222, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 44596, "end": 44606, "loc": { "start": { "line": 1222, "column": 70 }, "end": { "line": 1222, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44606, "end": 44607, "loc": { "start": { "line": 1222, "column": 80 }, "end": { "line": 1222, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 44607, "end": 44613, "loc": { "start": { "line": 1222, "column": 81 }, "end": { "line": 1222, "column": 87 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 44614, "end": 44615, "loc": { "start": { "line": 1222, "column": 88 }, "end": { "line": 1222, "column": 89 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 44616, "end": 44617, "loc": { "start": { "line": 1222, "column": 90 }, "end": { "line": 1222, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44617, "end": 44618, "loc": { "start": { "line": 1222, "column": 91 }, "end": { "line": 1222, "column": 92 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44619, "end": 44620, "loc": { "start": { "line": 1222, "column": 93 }, "end": { "line": 1222, "column": 94 } } }, { "type": "CommentLine", "value": " Min required here due to floating point issues", "start": 44638, "end": 44687, "loc": { "start": { "line": 1223, "column": 16 }, "end": { "line": 1223, "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": 44705, "end": 44710, "loc": { "start": { "line": 1224, "column": 16 }, "end": { "line": 1224, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localProgress", "start": 44711, "end": 44724, "loc": { "start": { "line": 1224, "column": 22 }, "end": { "line": 1224, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 44725, "end": 44726, "loc": { "start": { "line": 1224, "column": 36 }, "end": { "line": 1224, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 44727, "end": 44731, "loc": { "start": { "line": 1224, "column": 38 }, "end": { "line": 1224, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44731, "end": 44732, "loc": { "start": { "line": 1224, "column": 42 }, "end": { "line": 1224, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 44732, "end": 44735, "loc": { "start": { "line": 1224, "column": 43 }, "end": { "line": 1224, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44735, "end": 44736, "loc": { "start": { "line": 1224, "column": 46 }, "end": { "line": 1224, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 44736, "end": 44739, "loc": { "start": { "line": 1224, "column": 47 }, "end": { "line": 1224, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44739, "end": 44740, "loc": { "start": { "line": 1224, "column": 50 }, "end": { "line": 1224, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 44741, "end": 44749, "loc": { "start": { "line": 1224, "column": 52 }, "end": { "line": 1224, "column": 60 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 44750, "end": 44751, "loc": { "start": { "line": 1224, "column": 61 }, "end": { "line": 1224, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLength", "start": 44752, "end": 44765, "loc": { "start": { "line": 1224, "column": 63 }, "end": { "line": 1224, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44765, "end": 44766, "loc": { "start": { "line": 1224, "column": 76 }, "end": { "line": 1224, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44766, "end": 44767, "loc": { "start": { "line": 1224, "column": 77 }, "end": { "line": 1224, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 44787, "end": 44793, "loc": { "start": { "line": 1226, "column": 16 }, "end": { "line": 1226, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44793, "end": 44794, "loc": { "start": { "line": 1226, "column": 22 }, "end": { "line": 1226, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localProgress", "start": 44794, "end": 44807, "loc": { "start": { "line": 1226, "column": 23 }, "end": { "line": 1226, "column": 36 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 44808, "end": 44810, "loc": { "start": { "line": 1226, "column": 37 }, "end": { "line": 1226, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 44811, "end": 44814, "loc": { "start": { "line": 1226, "column": 40 }, "end": { "line": 1226, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44814, "end": 44815, "loc": { "start": { "line": 1226, "column": 43 }, "end": { "line": 1226, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid local progress: ", "start": 44816, "end": 44842, "loc": { "start": { "line": 1226, "column": 45 }, "end": { "line": 1226, "column": 71 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 44843, "end": 44844, "loc": { "start": { "line": 1226, "column": 72 }, "end": { "line": 1226, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localProgress", "start": 44845, "end": 44858, "loc": { "start": { "line": 1226, "column": 74 }, "end": { "line": 1226, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44858, "end": 44859, "loc": { "start": { "line": 1226, "column": 87 }, "end": { "line": 1226, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44859, "end": 44860, "loc": { "start": { "line": 1226, "column": 88 }, "end": { "line": 1226, "column": 89 } } }, { "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": 44878, "end": 44883, "loc": { "start": { "line": 1227, "column": 16 }, "end": { "line": 1227, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localSpace", "start": 44884, "end": 44894, "loc": { "start": { "line": 1227, "column": 22 }, "end": { "line": 1227, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 44895, "end": 44896, "loc": { "start": { "line": 1227, "column": 33 }, "end": { "line": 1227, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 44897, "end": 44905, "loc": { "start": { "line": 1227, "column": 35 }, "end": { "line": 1227, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44905, "end": 44906, "loc": { "start": { "line": 1227, "column": 43 }, "end": { "line": 1227, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transformBeltToLocalSpace", "start": 44906, "end": 44931, "loc": { "start": { "line": 1227, "column": 44 }, "end": { "line": 1227, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44931, "end": 44932, "loc": { "start": { "line": 1227, "column": 69 }, "end": { "line": 1227, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localProgress", "start": 44932, "end": 44945, "loc": { "start": { "line": 1227, "column": 70 }, "end": { "line": 1227, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44945, "end": 44946, "loc": { "start": { "line": 1227, "column": 83 }, "end": { "line": 1227, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44946, "end": 44947, "loc": { "start": { "line": 1227, "column": 84 }, "end": { "line": 1227, "column": 85 } } }, { "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": 44965, "end": 44971, "loc": { "start": { "line": 1228, "column": 16 }, "end": { "line": 1228, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 44972, "end": 44976, "loc": { "start": { "line": 1228, "column": 23 }, "end": { "line": 1228, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44976, "end": 44977, "loc": { "start": { "line": 1228, "column": 27 }, "end": { "line": 1228, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 44977, "end": 44987, "loc": { "start": { "line": 1228, "column": 28 }, "end": { "line": 1228, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44987, "end": 44988, "loc": { "start": { "line": 1228, "column": 38 }, "end": { "line": 1228, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 44988, "end": 44989, "loc": { "start": { "line": 1228, "column": 39 }, "end": { "line": 1228, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44989, "end": 44990, "loc": { "start": { "line": 1228, "column": 40 }, "end": { "line": 1228, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44990, "end": 44991, "loc": { "start": { "line": 1228, "column": 41 }, "end": { "line": 1228, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 44991, "end": 45001, "loc": { "start": { "line": 1228, "column": 42 }, "end": { "line": 1228, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45001, "end": 45002, "loc": { "start": { "line": 1228, "column": 52 }, "end": { "line": 1228, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 45002, "end": 45017, "loc": { "start": { "line": 1228, "column": 53 }, "end": { "line": 1228, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45017, "end": 45018, "loc": { "start": { "line": 1228, "column": 68 }, "end": { "line": 1228, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localTileToWorld", "start": 45018, "end": 45034, "loc": { "start": { "line": 1228, "column": 69 }, "end": { "line": 1228, "column": 85 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45034, "end": 45035, "loc": { "start": { "line": 1228, "column": 85 }, "end": { "line": 1228, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localSpace", "start": 45035, "end": 45045, "loc": { "start": { "line": 1228, "column": 86 }, "end": { "line": 1228, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45045, "end": 45046, "loc": { "start": { "line": 1228, "column": 96 }, "end": { "line": 1228, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45046, "end": 45047, "loc": { "start": { "line": 1228, "column": 97 }, "end": { "line": 1228, "column": 98 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45061, "end": 45062, "loc": { "start": { "line": 1229, "column": 12 }, "end": { "line": 1229, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLength", "start": 45076, "end": 45089, "loc": { "start": { "line": 1230, "column": 12 }, "end": { "line": 1230, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 45090, "end": 45092, "loc": { "start": { "line": 1230, "column": 26 }, "end": { "line": 1230, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localLength", "start": 45093, "end": 45104, "loc": { "start": { "line": 1230, "column": 29 }, "end": { "line": 1230, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45104, "end": 45105, "loc": { "start": { "line": 1230, "column": 40 }, "end": { "line": 1230, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45115, "end": 45116, "loc": { "start": { "line": 1231, "column": 8 }, "end": { "line": 1231, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 45128, "end": 45134, "loc": { "start": { "line": 1233, "column": 8 }, "end": { "line": 1233, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45134, "end": 45135, "loc": { "start": { "line": 1233, "column": 14 }, "end": { "line": 1233, "column": 15 } } }, { "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": 45135, "end": 45140, "loc": { "start": { "line": 1233, "column": 15 }, "end": { "line": 1233, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45140, "end": 45141, "loc": { "start": { "line": 1233, "column": 20 }, "end": { "line": 1233, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "invalid progress: ", "start": 45142, "end": 45162, "loc": { "start": { "line": 1233, "column": 22 }, "end": { "line": 1233, "column": 42 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 45163, "end": 45164, "loc": { "start": { "line": 1233, "column": 43 }, "end": { "line": 1233, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 45165, "end": 45173, "loc": { "start": { "line": 1233, "column": 45 }, "end": { "line": 1233, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 45174, "end": 45175, "loc": { "start": { "line": 1233, "column": 54 }, "end": { "line": 1233, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " (max: ", "start": 45176, "end": 45185, "loc": { "start": { "line": 1233, "column": 56 }, "end": { "line": 1233, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 45186, "end": 45187, "loc": { "start": { "line": 1233, "column": 66 }, "end": { "line": 1233, "column": 67 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 45188, "end": 45192, "loc": { "start": { "line": 1233, "column": 68 }, "end": { "line": 1233, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45192, "end": 45193, "loc": { "start": { "line": 1233, "column": 72 }, "end": { "line": 1233, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 45193, "end": 45204, "loc": { "start": { "line": 1233, "column": 73 }, "end": { "line": 1233, "column": 84 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 45205, "end": 45206, "loc": { "start": { "line": 1233, "column": 85 }, "end": { "line": 1233, "column": 86 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 45207, "end": 45210, "loc": { "start": { "line": 1233, "column": 87 }, "end": { "line": 1233, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45210, "end": 45211, "loc": { "start": { "line": 1233, "column": 90 }, "end": { "line": 1233, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45211, "end": 45212, "loc": { "start": { "line": 1233, "column": 91 }, "end": { "line": 1233, "column": 92 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45218, "end": 45219, "loc": { "start": { "line": 1234, "column": 4 }, "end": { "line": 1234, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 45227, "end": 45290, "loc": { "start": { "line": 1236, "column": 4 }, "end": { "line": 1239, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawDebug", "start": 45296, "end": 45305, "loc": { "start": { "line": 1240, "column": 4 }, "end": { "line": 1240, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45305, "end": 45306, "loc": { "start": { "line": 1240, "column": 13 }, "end": { "line": 1240, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45306, "end": 45316, "loc": { "start": { "line": 1240, "column": 14 }, "end": { "line": 1240, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45316, "end": 45317, "loc": { "start": { "line": 1240, "column": 24 }, "end": { "line": 1240, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45318, "end": 45319, "loc": { "start": { "line": 1240, "column": 26 }, "end": { "line": 1240, "column": 27 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 45329, "end": 45331, "loc": { "start": { "line": 1241, "column": 8 }, "end": { "line": 1241, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45332, "end": 45333, "loc": { "start": { "line": 1241, "column": 11 }, "end": { "line": 1241, "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": 45333, "end": 45334, "loc": { "start": { "line": 1241, "column": 12 }, "end": { "line": 1241, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45334, "end": 45344, "loc": { "start": { "line": 1241, "column": 13 }, "end": { "line": 1241, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45344, "end": 45345, "loc": { "start": { "line": 1241, "column": 23 }, "end": { "line": 1241, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibleRect", "start": 45345, "end": 45356, "loc": { "start": { "line": 1241, "column": 24 }, "end": { "line": 1241, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45356, "end": 45357, "loc": { "start": { "line": 1241, "column": 35 }, "end": { "line": 1241, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containsRect", "start": 45357, "end": 45369, "loc": { "start": { "line": 1241, "column": 36 }, "end": { "line": 1241, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45369, "end": 45370, "loc": { "start": { "line": 1241, "column": 48 }, "end": { "line": 1241, "column": 49 } } }, { "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": 45370, "end": 45374, "loc": { "start": { "line": 1241, "column": 49 }, "end": { "line": 1241, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45374, "end": 45375, "loc": { "start": { "line": 1241, "column": 53 }, "end": { "line": 1241, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 45375, "end": 45386, "loc": { "start": { "line": 1241, "column": 54 }, "end": { "line": 1241, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45386, "end": 45387, "loc": { "start": { "line": 1241, "column": 65 }, "end": { "line": 1241, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45387, "end": 45388, "loc": { "start": { "line": 1241, "column": 66 }, "end": { "line": 1241, "column": 67 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45389, "end": 45390, "loc": { "start": { "line": 1241, "column": 68 }, "end": { "line": 1241, "column": 69 } } }, { "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": 45404, "end": 45410, "loc": { "start": { "line": 1242, "column": 12 }, "end": { "line": 1242, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45410, "end": 45411, "loc": { "start": { "line": 1242, "column": 18 }, "end": { "line": 1242, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45421, "end": 45422, "loc": { "start": { "line": 1243, "column": 8 }, "end": { "line": 1243, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45434, "end": 45444, "loc": { "start": { "line": 1245, "column": 8 }, "end": { "line": 1245, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45444, "end": 45445, "loc": { "start": { "line": 1245, "column": 18 }, "end": { "line": 1245, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 45445, "end": 45452, "loc": { "start": { "line": 1245, "column": 19 }, "end": { "line": 1245, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45452, "end": 45453, "loc": { "start": { "line": 1245, "column": 26 }, "end": { "line": 1245, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 45453, "end": 45462, "loc": { "start": { "line": 1245, "column": 27 }, "end": { "line": 1245, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 45463, "end": 45464, "loc": { "start": { "line": 1245, "column": 37 }, "end": { "line": 1245, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#d79a25", "start": 45465, "end": 45474, "loc": { "start": { "line": 1245, "column": 39 }, "end": { "line": 1245, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45474, "end": 45475, "loc": { "start": { "line": 1245, "column": 48 }, "end": { "line": 1245, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45485, "end": 45495, "loc": { "start": { "line": 1246, "column": 8 }, "end": { "line": 1246, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45495, "end": 45496, "loc": { "start": { "line": 1246, "column": 18 }, "end": { "line": 1246, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 45496, "end": 45503, "loc": { "start": { "line": 1246, "column": 19 }, "end": { "line": 1246, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45503, "end": 45504, "loc": { "start": { "line": 1246, "column": 26 }, "end": { "line": 1246, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "strokeStyle", "start": 45504, "end": 45515, "loc": { "start": { "line": 1246, "column": 27 }, "end": { "line": 1246, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 45516, "end": 45517, "loc": { "start": { "line": 1246, "column": 39 }, "end": { "line": 1246, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#d79a25", "start": 45518, "end": 45527, "loc": { "start": { "line": 1246, "column": 41 }, "end": { "line": 1246, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45527, "end": 45528, "loc": { "start": { "line": 1246, "column": 50 }, "end": { "line": 1246, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45538, "end": 45548, "loc": { "start": { "line": 1247, "column": 8 }, "end": { "line": 1247, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45548, "end": 45549, "loc": { "start": { "line": 1247, "column": 18 }, "end": { "line": 1247, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 45549, "end": 45556, "loc": { "start": { "line": 1247, "column": 19 }, "end": { "line": 1247, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45556, "end": 45557, "loc": { "start": { "line": 1247, "column": 26 }, "end": { "line": 1247, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginPath", "start": 45557, "end": 45566, "loc": { "start": { "line": 1247, "column": 27 }, "end": { "line": 1247, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45566, "end": 45567, "loc": { "start": { "line": 1247, "column": 36 }, "end": { "line": 1247, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45567, "end": 45568, "loc": { "start": { "line": 1247, "column": 37 }, "end": { "line": 1247, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45568, "end": 45569, "loc": { "start": { "line": 1247, "column": 38 }, "end": { "line": 1247, "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": 45581, "end": 45584, "loc": { "start": { "line": 1249, "column": 8 }, "end": { "line": 1249, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45585, "end": 45586, "loc": { "start": { "line": 1249, "column": 12 }, "end": { "line": 1249, "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": 45586, "end": 45589, "loc": { "start": { "line": 1249, "column": 13 }, "end": { "line": 1249, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 45590, "end": 45591, "loc": { "start": { "line": 1249, "column": 17 }, "end": { "line": 1249, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 45592, "end": 45593, "loc": { "start": { "line": 1249, "column": 19 }, "end": { "line": 1249, "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": 45594, "end": 45595, "loc": { "start": { "line": 1249, "column": 21 }, "end": { "line": 1249, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45595, "end": 45596, "loc": { "start": { "line": 1249, "column": 22 }, "end": { "line": 1249, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 45597, "end": 45598, "loc": { "start": { "line": 1249, "column": 24 }, "end": { "line": 1249, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 45599, "end": 45600, "loc": { "start": { "line": 1249, "column": 26 }, "end": { "line": 1249, "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": 45601, "end": 45605, "loc": { "start": { "line": 1249, "column": 28 }, "end": { "line": 1249, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45605, "end": 45606, "loc": { "start": { "line": 1249, "column": 32 }, "end": { "line": 1249, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 45606, "end": 45616, "loc": { "start": { "line": 1249, "column": 33 }, "end": { "line": 1249, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45616, "end": 45617, "loc": { "start": { "line": 1249, "column": 43 }, "end": { "line": 1249, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 45617, "end": 45623, "loc": { "start": { "line": 1249, "column": 44 }, "end": { "line": 1249, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45623, "end": 45624, "loc": { "start": { "line": 1249, "column": 50 }, "end": { "line": 1249, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 45625, "end": 45627, "loc": { "start": { "line": 1249, "column": 52 }, "end": { "line": 1249, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 45627, "end": 45628, "loc": { "start": { "line": 1249, "column": 54 }, "end": { "line": 1249, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45628, "end": 45629, "loc": { "start": { "line": 1249, "column": 55 }, "end": { "line": 1249, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45630, "end": 45631, "loc": { "start": { "line": 1249, "column": 57 }, "end": { "line": 1249, "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": 45645, "end": 45650, "loc": { "start": { "line": 1250, "column": 12 }, "end": { "line": 1250, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 45651, "end": 45657, "loc": { "start": { "line": 1250, "column": 18 }, "end": { "line": 1250, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 45658, "end": 45659, "loc": { "start": { "line": 1250, "column": 25 }, "end": { "line": 1250, "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": 45660, "end": 45664, "loc": { "start": { "line": 1250, "column": 27 }, "end": { "line": 1250, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45664, "end": 45665, "loc": { "start": { "line": 1250, "column": 31 }, "end": { "line": 1250, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 45665, "end": 45675, "loc": { "start": { "line": 1250, "column": 32 }, "end": { "line": 1250, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45675, "end": 45676, "loc": { "start": { "line": 1250, "column": 42 }, "end": { "line": 1250, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 45676, "end": 45677, "loc": { "start": { "line": 1250, "column": 43 }, "end": { "line": 1250, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45677, "end": 45678, "loc": { "start": { "line": 1250, "column": 44 }, "end": { "line": 1250, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45678, "end": 45679, "loc": { "start": { "line": 1250, "column": 45 }, "end": { "line": 1250, "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": 45693, "end": 45698, "loc": { "start": { "line": 1251, "column": 12 }, "end": { "line": 1251, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 45699, "end": 45702, "loc": { "start": { "line": 1251, "column": 18 }, "end": { "line": 1251, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 45703, "end": 45704, "loc": { "start": { "line": 1251, "column": 22 }, "end": { "line": 1251, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 45705, "end": 45711, "loc": { "start": { "line": 1251, "column": 24 }, "end": { "line": 1251, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45711, "end": 45712, "loc": { "start": { "line": 1251, "column": 30 }, "end": { "line": 1251, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 45712, "end": 45722, "loc": { "start": { "line": 1251, "column": 31 }, "end": { "line": 1251, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45722, "end": 45723, "loc": { "start": { "line": 1251, "column": 41 }, "end": { "line": 1251, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 45723, "end": 45738, "loc": { "start": { "line": 1251, "column": 42 }, "end": { "line": 1251, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45738, "end": 45739, "loc": { "start": { "line": 1251, "column": 57 }, "end": { "line": 1251, "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": 45753, "end": 45758, "loc": { "start": { "line": 1252, "column": 12 }, "end": { "line": 1252, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 45759, "end": 45767, "loc": { "start": { "line": 1252, "column": 18 }, "end": { "line": 1252, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 45768, "end": 45769, "loc": { "start": { "line": 1252, "column": 27 }, "end": { "line": 1252, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 45770, "end": 45773, "loc": { "start": { "line": 1252, "column": 29 }, "end": { "line": 1252, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45773, "end": 45774, "loc": { "start": { "line": 1252, "column": 32 }, "end": { "line": 1252, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 45774, "end": 45780, "loc": { "start": { "line": 1252, "column": 33 }, "end": { "line": 1252, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45780, "end": 45781, "loc": { "start": { "line": 1252, "column": 39 }, "end": { "line": 1252, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 45781, "end": 45805, "loc": { "start": { "line": 1252, "column": 40 }, "end": { "line": 1252, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45805, "end": 45806, "loc": { "start": { "line": 1252, "column": 64 }, "end": { "line": 1252, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45806, "end": 45807, "loc": { "start": { "line": 1252, "column": 65 }, "end": { "line": 1252, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45807, "end": 45808, "loc": { "start": { "line": 1252, "column": 66 }, "end": { "line": 1252, "column": 67 } } }, { "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": 45824, "end": 45826, "loc": { "start": { "line": 1254, "column": 12 }, "end": { "line": 1254, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45827, "end": 45828, "loc": { "start": { "line": 1254, "column": 15 }, "end": { "line": 1254, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 45828, "end": 45829, "loc": { "start": { "line": 1254, "column": 16 }, "end": { "line": 1254, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 45830, "end": 45833, "loc": { "start": { "line": 1254, "column": 18 }, "end": { "line": 1254, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 45834, "end": 45835, "loc": { "start": { "line": 1254, "column": 22 }, "end": { "line": 1254, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45835, "end": 45836, "loc": { "start": { "line": 1254, "column": 23 }, "end": { "line": 1254, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45837, "end": 45838, "loc": { "start": { "line": 1254, "column": 25 }, "end": { "line": 1254, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45856, "end": 45866, "loc": { "start": { "line": 1255, "column": 16 }, "end": { "line": 1255, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45866, "end": 45867, "loc": { "start": { "line": 1255, "column": 26 }, "end": { "line": 1255, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 45867, "end": 45874, "loc": { "start": { "line": 1255, "column": 27 }, "end": { "line": 1255, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45874, "end": 45875, "loc": { "start": { "line": 1255, "column": 34 }, "end": { "line": 1255, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveTo", "start": 45875, "end": 45881, "loc": { "start": { "line": 1255, "column": 35 }, "end": { "line": 1255, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45881, "end": 45882, "loc": { "start": { "line": 1255, "column": 41 }, "end": { "line": 1255, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 45882, "end": 45890, "loc": { "start": { "line": 1255, "column": 42 }, "end": { "line": 1255, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45890, "end": 45891, "loc": { "start": { "line": 1255, "column": 50 }, "end": { "line": 1255, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 45891, "end": 45892, "loc": { "start": { "line": 1255, "column": 51 }, "end": { "line": 1255, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45892, "end": 45893, "loc": { "start": { "line": 1255, "column": 52 }, "end": { "line": 1255, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 45894, "end": 45902, "loc": { "start": { "line": 1255, "column": 54 }, "end": { "line": 1255, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45902, "end": 45903, "loc": { "start": { "line": 1255, "column": 62 }, "end": { "line": 1255, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 45903, "end": 45904, "loc": { "start": { "line": 1255, "column": 63 }, "end": { "line": 1255, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45904, "end": 45905, "loc": { "start": { "line": 1255, "column": 64 }, "end": { "line": 1255, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45905, "end": 45906, "loc": { "start": { "line": 1255, "column": 65 }, "end": { "line": 1255, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45920, "end": 45921, "loc": { "start": { "line": 1256, "column": 12 }, "end": { "line": 1256, "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": 45922, "end": 45926, "loc": { "start": { "line": 1256, "column": 14 }, "end": { "line": 1256, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45927, "end": 45928, "loc": { "start": { "line": 1256, "column": 19 }, "end": { "line": 1256, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 45946, "end": 45956, "loc": { "start": { "line": 1257, "column": 16 }, "end": { "line": 1257, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45956, "end": 45957, "loc": { "start": { "line": 1257, "column": 26 }, "end": { "line": 1257, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 45957, "end": 45964, "loc": { "start": { "line": 1257, "column": 27 }, "end": { "line": 1257, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45964, "end": 45965, "loc": { "start": { "line": 1257, "column": 34 }, "end": { "line": 1257, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lineTo", "start": 45965, "end": 45971, "loc": { "start": { "line": 1257, "column": 35 }, "end": { "line": 1257, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45971, "end": 45972, "loc": { "start": { "line": 1257, "column": 41 }, "end": { "line": 1257, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 45972, "end": 45980, "loc": { "start": { "line": 1257, "column": 42 }, "end": { "line": 1257, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45980, "end": 45981, "loc": { "start": { "line": 1257, "column": 50 }, "end": { "line": 1257, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 45981, "end": 45982, "loc": { "start": { "line": 1257, "column": 51 }, "end": { "line": 1257, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45982, "end": 45983, "loc": { "start": { "line": 1257, "column": 52 }, "end": { "line": 1257, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 45984, "end": 45992, "loc": { "start": { "line": 1257, "column": 54 }, "end": { "line": 1257, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45992, "end": 45993, "loc": { "start": { "line": 1257, "column": 62 }, "end": { "line": 1257, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 45993, "end": 45994, "loc": { "start": { "line": 1257, "column": 63 }, "end": { "line": 1257, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 45994, "end": 45995, "loc": { "start": { "line": 1257, "column": 64 }, "end": { "line": 1257, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45995, "end": 45996, "loc": { "start": { "line": 1257, "column": 65 }, "end": { "line": 1257, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46010, "end": 46011, "loc": { "start": { "line": 1258, "column": 12 }, "end": { "line": 1258, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46021, "end": 46022, "loc": { "start": { "line": 1259, "column": 8 }, "end": { "line": 1259, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46032, "end": 46042, "loc": { "start": { "line": 1260, "column": 8 }, "end": { "line": 1260, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46042, "end": 46043, "loc": { "start": { "line": 1260, "column": 18 }, "end": { "line": 1260, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46043, "end": 46050, "loc": { "start": { "line": 1260, "column": 19 }, "end": { "line": 1260, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46050, "end": 46051, "loc": { "start": { "line": 1260, "column": 26 }, "end": { "line": 1260, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stroke", "start": 46051, "end": 46057, "loc": { "start": { "line": 1260, "column": 27 }, "end": { "line": 1260, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46057, "end": 46058, "loc": { "start": { "line": 1260, "column": 33 }, "end": { "line": 1260, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46058, "end": 46059, "loc": { "start": { "line": 1260, "column": 34 }, "end": { "line": 1260, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46059, "end": 46060, "loc": { "start": { "line": 1260, "column": 35 }, "end": { "line": 1260, "column": 36 } } }, { "type": "CommentLine", "value": " Items", "start": 46072, "end": 46080, "loc": { "start": { "line": 1262, "column": 8 }, "end": { "line": 1262, "column": 16 } } }, { "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": 46090, "end": 46093, "loc": { "start": { "line": 1263, "column": 8 }, "end": { "line": 1263, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 46094, "end": 46102, "loc": { "start": { "line": 1263, "column": 12 }, "end": { "line": 1263, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46103, "end": 46104, "loc": { "start": { "line": 1263, "column": 21 }, "end": { "line": 1263, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 46105, "end": 46109, "loc": { "start": { "line": 1263, "column": 23 }, "end": { "line": 1263, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46109, "end": 46110, "loc": { "start": { "line": 1263, "column": 27 }, "end": { "line": 1263, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 46110, "end": 46128, "loc": { "start": { "line": 1263, "column": 28 }, "end": { "line": 1263, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46128, "end": 46129, "loc": { "start": { "line": 1263, "column": 46 }, "end": { "line": 1263, "column": 47 } } }, { "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": 46139, "end": 46142, "loc": { "start": { "line": 1264, "column": 8 }, "end": { "line": 1264, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46143, "end": 46144, "loc": { "start": { "line": 1264, "column": 12 }, "end": { "line": 1264, "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": 46144, "end": 46147, "loc": { "start": { "line": 1264, "column": 13 }, "end": { "line": 1264, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 46148, "end": 46149, "loc": { "start": { "line": 1264, "column": 17 }, "end": { "line": 1264, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46150, "end": 46151, "loc": { "start": { "line": 1264, "column": 19 }, "end": { "line": 1264, "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": 46152, "end": 46153, "loc": { "start": { "line": 1264, "column": 21 }, "end": { "line": 1264, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46153, "end": 46154, "loc": { "start": { "line": 1264, "column": 22 }, "end": { "line": 1264, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 46155, "end": 46156, "loc": { "start": { "line": 1264, "column": 24 }, "end": { "line": 1264, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 46157, "end": 46158, "loc": { "start": { "line": 1264, "column": 26 }, "end": { "line": 1264, "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": 46159, "end": 46163, "loc": { "start": { "line": 1264, "column": 28 }, "end": { "line": 1264, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46163, "end": 46164, "loc": { "start": { "line": 1264, "column": 32 }, "end": { "line": 1264, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 46164, "end": 46169, "loc": { "start": { "line": 1264, "column": 33 }, "end": { "line": 1264, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46169, "end": 46170, "loc": { "start": { "line": 1264, "column": 38 }, "end": { "line": 1264, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 46170, "end": 46176, "loc": { "start": { "line": 1264, "column": 39 }, "end": { "line": 1264, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46176, "end": 46177, "loc": { "start": { "line": 1264, "column": 45 }, "end": { "line": 1264, "column": 46 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 46178, "end": 46180, "loc": { "start": { "line": 1264, "column": 47 }, "end": { "line": 1264, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 46180, "end": 46181, "loc": { "start": { "line": 1264, "column": 49 }, "end": { "line": 1264, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46181, "end": 46182, "loc": { "start": { "line": 1264, "column": 50 }, "end": { "line": 1264, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46183, "end": 46184, "loc": { "start": { "line": 1264, "column": 52 }, "end": { "line": 1264, "column": 53 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 46198, "end": 46203, "loc": { "start": { "line": 1265, "column": 12 }, "end": { "line": 1265, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 46204, "end": 46223, "loc": { "start": { "line": 1265, "column": 18 }, "end": { "line": 1265, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46224, "end": 46225, "loc": { "start": { "line": 1265, "column": 38 }, "end": { "line": 1265, "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": 46226, "end": 46230, "loc": { "start": { "line": 1265, "column": 40 }, "end": { "line": 1265, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46230, "end": 46231, "loc": { "start": { "line": 1265, "column": 44 }, "end": { "line": 1265, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 46231, "end": 46236, "loc": { "start": { "line": 1265, "column": 45 }, "end": { "line": 1265, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46236, "end": 46237, "loc": { "start": { "line": 1265, "column": 50 }, "end": { "line": 1265, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 46237, "end": 46238, "loc": { "start": { "line": 1265, "column": 51 }, "end": { "line": 1265, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46238, "end": 46239, "loc": { "start": { "line": 1265, "column": 52 }, "end": { "line": 1265, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46239, "end": 46240, "loc": { "start": { "line": 1265, "column": 53 }, "end": { "line": 1265, "column": 54 } } }, { "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": 46254, "end": 46259, "loc": { "start": { "line": 1266, "column": 12 }, "end": { "line": 1266, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 46260, "end": 46268, "loc": { "start": { "line": 1266, "column": 18 }, "end": { "line": 1266, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46269, "end": 46270, "loc": { "start": { "line": 1266, "column": 27 }, "end": { "line": 1266, "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": 46271, "end": 46275, "loc": { "start": { "line": 1266, "column": 29 }, "end": { "line": 1266, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46275, "end": 46276, "loc": { "start": { "line": 1266, "column": 33 }, "end": { "line": 1266, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computePositionFromProgress", "start": 46276, "end": 46303, "loc": { "start": { "line": 1266, "column": 34 }, "end": { "line": 1266, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46303, "end": 46304, "loc": { "start": { "line": 1266, "column": 61 }, "end": { "line": 1266, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 46304, "end": 46312, "loc": { "start": { "line": 1266, "column": 62 }, "end": { "line": 1266, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46312, "end": 46313, "loc": { "start": { "line": 1266, "column": 70 }, "end": { "line": 1266, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46313, "end": 46314, "loc": { "start": { "line": 1266, "column": 71 }, "end": { "line": 1266, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 46314, "end": 46338, "loc": { "start": { "line": 1266, "column": 72 }, "end": { "line": 1266, "column": 96 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46338, "end": 46339, "loc": { "start": { "line": 1266, "column": 96 }, "end": { "line": 1266, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46339, "end": 46340, "loc": { "start": { "line": 1266, "column": 97 }, "end": { "line": 1266, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46340, "end": 46341, "loc": { "start": { "line": 1266, "column": 98 }, "end": { "line": 1266, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46355, "end": 46365, "loc": { "start": { "line": 1267, "column": 12 }, "end": { "line": 1267, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46365, "end": 46366, "loc": { "start": { "line": 1267, "column": 22 }, "end": { "line": 1267, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46366, "end": 46373, "loc": { "start": { "line": 1267, "column": 23 }, "end": { "line": 1267, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46373, "end": 46374, "loc": { "start": { "line": 1267, "column": 30 }, "end": { "line": 1267, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 46374, "end": 46383, "loc": { "start": { "line": 1267, "column": 31 }, "end": { "line": 1267, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46384, "end": 46385, "loc": { "start": { "line": 1267, "column": 41 }, "end": { "line": 1267, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#268e4d", "start": 46386, "end": 46395, "loc": { "start": { "line": 1267, "column": 43 }, "end": { "line": 1267, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46395, "end": 46396, "loc": { "start": { "line": 1267, "column": 52 }, "end": { "line": 1267, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46410, "end": 46420, "loc": { "start": { "line": 1268, "column": 12 }, "end": { "line": 1268, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46420, "end": 46421, "loc": { "start": { "line": 1268, "column": 22 }, "end": { "line": 1268, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46421, "end": 46428, "loc": { "start": { "line": 1268, "column": 23 }, "end": { "line": 1268, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46428, "end": 46429, "loc": { "start": { "line": 1268, "column": 30 }, "end": { "line": 1268, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginRoundedRect", "start": 46429, "end": 46445, "loc": { "start": { "line": 1268, "column": 31 }, "end": { "line": 1268, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46445, "end": 46446, "loc": { "start": { "line": 1268, "column": 47 }, "end": { "line": 1268, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 46446, "end": 46454, "loc": { "start": { "line": 1268, "column": 48 }, "end": { "line": 1268, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46454, "end": 46455, "loc": { "start": { "line": 1268, "column": 56 }, "end": { "line": 1268, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 46455, "end": 46456, "loc": { "start": { "line": 1268, "column": 57 }, "end": { "line": 1268, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 46457, "end": 46458, "loc": { "start": { "line": 1268, "column": 59 }, "end": { "line": 1268, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 46459, "end": 46460, "loc": { "start": { "line": 1268, "column": 61 }, "end": { "line": 1268, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46460, "end": 46461, "loc": { "start": { "line": 1268, "column": 62 }, "end": { "line": 1268, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 46462, "end": 46470, "loc": { "start": { "line": 1268, "column": 64 }, "end": { "line": 1268, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46470, "end": 46471, "loc": { "start": { "line": 1268, "column": 72 }, "end": { "line": 1268, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 46471, "end": 46472, "loc": { "start": { "line": 1268, "column": 73 }, "end": { "line": 1268, "column": 74 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 46473, "end": 46474, "loc": { "start": { "line": 1268, "column": 75 }, "end": { "line": 1268, "column": 76 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 46475, "end": 46476, "loc": { "start": { "line": 1268, "column": 77 }, "end": { "line": 1268, "column": 78 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46476, "end": 46477, "loc": { "start": { "line": 1268, "column": 78 }, "end": { "line": 1268, "column": 79 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 46478, "end": 46480, "loc": { "start": { "line": 1268, "column": 80 }, "end": { "line": 1268, "column": 82 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46480, "end": 46481, "loc": { "start": { "line": 1268, "column": 82 }, "end": { "line": 1268, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 46482, "end": 46484, "loc": { "start": { "line": 1268, "column": 84 }, "end": { "line": 1268, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46484, "end": 46485, "loc": { "start": { "line": 1268, "column": 86 }, "end": { "line": 1268, "column": 87 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 46486, "end": 46487, "loc": { "start": { "line": 1268, "column": 88 }, "end": { "line": 1268, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46487, "end": 46488, "loc": { "start": { "line": 1268, "column": 89 }, "end": { "line": 1268, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46488, "end": 46489, "loc": { "start": { "line": 1268, "column": 90 }, "end": { "line": 1268, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46503, "end": 46513, "loc": { "start": { "line": 1269, "column": 12 }, "end": { "line": 1269, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46513, "end": 46514, "loc": { "start": { "line": 1269, "column": 22 }, "end": { "line": 1269, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46514, "end": 46521, "loc": { "start": { "line": 1269, "column": 23 }, "end": { "line": 1269, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46521, "end": 46522, "loc": { "start": { "line": 1269, "column": 30 }, "end": { "line": 1269, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fill", "start": 46522, "end": 46526, "loc": { "start": { "line": 1269, "column": 31 }, "end": { "line": 1269, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46526, "end": 46527, "loc": { "start": { "line": 1269, "column": 35 }, "end": { "line": 1269, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46527, "end": 46528, "loc": { "start": { "line": 1269, "column": 36 }, "end": { "line": 1269, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46528, "end": 46529, "loc": { "start": { "line": 1269, "column": 37 }, "end": { "line": 1269, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46543, "end": 46553, "loc": { "start": { "line": 1270, "column": 12 }, "end": { "line": 1270, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46553, "end": 46554, "loc": { "start": { "line": 1270, "column": 22 }, "end": { "line": 1270, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46554, "end": 46561, "loc": { "start": { "line": 1270, "column": 23 }, "end": { "line": 1270, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46561, "end": 46562, "loc": { "start": { "line": 1270, "column": 30 }, "end": { "line": 1270, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "font", "start": 46562, "end": 46566, "loc": { "start": { "line": 1270, "column": 31 }, "end": { "line": 1270, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46567, "end": 46568, "loc": { "start": { "line": 1270, "column": 36 }, "end": { "line": 1270, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "6px GameFont", "start": 46569, "end": 46583, "loc": { "start": { "line": 1270, "column": 38 }, "end": { "line": 1270, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46583, "end": 46584, "loc": { "start": { "line": 1270, "column": 52 }, "end": { "line": 1270, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46598, "end": 46608, "loc": { "start": { "line": 1271, "column": 12 }, "end": { "line": 1271, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46608, "end": 46609, "loc": { "start": { "line": 1271, "column": 22 }, "end": { "line": 1271, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46609, "end": 46616, "loc": { "start": { "line": 1271, "column": 23 }, "end": { "line": 1271, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46616, "end": 46617, "loc": { "start": { "line": 1271, "column": 30 }, "end": { "line": 1271, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 46617, "end": 46626, "loc": { "start": { "line": 1271, "column": 31 }, "end": { "line": 1271, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46627, "end": 46628, "loc": { "start": { "line": 1271, "column": 41 }, "end": { "line": 1271, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#111", "start": 46629, "end": 46635, "loc": { "start": { "line": 1271, "column": 43 }, "end": { "line": 1271, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46635, "end": 46636, "loc": { "start": { "line": 1271, "column": 49 }, "end": { "line": 1271, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 46650, "end": 46660, "loc": { "start": { "line": 1272, "column": 12 }, "end": { "line": 1272, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46660, "end": 46661, "loc": { "start": { "line": 1272, "column": 22 }, "end": { "line": 1272, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 46661, "end": 46668, "loc": { "start": { "line": 1272, "column": 23 }, "end": { "line": 1272, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46668, "end": 46669, "loc": { "start": { "line": 1272, "column": 30 }, "end": { "line": 1272, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillText", "start": 46669, "end": 46677, "loc": { "start": { "line": 1272, "column": 31 }, "end": { "line": 1272, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46677, "end": 46678, "loc": { "start": { "line": 1272, "column": 39 }, "end": { "line": 1272, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 46696, "end": 46698, "loc": { "start": { "line": 1273, "column": 16 }, "end": { "line": 1273, "column": 18 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 46699, "end": 46700, "loc": { "start": { "line": 1273, "column": 19 }, "end": { "line": 1273, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round4Digits", "start": 46701, "end": 46713, "loc": { "start": { "line": 1273, "column": 21 }, "end": { "line": 1273, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46713, "end": 46714, "loc": { "start": { "line": 1273, "column": 33 }, "end": { "line": 1273, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 46714, "end": 46733, "loc": { "start": { "line": 1273, "column": 34 }, "end": { "line": 1273, "column": 53 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46733, "end": 46734, "loc": { "start": { "line": 1273, "column": 53 }, "end": { "line": 1273, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 46734, "end": 46747, "loc": { "start": { "line": 1273, "column": 54 }, "end": { "line": 1273, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46747, "end": 46748, "loc": { "start": { "line": 1273, "column": 67 }, "end": { "line": 1273, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46748, "end": 46749, "loc": { "start": { "line": 1273, "column": 68 }, "end": { "line": 1273, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46749, "end": 46750, "loc": { "start": { "line": 1273, "column": 69 }, "end": { "line": 1273, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 46768, "end": 46776, "loc": { "start": { "line": 1274, "column": 16 }, "end": { "line": 1274, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46776, "end": 46777, "loc": { "start": { "line": 1274, "column": 24 }, "end": { "line": 1274, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 46777, "end": 46778, "loc": { "start": { "line": 1274, "column": 25 }, "end": { "line": 1274, "column": 26 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 46779, "end": 46780, "loc": { "start": { "line": 1274, "column": 27 }, "end": { "line": 1274, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 46781, "end": 46782, "loc": { "start": { "line": 1274, "column": 29 }, "end": { "line": 1274, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46782, "end": 46783, "loc": { "start": { "line": 1274, "column": 30 }, "end": { "line": 1274, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 46801, "end": 46809, "loc": { "start": { "line": 1275, "column": 16 }, "end": { "line": 1275, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46809, "end": 46810, "loc": { "start": { "line": 1275, "column": 24 }, "end": { "line": 1275, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 46810, "end": 46811, "loc": { "start": { "line": 1275, "column": 25 }, "end": { "line": 1275, "column": 26 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 46812, "end": 46813, "loc": { "start": { "line": 1275, "column": 27 }, "end": { "line": 1275, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 46814, "end": 46815, "loc": { "start": { "line": 1275, "column": 29 }, "end": { "line": 1275, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46829, "end": 46830, "loc": { "start": { "line": 1276, "column": 12 }, "end": { "line": 1276, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46830, "end": 46831, "loc": { "start": { "line": 1276, "column": 13 }, "end": { "line": 1276, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 46845, "end": 46853, "loc": { "start": { "line": 1277, "column": 12 }, "end": { "line": 1277, "column": 20 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 46854, "end": 46856, "loc": { "start": { "line": 1277, "column": 21 }, "end": { "line": 1277, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextDistanceAndItem", "start": 46857, "end": 46876, "loc": { "start": { "line": 1277, "column": 24 }, "end": { "line": 1277, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46876, "end": 46877, "loc": { "start": { "line": 1277, "column": 43 }, "end": { "line": 1277, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 46877, "end": 46890, "loc": { "start": { "line": 1277, "column": 44 }, "end": { "line": 1277, "column": 57 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46890, "end": 46891, "loc": { "start": { "line": 1277, "column": 57 }, "end": { "line": 1277, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46891, "end": 46892, "loc": { "start": { "line": 1277, "column": 58 }, "end": { "line": 1277, "column": 59 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 46908, "end": 46910, "loc": { "start": { "line": 1279, "column": 12 }, "end": { "line": 1279, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46911, "end": 46912, "loc": { "start": { "line": 1279, "column": 15 }, "end": { "line": 1279, "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": 46912, "end": 46916, "loc": { "start": { "line": 1279, "column": 16 }, "end": { "line": 1279, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46916, "end": 46917, "loc": { "start": { "line": 1279, "column": 20 }, "end": { "line": 1279, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 46917, "end": 46922, "loc": { "start": { "line": 1279, "column": 21 }, "end": { "line": 1279, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46922, "end": 46923, "loc": { "start": { "line": 1279, "column": 26 }, "end": { "line": 1279, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 46923, "end": 46929, "loc": { "start": { "line": 1279, "column": 27 }, "end": { "line": 1279, "column": 33 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 46930, "end": 46931, "loc": { "start": { "line": 1279, "column": 34 }, "end": { "line": 1279, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 46932, "end": 46933, "loc": { "start": { "line": 1279, "column": 36 }, "end": { "line": 1279, "column": 37 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 46934, "end": 46935, "loc": { "start": { "line": 1279, "column": 38 }, "end": { "line": 1279, "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": 46936, "end": 46940, "loc": { "start": { "line": 1279, "column": 40 }, "end": { "line": 1279, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46940, "end": 46941, "loc": { "start": { "line": 1279, "column": 44 }, "end": { "line": 1279, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCompressedItemsAfterFirstItem", "start": 46941, "end": 46973, "loc": { "start": { "line": 1279, "column": 45 }, "end": { "line": 1279, "column": 77 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 46974, "end": 46977, "loc": { "start": { "line": 1279, "column": 78 }, "end": { "line": 1279, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 46978, "end": 46979, "loc": { "start": { "line": 1279, "column": 82 }, "end": { "line": 1279, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46979, "end": 46980, "loc": { "start": { "line": 1279, "column": 83 }, "end": { "line": 1279, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46981, "end": 46982, "loc": { "start": { "line": 1279, "column": 85 }, "end": { "line": 1279, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47000, "end": 47010, "loc": { "start": { "line": 1280, "column": 16 }, "end": { "line": 1280, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47010, "end": 47011, "loc": { "start": { "line": 1280, "column": 26 }, "end": { "line": 1280, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47011, "end": 47018, "loc": { "start": { "line": 1280, "column": 27 }, "end": { "line": 1280, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47018, "end": 47019, "loc": { "start": { "line": 1280, "column": 34 }, "end": { "line": 1280, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 47019, "end": 47028, "loc": { "start": { "line": 1280, "column": 35 }, "end": { "line": 1280, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47029, "end": 47030, "loc": { "start": { "line": 1280, "column": 45 }, "end": { "line": 1280, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "red", "start": 47031, "end": 47036, "loc": { "start": { "line": 1280, "column": 47 }, "end": { "line": 1280, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47036, "end": 47037, "loc": { "start": { "line": 1280, "column": 52 }, "end": { "line": 1280, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47055, "end": 47065, "loc": { "start": { "line": 1281, "column": 16 }, "end": { "line": 1281, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47065, "end": 47066, "loc": { "start": { "line": 1281, "column": 26 }, "end": { "line": 1281, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47066, "end": 47073, "loc": { "start": { "line": 1281, "column": 27 }, "end": { "line": 1281, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47073, "end": 47074, "loc": { "start": { "line": 1281, "column": 34 }, "end": { "line": 1281, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 47074, "end": 47082, "loc": { "start": { "line": 1281, "column": 35 }, "end": { "line": 1281, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47082, "end": 47083, "loc": { "start": { "line": 1281, "column": 43 }, "end": { "line": 1281, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47083, "end": 47091, "loc": { "start": { "line": 1281, "column": 44 }, "end": { "line": 1281, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47091, "end": 47092, "loc": { "start": { "line": 1281, "column": 52 }, "end": { "line": 1281, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 47092, "end": 47093, "loc": { "start": { "line": 1281, "column": 53 }, "end": { "line": 1281, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 47094, "end": 47095, "loc": { "start": { "line": 1281, "column": 55 }, "end": { "line": 1281, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 47096, "end": 47097, "loc": { "start": { "line": 1281, "column": 57 }, "end": { "line": 1281, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47097, "end": 47098, "loc": { "start": { "line": 1281, "column": 58 }, "end": { "line": 1281, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47099, "end": 47107, "loc": { "start": { "line": 1281, "column": 60 }, "end": { "line": 1281, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47107, "end": 47108, "loc": { "start": { "line": 1281, "column": 68 }, "end": { "line": 1281, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 47108, "end": 47109, "loc": { "start": { "line": 1281, "column": 69 }, "end": { "line": 1281, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47109, "end": 47110, "loc": { "start": { "line": 1281, "column": 70 }, "end": { "line": 1281, "column": 71 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20, "start": 47111, "end": 47113, "loc": { "start": { "line": 1281, "column": 72 }, "end": { "line": 1281, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47113, "end": 47114, "loc": { "start": { "line": 1281, "column": 74 }, "end": { "line": 1281, "column": 75 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 47115, "end": 47116, "loc": { "start": { "line": 1281, "column": 76 }, "end": { "line": 1281, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47116, "end": 47117, "loc": { "start": { "line": 1281, "column": 77 }, "end": { "line": 1281, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47117, "end": 47118, "loc": { "start": { "line": 1281, "column": 78 }, "end": { "line": 1281, "column": 79 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47132, "end": 47133, "loc": { "start": { "line": 1282, "column": 12 }, "end": { "line": 1282, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47143, "end": 47144, "loc": { "start": { "line": 1283, "column": 8 }, "end": { "line": 1283, "column": 9 } } }, { "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": 47156, "end": 47159, "loc": { "start": { "line": 1285, "column": 8 }, "end": { "line": 1285, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47160, "end": 47161, "loc": { "start": { "line": 1285, "column": 12 }, "end": { "line": 1285, "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": 47161, "end": 47164, "loc": { "start": { "line": 1285, "column": 13 }, "end": { "line": 1285, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 47165, "end": 47166, "loc": { "start": { "line": 1285, "column": 17 }, "end": { "line": 1285, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47167, "end": 47168, "loc": { "start": { "line": 1285, "column": 19 }, "end": { "line": 1285, "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": 47169, "end": 47170, "loc": { "start": { "line": 1285, "column": 21 }, "end": { "line": 1285, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47170, "end": 47171, "loc": { "start": { "line": 1285, "column": 22 }, "end": { "line": 1285, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 47172, "end": 47173, "loc": { "start": { "line": 1285, "column": 24 }, "end": { "line": 1285, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 47174, "end": 47175, "loc": { "start": { "line": 1285, "column": 26 }, "end": { "line": 1285, "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": 47176, "end": 47180, "loc": { "start": { "line": 1285, "column": 28 }, "end": { "line": 1285, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47180, "end": 47181, "loc": { "start": { "line": 1285, "column": 32 }, "end": { "line": 1285, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 47181, "end": 47191, "loc": { "start": { "line": 1285, "column": 33 }, "end": { "line": 1285, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47191, "end": 47192, "loc": { "start": { "line": 1285, "column": 43 }, "end": { "line": 1285, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 47192, "end": 47198, "loc": { "start": { "line": 1285, "column": 44 }, "end": { "line": 1285, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47198, "end": 47199, "loc": { "start": { "line": 1285, "column": 50 }, "end": { "line": 1285, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 47200, "end": 47202, "loc": { "start": { "line": 1285, "column": 52 }, "end": { "line": 1285, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 47202, "end": 47203, "loc": { "start": { "line": 1285, "column": 54 }, "end": { "line": 1285, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47203, "end": 47204, "loc": { "start": { "line": 1285, "column": 55 }, "end": { "line": 1285, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47205, "end": 47206, "loc": { "start": { "line": 1285, "column": 57 }, "end": { "line": 1285, "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": 47220, "end": 47225, "loc": { "start": { "line": 1286, "column": 12 }, "end": { "line": 1286, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 47226, "end": 47232, "loc": { "start": { "line": 1286, "column": 18 }, "end": { "line": 1286, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47233, "end": 47234, "loc": { "start": { "line": 1286, "column": 25 }, "end": { "line": 1286, "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": 47235, "end": 47239, "loc": { "start": { "line": 1286, "column": 27 }, "end": { "line": 1286, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47239, "end": 47240, "loc": { "start": { "line": 1286, "column": 31 }, "end": { "line": 1286, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 47240, "end": 47250, "loc": { "start": { "line": 1286, "column": 32 }, "end": { "line": 1286, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47250, "end": 47251, "loc": { "start": { "line": 1286, "column": 42 }, "end": { "line": 1286, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 47251, "end": 47252, "loc": { "start": { "line": 1286, "column": 43 }, "end": { "line": 1286, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47252, "end": 47253, "loc": { "start": { "line": 1286, "column": 44 }, "end": { "line": 1286, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47253, "end": 47254, "loc": { "start": { "line": 1286, "column": 45 }, "end": { "line": 1286, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47268, "end": 47278, "loc": { "start": { "line": 1287, "column": 12 }, "end": { "line": 1287, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47278, "end": 47279, "loc": { "start": { "line": 1287, "column": 22 }, "end": { "line": 1287, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47279, "end": 47286, "loc": { "start": { "line": 1287, "column": 23 }, "end": { "line": 1287, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47286, "end": 47287, "loc": { "start": { "line": 1287, "column": 30 }, "end": { "line": 1287, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 47287, "end": 47296, "loc": { "start": { "line": 1287, "column": 31 }, "end": { "line": 1287, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47297, "end": 47298, "loc": { "start": { "line": 1287, "column": 41 }, "end": { "line": 1287, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#d79a25", "start": 47299, "end": 47308, "loc": { "start": { "line": 1287, "column": 43 }, "end": { "line": 1287, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47308, "end": 47309, "loc": { "start": { "line": 1287, "column": 52 }, "end": { "line": 1287, "column": 53 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 47323, "end": 47328, "loc": { "start": { "line": 1288, "column": 12 }, "end": { "line": 1288, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 47329, "end": 47332, "loc": { "start": { "line": 1288, "column": 18 }, "end": { "line": 1288, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47333, "end": 47334, "loc": { "start": { "line": 1288, "column": 22 }, "end": { "line": 1288, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 47335, "end": 47341, "loc": { "start": { "line": 1288, "column": 24 }, "end": { "line": 1288, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47341, "end": 47342, "loc": { "start": { "line": 1288, "column": 30 }, "end": { "line": 1288, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 47342, "end": 47352, "loc": { "start": { "line": 1288, "column": 31 }, "end": { "line": 1288, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47352, "end": 47353, "loc": { "start": { "line": 1288, "column": 41 }, "end": { "line": 1288, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 47353, "end": 47368, "loc": { "start": { "line": 1288, "column": 42 }, "end": { "line": 1288, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47368, "end": 47369, "loc": { "start": { "line": 1288, "column": 57 }, "end": { "line": 1288, "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": 47383, "end": 47388, "loc": { "start": { "line": 1289, "column": 12 }, "end": { "line": 1289, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47389, "end": 47397, "loc": { "start": { "line": 1289, "column": 18 }, "end": { "line": 1289, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47398, "end": 47399, "loc": { "start": { "line": 1289, "column": 27 }, "end": { "line": 1289, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 47400, "end": 47403, "loc": { "start": { "line": 1289, "column": 29 }, "end": { "line": 1289, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47403, "end": 47404, "loc": { "start": { "line": 1289, "column": 32 }, "end": { "line": 1289, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 47404, "end": 47410, "loc": { "start": { "line": 1289, "column": 33 }, "end": { "line": 1289, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47410, "end": 47411, "loc": { "start": { "line": 1289, "column": 39 }, "end": { "line": 1289, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 47411, "end": 47435, "loc": { "start": { "line": 1289, "column": 40 }, "end": { "line": 1289, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47435, "end": 47436, "loc": { "start": { "line": 1289, "column": 64 }, "end": { "line": 1289, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47436, "end": 47437, "loc": { "start": { "line": 1289, "column": 65 }, "end": { "line": 1289, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47437, "end": 47438, "loc": { "start": { "line": 1289, "column": 66 }, "end": { "line": 1289, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47452, "end": 47462, "loc": { "start": { "line": 1290, "column": 12 }, "end": { "line": 1290, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47462, "end": 47463, "loc": { "start": { "line": 1290, "column": 22 }, "end": { "line": 1290, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47463, "end": 47470, "loc": { "start": { "line": 1290, "column": 23 }, "end": { "line": 1290, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47470, "end": 47471, "loc": { "start": { "line": 1290, "column": 30 }, "end": { "line": 1290, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginCircle", "start": 47471, "end": 47482, "loc": { "start": { "line": 1290, "column": 31 }, "end": { "line": 1290, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47482, "end": 47483, "loc": { "start": { "line": 1290, "column": 42 }, "end": { "line": 1290, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47483, "end": 47491, "loc": { "start": { "line": 1290, "column": 43 }, "end": { "line": 1290, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47491, "end": 47492, "loc": { "start": { "line": 1290, "column": 51 }, "end": { "line": 1290, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 47492, "end": 47493, "loc": { "start": { "line": 1290, "column": 52 }, "end": { "line": 1290, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47493, "end": 47494, "loc": { "start": { "line": 1290, "column": 53 }, "end": { "line": 1290, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47495, "end": 47503, "loc": { "start": { "line": 1290, "column": 55 }, "end": { "line": 1290, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47503, "end": 47504, "loc": { "start": { "line": 1290, "column": 63 }, "end": { "line": 1290, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 47504, "end": 47505, "loc": { "start": { "line": 1290, "column": 64 }, "end": { "line": 1290, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47505, "end": 47506, "loc": { "start": { "line": 1290, "column": 65 }, "end": { "line": 1290, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 47507, "end": 47508, "loc": { "start": { "line": 1290, "column": 67 }, "end": { "line": 1290, "column": 68 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 47509, "end": 47512, "loc": { "start": { "line": 1290, "column": 69 }, "end": { "line": 1290, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 47513, "end": 47514, "loc": { "start": { "line": 1290, "column": 73 }, "end": { "line": 1290, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47515, "end": 47516, "loc": { "start": { "line": 1290, "column": 75 }, "end": { "line": 1290, "column": 76 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 47517, "end": 47518, "loc": { "start": { "line": 1290, "column": 77 }, "end": { "line": 1290, "column": 78 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47519, "end": 47520, "loc": { "start": { "line": 1290, "column": 79 }, "end": { "line": 1290, "column": 80 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 47521, "end": 47522, "loc": { "start": { "line": 1290, "column": 81 }, "end": { "line": 1290, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47522, "end": 47523, "loc": { "start": { "line": 1290, "column": 82 }, "end": { "line": 1290, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47523, "end": 47524, "loc": { "start": { "line": 1290, "column": 83 }, "end": { "line": 1290, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47538, "end": 47548, "loc": { "start": { "line": 1291, "column": 12 }, "end": { "line": 1291, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47548, "end": 47549, "loc": { "start": { "line": 1291, "column": 22 }, "end": { "line": 1291, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47549, "end": 47556, "loc": { "start": { "line": 1291, "column": 23 }, "end": { "line": 1291, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47556, "end": 47557, "loc": { "start": { "line": 1291, "column": 30 }, "end": { "line": 1291, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fill", "start": 47557, "end": 47561, "loc": { "start": { "line": 1291, "column": 31 }, "end": { "line": 1291, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47561, "end": 47562, "loc": { "start": { "line": 1291, "column": 35 }, "end": { "line": 1291, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47562, "end": 47563, "loc": { "start": { "line": 1291, "column": 36 }, "end": { "line": 1291, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47563, "end": 47564, "loc": { "start": { "line": 1291, "column": 37 }, "end": { "line": 1291, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47574, "end": 47575, "loc": { "start": { "line": 1292, "column": 8 }, "end": { "line": 1292, "column": 9 } } }, { "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": 47587, "end": 47590, "loc": { "start": { "line": 1294, "column": 8 }, "end": { "line": 1294, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47591, "end": 47592, "loc": { "start": { "line": 1294, "column": 12 }, "end": { "line": 1294, "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": 47592, "end": 47595, "loc": { "start": { "line": 1294, "column": 13 }, "end": { "line": 1294, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 47596, "end": 47604, "loc": { "start": { "line": 1294, "column": 17 }, "end": { "line": 1294, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47605, "end": 47606, "loc": { "start": { "line": 1294, "column": 26 }, "end": { "line": 1294, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 47607, "end": 47608, "loc": { "start": { "line": 1294, "column": 28 }, "end": { "line": 1294, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47608, "end": 47609, "loc": { "start": { "line": 1294, "column": 29 }, "end": { "line": 1294, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 47610, "end": 47618, "loc": { "start": { "line": 1294, "column": 31 }, "end": { "line": 1294, "column": 39 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 47619, "end": 47621, "loc": { "start": { "line": 1294, "column": 40 }, "end": { "line": 1294, "column": 42 } } }, { "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": 47622, "end": 47626, "loc": { "start": { "line": 1294, "column": 43 }, "end": { "line": 1294, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47626, "end": 47627, "loc": { "start": { "line": 1294, "column": 47 }, "end": { "line": 1294, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "totalLength", "start": 47627, "end": 47638, "loc": { "start": { "line": 1294, "column": 48 }, "end": { "line": 1294, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 47639, "end": 47640, "loc": { "start": { "line": 1294, "column": 60 }, "end": { "line": 1294, "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.01, "start": 47641, "end": 47645, "loc": { "start": { "line": 1294, "column": 62 }, "end": { "line": 1294, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47645, "end": 47646, "loc": { "start": { "line": 1294, "column": 66 }, "end": { "line": 1294, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 47647, "end": 47655, "loc": { "start": { "line": 1294, "column": 68 }, "end": { "line": 1294, "column": 76 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 47656, "end": 47658, "loc": { "start": { "line": 1294, "column": 77 }, "end": { "line": 1294, "column": 79 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.2, "start": 47659, "end": 47662, "loc": { "start": { "line": 1294, "column": 80 }, "end": { "line": 1294, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47662, "end": 47663, "loc": { "start": { "line": 1294, "column": 83 }, "end": { "line": 1294, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47664, "end": 47665, "loc": { "start": { "line": 1294, "column": 85 }, "end": { "line": 1294, "column": 86 } } }, { "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": 47679, "end": 47684, "loc": { "start": { "line": 1295, "column": 12 }, "end": { "line": 1295, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47685, "end": 47693, "loc": { "start": { "line": 1295, "column": 18 }, "end": { "line": 1295, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47694, "end": 47695, "loc": { "start": { "line": 1295, "column": 27 }, "end": { "line": 1295, "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": 47696, "end": 47700, "loc": { "start": { "line": 1295, "column": 29 }, "end": { "line": 1295, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47700, "end": 47701, "loc": { "start": { "line": 1295, "column": 33 }, "end": { "line": 1295, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computePositionFromProgress", "start": 47701, "end": 47728, "loc": { "start": { "line": 1295, "column": 34 }, "end": { "line": 1295, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47728, "end": 47729, "loc": { "start": { "line": 1295, "column": 61 }, "end": { "line": 1295, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "progress", "start": 47729, "end": 47737, "loc": { "start": { "line": 1295, "column": 62 }, "end": { "line": 1295, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47737, "end": 47738, "loc": { "start": { "line": 1295, "column": 70 }, "end": { "line": 1295, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47738, "end": 47739, "loc": { "start": { "line": 1295, "column": 71 }, "end": { "line": 1295, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 47739, "end": 47763, "loc": { "start": { "line": 1295, "column": 72 }, "end": { "line": 1295, "column": 96 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47763, "end": 47764, "loc": { "start": { "line": 1295, "column": 96 }, "end": { "line": 1295, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47764, "end": 47765, "loc": { "start": { "line": 1295, "column": 97 }, "end": { "line": 1295, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47765, "end": 47766, "loc": { "start": { "line": 1295, "column": 98 }, "end": { "line": 1295, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47780, "end": 47790, "loc": { "start": { "line": 1296, "column": 12 }, "end": { "line": 1296, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47790, "end": 47791, "loc": { "start": { "line": 1296, "column": 22 }, "end": { "line": 1296, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47791, "end": 47798, "loc": { "start": { "line": 1296, "column": 23 }, "end": { "line": 1296, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47798, "end": 47799, "loc": { "start": { "line": 1296, "column": 30 }, "end": { "line": 1296, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 47799, "end": 47808, "loc": { "start": { "line": 1296, "column": 31 }, "end": { "line": 1296, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47809, "end": 47810, "loc": { "start": { "line": 1296, "column": 41 }, "end": { "line": 1296, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "red", "start": 47811, "end": 47816, "loc": { "start": { "line": 1296, "column": 43 }, "end": { "line": 1296, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47816, "end": 47817, "loc": { "start": { "line": 1296, "column": 48 }, "end": { "line": 1296, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47831, "end": 47841, "loc": { "start": { "line": 1297, "column": 12 }, "end": { "line": 1297, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47841, "end": 47842, "loc": { "start": { "line": 1297, "column": 22 }, "end": { "line": 1297, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47842, "end": 47849, "loc": { "start": { "line": 1297, "column": 23 }, "end": { "line": 1297, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47849, "end": 47850, "loc": { "start": { "line": 1297, "column": 30 }, "end": { "line": 1297, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beginCircle", "start": 47850, "end": 47861, "loc": { "start": { "line": 1297, "column": 31 }, "end": { "line": 1297, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47861, "end": 47862, "loc": { "start": { "line": 1297, "column": 42 }, "end": { "line": 1297, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47862, "end": 47870, "loc": { "start": { "line": 1297, "column": 43 }, "end": { "line": 1297, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47870, "end": 47871, "loc": { "start": { "line": 1297, "column": 51 }, "end": { "line": 1297, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 47871, "end": 47872, "loc": { "start": { "line": 1297, "column": 52 }, "end": { "line": 1297, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47872, "end": 47873, "loc": { "start": { "line": 1297, "column": 53 }, "end": { "line": 1297, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 47874, "end": 47882, "loc": { "start": { "line": 1297, "column": 55 }, "end": { "line": 1297, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47882, "end": 47883, "loc": { "start": { "line": 1297, "column": 63 }, "end": { "line": 1297, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 47883, "end": 47884, "loc": { "start": { "line": 1297, "column": 64 }, "end": { "line": 1297, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47884, "end": 47885, "loc": { "start": { "line": 1297, "column": 65 }, "end": { "line": 1297, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 47886, "end": 47887, "loc": { "start": { "line": 1297, "column": 67 }, "end": { "line": 1297, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47887, "end": 47888, "loc": { "start": { "line": 1297, "column": 68 }, "end": { "line": 1297, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47888, "end": 47889, "loc": { "start": { "line": 1297, "column": 69 }, "end": { "line": 1297, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 47903, "end": 47913, "loc": { "start": { "line": 1298, "column": 12 }, "end": { "line": 1298, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47913, "end": 47914, "loc": { "start": { "line": 1298, "column": 22 }, "end": { "line": 1298, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 47914, "end": 47921, "loc": { "start": { "line": 1298, "column": 23 }, "end": { "line": 1298, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47921, "end": 47922, "loc": { "start": { "line": 1298, "column": 30 }, "end": { "line": 1298, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fill", "start": 47922, "end": 47926, "loc": { "start": { "line": 1298, "column": 31 }, "end": { "line": 1298, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47926, "end": 47927, "loc": { "start": { "line": 1298, "column": 35 }, "end": { "line": 1298, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47927, "end": 47928, "loc": { "start": { "line": 1298, "column": 36 }, "end": { "line": 1298, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47928, "end": 47929, "loc": { "start": { "line": 1298, "column": 37 }, "end": { "line": 1298, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47939, "end": 47940, "loc": { "start": { "line": 1299, "column": 8 }, "end": { "line": 1299, "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": 47952, "end": 47957, "loc": { "start": { "line": 1301, "column": 8 }, "end": { "line": 1301, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstItemIndicator", "start": 47958, "end": 47976, "loc": { "start": { "line": 1301, "column": 14 }, "end": { "line": 1301, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 47977, "end": 47978, "loc": { "start": { "line": 1301, "column": 33 }, "end": { "line": 1301, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 47979, "end": 47983, "loc": { "start": { "line": 1301, "column": 35 }, "end": { "line": 1301, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 47983, "end": 47984, "loc": { "start": { "line": 1301, "column": 39 }, "end": { "line": 1301, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "computePositionFromProgress", "start": 47984, "end": 48011, "loc": { "start": { "line": 1301, "column": 40 }, "end": { "line": 1301, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48011, "end": 48012, "loc": { "start": { "line": 1301, "column": 67 }, "end": { "line": 1301, "column": 68 } } }, { "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": 48026, "end": 48030, "loc": { "start": { "line": 1302, "column": 12 }, "end": { "line": 1302, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48030, "end": 48031, "loc": { "start": { "line": 1302, "column": 16 }, "end": { "line": 1302, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 48031, "end": 48049, "loc": { "start": { "line": 1302, "column": 17 }, "end": { "line": 1302, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48059, "end": 48060, "loc": { "start": { "line": 1303, "column": 8 }, "end": { "line": 1303, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48060, "end": 48061, "loc": { "start": { "line": 1303, "column": 9 }, "end": { "line": 1303, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 48061, "end": 48085, "loc": { "start": { "line": 1303, "column": 10 }, "end": { "line": 1303, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48085, "end": 48086, "loc": { "start": { "line": 1303, "column": 34 }, "end": { "line": 1303, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48086, "end": 48087, "loc": { "start": { "line": 1303, "column": 35 }, "end": { "line": 1303, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48087, "end": 48088, "loc": { "start": { "line": 1303, "column": 36 }, "end": { "line": 1303, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 48098, "end": 48108, "loc": { "start": { "line": 1304, "column": 8 }, "end": { "line": 1304, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48108, "end": 48109, "loc": { "start": { "line": 1304, "column": 18 }, "end": { "line": 1304, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 48109, "end": 48116, "loc": { "start": { "line": 1304, "column": 19 }, "end": { "line": 1304, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48116, "end": 48117, "loc": { "start": { "line": 1304, "column": 26 }, "end": { "line": 1304, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 48117, "end": 48126, "loc": { "start": { "line": 1304, "column": 27 }, "end": { "line": 1304, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 48127, "end": 48128, "loc": { "start": { "line": 1304, "column": 37 }, "end": { "line": 1304, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "purple", "start": 48129, "end": 48137, "loc": { "start": { "line": 1304, "column": 39 }, "end": { "line": 1304, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48137, "end": 48138, "loc": { "start": { "line": 1304, "column": 47 }, "end": { "line": 1304, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 48148, "end": 48158, "loc": { "start": { "line": 1305, "column": 8 }, "end": { "line": 1305, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48158, "end": 48159, "loc": { "start": { "line": 1305, "column": 18 }, "end": { "line": 1305, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 48159, "end": 48166, "loc": { "start": { "line": 1305, "column": 19 }, "end": { "line": 1305, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48166, "end": 48167, "loc": { "start": { "line": 1305, "column": 26 }, "end": { "line": 1305, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 48167, "end": 48175, "loc": { "start": { "line": 1305, "column": 27 }, "end": { "line": 1305, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48175, "end": 48176, "loc": { "start": { "line": 1305, "column": 35 }, "end": { "line": 1305, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstItemIndicator", "start": 48176, "end": 48194, "loc": { "start": { "line": 1305, "column": 36 }, "end": { "line": 1305, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48194, "end": 48195, "loc": { "start": { "line": 1305, "column": 54 }, "end": { "line": 1305, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 48195, "end": 48196, "loc": { "start": { "line": 1305, "column": 55 }, "end": { "line": 1305, "column": 56 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 48197, "end": 48198, "loc": { "start": { "line": 1305, "column": 57 }, "end": { "line": 1305, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 48199, "end": 48200, "loc": { "start": { "line": 1305, "column": 59 }, "end": { "line": 1305, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48200, "end": 48201, "loc": { "start": { "line": 1305, "column": 60 }, "end": { "line": 1305, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstItemIndicator", "start": 48202, "end": 48220, "loc": { "start": { "line": 1305, "column": 62 }, "end": { "line": 1305, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48220, "end": 48221, "loc": { "start": { "line": 1305, "column": 80 }, "end": { "line": 1305, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 48221, "end": 48222, "loc": { "start": { "line": 1305, "column": 81 }, "end": { "line": 1305, "column": 82 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 48223, "end": 48224, "loc": { "start": { "line": 1305, "column": 83 }, "end": { "line": 1305, "column": 84 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 48225, "end": 48226, "loc": { "start": { "line": 1305, "column": 85 }, "end": { "line": 1305, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48226, "end": 48227, "loc": { "start": { "line": 1305, "column": 86 }, "end": { "line": 1305, "column": 87 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 48228, "end": 48229, "loc": { "start": { "line": 1305, "column": 88 }, "end": { "line": 1305, "column": 89 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48229, "end": 48230, "loc": { "start": { "line": 1305, "column": 89 }, "end": { "line": 1305, "column": 90 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 48231, "end": 48232, "loc": { "start": { "line": 1305, "column": 91 }, "end": { "line": 1305, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48232, "end": 48233, "loc": { "start": { "line": 1305, "column": 92 }, "end": { "line": 1305, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48233, "end": 48234, "loc": { "start": { "line": 1305, "column": 93 }, "end": { "line": 1305, "column": 94 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48240, "end": 48241, "loc": { "start": { "line": 1306, "column": 4 }, "end": { "line": 1306, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if this belt path should render simplified\r\n ", "start": 48249, "end": 48319, "loc": { "start": { "line": 1308, "column": 4 }, "end": { "line": 1310, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkIsPotatoMode", "start": 48325, "end": 48342, "loc": { "start": { "line": 1311, "column": 4 }, "end": { "line": 1311, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48342, "end": 48343, "loc": { "start": { "line": 1311, "column": 21 }, "end": { "line": 1311, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48343, "end": 48344, "loc": { "start": { "line": 1311, "column": 22 }, "end": { "line": 1311, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48345, "end": 48346, "loc": { "start": { "line": 1311, "column": 24 }, "end": { "line": 1311, "column": 25 } } }, { "type": "CommentLine", "value": " POTATO Mode: Only show items when belt is hovered", "start": 48356, "end": 48408, "loc": { "start": { "line": 1312, "column": 8 }, "end": { "line": 1312, "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": 48418, "end": 48420, "loc": { "start": { "line": 1313, "column": 8 }, "end": { "line": 1313, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48421, "end": 48422, "loc": { "start": { "line": 1313, "column": 11 }, "end": { "line": 1313, "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": 48422, "end": 48423, "loc": { "start": { "line": 1313, "column": 12 }, "end": { "line": 1313, "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": 48423, "end": 48427, "loc": { "start": { "line": 1313, "column": 13 }, "end": { "line": 1313, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48427, "end": 48428, "loc": { "start": { "line": 1313, "column": 17 }, "end": { "line": 1313, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 48428, "end": 48432, "loc": { "start": { "line": 1313, "column": 18 }, "end": { "line": 1313, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48432, "end": 48433, "loc": { "start": { "line": 1313, "column": 22 }, "end": { "line": 1313, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 48433, "end": 48436, "loc": { "start": { "line": 1313, "column": 23 }, "end": { "line": 1313, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48436, "end": 48437, "loc": { "start": { "line": 1313, "column": 26 }, "end": { "line": 1313, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 48437, "end": 48445, "loc": { "start": { "line": 1313, "column": 27 }, "end": { "line": 1313, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48445, "end": 48446, "loc": { "start": { "line": 1313, "column": 35 }, "end": { "line": 1313, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 48446, "end": 48460, "loc": { "start": { "line": 1313, "column": 36 }, "end": { "line": 1313, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48460, "end": 48461, "loc": { "start": { "line": 1313, "column": 50 }, "end": { "line": 1313, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48461, "end": 48462, "loc": { "start": { "line": 1313, "column": 51 }, "end": { "line": 1313, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48462, "end": 48463, "loc": { "start": { "line": 1313, "column": 52 }, "end": { "line": 1313, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simplifiedBelts", "start": 48463, "end": 48478, "loc": { "start": { "line": 1313, "column": 53 }, "end": { "line": 1313, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48478, "end": 48479, "loc": { "start": { "line": 1313, "column": 68 }, "end": { "line": 1313, "column": 69 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48480, "end": 48481, "loc": { "start": { "line": 1313, "column": 70 }, "end": { "line": 1313, "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": 48495, "end": 48501, "loc": { "start": { "line": 1314, "column": 12 }, "end": { "line": 1314, "column": 18 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 48502, "end": 48507, "loc": { "start": { "line": 1314, "column": 19 }, "end": { "line": 1314, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48507, "end": 48508, "loc": { "start": { "line": 1314, "column": 24 }, "end": { "line": 1314, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48518, "end": 48519, "loc": { "start": { "line": 1315, "column": 8 }, "end": { "line": 1315, "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": 48531, "end": 48533, "loc": { "start": { "line": 1317, "column": 8 }, "end": { "line": 1317, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48534, "end": 48535, "loc": { "start": { "line": 1317, "column": 11 }, "end": { "line": 1317, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 48535, "end": 48539, "loc": { "start": { "line": 1317, "column": 12 }, "end": { "line": 1317, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48539, "end": 48540, "loc": { "start": { "line": 1317, "column": 16 }, "end": { "line": 1317, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 48540, "end": 48544, "loc": { "start": { "line": 1317, "column": 17 }, "end": { "line": 1317, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48544, "end": 48545, "loc": { "start": { "line": 1317, "column": 21 }, "end": { "line": 1317, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 48545, "end": 48557, "loc": { "start": { "line": 1317, "column": 22 }, "end": { "line": 1317, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 48558, "end": 48561, "loc": { "start": { "line": 1317, "column": 35 }, "end": { "line": 1317, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 48562, "end": 48571, "loc": { "start": { "line": 1317, "column": 39 }, "end": { "line": 1317, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48571, "end": 48572, "loc": { "start": { "line": 1317, "column": 48 }, "end": { "line": 1317, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48573, "end": 48574, "loc": { "start": { "line": 1317, "column": 50 }, "end": { "line": 1317, "column": 51 } } }, { "type": "CommentLine", "value": " Not in regular layer", "start": 48588, "end": 48611, "loc": { "start": { "line": 1318, "column": 12 }, "end": { "line": 1318, "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": 48625, "end": 48631, "loc": { "start": { "line": 1319, "column": 12 }, "end": { "line": 1319, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 48632, "end": 48636, "loc": { "start": { "line": 1319, "column": 19 }, "end": { "line": 1319, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48636, "end": 48637, "loc": { "start": { "line": 1319, "column": 23 }, "end": { "line": 1319, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48647, "end": 48648, "loc": { "start": { "line": 1320, "column": 8 }, "end": { "line": 1320, "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": 48660, "end": 48665, "loc": { "start": { "line": 1322, "column": 8 }, "end": { "line": 1322, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 48666, "end": 48674, "loc": { "start": { "line": 1322, "column": 14 }, "end": { "line": 1322, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 48675, "end": 48676, "loc": { "start": { "line": 1322, "column": 23 }, "end": { "line": 1322, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 48677, "end": 48681, "loc": { "start": { "line": 1322, "column": 25 }, "end": { "line": 1322, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48681, "end": 48682, "loc": { "start": { "line": 1322, "column": 29 }, "end": { "line": 1322, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 48682, "end": 48686, "loc": { "start": { "line": 1322, "column": 30 }, "end": { "line": 1322, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48686, "end": 48687, "loc": { "start": { "line": 1322, "column": 34 }, "end": { "line": 1322, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 48687, "end": 48690, "loc": { "start": { "line": 1322, "column": 35 }, "end": { "line": 1322, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48690, "end": 48691, "loc": { "start": { "line": 1322, "column": 38 }, "end": { "line": 1322, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 48691, "end": 48704, "loc": { "start": { "line": 1322, "column": 39 }, "end": { "line": 1322, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48704, "end": 48705, "loc": { "start": { "line": 1322, "column": 52 }, "end": { "line": 1322, "column": 53 } } }, { "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": 48715, "end": 48717, "loc": { "start": { "line": 1323, "column": 8 }, "end": { "line": 1323, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48718, "end": 48719, "loc": { "start": { "line": 1323, "column": 11 }, "end": { "line": 1323, "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": 48719, "end": 48720, "loc": { "start": { "line": 1323, "column": 12 }, "end": { "line": 1323, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 48720, "end": 48728, "loc": { "start": { "line": 1323, "column": 13 }, "end": { "line": 1323, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48728, "end": 48729, "loc": { "start": { "line": 1323, "column": 21 }, "end": { "line": 1323, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48730, "end": 48731, "loc": { "start": { "line": 1323, "column": 23 }, "end": { "line": 1323, "column": 24 } } }, { "type": "CommentLine", "value": " Mouse not registered", "start": 48745, "end": 48768, "loc": { "start": { "line": 1324, "column": 12 }, "end": { "line": 1324, "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": 48782, "end": 48788, "loc": { "start": { "line": 1325, "column": 12 }, "end": { "line": 1325, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 48789, "end": 48793, "loc": { "start": { "line": 1325, "column": 19 }, "end": { "line": 1325, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48793, "end": 48794, "loc": { "start": { "line": 1325, "column": 23 }, "end": { "line": 1325, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48804, "end": 48805, "loc": { "start": { "line": 1326, "column": 8 }, "end": { "line": 1326, "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": 48817, "end": 48822, "loc": { "start": { "line": 1328, "column": 8 }, "end": { "line": 1328, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 48823, "end": 48827, "loc": { "start": { "line": 1328, "column": 14 }, "end": { "line": 1328, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 48828, "end": 48829, "loc": { "start": { "line": 1328, "column": 19 }, "end": { "line": 1328, "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": 48830, "end": 48834, "loc": { "start": { "line": 1328, "column": 21 }, "end": { "line": 1328, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48834, "end": 48835, "loc": { "start": { "line": 1328, "column": 25 }, "end": { "line": 1328, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 48835, "end": 48839, "loc": { "start": { "line": 1328, "column": 26 }, "end": { "line": 1328, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48839, "end": 48840, "loc": { "start": { "line": 1328, "column": 30 }, "end": { "line": 1328, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 48840, "end": 48846, "loc": { "start": { "line": 1328, "column": 31 }, "end": { "line": 1328, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48846, "end": 48847, "loc": { "start": { "line": 1328, "column": 37 }, "end": { "line": 1328, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenToWorld", "start": 48847, "end": 48860, "loc": { "start": { "line": 1328, "column": 38 }, "end": { "line": 1328, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48860, "end": 48861, "loc": { "start": { "line": 1328, "column": 51 }, "end": { "line": 1328, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 48861, "end": 48869, "loc": { "start": { "line": 1328, "column": 52 }, "end": { "line": 1328, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48869, "end": 48870, "loc": { "start": { "line": 1328, "column": 60 }, "end": { "line": 1328, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48870, "end": 48871, "loc": { "start": { "line": 1328, "column": 61 }, "end": { "line": 1328, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toTileSpace", "start": 48871, "end": 48882, "loc": { "start": { "line": 1328, "column": 62 }, "end": { "line": 1328, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48882, "end": 48883, "loc": { "start": { "line": 1328, "column": 73 }, "end": { "line": 1328, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48883, "end": 48884, "loc": { "start": { "line": 1328, "column": 74 }, "end": { "line": 1328, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48884, "end": 48885, "loc": { "start": { "line": 1328, "column": 75 }, "end": { "line": 1328, "column": 76 } } }, { "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": 48895, "end": 48900, "loc": { "start": { "line": 1329, "column": 8 }, "end": { "line": 1329, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 48901, "end": 48909, "loc": { "start": { "line": 1329, "column": 14 }, "end": { "line": 1329, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 48910, "end": 48911, "loc": { "start": { "line": 1329, "column": 23 }, "end": { "line": 1329, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 48912, "end": 48916, "loc": { "start": { "line": 1329, "column": 25 }, "end": { "line": 1329, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48916, "end": 48917, "loc": { "start": { "line": 1329, "column": 29 }, "end": { "line": 1329, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 48917, "end": 48921, "loc": { "start": { "line": 1329, "column": 30 }, "end": { "line": 1329, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48921, "end": 48922, "loc": { "start": { "line": 1329, "column": 34 }, "end": { "line": 1329, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 48922, "end": 48925, "loc": { "start": { "line": 1329, "column": 35 }, "end": { "line": 1329, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48925, "end": 48926, "loc": { "start": { "line": 1329, "column": 38 }, "end": { "line": 1329, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayerContentXY", "start": 48926, "end": 48943, "loc": { "start": { "line": 1329, "column": 39 }, "end": { "line": 1329, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48943, "end": 48944, "loc": { "start": { "line": 1329, "column": 56 }, "end": { "line": 1329, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 48944, "end": 48948, "loc": { "start": { "line": 1329, "column": 57 }, "end": { "line": 1329, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48948, "end": 48949, "loc": { "start": { "line": 1329, "column": 61 }, "end": { "line": 1329, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 48949, "end": 48950, "loc": { "start": { "line": 1329, "column": 62 }, "end": { "line": 1329, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48950, "end": 48951, "loc": { "start": { "line": 1329, "column": 63 }, "end": { "line": 1329, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 48952, "end": 48956, "loc": { "start": { "line": 1329, "column": 65 }, "end": { "line": 1329, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48956, "end": 48957, "loc": { "start": { "line": 1329, "column": 69 }, "end": { "line": 1329, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 48957, "end": 48958, "loc": { "start": { "line": 1329, "column": 70 }, "end": { "line": 1329, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48958, "end": 48959, "loc": { "start": { "line": 1329, "column": 71 }, "end": { "line": 1329, "column": 72 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 48960, "end": 48969, "loc": { "start": { "line": 1329, "column": 73 }, "end": { "line": 1329, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48969, "end": 48970, "loc": { "start": { "line": 1329, "column": 82 }, "end": { "line": 1329, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48970, "end": 48971, "loc": { "start": { "line": 1329, "column": 83 }, "end": { "line": 1329, "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": 48981, "end": 48983, "loc": { "start": { "line": 1330, "column": 8 }, "end": { "line": 1330, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48984, "end": 48985, "loc": { "start": { "line": 1330, "column": 11 }, "end": { "line": 1330, "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": 48985, "end": 48986, "loc": { "start": { "line": 1330, "column": 12 }, "end": { "line": 1330, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 48986, "end": 48994, "loc": { "start": { "line": 1330, "column": 13 }, "end": { "line": 1330, "column": 21 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 48995, "end": 48997, "loc": { "start": { "line": 1330, "column": 22 }, "end": { "line": 1330, "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": 48998, "end": 48999, "loc": { "start": { "line": 1330, "column": 25 }, "end": { "line": 1330, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 48999, "end": 49007, "loc": { "start": { "line": 1330, "column": 26 }, "end": { "line": 1330, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49007, "end": 49008, "loc": { "start": { "line": 1330, "column": 34 }, "end": { "line": 1330, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 49008, "end": 49018, "loc": { "start": { "line": 1330, "column": 35 }, "end": { "line": 1330, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49018, "end": 49019, "loc": { "start": { "line": 1330, "column": 45 }, "end": { "line": 1330, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 49019, "end": 49023, "loc": { "start": { "line": 1330, "column": 46 }, "end": { "line": 1330, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49023, "end": 49024, "loc": { "start": { "line": 1330, "column": 50 }, "end": { "line": 1330, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49025, "end": 49026, "loc": { "start": { "line": 1330, "column": 52 }, "end": { "line": 1330, "column": 53 } } }, { "type": "CommentLine", "value": " Nothing below", "start": 49040, "end": 49056, "loc": { "start": { "line": 1331, "column": 12 }, "end": { "line": 1331, "column": 28 } } }, { "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": 49070, "end": 49076, "loc": { "start": { "line": 1332, "column": 12 }, "end": { "line": 1332, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 49077, "end": 49081, "loc": { "start": { "line": 1332, "column": 19 }, "end": { "line": 1332, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49081, "end": 49082, "loc": { "start": { "line": 1332, "column": 23 }, "end": { "line": 1332, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49092, "end": 49093, "loc": { "start": { "line": 1333, "column": 8 }, "end": { "line": 1333, "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": 49105, "end": 49107, "loc": { "start": { "line": 1335, "column": 8 }, "end": { "line": 1335, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49108, "end": 49109, "loc": { "start": { "line": 1335, "column": 11 }, "end": { "line": 1335, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 49109, "end": 49117, "loc": { "start": { "line": 1335, "column": 12 }, "end": { "line": 1335, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49117, "end": 49118, "loc": { "start": { "line": 1335, "column": 20 }, "end": { "line": 1335, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 49118, "end": 49128, "loc": { "start": { "line": 1335, "column": 21 }, "end": { "line": 1335, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49128, "end": 49129, "loc": { "start": { "line": 1335, "column": 31 }, "end": { "line": 1335, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 49129, "end": 49133, "loc": { "start": { "line": 1335, "column": 32 }, "end": { "line": 1335, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49133, "end": 49134, "loc": { "start": { "line": 1335, "column": 36 }, "end": { "line": 1335, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assignedPath", "start": 49134, "end": 49146, "loc": { "start": { "line": 1335, "column": 37 }, "end": { "line": 1335, "column": 49 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 49147, "end": 49150, "loc": { "start": { "line": 1335, "column": 50 }, "end": { "line": 1335, "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": 49151, "end": 49155, "loc": { "start": { "line": 1335, "column": 54 }, "end": { "line": 1335, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49155, "end": 49156, "loc": { "start": { "line": 1335, "column": 58 }, "end": { "line": 1335, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49157, "end": 49158, "loc": { "start": { "line": 1335, "column": 60 }, "end": { "line": 1335, "column": 61 } } }, { "type": "CommentLine", "value": " Not this path", "start": 49172, "end": 49188, "loc": { "start": { "line": 1336, "column": 12 }, "end": { "line": 1336, "column": 28 } } }, { "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": 49202, "end": 49208, "loc": { "start": { "line": 1337, "column": 12 }, "end": { "line": 1337, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 49209, "end": 49213, "loc": { "start": { "line": 1337, "column": 19 }, "end": { "line": 1337, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49213, "end": 49214, "loc": { "start": { "line": 1337, "column": 23 }, "end": { "line": 1337, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49224, "end": 49225, "loc": { "start": { "line": 1338, "column": 8 }, "end": { "line": 1338, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 49235, "end": 49241, "loc": { "start": { "line": 1339, "column": 8 }, "end": { "line": 1339, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 49242, "end": 49247, "loc": { "start": { "line": 1339, "column": 15 }, "end": { "line": 1339, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49247, "end": 49248, "loc": { "start": { "line": 1339, "column": 20 }, "end": { "line": 1339, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49254, "end": 49255, "loc": { "start": { "line": 1340, "column": 4 }, "end": { "line": 1340, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the path\r\n * @param {DrawParameters} parameters\r\n ", "start": 49263, "end": 49341, "loc": { "start": { "line": 1342, "column": 4 }, "end": { "line": 1345, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "draw", "start": 49347, "end": 49351, "loc": { "start": { "line": 1346, "column": 4 }, "end": { "line": 1346, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49351, "end": 49352, "loc": { "start": { "line": 1346, "column": 8 }, "end": { "line": 1346, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 49352, "end": 49362, "loc": { "start": { "line": 1346, "column": 9 }, "end": { "line": 1346, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49362, "end": 49363, "loc": { "start": { "line": 1346, "column": 19 }, "end": { "line": 1346, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49364, "end": 49365, "loc": { "start": { "line": 1346, "column": 21 }, "end": { "line": 1346, "column": 22 } } }, { "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": 49375, "end": 49377, "loc": { "start": { "line": 1347, "column": 8 }, "end": { "line": 1347, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49378, "end": 49379, "loc": { "start": { "line": 1347, "column": 11 }, "end": { "line": 1347, "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": 49379, "end": 49380, "loc": { "start": { "line": 1347, "column": 12 }, "end": { "line": 1347, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 49380, "end": 49390, "loc": { "start": { "line": 1347, "column": 13 }, "end": { "line": 1347, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49390, "end": 49391, "loc": { "start": { "line": 1347, "column": 23 }, "end": { "line": 1347, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibleRect", "start": 49391, "end": 49402, "loc": { "start": { "line": 1347, "column": 24 }, "end": { "line": 1347, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49402, "end": 49403, "loc": { "start": { "line": 1347, "column": 35 }, "end": { "line": 1347, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containsRect", "start": 49403, "end": 49415, "loc": { "start": { "line": 1347, "column": 36 }, "end": { "line": 1347, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49415, "end": 49416, "loc": { "start": { "line": 1347, "column": 48 }, "end": { "line": 1347, "column": 49 } } }, { "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": 49416, "end": 49420, "loc": { "start": { "line": 1347, "column": 49 }, "end": { "line": 1347, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49420, "end": 49421, "loc": { "start": { "line": 1347, "column": 53 }, "end": { "line": 1347, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldBounds", "start": 49421, "end": 49432, "loc": { "start": { "line": 1347, "column": 54 }, "end": { "line": 1347, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49432, "end": 49433, "loc": { "start": { "line": 1347, "column": 65 }, "end": { "line": 1347, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49433, "end": 49434, "loc": { "start": { "line": 1347, "column": 66 }, "end": { "line": 1347, "column": 67 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49435, "end": 49436, "loc": { "start": { "line": 1347, "column": 68 }, "end": { "line": 1347, "column": 69 } } }, { "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": 49450, "end": 49456, "loc": { "start": { "line": 1348, "column": 12 }, "end": { "line": 1348, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49456, "end": 49457, "loc": { "start": { "line": 1348, "column": 18 }, "end": { "line": 1348, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49467, "end": 49468, "loc": { "start": { "line": 1349, "column": 8 }, "end": { "line": 1349, "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": 49480, "end": 49482, "loc": { "start": { "line": 1351, "column": 8 }, "end": { "line": 1351, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49483, "end": 49484, "loc": { "start": { "line": 1351, "column": 11 }, "end": { "line": 1351, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 49484, "end": 49488, "loc": { "start": { "line": 1351, "column": 12 }, "end": { "line": 1351, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49488, "end": 49489, "loc": { "start": { "line": 1351, "column": 16 }, "end": { "line": 1351, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 49489, "end": 49494, "loc": { "start": { "line": 1351, "column": 17 }, "end": { "line": 1351, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49494, "end": 49495, "loc": { "start": { "line": 1351, "column": 22 }, "end": { "line": 1351, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 49495, "end": 49501, "loc": { "start": { "line": 1351, "column": 23 }, "end": { "line": 1351, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 49502, "end": 49505, "loc": { "start": { "line": 1351, "column": 30 }, "end": { "line": 1351, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 49506, "end": 49507, "loc": { "start": { "line": 1351, "column": 34 }, "end": { "line": 1351, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49507, "end": 49508, "loc": { "start": { "line": 1351, "column": 35 }, "end": { "line": 1351, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49509, "end": 49510, "loc": { "start": { "line": 1351, "column": 37 }, "end": { "line": 1351, "column": 38 } } }, { "type": "CommentLine", "value": " Early out", "start": 49524, "end": 49536, "loc": { "start": { "line": 1352, "column": 12 }, "end": { "line": 1352, "column": 24 } } }, { "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": 49550, "end": 49556, "loc": { "start": { "line": 1353, "column": 12 }, "end": { "line": 1353, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49556, "end": 49557, "loc": { "start": { "line": 1353, "column": 18 }, "end": { "line": 1353, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49567, "end": 49568, "loc": { "start": { "line": 1354, "column": 8 }, "end": { "line": 1354, "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": 49580, "end": 49582, "loc": { "start": { "line": 1356, "column": 8 }, "end": { "line": 1356, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49583, "end": 49584, "loc": { "start": { "line": 1356, "column": 11 }, "end": { "line": 1356, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 49584, "end": 49588, "loc": { "start": { "line": 1356, "column": 12 }, "end": { "line": 1356, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49588, "end": 49589, "loc": { "start": { "line": 1356, "column": 16 }, "end": { "line": 1356, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkIsPotatoMode", "start": 49589, "end": 49606, "loc": { "start": { "line": 1356, "column": 17 }, "end": { "line": 1356, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49606, "end": 49607, "loc": { "start": { "line": 1356, "column": 34 }, "end": { "line": 1356, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49607, "end": 49608, "loc": { "start": { "line": 1356, "column": 35 }, "end": { "line": 1356, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49608, "end": 49609, "loc": { "start": { "line": 1356, "column": 36 }, "end": { "line": 1356, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49610, "end": 49611, "loc": { "start": { "line": 1356, "column": 38 }, "end": { "line": 1356, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 49625, "end": 49630, "loc": { "start": { "line": 1357, "column": 12 }, "end": { "line": 1357, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstItem", "start": 49631, "end": 49640, "loc": { "start": { "line": 1357, "column": 18 }, "end": { "line": 1357, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 49641, "end": 49642, "loc": { "start": { "line": 1357, "column": 28 }, "end": { "line": 1357, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 49643, "end": 49647, "loc": { "start": { "line": 1357, "column": 30 }, "end": { "line": 1357, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49647, "end": 49648, "loc": { "start": { "line": 1357, "column": 34 }, "end": { "line": 1357, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 49648, "end": 49653, "loc": { "start": { "line": 1357, "column": 35 }, "end": { "line": 1357, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49653, "end": 49654, "loc": { "start": { "line": 1357, "column": 40 }, "end": { "line": 1357, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 49654, "end": 49655, "loc": { "start": { "line": 1357, "column": 41 }, "end": { "line": 1357, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49655, "end": 49656, "loc": { "start": { "line": 1357, "column": 42 }, "end": { "line": 1357, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49656, "end": 49657, "loc": { "start": { "line": 1357, "column": 43 }, "end": { "line": 1357, "column": 44 } } }, { "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": 49671, "end": 49673, "loc": { "start": { "line": 1358, "column": 12 }, "end": { "line": 1358, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49674, "end": 49675, "loc": { "start": { "line": 1358, "column": 15 }, "end": { "line": 1358, "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": 49675, "end": 49679, "loc": { "start": { "line": 1358, "column": 16 }, "end": { "line": 1358, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49679, "end": 49680, "loc": { "start": { "line": 1358, "column": 20 }, "end": { "line": 1358, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 49680, "end": 49690, "loc": { "start": { "line": 1358, "column": 21 }, "end": { "line": 1358, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49690, "end": 49691, "loc": { "start": { "line": 1358, "column": 31 }, "end": { "line": 1358, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 49691, "end": 49697, "loc": { "start": { "line": 1358, "column": 32 }, "end": { "line": 1358, "column": 38 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 49698, "end": 49699, "loc": { "start": { "line": 1358, "column": 39 }, "end": { "line": 1358, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 49700, "end": 49701, "loc": { "start": { "line": 1358, "column": 41 }, "end": { "line": 1358, "column": 42 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 49702, "end": 49704, "loc": { "start": { "line": 1358, "column": 43 }, "end": { "line": 1358, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstItem", "start": 49705, "end": 49714, "loc": { "start": { "line": 1358, "column": 46 }, "end": { "line": 1358, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49714, "end": 49715, "loc": { "start": { "line": 1358, "column": 55 }, "end": { "line": 1358, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49716, "end": 49717, "loc": { "start": { "line": 1358, "column": 57 }, "end": { "line": 1358, "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": 49735, "end": 49740, "loc": { "start": { "line": 1359, "column": 16 }, "end": { "line": 1359, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "medianBeltIndex", "start": 49741, "end": 49756, "loc": { "start": { "line": 1359, "column": 22 }, "end": { "line": 1359, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 49757, "end": 49758, "loc": { "start": { "line": 1359, "column": 38 }, "end": { "line": 1359, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 49759, "end": 49764, "loc": { "start": { "line": 1359, "column": 40 }, "end": { "line": 1359, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49764, "end": 49765, "loc": { "start": { "line": 1359, "column": 45 }, "end": { "line": 1359, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 49787, "end": 49791, "loc": { "start": { "line": 1360, "column": 20 }, "end": { "line": 1360, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49791, "end": 49792, "loc": { "start": { "line": 1360, "column": 24 }, "end": { "line": 1360, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 49792, "end": 49797, "loc": { "start": { "line": 1360, "column": 25 }, "end": { "line": 1360, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49797, "end": 49798, "loc": { "start": { "line": 1360, "column": 30 }, "end": { "line": 1360, "column": 31 } } }, { "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": 49798, "end": 49802, "loc": { "start": { "line": 1360, "column": 31 }, "end": { "line": 1360, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49802, "end": 49803, "loc": { "start": { "line": 1360, "column": 35 }, "end": { "line": 1360, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 49803, "end": 49813, "loc": { "start": { "line": 1360, "column": 36 }, "end": { "line": 1360, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49813, "end": 49814, "loc": { "start": { "line": 1360, "column": 46 }, "end": { "line": 1360, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 49814, "end": 49820, "loc": { "start": { "line": 1360, "column": 47 }, "end": { "line": 1360, "column": 53 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 49821, "end": 49822, "loc": { "start": { "line": 1360, "column": 54 }, "end": { "line": 1360, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 49823, "end": 49824, "loc": { "start": { "line": 1360, "column": 56 }, "end": { "line": 1360, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 49825, "end": 49826, "loc": { "start": { "line": 1360, "column": 58 }, "end": { "line": 1360, "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": 49827, "end": 49828, "loc": { "start": { "line": 1360, "column": 60 }, "end": { "line": 1360, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49828, "end": 49829, "loc": { "start": { "line": 1360, "column": 61 }, "end": { "line": 1360, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49829, "end": 49830, "loc": { "start": { "line": 1360, "column": 62 }, "end": { "line": 1360, "column": 63 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 49852, "end": 49853, "loc": { "start": { "line": 1361, "column": 20 }, "end": { "line": 1361, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49853, "end": 49854, "loc": { "start": { "line": 1361, "column": 21 }, "end": { "line": 1361, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 49876, "end": 49880, "loc": { "start": { "line": 1362, "column": 20 }, "end": { "line": 1362, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49880, "end": 49881, "loc": { "start": { "line": 1362, "column": 24 }, "end": { "line": 1362, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 49881, "end": 49891, "loc": { "start": { "line": 1362, "column": 25 }, "end": { "line": 1362, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49891, "end": 49892, "loc": { "start": { "line": 1362, "column": 35 }, "end": { "line": 1362, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 49892, "end": 49898, "loc": { "start": { "line": 1362, "column": 36 }, "end": { "line": 1362, "column": 42 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 49899, "end": 49900, "loc": { "start": { "line": 1362, "column": 43 }, "end": { "line": 1362, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 49901, "end": 49902, "loc": { "start": { "line": 1362, "column": 45 }, "end": { "line": 1362, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49920, "end": 49921, "loc": { "start": { "line": 1363, "column": 16 }, "end": { "line": 1363, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49921, "end": 49922, "loc": { "start": { "line": 1363, "column": 17 }, "end": { "line": 1363, "column": 18 } } }, { "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": 49940, "end": 49945, "loc": { "start": { "line": 1364, "column": 16 }, "end": { "line": 1364, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "medianBelt", "start": 49946, "end": 49956, "loc": { "start": { "line": 1364, "column": 22 }, "end": { "line": 1364, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 49957, "end": 49958, "loc": { "start": { "line": 1364, "column": 33 }, "end": { "line": 1364, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 49959, "end": 49963, "loc": { "start": { "line": 1364, "column": 35 }, "end": { "line": 1364, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49963, "end": 49964, "loc": { "start": { "line": 1364, "column": 39 }, "end": { "line": 1364, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 49964, "end": 49974, "loc": { "start": { "line": 1364, "column": 40 }, "end": { "line": 1364, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49974, "end": 49975, "loc": { "start": { "line": 1364, "column": 50 }, "end": { "line": 1364, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "medianBeltIndex", "start": 49975, "end": 49990, "loc": { "start": { "line": 1364, "column": 51 }, "end": { "line": 1364, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49990, "end": 49991, "loc": { "start": { "line": 1364, "column": 66 }, "end": { "line": 1364, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 49991, "end": 49992, "loc": { "start": { "line": 1364, "column": 67 }, "end": { "line": 1364, "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": 50010, "end": 50015, "loc": { "start": { "line": 1365, "column": 16 }, "end": { "line": 1365, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 50016, "end": 50024, "loc": { "start": { "line": 1365, "column": 22 }, "end": { "line": 1365, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50025, "end": 50026, "loc": { "start": { "line": 1365, "column": 31 }, "end": { "line": 1365, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "medianBelt", "start": 50027, "end": 50037, "loc": { "start": { "line": 1365, "column": 33 }, "end": { "line": 1365, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50037, "end": 50038, "loc": { "start": { "line": 1365, "column": 43 }, "end": { "line": 1365, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 50038, "end": 50048, "loc": { "start": { "line": 1365, "column": 44 }, "end": { "line": 1365, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50048, "end": 50049, "loc": { "start": { "line": 1365, "column": 54 }, "end": { "line": 1365, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 50049, "end": 50053, "loc": { "start": { "line": 1365, "column": 55 }, "end": { "line": 1365, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50053, "end": 50054, "loc": { "start": { "line": 1365, "column": 59 }, "end": { "line": 1365, "column": 60 } } }, { "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": 50072, "end": 50077, "loc": { "start": { "line": 1366, "column": 16 }, "end": { "line": 1366, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 50078, "end": 50088, "loc": { "start": { "line": 1366, "column": 22 }, "end": { "line": 1366, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50089, "end": 50090, "loc": { "start": { "line": 1366, "column": 33 }, "end": { "line": 1366, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "medianBelt", "start": 50091, "end": 50101, "loc": { "start": { "line": 1366, "column": 35 }, "end": { "line": 1366, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50101, "end": 50102, "loc": { "start": { "line": 1366, "column": 45 }, "end": { "line": 1366, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 50102, "end": 50112, "loc": { "start": { "line": 1366, "column": 46 }, "end": { "line": 1366, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50112, "end": 50113, "loc": { "start": { "line": 1366, "column": 56 }, "end": { "line": 1366, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 50113, "end": 50128, "loc": { "start": { "line": 1366, "column": 57 }, "end": { "line": 1366, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50128, "end": 50129, "loc": { "start": { "line": 1366, "column": 72 }, "end": { "line": 1366, "column": 73 } } }, { "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": 50147, "end": 50152, "loc": { "start": { "line": 1367, "column": 16 }, "end": { "line": 1367, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPosLocal", "start": 50153, "end": 50167, "loc": { "start": { "line": 1367, "column": 22 }, "end": { "line": 1367, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50168, "end": 50169, "loc": { "start": { "line": 1367, "column": 37 }, "end": { "line": 1367, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 50170, "end": 50178, "loc": { "start": { "line": 1367, "column": 39 }, "end": { "line": 1367, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50178, "end": 50179, "loc": { "start": { "line": 1367, "column": 47 }, "end": { "line": 1367, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transformBeltToLocalSpace", "start": 50179, "end": 50204, "loc": { "start": { "line": 1367, "column": 48 }, "end": { "line": 1367, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50204, "end": 50205, "loc": { "start": { "line": 1367, "column": 73 }, "end": { "line": 1367, "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": 50227, "end": 50231, "loc": { "start": { "line": 1368, "column": 20 }, "end": { "line": 1368, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50231, "end": 50232, "loc": { "start": { "line": 1368, "column": 24 }, "end": { "line": 1368, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 50232, "end": 50242, "loc": { "start": { "line": 1368, "column": 25 }, "end": { "line": 1368, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50242, "end": 50243, "loc": { "start": { "line": 1368, "column": 35 }, "end": { "line": 1368, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 50243, "end": 50249, "loc": { "start": { "line": 1368, "column": 36 }, "end": { "line": 1368, "column": 42 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 50250, "end": 50251, "loc": { "start": { "line": 1368, "column": 43 }, "end": { "line": 1368, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 50252, "end": 50253, "loc": { "start": { "line": 1368, "column": 45 }, "end": { "line": 1368, "column": 46 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 50254, "end": 50257, "loc": { "start": { "line": 1368, "column": 47 }, "end": { "line": 1368, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 50258, "end": 50259, "loc": { "start": { "line": 1368, "column": 51 }, "end": { "line": 1368, "column": 52 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50260, "end": 50261, "loc": { "start": { "line": 1368, "column": 53 }, "end": { "line": 1368, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 50262, "end": 50270, "loc": { "start": { "line": 1368, "column": 55 }, "end": { "line": 1368, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50270, "end": 50271, "loc": { "start": { "line": 1368, "column": 63 }, "end": { "line": 1368, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 50271, "end": 50294, "loc": { "start": { "line": 1368, "column": 64 }, "end": { "line": 1368, "column": 87 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50294, "end": 50295, "loc": { "start": { "line": 1368, "column": 87 }, "end": { "line": 1368, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50295, "end": 50296, "loc": { "start": { "line": 1368, "column": 88 }, "end": { "line": 1368, "column": 89 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50297, "end": 50298, "loc": { "start": { "line": 1368, "column": 90 }, "end": { "line": 1368, "column": 91 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 50299, "end": 50302, "loc": { "start": { "line": 1368, "column": 92 }, "end": { "line": 1368, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50320, "end": 50321, "loc": { "start": { "line": 1369, "column": 16 }, "end": { "line": 1369, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50321, "end": 50322, "loc": { "start": { "line": 1369, "column": 17 }, "end": { "line": 1369, "column": 18 } } }, { "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": 50340, "end": 50345, "loc": { "start": { "line": 1370, "column": 16 }, "end": { "line": 1370, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPos", "start": 50346, "end": 50355, "loc": { "start": { "line": 1370, "column": 22 }, "end": { "line": 1370, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50356, "end": 50357, "loc": { "start": { "line": 1370, "column": 32 }, "end": { "line": 1370, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 50358, "end": 50368, "loc": { "start": { "line": 1370, "column": 34 }, "end": { "line": 1370, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50368, "end": 50369, "loc": { "start": { "line": 1370, "column": 44 }, "end": { "line": 1370, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localTileToWorld", "start": 50369, "end": 50385, "loc": { "start": { "line": 1370, "column": 45 }, "end": { "line": 1370, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50385, "end": 50386, "loc": { "start": { "line": 1370, "column": 61 }, "end": { "line": 1370, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPosLocal", "start": 50386, "end": 50400, "loc": { "start": { "line": 1370, "column": 62 }, "end": { "line": 1370, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50400, "end": 50401, "loc": { "start": { "line": 1370, "column": 76 }, "end": { "line": 1370, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50401, "end": 50402, "loc": { "start": { "line": 1370, "column": 77 }, "end": { "line": 1370, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 50402, "end": 50426, "loc": { "start": { "line": 1370, "column": 78 }, "end": { "line": 1370, "column": 102 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50426, "end": 50427, "loc": { "start": { "line": 1370, "column": 102 }, "end": { "line": 1370, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50427, "end": 50428, "loc": { "start": { "line": 1370, "column": 103 }, "end": { "line": 1370, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50428, "end": 50429, "loc": { "start": { "line": 1370, "column": 104 }, "end": { "line": 1370, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 50449, "end": 50459, "loc": { "start": { "line": 1372, "column": 16 }, "end": { "line": 1372, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50459, "end": 50460, "loc": { "start": { "line": 1372, "column": 26 }, "end": { "line": 1372, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 50460, "end": 50467, "loc": { "start": { "line": 1372, "column": 27 }, "end": { "line": 1372, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50467, "end": 50468, "loc": { "start": { "line": 1372, "column": 34 }, "end": { "line": 1372, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 50468, "end": 50479, "loc": { "start": { "line": 1372, "column": 35 }, "end": { "line": 1372, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50480, "end": 50481, "loc": { "start": { "line": 1372, "column": 47 }, "end": { "line": 1372, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 50482, "end": 50485, "loc": { "start": { "line": 1372, "column": 49 }, "end": { "line": 1372, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50485, "end": 50486, "loc": { "start": { "line": 1372, "column": 52 }, "end": { "line": 1372, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "firstItem", "start": 50504, "end": 50513, "loc": { "start": { "line": 1373, "column": 16 }, "end": { "line": 1373, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50513, "end": 50514, "loc": { "start": { "line": 1373, "column": 25 }, "end": { "line": 1373, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 50514, "end": 50519, "loc": { "start": { "line": 1373, "column": 26 }, "end": { "line": 1373, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50519, "end": 50520, "loc": { "start": { "line": 1373, "column": 31 }, "end": { "line": 1373, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50520, "end": 50521, "loc": { "start": { "line": 1373, "column": 32 }, "end": { "line": 1373, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredClipped", "start": 50521, "end": 50544, "loc": { "start": { "line": 1373, "column": 33 }, "end": { "line": 1373, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50544, "end": 50545, "loc": { "start": { "line": 1373, "column": 56 }, "end": { "line": 1373, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPos", "start": 50545, "end": 50554, "loc": { "start": { "line": 1373, "column": 57 }, "end": { "line": 1373, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50554, "end": 50555, "loc": { "start": { "line": 1373, "column": 66 }, "end": { "line": 1373, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 50555, "end": 50556, "loc": { "start": { "line": 1373, "column": 67 }, "end": { "line": 1373, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50556, "end": 50557, "loc": { "start": { "line": 1373, "column": 68 }, "end": { "line": 1373, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPos", "start": 50558, "end": 50567, "loc": { "start": { "line": 1373, "column": 70 }, "end": { "line": 1373, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50567, "end": 50568, "loc": { "start": { "line": 1373, "column": 79 }, "end": { "line": 1373, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 50568, "end": 50569, "loc": { "start": { "line": 1373, "column": 80 }, "end": { "line": 1373, "column": 81 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50569, "end": 50570, "loc": { "start": { "line": 1373, "column": 81 }, "end": { "line": 1373, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 50571, "end": 50581, "loc": { "start": { "line": 1373, "column": 83 }, "end": { "line": 1373, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50581, "end": 50582, "loc": { "start": { "line": 1373, "column": 93 }, "end": { "line": 1373, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50582, "end": 50583, "loc": { "start": { "line": 1373, "column": 94 }, "end": { "line": 1373, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 50601, "end": 50611, "loc": { "start": { "line": 1374, "column": 16 }, "end": { "line": 1374, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50611, "end": 50612, "loc": { "start": { "line": 1374, "column": 26 }, "end": { "line": 1374, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 50612, "end": 50619, "loc": { "start": { "line": 1374, "column": 27 }, "end": { "line": 1374, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50619, "end": 50620, "loc": { "start": { "line": 1374, "column": 34 }, "end": { "line": 1374, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 50620, "end": 50631, "loc": { "start": { "line": 1374, "column": 35 }, "end": { "line": 1374, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50632, "end": 50633, "loc": { "start": { "line": 1374, "column": 47 }, "end": { "line": 1374, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 50634, "end": 50635, "loc": { "start": { "line": 1374, "column": 49 }, "end": { "line": 1374, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50635, "end": 50636, "loc": { "start": { "line": 1374, "column": 50 }, "end": { "line": 1374, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50650, "end": 50651, "loc": { "start": { "line": 1375, "column": 12 }, "end": { "line": 1375, "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": 50667, "end": 50673, "loc": { "start": { "line": 1377, "column": 12 }, "end": { "line": 1377, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50673, "end": 50674, "loc": { "start": { "line": 1377, "column": 18 }, "end": { "line": 1377, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50684, "end": 50685, "loc": { "start": { "line": 1378, "column": 8 }, "end": { "line": 1378, "column": 9 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 50697, "end": 50700, "loc": { "start": { "line": 1380, "column": 8 }, "end": { "line": 1380, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemPos", "start": 50701, "end": 50715, "loc": { "start": { "line": 1380, "column": 12 }, "end": { "line": 1380, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50716, "end": 50717, "loc": { "start": { "line": 1380, "column": 27 }, "end": { "line": 1380, "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": 50718, "end": 50722, "loc": { "start": { "line": 1380, "column": 29 }, "end": { "line": 1380, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50722, "end": 50723, "loc": { "start": { "line": 1380, "column": 33 }, "end": { "line": 1380, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spacingToFirstItem", "start": 50723, "end": 50741, "loc": { "start": { "line": 1380, "column": 34 }, "end": { "line": 1380, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50741, "end": 50742, "loc": { "start": { "line": 1380, "column": 52 }, "end": { "line": 1380, "column": 53 } } }, { "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": 50752, "end": 50755, "loc": { "start": { "line": 1381, "column": 8 }, "end": { "line": 1381, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemIndex", "start": 50756, "end": 50772, "loc": { "start": { "line": 1381, "column": 12 }, "end": { "line": 1381, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50773, "end": 50774, "loc": { "start": { "line": 1381, "column": 29 }, "end": { "line": 1381, "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": 50775, "end": 50776, "loc": { "start": { "line": 1381, "column": 31 }, "end": { "line": 1381, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50776, "end": 50777, "loc": { "start": { "line": 1381, "column": 32 }, "end": { "line": 1381, "column": 33 } } }, { "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": 50789, "end": 50792, "loc": { "start": { "line": 1383, "column": 8 }, "end": { "line": 1383, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackPos", "start": 50793, "end": 50801, "loc": { "start": { "line": 1383, "column": 12 }, "end": { "line": 1383, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50802, "end": 50803, "loc": { "start": { "line": 1383, "column": 21 }, "end": { "line": 1383, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 50804, "end": 50807, "loc": { "start": { "line": 1383, "column": 23 }, "end": { "line": 1383, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50807, "end": 50808, "loc": { "start": { "line": 1383, "column": 26 }, "end": { "line": 1383, "column": 27 } } }, { "type": "CommentLine", "value": " Iterate whole track and check items", "start": 50820, "end": 50858, "loc": { "start": { "line": 1385, "column": 8 }, "end": { "line": 1385, "column": 46 } } }, { "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": 50868, "end": 50871, "loc": { "start": { "line": 1386, "column": 8 }, "end": { "line": 1386, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50872, "end": 50873, "loc": { "start": { "line": 1386, "column": 12 }, "end": { "line": 1386, "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": 50873, "end": 50876, "loc": { "start": { "line": 1386, "column": 13 }, "end": { "line": 1386, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 50877, "end": 50878, "loc": { "start": { "line": 1386, "column": 17 }, "end": { "line": 1386, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50879, "end": 50880, "loc": { "start": { "line": 1386, "column": 19 }, "end": { "line": 1386, "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": 50881, "end": 50882, "loc": { "start": { "line": 1386, "column": 21 }, "end": { "line": 1386, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50882, "end": 50883, "loc": { "start": { "line": 1386, "column": 22 }, "end": { "line": 1386, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 50884, "end": 50885, "loc": { "start": { "line": 1386, "column": 24 }, "end": { "line": 1386, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 50886, "end": 50887, "loc": { "start": { "line": 1386, "column": 26 }, "end": { "line": 1386, "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": 50888, "end": 50892, "loc": { "start": { "line": 1386, "column": 28 }, "end": { "line": 1386, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50892, "end": 50893, "loc": { "start": { "line": 1386, "column": 32 }, "end": { "line": 1386, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 50893, "end": 50903, "loc": { "start": { "line": 1386, "column": 33 }, "end": { "line": 1386, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50903, "end": 50904, "loc": { "start": { "line": 1386, "column": 43 }, "end": { "line": 1386, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 50904, "end": 50910, "loc": { "start": { "line": 1386, "column": 44 }, "end": { "line": 1386, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50910, "end": 50911, "loc": { "start": { "line": 1386, "column": 50 }, "end": { "line": 1386, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 50912, "end": 50914, "loc": { "start": { "line": 1386, "column": 52 }, "end": { "line": 1386, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 50914, "end": 50915, "loc": { "start": { "line": 1386, "column": 54 }, "end": { "line": 1386, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50915, "end": 50916, "loc": { "start": { "line": 1386, "column": 55 }, "end": { "line": 1386, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50917, "end": 50918, "loc": { "start": { "line": 1386, "column": 57 }, "end": { "line": 1386, "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": 50932, "end": 50937, "loc": { "start": { "line": 1387, "column": 12 }, "end": { "line": 1387, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 50938, "end": 50944, "loc": { "start": { "line": 1387, "column": 18 }, "end": { "line": 1387, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50945, "end": 50946, "loc": { "start": { "line": 1387, "column": 25 }, "end": { "line": 1387, "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": 50947, "end": 50951, "loc": { "start": { "line": 1387, "column": 27 }, "end": { "line": 1387, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50951, "end": 50952, "loc": { "start": { "line": 1387, "column": 31 }, "end": { "line": 1387, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityPath", "start": 50952, "end": 50962, "loc": { "start": { "line": 1387, "column": 32 }, "end": { "line": 1387, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50962, "end": 50963, "loc": { "start": { "line": 1387, "column": 42 }, "end": { "line": 1387, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 50963, "end": 50964, "loc": { "start": { "line": 1387, "column": 43 }, "end": { "line": 1387, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50964, "end": 50965, "loc": { "start": { "line": 1387, "column": 44 }, "end": { "line": 1387, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 50965, "end": 50966, "loc": { "start": { "line": 1387, "column": 45 }, "end": { "line": 1387, "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": 50980, "end": 50985, "loc": { "start": { "line": 1388, "column": 12 }, "end": { "line": 1388, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 50986, "end": 50994, "loc": { "start": { "line": 1388, "column": 18 }, "end": { "line": 1388, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 50995, "end": 50996, "loc": { "start": { "line": 1388, "column": 27 }, "end": { "line": 1388, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 50997, "end": 51003, "loc": { "start": { "line": 1388, "column": 29 }, "end": { "line": 1388, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51003, "end": 51004, "loc": { "start": { "line": 1388, "column": 35 }, "end": { "line": 1388, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 51004, "end": 51014, "loc": { "start": { "line": 1388, "column": 36 }, "end": { "line": 1388, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51014, "end": 51015, "loc": { "start": { "line": 1388, "column": 46 }, "end": { "line": 1388, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Belt", "start": 51015, "end": 51019, "loc": { "start": { "line": 1388, "column": 47 }, "end": { "line": 1388, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51019, "end": 51020, "loc": { "start": { "line": 1388, "column": 51 }, "end": { "line": 1388, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 51034, "end": 51039, "loc": { "start": { "line": 1389, "column": 12 }, "end": { "line": 1389, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 51040, "end": 51050, "loc": { "start": { "line": 1389, "column": 18 }, "end": { "line": 1389, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 51051, "end": 51052, "loc": { "start": { "line": 1389, "column": 29 }, "end": { "line": 1389, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 51053, "end": 51061, "loc": { "start": { "line": 1389, "column": 31 }, "end": { "line": 1389, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51061, "end": 51062, "loc": { "start": { "line": 1389, "column": 39 }, "end": { "line": 1389, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveLengthTiles", "start": 51062, "end": 51085, "loc": { "start": { "line": 1389, "column": 40 }, "end": { "line": 1389, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51085, "end": 51086, "loc": { "start": { "line": 1389, "column": 63 }, "end": { "line": 1389, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51086, "end": 51087, "loc": { "start": { "line": 1389, "column": 64 }, "end": { "line": 1389, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51087, "end": 51088, "loc": { "start": { "line": 1389, "column": 65 }, "end": { "line": 1389, "column": 66 } } }, { "type": "CommentLine", "value": " Check if the current items are on the belt", "start": 51104, "end": 51149, "loc": { "start": { "line": 1391, "column": 12 }, "end": { "line": 1391, "column": 57 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 51163, "end": 51168, "loc": { "start": { "line": 1392, "column": 12 }, "end": { "line": 1392, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51169, "end": 51170, "loc": { "start": { "line": 1392, "column": 18 }, "end": { "line": 1392, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackPos", "start": 51170, "end": 51178, "loc": { "start": { "line": 1392, "column": 19 }, "end": { "line": 1392, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51179, "end": 51180, "loc": { "start": { "line": 1392, "column": 28 }, "end": { "line": 1392, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 51181, "end": 51191, "loc": { "start": { "line": 1392, "column": 30 }, "end": { "line": 1392, "column": 40 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 51192, "end": 51194, "loc": { "start": { "line": 1392, "column": 41 }, "end": { "line": 1392, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemPos", "start": 51195, "end": 51209, "loc": { "start": { "line": 1392, "column": 44 }, "end": { "line": 1392, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 51210, "end": 51211, "loc": { "start": { "line": 1392, "column": 59 }, "end": { "line": 1392, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.00001, "start": 51212, "end": 51216, "loc": { "start": { "line": 1392, "column": 61 }, "end": { "line": 1392, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51216, "end": 51217, "loc": { "start": { "line": 1392, "column": 65 }, "end": { "line": 1392, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51218, "end": 51219, "loc": { "start": { "line": 1392, "column": 67 }, "end": { "line": 1392, "column": 68 } } }, { "type": "CommentLine", "value": " It's on the belt, render it now", "start": 51237, "end": 51271, "loc": { "start": { "line": 1393, "column": 16 }, "end": { "line": 1393, "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": 51289, "end": 51294, "loc": { "start": { "line": 1394, "column": 16 }, "end": { "line": 1394, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 51295, "end": 51305, "loc": { "start": { "line": 1394, "column": 22 }, "end": { "line": 1394, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 51306, "end": 51307, "loc": { "start": { "line": 1394, "column": 33 }, "end": { "line": 1394, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 51308, "end": 51314, "loc": { "start": { "line": 1394, "column": 35 }, "end": { "line": 1394, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51314, "end": 51315, "loc": { "start": { "line": 1394, "column": 41 }, "end": { "line": 1394, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 51315, "end": 51325, "loc": { "start": { "line": 1394, "column": 42 }, "end": { "line": 1394, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51325, "end": 51326, "loc": { "start": { "line": 1394, "column": 52 }, "end": { "line": 1394, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 51326, "end": 51341, "loc": { "start": { "line": 1394, "column": 53 }, "end": { "line": 1394, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51341, "end": 51342, "loc": { "start": { "line": 1394, "column": 68 }, "end": { "line": 1394, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 51360, "end": 51366, "loc": { "start": { "line": 1395, "column": 16 }, "end": { "line": 1395, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51366, "end": 51367, "loc": { "start": { "line": 1395, "column": 22 }, "end": { "line": 1395, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemPos", "start": 51389, "end": 51403, "loc": { "start": { "line": 1396, "column": 20 }, "end": { "line": 1396, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 51404, "end": 51405, "loc": { "start": { "line": 1396, "column": 35 }, "end": { "line": 1396, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackPos", "start": 51406, "end": 51414, "loc": { "start": { "line": 1396, "column": 37 }, "end": { "line": 1396, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 51415, "end": 51417, "loc": { "start": { "line": 1396, "column": 46 }, "end": { "line": 1396, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 51418, "end": 51419, "loc": { "start": { "line": 1396, "column": 49 }, "end": { "line": 1396, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51419, "end": 51420, "loc": { "start": { "line": 1396, "column": 50 }, "end": { "line": 1396, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "invalid track pos: ", "start": 51442, "end": 51463, "loc": { "start": { "line": 1397, "column": 20 }, "end": { "line": 1397, "column": 41 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51464, "end": 51465, "loc": { "start": { "line": 1397, "column": 42 }, "end": { "line": 1397, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemPos", "start": 51466, "end": 51480, "loc": { "start": { "line": 1397, "column": 44 }, "end": { "line": 1397, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51481, "end": 51482, "loc": { "start": { "line": 1397, "column": 59 }, "end": { "line": 1397, "column": 60 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " vs ", "start": 51483, "end": 51489, "loc": { "start": { "line": 1397, "column": 61 }, "end": { "line": 1397, "column": 67 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51490, "end": 51491, "loc": { "start": { "line": 1397, "column": 68 }, "end": { "line": 1397, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackPos", "start": 51492, "end": 51500, "loc": { "start": { "line": 1397, "column": 70 }, "end": { "line": 1397, "column": 78 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51501, "end": 51502, "loc": { "start": { "line": 1397, "column": 79 }, "end": { "line": 1397, "column": 80 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " (l =", "start": 51503, "end": 51511, "loc": { "start": { "line": 1397, "column": 81 }, "end": { "line": 1397, "column": 89 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51512, "end": 51513, "loc": { "start": { "line": 1397, "column": 90 }, "end": { "line": 1397, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 51514, "end": 51524, "loc": { "start": { "line": 1397, "column": 92 }, "end": { "line": 1397, "column": 102 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 51525, "end": 51526, "loc": { "start": { "line": 1397, "column": 103 }, "end": { "line": 1397, "column": 104 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 51527, "end": 51530, "loc": { "start": { "line": 1397, "column": 105 }, "end": { "line": 1397, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51548, "end": 51549, "loc": { "start": { "line": 1398, "column": 16 }, "end": { "line": 1398, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51549, "end": 51550, "loc": { "start": { "line": 1398, "column": 17 }, "end": { "line": 1398, "column": 18 } } }, { "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": 51570, "end": 51575, "loc": { "start": { "line": 1400, "column": 16 }, "end": { "line": 1400, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localPos", "start": 51576, "end": 51584, "loc": { "start": { "line": 1400, "column": 22 }, "end": { "line": 1400, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 51585, "end": 51586, "loc": { "start": { "line": 1400, "column": 31 }, "end": { "line": 1400, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltComp", "start": 51587, "end": 51595, "loc": { "start": { "line": 1400, "column": 33 }, "end": { "line": 1400, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51595, "end": 51596, "loc": { "start": { "line": 1400, "column": 41 }, "end": { "line": 1400, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transformBeltToLocalSpace", "start": 51596, "end": 51621, "loc": { "start": { "line": 1400, "column": 42 }, "end": { "line": 1400, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51621, "end": 51622, "loc": { "start": { "line": 1400, "column": 67 }, "end": { "line": 1400, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemPos", "start": 51622, "end": 51636, "loc": { "start": { "line": 1400, "column": 68 }, "end": { "line": 1400, "column": 82 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 51637, "end": 51638, "loc": { "start": { "line": 1400, "column": 83 }, "end": { "line": 1400, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackPos", "start": 51639, "end": 51647, "loc": { "start": { "line": 1400, "column": 85 }, "end": { "line": 1400, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51647, "end": 51648, "loc": { "start": { "line": 1400, "column": 93 }, "end": { "line": 1400, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51648, "end": 51649, "loc": { "start": { "line": 1400, "column": 94 }, "end": { "line": 1400, "column": 95 } } }, { "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": 51667, "end": 51672, "loc": { "start": { "line": 1401, "column": 16 }, "end": { "line": 1401, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 51673, "end": 51681, "loc": { "start": { "line": 1401, "column": 22 }, "end": { "line": 1401, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 51682, "end": 51683, "loc": { "start": { "line": 1401, "column": 31 }, "end": { "line": 1401, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 51684, "end": 51694, "loc": { "start": { "line": 1401, "column": 33 }, "end": { "line": 1401, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51694, "end": 51695, "loc": { "start": { "line": 1401, "column": 43 }, "end": { "line": 1401, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localTileToWorld", "start": 51695, "end": 51711, "loc": { "start": { "line": 1401, "column": 44 }, "end": { "line": 1401, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51711, "end": 51712, "loc": { "start": { "line": 1401, "column": 60 }, "end": { "line": 1401, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localPos", "start": 51712, "end": 51720, "loc": { "start": { "line": 1401, "column": 61 }, "end": { "line": 1401, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51720, "end": 51721, "loc": { "start": { "line": 1401, "column": 69 }, "end": { "line": 1401, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51721, "end": 51722, "loc": { "start": { "line": 1401, "column": 70 }, "end": { "line": 1401, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toWorldSpaceCenterOfTile", "start": 51722, "end": 51746, "loc": { "start": { "line": 1401, "column": 71 }, "end": { "line": 1401, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51746, "end": 51747, "loc": { "start": { "line": 1401, "column": 95 }, "end": { "line": 1401, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51747, "end": 51748, "loc": { "start": { "line": 1401, "column": 96 }, "end": { "line": 1401, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51748, "end": 51749, "loc": { "start": { "line": 1401, "column": 97 }, "end": { "line": 1401, "column": 98 } } }, { "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": 51769, "end": 51774, "loc": { "start": { "line": 1403, "column": 16 }, "end": { "line": 1403, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceAndItem", "start": 51775, "end": 51790, "loc": { "start": { "line": 1403, "column": 22 }, "end": { "line": 1403, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 51791, "end": 51792, "loc": { "start": { "line": 1403, "column": 38 }, "end": { "line": 1403, "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": 51793, "end": 51797, "loc": { "start": { "line": 1403, "column": 40 }, "end": { "line": 1403, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51797, "end": 51798, "loc": { "start": { "line": 1403, "column": 44 }, "end": { "line": 1403, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 51798, "end": 51803, "loc": { "start": { "line": 1403, "column": 45 }, "end": { "line": 1403, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51803, "end": 51804, "loc": { "start": { "line": 1403, "column": 50 }, "end": { "line": 1403, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemIndex", "start": 51804, "end": 51820, "loc": { "start": { "line": 1403, "column": 51 }, "end": { "line": 1403, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51820, "end": 51821, "loc": { "start": { "line": 1403, "column": 67 }, "end": { "line": 1403, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51821, "end": 51822, "loc": { "start": { "line": 1403, "column": 68 }, "end": { "line": 1403, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceAndItem", "start": 51842, "end": 51857, "loc": { "start": { "line": 1405, "column": 16 }, "end": { "line": 1405, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51857, "end": 51858, "loc": { "start": { "line": 1405, "column": 31 }, "end": { "line": 1405, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_item", "start": 51858, "end": 51863, "loc": { "start": { "line": 1405, "column": 32 }, "end": { "line": 1405, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51863, "end": 51864, "loc": { "start": { "line": 1405, "column": 37 }, "end": { "line": 1405, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51864, "end": 51865, "loc": { "start": { "line": 1405, "column": 38 }, "end": { "line": 1405, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredClipped", "start": 51865, "end": 51888, "loc": { "start": { "line": 1405, "column": 39 }, "end": { "line": 1405, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 51888, "end": 51889, "loc": { "start": { "line": 1405, "column": 62 }, "end": { "line": 1405, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 51911, "end": 51919, "loc": { "start": { "line": 1406, "column": 20 }, "end": { "line": 1406, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51919, "end": 51920, "loc": { "start": { "line": 1406, "column": 28 }, "end": { "line": 1406, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 51920, "end": 51921, "loc": { "start": { "line": 1406, "column": 29 }, "end": { "line": 1406, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51921, "end": 51922, "loc": { "start": { "line": 1406, "column": 30 }, "end": { "line": 1406, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 51944, "end": 51952, "loc": { "start": { "line": 1407, "column": 20 }, "end": { "line": 1407, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51952, "end": 51953, "loc": { "start": { "line": 1407, "column": 28 }, "end": { "line": 1407, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 51953, "end": 51954, "loc": { "start": { "line": 1407, "column": 29 }, "end": { "line": 1407, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51954, "end": 51955, "loc": { "start": { "line": 1407, "column": 30 }, "end": { "line": 1407, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 51977, "end": 51987, "loc": { "start": { "line": 1408, "column": 20 }, "end": { "line": 1408, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 51987, "end": 51988, "loc": { "start": { "line": 1408, "column": 30 }, "end": { "line": 1408, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 52010, "end": 52022, "loc": { "start": { "line": 1409, "column": 20 }, "end": { "line": 1409, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52022, "end": 52023, "loc": { "start": { "line": 1409, "column": 32 }, "end": { "line": 1409, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaultItemDiameter", "start": 52023, "end": 52042, "loc": { "start": { "line": 1409, "column": 33 }, "end": { "line": 1409, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52060, "end": 52061, "loc": { "start": { "line": 1410, "column": 16 }, "end": { "line": 1410, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52061, "end": 52062, "loc": { "start": { "line": 1410, "column": 17 }, "end": { "line": 1410, "column": 18 } } }, { "type": "CommentLine", "value": " Check for the next item", "start": 52082, "end": 52108, "loc": { "start": { "line": 1412, "column": 16 }, "end": { "line": 1412, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemPos", "start": 52126, "end": 52140, "loc": { "start": { "line": 1413, "column": 16 }, "end": { "line": 1413, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 52141, "end": 52143, "loc": { "start": { "line": 1413, "column": 31 }, "end": { "line": 1413, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceAndItem", "start": 52144, "end": 52159, "loc": { "start": { "line": 1413, "column": 34 }, "end": { "line": 1413, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52159, "end": 52160, "loc": { "start": { "line": 1413, "column": 49 }, "end": { "line": 1413, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_nextDistance", "start": 52160, "end": 52173, "loc": { "start": { "line": 1413, "column": 50 }, "end": { "line": 1413, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52173, "end": 52174, "loc": { "start": { "line": 1413, "column": 63 }, "end": { "line": 1413, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52174, "end": 52175, "loc": { "start": { "line": 1413, "column": 64 }, "end": { "line": 1413, "column": 65 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 52193, "end": 52195, "loc": { "start": { "line": 1414, "column": 16 }, "end": { "line": 1414, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemIndex", "start": 52195, "end": 52211, "loc": { "start": { "line": 1414, "column": 18 }, "end": { "line": 1414, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52211, "end": 52212, "loc": { "start": { "line": 1414, "column": 34 }, "end": { "line": 1414, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 52232, "end": 52234, "loc": { "start": { "line": 1416, "column": 16 }, "end": { "line": 1416, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52235, "end": 52236, "loc": { "start": { "line": 1416, "column": 19 }, "end": { "line": 1416, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentItemIndex", "start": 52236, "end": 52252, "loc": { "start": { "line": 1416, "column": 20 }, "end": { "line": 1416, "column": 36 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 52253, "end": 52255, "loc": { "start": { "line": 1416, "column": 37 }, "end": { "line": 1416, "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": 52256, "end": 52260, "loc": { "start": { "line": 1416, "column": 40 }, "end": { "line": 1416, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52260, "end": 52261, "loc": { "start": { "line": 1416, "column": 44 }, "end": { "line": 1416, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 52261, "end": 52266, "loc": { "start": { "line": 1416, "column": 45 }, "end": { "line": 1416, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52266, "end": 52267, "loc": { "start": { "line": 1416, "column": 50 }, "end": { "line": 1416, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 52267, "end": 52273, "loc": { "start": { "line": 1416, "column": 51 }, "end": { "line": 1416, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52273, "end": 52274, "loc": { "start": { "line": 1416, "column": 57 }, "end": { "line": 1416, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52275, "end": 52276, "loc": { "start": { "line": 1416, "column": 59 }, "end": { "line": 1416, "column": 60 } } }, { "type": "CommentLine", "value": " We rendered all items", "start": 52298, "end": 52322, "loc": { "start": { "line": 1417, "column": 20 }, "end": { "line": 1417, "column": 44 } } }, { "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": 52344, "end": 52350, "loc": { "start": { "line": 1418, "column": 20 }, "end": { "line": 1418, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52350, "end": 52351, "loc": { "start": { "line": 1418, "column": 26 }, "end": { "line": 1418, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52369, "end": 52370, "loc": { "start": { "line": 1419, "column": 16 }, "end": { "line": 1419, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52384, "end": 52385, "loc": { "start": { "line": 1420, "column": 12 }, "end": { "line": 1420, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackPos", "start": 52401, "end": 52409, "loc": { "start": { "line": 1422, "column": 12 }, "end": { "line": 1422, "column": 20 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 52410, "end": 52412, "loc": { "start": { "line": 1422, "column": 21 }, "end": { "line": 1422, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltLength", "start": 52413, "end": 52423, "loc": { "start": { "line": 1422, "column": 24 }, "end": { "line": 1422, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52423, "end": 52424, "loc": { "start": { "line": 1422, "column": 34 }, "end": { "line": 1422, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52434, "end": 52435, "loc": { "start": { "line": 1423, "column": 8 }, "end": { "line": 1423, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52441, "end": 52442, "loc": { "start": { "line": 1424, "column": 4 }, "end": { "line": 1424, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 52444, "end": 52445, "loc": { "start": { "line": 1425, "column": 0 }, "end": { "line": 1425, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52447, "end": 52447, "loc": { "start": { "line": 1426, "column": 0 }, "end": { "line": 1426, "column": 0 } } } ] }