{ "type": "File", "start": 0, "end": 22239, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 574, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 22239, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 574, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 16, "end": 56, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 25, "end": 33, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } }, "imported": { "type": "Identifier", "start": 25, "end": 33, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem", "leadingComments": null }, "local": { "type": "Identifier", "start": 25, "end": 33, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 41, "end": 55, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 39 } }, "extra": { "rawValue": "../base_item", "raw": "\"../base_item\"" }, "value": "../base_item" }, "leadingComments": [ { "type": "CommentLine", "value": " @ts-nocheck", "start": 0, "end": 14, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 14 } } } ] }, { "type": "ImportDeclaration", "start": 58, "end": 121, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 63 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 67, "end": 89, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 } }, "imported": { "type": "Identifier", "start": 67, "end": 89, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 }, "identifierName": "enumColorMixingResults" }, "name": "enumColorMixingResults" }, "local": { "type": "Identifier", "start": 67, "end": 89, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 }, "identifierName": "enumColorMixingResults" }, "name": "enumColorMixingResults" } }, { "type": "ImportSpecifier", "start": 91, "end": 101, "loc": { "start": { "line": 3, "column": 33 }, "end": { "line": 3, "column": 43 } }, "imported": { "type": "Identifier", "start": 91, "end": 101, "loc": { "start": { "line": 3, "column": 33 }, "end": { "line": 3, "column": 43 }, "identifierName": "enumColors" }, "name": "enumColors" }, "local": { "type": "Identifier", "start": 91, "end": 101, "loc": { "start": { "line": 3, "column": 33 }, "end": { "line": 3, "column": 43 }, "identifierName": "enumColors" }, "name": "enumColors" } } ], "source": { "type": "StringLiteral", "start": 109, "end": 120, "loc": { "start": { "line": 3, "column": 51 }, "end": { "line": 3, "column": 62 } }, "extra": { "rawValue": "../colors", "raw": "\"../colors\"" }, "value": "../colors" } }, { "type": "ImportDeclaration", "start": 123, "end": 265, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 38 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 137, "end": 166, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 33 } }, "imported": { "type": "Identifier", "start": 137, "end": 166, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 33 }, "identifierName": "enumItemProcessorRequirements" }, "name": "enumItemProcessorRequirements" }, "local": { "type": "Identifier", "start": 137, "end": 166, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 33 }, "identifierName": "enumItemProcessorRequirements" }, "name": "enumItemProcessorRequirements" } }, { "type": "ImportSpecifier", "start": 173, "end": 195, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 26 } }, "imported": { "type": "Identifier", "start": 173, "end": 195, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 26 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "local": { "type": "Identifier", "start": 173, "end": 195, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 26 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" } }, { "type": "ImportSpecifier", "start": 202, "end": 224, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 26 } }, "imported": { "type": "Identifier", "start": 202, "end": 224, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 26 }, "identifierName": "ItemProcessorComponent" }, "name": "ItemProcessorComponent" }, "local": { "type": "Identifier", "start": 202, "end": 224, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 26 }, "identifierName": "ItemProcessorComponent" }, "name": "ItemProcessorComponent" } } ], "source": { "type": "StringLiteral", "start": 234, "end": 264, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 37 } }, "extra": { "rawValue": "../components/item_processor", "raw": "\"../components/item_processor\"" }, "value": "../components/item_processor" } }, { "type": "ImportDeclaration", "start": 267, "end": 302, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 35 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 276, "end": 282, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 } }, "imported": { "type": "Identifier", "start": 276, "end": 282, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" }, "local": { "type": "Identifier", "start": 276, "end": 282, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" } } ], "source": { "type": "StringLiteral", "start": 290, "end": 301, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 34 } }, "extra": { "rawValue": "../entity", "raw": "\"../entity\"" }, "value": "../entity" } }, { "type": "ImportDeclaration", "start": 304, "end": 370, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 66 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 313, "end": 333, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 } }, "imported": { "type": "Identifier", "start": 313, "end": 333, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "local": { "type": "Identifier", "start": 313, "end": 333, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" } } ], "source": { "type": "StringLiteral", "start": 341, "end": 369, "loc": { "start": { "line": 10, "column": 37 }, "end": { "line": 10, "column": 65 } }, "extra": { "rawValue": "../game_system_with_filter", "raw": "\"../game_system_with_filter\"" }, "value": "../game_system_with_filter" } }, { "type": "ImportDeclaration", "start": 372, "end": 446, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 74 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 381, "end": 400, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 28 } }, "imported": { "type": "Identifier", "start": 381, "end": 400, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 28 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" }, "local": { "type": "Identifier", "start": 381, "end": 400, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 28 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" } }, { "type": "ImportSpecifier", "start": 402, "end": 414, "loc": { "start": { "line": 11, "column": 30 }, "end": { "line": 11, "column": 42 } }, "imported": { "type": "Identifier", "start": 402, "end": 414, "loc": { "start": { "line": 11, "column": 30 }, "end": { "line": 11, "column": 42 }, "identifierName": "isTruthyItem" }, "name": "isTruthyItem" }, "local": { "type": "Identifier", "start": 402, "end": 414, "loc": { "start": { "line": 11, "column": 30 }, "end": { "line": 11, "column": 42 }, "identifierName": "isTruthyItem" }, "name": "isTruthyItem" } } ], "source": { "type": "StringLiteral", "start": 422, "end": 445, "loc": { "start": { "line": 11, "column": 50 }, "end": { "line": 11, "column": 73 } }, "extra": { "rawValue": "../items/boolean_item", "raw": "\"../items/boolean_item\"" }, "value": "../items/boolean_item" } }, { "type": "ImportDeclaration", "start": 448, "end": 496, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 48 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 457, "end": 466, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 } }, "imported": { "type": "Identifier", "start": 457, "end": 466, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "local": { "type": "Identifier", "start": 457, "end": 466, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 }, "identifierName": "ColorItem" }, "name": "ColorItem" } } ], "source": { "type": "StringLiteral", "start": 474, "end": 495, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "column": 47 } }, "extra": { "rawValue": "../items/color_item", "raw": "\"../items/color_item\"" }, "value": "../items/color_item" } }, { "type": "ImportDeclaration", "start": 498, "end": 546, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 48 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 507, "end": 516, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 18 } }, "imported": { "type": "Identifier", "start": 507, "end": 516, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 18 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" }, "local": { "type": "Identifier", "start": 507, "end": 516, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 18 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } } ], "source": { "type": "StringLiteral", "start": 524, "end": 545, "loc": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 47 } }, "extra": { "rawValue": "../items/shape_item", "raw": "\"../items/shape_item\"" }, "value": "../items/shape_item" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * We need to allow queuing charges, otherwise the throughput will stall\r\n ", "start": 550, "end": 632, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 17, "column": 3 } } } ] }, { "type": "VariableDeclaration", "start": 634, "end": 663, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 640, "end": 662, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 28 } }, "id": { "type": "Identifier", "start": 640, "end": 658, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 24 }, "identifierName": "MAX_QUEUED_CHARGES" }, "name": "MAX_QUEUED_CHARGES", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 661, "end": 662, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 28 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * We need to allow queuing charges, otherwise the throughput will stall\r\n ", "start": 550, "end": 632, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 17, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Whole data for a produced item\r\n *\r\n * @typedef {{\r\n * item: BaseItem,\r\n * preferredSlot?: number,\r\n * requiredSlot?: number,\r\n * doNotTrack?: boolean\r\n * }} ProducedItem\r\n ", "start": 667, "end": 858, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Type of a processor implementation\r\n * @typedef {{\r\n * entity: Entity,\r\n * items: Array<{ item: BaseItem, sourceSlot: number }>,\r\n * itemsBySlot: Object,\r\n * outItems: Array\r\n * }} ProcessorImplementationPayload\r\n ", "start": 862, "end": 1128, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 39, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1132, "end": 22239, "loc": { "start": { "line": 41, "column": 0 }, "end": { "line": 574, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 1139, "end": 22239, "loc": { "start": { "line": 41, "column": 7 }, "end": { "line": 574, "column": 1 } }, "id": { "type": "Identifier", "start": 1145, "end": 1164, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 32 }, "identifierName": "ItemProcessorSystem" }, "name": "ItemProcessorSystem", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 1173, "end": 1193, "loc": { "start": { "line": 41, "column": 41 }, "end": { "line": 41, "column": 61 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "body": { "type": "ClassBody", "start": 1194, "end": 22239, "loc": { "start": { "line": 41, "column": 62 }, "end": { "line": 574, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1201, "end": 2587, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 69, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1201, "end": 1212, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1213, "end": 1217, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 1219, "end": 2587, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 69, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1230, "end": 1268, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 46 } }, "expression": { "type": "CallExpression", "start": 1230, "end": 1267, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 45 } }, "callee": { "type": "Super", "start": 1230, "end": 1235, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 1236, "end": 1240, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 18 }, "identifierName": "root" }, "name": "root" }, { "type": "ArrayExpression", "start": 1242, "end": 1266, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 44 } }, "elements": [ { "type": "Identifier", "start": 1243, "end": 1265, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 43 }, "identifierName": "ItemProcessorComponent" }, "name": "ItemProcessorComponent" } ] } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {Object}\r\n ", "start": 1280, "end": 1398, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 47, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1408, "end": 2428, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 63, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 1408, "end": 2427, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 63, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1408, "end": 1421, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1408, "end": 1412, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1413, "end": 1421, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 21 }, "identifierName": "handlers" }, "name": "handlers" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 1424, "end": 2427, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 63, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 1439, "end": 1495, "loc": { "start": { "line": 49, "column": 12 }, "end": { "line": 49, "column": 68 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1440, "end": 1471, "loc": { "start": { "line": 49, "column": 13 }, "end": { "line": 49, "column": 44 } }, "object": { "type": "Identifier", "start": 1440, "end": 1462, "loc": { "start": { "line": 49, "column": 13 }, "end": { "line": 49, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1463, "end": 1471, "loc": { "start": { "line": 49, "column": 36 }, "end": { "line": 49, "column": 44 }, "identifierName": "balancer" }, "name": "balancer" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1474, "end": 1495, "loc": { "start": { "line": 49, "column": 47 }, "end": { "line": 49, "column": 68 } }, "object": { "type": "ThisExpression", "start": 1474, "end": 1478, "loc": { "start": { "line": 49, "column": 47 }, "end": { "line": 49, "column": 51 } } }, "property": { "type": "Identifier", "start": 1479, "end": 1495, "loc": { "start": { "line": 49, "column": 52 }, "end": { "line": 49, "column": 68 }, "identifierName": "process_BALANCER" }, "name": "process_BALANCER" }, "computed": false } }, { "type": "ObjectProperty", "start": 1510, "end": 1562, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 64 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1511, "end": 1540, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 50, "column": 42 } }, "object": { "type": "Identifier", "start": 1511, "end": 1533, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 50, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1534, "end": 1540, "loc": { "start": { "line": 50, "column": 36 }, "end": { "line": 50, "column": 42 }, "identifierName": "cutter" }, "name": "cutter" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1543, "end": 1562, "loc": { "start": { "line": 50, "column": 45 }, "end": { "line": 50, "column": 64 } }, "object": { "type": "ThisExpression", "start": 1543, "end": 1547, "loc": { "start": { "line": 50, "column": 45 }, "end": { "line": 50, "column": 49 } } }, "property": { "type": "Identifier", "start": 1548, "end": 1562, "loc": { "start": { "line": 50, "column": 50 }, "end": { "line": 50, "column": 64 }, "identifierName": "process_CUTTER" }, "name": "process_CUTTER" }, "computed": false } }, { "type": "ObjectProperty", "start": 1577, "end": 1638, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 73 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1578, "end": 1611, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 46 } }, "object": { "type": "Identifier", "start": 1578, "end": 1600, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1601, "end": 1611, "loc": { "start": { "line": 51, "column": 36 }, "end": { "line": 51, "column": 46 }, "identifierName": "cutterQuad" }, "name": "cutterQuad" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1614, "end": 1638, "loc": { "start": { "line": 51, "column": 49 }, "end": { "line": 51, "column": 73 } }, "object": { "type": "ThisExpression", "start": 1614, "end": 1618, "loc": { "start": { "line": 51, "column": 49 }, "end": { "line": 51, "column": 53 } } }, "property": { "type": "Identifier", "start": 1619, "end": 1638, "loc": { "start": { "line": 51, "column": 54 }, "end": { "line": 51, "column": 73 }, "identifierName": "process_CUTTER_QUAD" }, "name": "process_CUTTER_QUAD" }, "computed": false } }, { "type": "ObjectProperty", "start": 1653, "end": 1707, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 66 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1654, "end": 1684, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 43 } }, "object": { "type": "Identifier", "start": 1654, "end": 1676, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1677, "end": 1684, "loc": { "start": { "line": 52, "column": 36 }, "end": { "line": 52, "column": 43 }, "identifierName": "rotater" }, "name": "rotater" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1687, "end": 1707, "loc": { "start": { "line": 52, "column": 46 }, "end": { "line": 52, "column": 66 } }, "object": { "type": "ThisExpression", "start": 1687, "end": 1691, "loc": { "start": { "line": 52, "column": 46 }, "end": { "line": 52, "column": 50 } } }, "property": { "type": "Identifier", "start": 1692, "end": 1707, "loc": { "start": { "line": 52, "column": 51 }, "end": { "line": 52, "column": 66 }, "identifierName": "process_ROTATER" }, "name": "process_ROTATER" }, "computed": false } }, { "type": "ObjectProperty", "start": 1722, "end": 1783, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 73 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1723, "end": 1756, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 46 } }, "object": { "type": "Identifier", "start": 1723, "end": 1745, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1746, "end": 1756, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 46 }, "identifierName": "rotaterCCW" }, "name": "rotaterCCW" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1759, "end": 1783, "loc": { "start": { "line": 53, "column": 49 }, "end": { "line": 53, "column": 73 } }, "object": { "type": "ThisExpression", "start": 1759, "end": 1763, "loc": { "start": { "line": 53, "column": 49 }, "end": { "line": 53, "column": 53 } } }, "property": { "type": "Identifier", "start": 1764, "end": 1783, "loc": { "start": { "line": 53, "column": 54 }, "end": { "line": 53, "column": 73 }, "identifierName": "process_ROTATER_CCW" }, "name": "process_ROTATER_CCW" }, "computed": false } }, { "type": "ObjectProperty", "start": 1798, "end": 1859, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 73 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1799, "end": 1832, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 46 } }, "object": { "type": "Identifier", "start": 1799, "end": 1821, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1822, "end": 1832, "loc": { "start": { "line": 54, "column": 36 }, "end": { "line": 54, "column": 46 }, "identifierName": "rotater180" }, "name": "rotater180" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1835, "end": 1859, "loc": { "start": { "line": 54, "column": 49 }, "end": { "line": 54, "column": 73 } }, "object": { "type": "ThisExpression", "start": 1835, "end": 1839, "loc": { "start": { "line": 54, "column": 49 }, "end": { "line": 54, "column": 53 } } }, "property": { "type": "Identifier", "start": 1840, "end": 1859, "loc": { "start": { "line": 54, "column": 54 }, "end": { "line": 54, "column": 73 }, "identifierName": "process_ROTATER_180" }, "name": "process_ROTATER_180" }, "computed": false } }, { "type": "ObjectProperty", "start": 1874, "end": 1928, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 66 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1875, "end": 1905, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 43 } }, "object": { "type": "Identifier", "start": 1875, "end": 1897, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1898, "end": 1905, "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 55, "column": 43 }, "identifierName": "stacker" }, "name": "stacker" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1908, "end": 1928, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 66 } }, "object": { "type": "ThisExpression", "start": 1908, "end": 1912, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 50 } } }, "property": { "type": "Identifier", "start": 1913, "end": 1928, "loc": { "start": { "line": 55, "column": 51 }, "end": { "line": 55, "column": 66 }, "identifierName": "process_STACKER" }, "name": "process_STACKER" }, "computed": false } }, { "type": "ObjectProperty", "start": 1943, "end": 1993, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 62 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 1944, "end": 1972, "loc": { "start": { "line": 56, "column": 13 }, "end": { "line": 56, "column": 41 } }, "object": { "type": "Identifier", "start": 1944, "end": 1966, "loc": { "start": { "line": 56, "column": 13 }, "end": { "line": 56, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 1967, "end": 1972, "loc": { "start": { "line": 56, "column": 36 }, "end": { "line": 56, "column": 41 }, "identifierName": "trash" }, "name": "trash" }, "computed": false }, "value": { "type": "MemberExpression", "start": 1975, "end": 1993, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 62 } }, "object": { "type": "ThisExpression", "start": 1975, "end": 1979, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 48 } } }, "property": { "type": "Identifier", "start": 1980, "end": 1993, "loc": { "start": { "line": 56, "column": 49 }, "end": { "line": 56, "column": 62 }, "identifierName": "process_TRASH" }, "name": "process_TRASH" }, "computed": false } }, { "type": "ObjectProperty", "start": 2008, "end": 2058, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 62 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 2009, "end": 2037, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 41 } }, "object": { "type": "Identifier", "start": 2009, "end": 2031, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 2032, "end": 2037, "loc": { "start": { "line": 57, "column": 36 }, "end": { "line": 57, "column": 41 }, "identifierName": "mixer" }, "name": "mixer" }, "computed": false }, "value": { "type": "MemberExpression", "start": 2040, "end": 2058, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 62 } }, "object": { "type": "ThisExpression", "start": 2040, "end": 2044, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 48 } } }, "property": { "type": "Identifier", "start": 2045, "end": 2058, "loc": { "start": { "line": 57, "column": 49 }, "end": { "line": 57, "column": 62 }, "identifierName": "process_MIXER" }, "name": "process_MIXER" }, "computed": false } }, { "type": "ObjectProperty", "start": 2073, "end": 2127, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 66 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 2074, "end": 2104, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 43 } }, "object": { "type": "Identifier", "start": 2074, "end": 2096, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 2097, "end": 2104, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 43 }, "identifierName": "painter" }, "name": "painter" }, "computed": false }, "value": { "type": "MemberExpression", "start": 2107, "end": 2127, "loc": { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 66 } }, "object": { "type": "ThisExpression", "start": 2107, "end": 2111, "loc": { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 50 } } }, "property": { "type": "Identifier", "start": 2112, "end": 2127, "loc": { "start": { "line": 58, "column": 51 }, "end": { "line": 58, "column": 66 }, "identifierName": "process_PAINTER" }, "name": "process_PAINTER" }, "computed": false } }, { "type": "ObjectProperty", "start": 2142, "end": 2209, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 79 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 2143, "end": 2179, "loc": { "start": { "line": 59, "column": 13 }, "end": { "line": 59, "column": 49 } }, "object": { "type": "Identifier", "start": 2143, "end": 2165, "loc": { "start": { "line": 59, "column": 13 }, "end": { "line": 59, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 2166, "end": 2179, "loc": { "start": { "line": 59, "column": 36 }, "end": { "line": 59, "column": 49 }, "identifierName": "painterDouble" }, "name": "painterDouble" }, "computed": false }, "value": { "type": "MemberExpression", "start": 2182, "end": 2209, "loc": { "start": { "line": 59, "column": 52 }, "end": { "line": 59, "column": 79 } }, "object": { "type": "ThisExpression", "start": 2182, "end": 2186, "loc": { "start": { "line": 59, "column": 52 }, "end": { "line": 59, "column": 56 } } }, "property": { "type": "Identifier", "start": 2187, "end": 2209, "loc": { "start": { "line": 59, "column": 57 }, "end": { "line": 59, "column": 79 }, "identifierName": "process_PAINTER_DOUBLE" }, "name": "process_PAINTER_DOUBLE" }, "computed": false } }, { "type": "ObjectProperty", "start": 2224, "end": 2287, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 75 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 2225, "end": 2259, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 47 } }, "object": { "type": "Identifier", "start": 2225, "end": 2247, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 2248, "end": 2259, "loc": { "start": { "line": 60, "column": 36 }, "end": { "line": 60, "column": 47 }, "identifierName": "painterQuad" }, "name": "painterQuad" }, "computed": false }, "value": { "type": "MemberExpression", "start": 2262, "end": 2287, "loc": { "start": { "line": 60, "column": 50 }, "end": { "line": 60, "column": 75 } }, "object": { "type": "ThisExpression", "start": 2262, "end": 2266, "loc": { "start": { "line": 60, "column": 50 }, "end": { "line": 60, "column": 54 } } }, "property": { "type": "Identifier", "start": 2267, "end": 2287, "loc": { "start": { "line": 60, "column": 55 }, "end": { "line": 60, "column": 75 }, "identifierName": "process_PAINTER_QUAD" }, "name": "process_PAINTER_QUAD" }, "computed": false } }, { "type": "ObjectProperty", "start": 2302, "end": 2348, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 58 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 2303, "end": 2329, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 39 } }, "object": { "type": "Identifier", "start": 2303, "end": 2325, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 2326, "end": 2329, "loc": { "start": { "line": 61, "column": 36 }, "end": { "line": 61, "column": 39 }, "identifierName": "hub" }, "name": "hub" }, "computed": false }, "value": { "type": "MemberExpression", "start": 2332, "end": 2348, "loc": { "start": { "line": 61, "column": 42 }, "end": { "line": 61, "column": 58 } }, "object": { "type": "ThisExpression", "start": 2332, "end": 2336, "loc": { "start": { "line": 61, "column": 42 }, "end": { "line": 61, "column": 46 } } }, "property": { "type": "Identifier", "start": 2337, "end": 2348, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 58 }, "identifierName": "process_HUB" }, "name": "process_HUB" }, "computed": false } }, { "type": "ObjectProperty", "start": 2363, "end": 2415, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 64 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 2364, "end": 2393, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "Identifier", "start": 2364, "end": 2386, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 35 }, "identifierName": "enumItemProcessorTypes" }, "name": "enumItemProcessorTypes" }, "property": { "type": "Identifier", "start": 2387, "end": 2393, "loc": { "start": { "line": 62, "column": 36 }, "end": { "line": 62, "column": 42 }, "identifierName": "reader" }, "name": "reader" }, "computed": false }, "value": { "type": "MemberExpression", "start": 2396, "end": 2415, "loc": { "start": { "line": 62, "column": 45 }, "end": { "line": 62, "column": 64 } }, "object": { "type": "ThisExpression", "start": 2396, "end": 2400, "loc": { "start": { "line": 62, "column": 45 }, "end": { "line": 62, "column": 49 } } }, "property": { "type": "Identifier", "start": 2401, "end": 2415, "loc": { "start": { "line": 62, "column": 50 }, "end": { "line": 62, "column": 64 }, "identifierName": "process_READER" }, "name": "process_READER" }, "computed": false } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {Object}\r\n ", "start": 1280, "end": 1398, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 47, "column": 11 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Bind all handlers", "start": 2440, "end": 2460, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 28 } } } ] }, { "type": "ForInStatement", "start": 2470, "end": 2580, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 68, "column": 9 } }, "left": { "type": "VariableDeclaration", "start": 2475, "end": 2484, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2481, "end": 2484, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 22 } }, "id": { "type": "Identifier", "start": 2481, "end": 2484, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 22 }, "identifierName": "key" }, "name": "key", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "const", "leadingComments": null }, "right": { "type": "MemberExpression", "start": 2488, "end": 2501, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 39 } }, "object": { "type": "ThisExpression", "start": 2488, "end": 2492, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 30 } } }, "property": { "type": "Identifier", "start": 2493, "end": 2501, "loc": { "start": { "line": 66, "column": 31 }, "end": { "line": 66, "column": 39 }, "identifierName": "handlers" }, "name": "handlers" }, "computed": false }, "body": { "type": "BlockStatement", "start": 2503, "end": 2580, "loc": { "start": { "line": 66, "column": 41 }, "end": { "line": 68, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2518, "end": 2569, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 2518, "end": 2568, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2518, "end": 2536, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 30 } }, "object": { "type": "MemberExpression", "start": 2518, "end": 2531, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 25 } }, "object": { "type": "ThisExpression", "start": 2518, "end": 2522, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 16 } } }, "property": { "type": "Identifier", "start": 2523, "end": 2531, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 25 }, "identifierName": "handlers" }, "name": "handlers" }, "computed": false }, "property": { "type": "Identifier", "start": 2532, "end": 2535, "loc": { "start": { "line": 67, "column": 26 }, "end": { "line": 67, "column": 29 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "right": { "type": "CallExpression", "start": 2539, "end": 2568, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 2539, "end": 2562, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 56 } }, "object": { "type": "MemberExpression", "start": 2539, "end": 2557, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2539, "end": 2552, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 46 } }, "object": { "type": "ThisExpression", "start": 2539, "end": 2543, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 37 } } }, "property": { "type": "Identifier", "start": 2544, "end": 2552, "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 46 }, "identifierName": "handlers" }, "name": "handlers" }, "computed": false }, "property": { "type": "Identifier", "start": 2553, "end": 2556, "loc": { "start": { "line": 67, "column": 47 }, "end": { "line": 67, "column": 50 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "property": { "type": "Identifier", "start": 2558, "end": 2562, "loc": { "start": { "line": 67, "column": 52 }, "end": { "line": 67, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 2563, "end": 2567, "loc": { "start": { "line": 67, "column": 57 }, "end": { "line": 67, "column": 61 } } } ] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Bind all handlers", "start": 2440, "end": 2460, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 28 } } } ] } ], "directives": [] } }, { "type": "ClassMethod", "start": 2595, "end": 2651, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 2602, "end": 2607, "loc": { "start": { "line": 71, "column": 11 }, "end": { "line": 71, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2610, "end": 2651, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 73, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2621, "end": 2644, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 31 } }, "argument": { "type": "StringLiteral", "start": 2628, "end": 2643, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 30 } }, "extra": { "rawValue": "itemProcessor", "raw": "\"itemProcessor\"" }, "value": "itemProcessor" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 2659, "end": 6036, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 147, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2659, "end": 2665, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 10 }, "identifierName": "update" }, "name": "update" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2668, "end": 6036, "loc": { "start": { "line": 75, "column": 13 }, "end": { "line": 147, "column": 5 } }, "body": [ { "type": "ForStatement", "start": 2679, "end": 6029, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 146, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2684, "end": 2693, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2688, "end": 2693, "loc": { "start": { "line": 76, "column": 17 }, "end": { "line": 76, "column": 22 } }, "id": { "type": "Identifier", "start": 2688, "end": 2689, "loc": { "start": { "line": 76, "column": 17 }, "end": { "line": 76, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2692, "end": 2693, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2695, "end": 2722, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 51 } }, "left": { "type": "Identifier", "start": 2695, "end": 2696, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2699, "end": 2722, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2699, "end": 2715, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 44 } }, "object": { "type": "ThisExpression", "start": 2699, "end": 2703, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 32 } } }, "property": { "type": "Identifier", "start": 2704, "end": 2715, "loc": { "start": { "line": 76, "column": 33 }, "end": { "line": 76, "column": 44 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 2716, "end": 2722, "loc": { "start": { "line": 76, "column": 45 }, "end": { "line": 76, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2724, "end": 2727, "loc": { "start": { "line": 76, "column": 53 }, "end": { "line": 76, "column": 56 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2726, "end": 2727, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 76, "column": 56 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2729, "end": 6029, "loc": { "start": { "line": 76, "column": 58 }, "end": { "line": 146, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2744, "end": 2779, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2750, "end": 2778, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 46 } }, "id": { "type": "Identifier", "start": 2750, "end": 2756, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 2759, "end": 2778, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 46 } }, "object": { "type": "MemberExpression", "start": 2759, "end": 2775, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 43 } }, "object": { "type": "ThisExpression", "start": 2759, "end": 2763, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 31 } } }, "property": { "type": "Identifier", "start": 2764, "end": 2775, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 43 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 2776, "end": 2777, "loc": { "start": { "line": 77, "column": 44 }, "end": { "line": 77, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2795, "end": 2849, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2801, "end": 2848, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 65 } }, "id": { "type": "Identifier", "start": 2801, "end": 2814, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 31 }, "identifierName": "processorComp" }, "name": "processorComp" }, "init": { "type": "MemberExpression", "start": 2817, "end": 2848, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2817, "end": 2834, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 51 } }, "object": { "type": "Identifier", "start": 2817, "end": 2823, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 40 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2824, "end": 2834, "loc": { "start": { "line": 79, "column": 41 }, "end": { "line": 79, "column": 51 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2835, "end": 2848, "loc": { "start": { "line": 79, "column": 52 }, "end": { "line": 79, "column": 65 }, "identifierName": "ItemProcessor" }, "name": "ItemProcessor" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2863, "end": 2913, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2869, "end": 2912, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 61 } }, "id": { "type": "Identifier", "start": 2869, "end": 2880, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 29 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, "init": { "type": "MemberExpression", "start": 2883, "end": 2912, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 61 } }, "object": { "type": "MemberExpression", "start": 2883, "end": 2900, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 49 } }, "object": { "type": "Identifier", "start": 2883, "end": 2889, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 38 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2890, "end": 2900, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 49 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2901, "end": 2912, "loc": { "start": { "line": 80, "column": 50 }, "end": { "line": 80, "column": 61 }, "identifierName": "ItemEjector" }, "name": "ItemEjector" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2929, "end": 2983, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2935, "end": 2982, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 65 } }, "id": { "type": "Identifier", "start": 2935, "end": 2948, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 31 }, "identifierName": "currentCharge" }, "name": "currentCharge" }, "init": { "type": "MemberExpression", "start": 2951, "end": 2982, "loc": { "start": { "line": 82, "column": 34 }, "end": { "line": 82, "column": 65 } }, "object": { "type": "MemberExpression", "start": 2951, "end": 2979, "loc": { "start": { "line": 82, "column": 34 }, "end": { "line": 82, "column": 62 } }, "object": { "type": "Identifier", "start": 2951, "end": 2964, "loc": { "start": { "line": 82, "column": 34 }, "end": { "line": 82, "column": 47 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 2965, "end": 2979, "loc": { "start": { "line": 82, "column": 48 }, "end": { "line": 82, "column": 62 }, "identifierName": "ongoingCharges" }, "name": "ongoingCharges" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 2980, "end": 2981, "loc": { "start": { "line": 82, "column": 63 }, "end": { "line": 82, "column": 64 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 2999, "end": 5732, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 138, "column": 13 } }, "test": { "type": "Identifier", "start": 3003, "end": 3016, "loc": { "start": { "line": 84, "column": 16 }, "end": { "line": 84, "column": 29 }, "identifierName": "currentCharge" }, "name": "currentCharge" }, "consequent": { "type": "BlockStatement", "start": 3018, "end": 5732, "loc": { "start": { "line": 84, "column": 31 }, "end": { "line": 138, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 3077, "end": 3474, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 92, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 3081, "end": 3114, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 53 } }, "left": { "type": "MemberExpression", "start": 3081, "end": 3108, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 47 } }, "object": { "type": "Identifier", "start": 3081, "end": 3094, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 33 }, "identifierName": "currentCharge" }, "name": "currentCharge", "leadingComments": null }, "property": { "type": "Identifier", "start": 3095, "end": 3108, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 47 }, "identifierName": "remainingTime" }, "name": "remainingTime" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3111, "end": 3114, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 53 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 3116, "end": 3474, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 92, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3139, "end": 3209, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 90 } }, "expression": { "type": "AssignmentExpression", "start": 3139, "end": 3208, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 89 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 3139, "end": 3166, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 47 } }, "object": { "type": "Identifier", "start": 3139, "end": 3152, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 33 }, "identifierName": "currentCharge" }, "name": "currentCharge" }, "property": { "type": "Identifier", "start": 3153, "end": 3166, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 47 }, "identifierName": "remainingTime" }, "name": "remainingTime" }, "computed": false }, "right": { "type": "MemberExpression", "start": 3170, "end": 3208, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 89 } }, "object": { "type": "MemberExpression", "start": 3170, "end": 3195, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 76 } }, "object": { "type": "MemberExpression", "start": 3170, "end": 3179, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 60 } }, "object": { "type": "ThisExpression", "start": 3170, "end": 3174, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 55 } } }, "property": { "type": "Identifier", "start": 3175, "end": 3179, "loc": { "start": { "line": 87, "column": 56 }, "end": { "line": 87, "column": 60 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3180, "end": 3195, "loc": { "start": { "line": 87, "column": 61 }, "end": { "line": 87, "column": 76 }, "identifierName": "dynamicTickrate" }, "name": "dynamicTickrate" }, "computed": false }, "property": { "type": "Identifier", "start": 3196, "end": 3208, "loc": { "start": { "line": 87, "column": 77 }, "end": { "line": 87, "column": 89 }, "identifierName": "deltaSeconds" }, "name": "deltaSeconds" }, "computed": false } } }, { "type": "IfStatement", "start": 3231, "end": 3455, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 91, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 3235, "end": 3268, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 57 } }, "left": { "type": "MemberExpression", "start": 3235, "end": 3262, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 51 } }, "object": { "type": "Identifier", "start": 3235, "end": 3248, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 37 }, "identifierName": "currentCharge" }, "name": "currentCharge" }, "property": { "type": "Identifier", "start": 3249, "end": 3262, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 51 }, "identifierName": "remainingTime" }, "name": "remainingTime" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 3265, "end": 3268, "loc": { "start": { "line": 88, "column": 54 }, "end": { "line": 88, "column": 57 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 3270, "end": 3455, "loc": { "start": { "line": 88, "column": 59 }, "end": { "line": 91, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 3376, "end": 3432, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 80 } }, "expression": { "type": "AssignmentExpression", "start": 3376, "end": 3431, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 79 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 3376, "end": 3399, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 47 } }, "object": { "type": "Identifier", "start": 3376, "end": 3389, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 37 }, "identifierName": "processorComp" }, "name": "processorComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 3390, "end": 3399, "loc": { "start": { "line": 90, "column": 38 }, "end": { "line": 90, "column": 47 }, "identifierName": "bonusTime" }, "name": "bonusTime" }, "computed": false, "leadingComments": null }, "right": { "type": "UnaryExpression", "start": 3403, "end": 3431, "loc": { "start": { "line": 90, "column": 51 }, "end": { "line": 90, "column": 79 } }, "operator": "-", "prefix": true, "argument": { "type": "MemberExpression", "start": 3404, "end": 3431, "loc": { "start": { "line": 90, "column": 52 }, "end": { "line": 90, "column": 79 } }, "object": { "type": "Identifier", "start": 3404, "end": 3417, "loc": { "start": { "line": 90, "column": 52 }, "end": { "line": 90, "column": 65 }, "identifierName": "currentCharge" }, "name": "currentCharge" }, "property": { "type": "Identifier", "start": 3418, "end": 3431, "loc": { "start": { "line": 90, "column": 66 }, "end": { "line": 90, "column": 79 }, "identifierName": "remainingTime" }, "name": "remainingTime" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Add bonus time, this is the time we spent too much", "start": 3297, "end": 3350, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 77 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Process next charge", "start": 3037, "end": 3059, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 38 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check if it finished", "start": 3494, "end": 3517, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 39 } } } ] }, { "type": "IfStatement", "start": 3535, "end": 5717, "loc": { "start": { "line": 95, "column": 16 }, "end": { "line": 137, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 3539, "end": 3573, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 54 } }, "left": { "type": "MemberExpression", "start": 3539, "end": 3566, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 47 } }, "object": { "type": "Identifier", "start": 3539, "end": 3552, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 33 }, "identifierName": "currentCharge" }, "name": "currentCharge", "leadingComments": null }, "property": { "type": "Identifier", "start": 3553, "end": 3566, "loc": { "start": { "line": 95, "column": 34 }, "end": { "line": 95, "column": 47 }, "identifierName": "remainingTime" }, "name": "remainingTime" }, "computed": false, "leadingComments": null }, "operator": "<=", "right": { "type": "NumericLiteral", "start": 3570, "end": 3573, "loc": { "start": { "line": 95, "column": 51 }, "end": { "line": 95, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 3575, "end": 5717, "loc": { "start": { "line": 95, "column": 56 }, "end": { "line": 137, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 3598, "end": 3639, "loc": { "start": { "line": 96, "column": 20 }, "end": { "line": 96, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3604, "end": 3638, "loc": { "start": { "line": 96, "column": 26 }, "end": { "line": 96, "column": 60 } }, "id": { "type": "Identifier", "start": 3604, "end": 3616, "loc": { "start": { "line": 96, "column": 26 }, "end": { "line": 96, "column": 38 }, "identifierName": "itemsToEject" }, "name": "itemsToEject" }, "init": { "type": "MemberExpression", "start": 3619, "end": 3638, "loc": { "start": { "line": 96, "column": 41 }, "end": { "line": 96, "column": 60 } }, "object": { "type": "Identifier", "start": 3619, "end": 3632, "loc": { "start": { "line": 96, "column": 41 }, "end": { "line": 96, "column": 54 }, "identifierName": "currentCharge" }, "name": "currentCharge" }, "property": { "type": "Identifier", "start": 3633, "end": 3638, "loc": { "start": { "line": 96, "column": 55 }, "end": { "line": 96, "column": 60 }, "identifierName": "items" }, "name": "items" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Go over all items and try to eject them", "start": 3663, "end": 3705, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 62 } } } ] }, { "type": "ForStatement", "start": 3727, "end": 5459, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 131, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 3732, "end": 3741, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3736, "end": 3741, "loc": { "start": { "line": 99, "column": 29 }, "end": { "line": 99, "column": 34 } }, "id": { "type": "Identifier", "start": 3736, "end": 3737, "loc": { "start": { "line": 99, "column": 29 }, "end": { "line": 99, "column": 30 }, "identifierName": "j" }, "name": "j", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 3740, "end": 3741, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 3743, "end": 3766, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 59 } }, "left": { "type": "Identifier", "start": 3743, "end": 3744, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 37 }, "identifierName": "j" }, "name": "j" }, "operator": "<", "right": { "type": "MemberExpression", "start": 3747, "end": 3766, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 59 } }, "object": { "type": "Identifier", "start": 3747, "end": 3759, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 52 }, "identifierName": "itemsToEject" }, "name": "itemsToEject" }, "property": { "type": "Identifier", "start": 3760, "end": 3766, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 59 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 3768, "end": 3771, "loc": { "start": { "line": 99, "column": 61 }, "end": { "line": 99, "column": 64 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3770, "end": 3771, "loc": { "start": { "line": 99, "column": 63 }, "end": { "line": 99, "column": 64 }, "identifierName": "j" }, "name": "j" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3773, "end": 5459, "loc": { "start": { "line": 99, "column": 66 }, "end": { "line": 131, "column": 21 } }, "body": [ { "type": "VariableDeclaration", "start": 3800, "end": 3862, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3806, "end": 3861, "loc": { "start": { "line": 100, "column": 30 }, "end": { "line": 100, "column": 85 } }, "id": { "type": "ObjectPattern", "start": 3806, "end": 3843, "loc": { "start": { "line": 100, "column": 30 }, "end": { "line": 100, "column": 67 } }, "properties": [ { "type": "ObjectProperty", "start": 3808, "end": 3812, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 36 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3808, "end": 3812, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 36 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "Identifier", "start": 3808, "end": 3812, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 36 }, "identifierName": "item" }, "name": "item" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 3814, "end": 3826, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 50 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3814, "end": 3826, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 50 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" }, "value": { "type": "Identifier", "start": 3814, "end": 3826, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 50 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 3828, "end": 3841, "loc": { "start": { "line": 100, "column": 52 }, "end": { "line": 100, "column": 65 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3828, "end": 3841, "loc": { "start": { "line": 100, "column": 52 }, "end": { "line": 100, "column": 65 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" }, "value": { "type": "Identifier", "start": 3828, "end": 3841, "loc": { "start": { "line": 100, "column": 52 }, "end": { "line": 100, "column": 65 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" }, "extra": { "shorthand": true } } ] }, "init": { "type": "MemberExpression", "start": 3846, "end": 3861, "loc": { "start": { "line": 100, "column": 70 }, "end": { "line": 100, "column": 85 } }, "object": { "type": "Identifier", "start": 3846, "end": 3858, "loc": { "start": { "line": 100, "column": 70 }, "end": { "line": 100, "column": 82 }, "identifierName": "itemsToEject" }, "name": "itemsToEject" }, "property": { "type": "Identifier", "start": 3859, "end": 3860, "loc": { "start": { "line": 100, "column": 83 }, "end": { "line": 100, "column": 84 }, "identifierName": "j" }, "name": "j" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3890, "end": 3967, "loc": { "start": { "line": 102, "column": 24 }, "end": { "line": 102, "column": 101 } }, "expression": { "type": "CallExpression", "start": 3890, "end": 3966, "loc": { "start": { "line": 102, "column": 24 }, "end": { "line": 102, "column": 100 } }, "callee": { "type": "Identifier", "start": 3890, "end": 3896, "loc": { "start": { "line": 102, "column": 24 }, "end": { "line": 102, "column": 30 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "Identifier", "start": 3897, "end": 3908, "loc": { "start": { "line": 102, "column": 31 }, "end": { "line": 102, "column": 42 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, { "type": "StringLiteral", "start": 3910, "end": 3965, "loc": { "start": { "line": 102, "column": 44 }, "end": { "line": 102, "column": 99 } }, "extra": { "rawValue": "To eject items, the building needs to have an ejector", "raw": "\"To eject items, the building needs to have an ejector\"" }, "value": "To eject items, the building needs to have an ejector" } ] } }, { "type": "VariableDeclaration", "start": 3995, "end": 4011, "loc": { "start": { "line": 104, "column": 24 }, "end": { "line": 104, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3999, "end": 4010, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 39 } }, "id": { "type": "Identifier", "start": 3999, "end": 4003, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 32 }, "identifierName": "slot" }, "name": "slot" }, "init": { "type": "NullLiteral", "start": 4006, "end": 4010, "loc": { "start": { "line": 104, "column": 35 }, "end": { "line": 104, "column": 39 } } } } ], "kind": "let" }, { "type": "IfStatement", "start": 4037, "end": 4991, "loc": { "start": { "line": 105, "column": 24 }, "end": { "line": 120, "column": 25 } }, "test": { "type": "LogicalExpression", "start": 4041, "end": 4092, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 79 } }, "left": { "type": "BinaryExpression", "start": 4041, "end": 4062, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 49 } }, "left": { "type": "Identifier", "start": 4041, "end": 4053, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 40 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 4058, "end": 4062, "loc": { "start": { "line": 105, "column": 45 }, "end": { "line": 105, "column": 49 } } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 4066, "end": 4092, "loc": { "start": { "line": 105, "column": 53 }, "end": { "line": 105, "column": 79 } }, "left": { "type": "Identifier", "start": 4066, "end": 4078, "loc": { "start": { "line": 105, "column": 53 }, "end": { "line": 105, "column": 65 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" }, "operator": "!==", "right": { "type": "Identifier", "start": 4083, "end": 4092, "loc": { "start": { "line": 105, "column": 70 }, "end": { "line": 105, "column": 79 }, "identifierName": "undefined" }, "name": "undefined" } } }, "consequent": { "type": "BlockStatement", "start": 4094, "end": 4363, "loc": { "start": { "line": 105, "column": 81 }, "end": { "line": 110, "column": 25 } }, "body": [ { "type": "IfStatement", "start": 4204, "end": 4336, "loc": { "start": { "line": 107, "column": 28 }, "end": { "line": 109, "column": 29 } }, "test": { "type": "CallExpression", "start": 4208, "end": 4248, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 4208, "end": 4234, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 58 } }, "object": { "type": "Identifier", "start": 4208, "end": 4219, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 43 }, "identifierName": "ejectorComp" }, "name": "ejectorComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 4220, "end": 4234, "loc": { "start": { "line": 107, "column": 44 }, "end": { "line": 107, "column": 58 }, "identifierName": "canEjectOnSlot" }, "name": "canEjectOnSlot" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 4235, "end": 4247, "loc": { "start": { "line": 107, "column": 59 }, "end": { "line": 107, "column": 71 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" } ], "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 4250, "end": 4336, "loc": { "start": { "line": 107, "column": 74 }, "end": { "line": 109, "column": 29 } }, "body": [ { "type": "ExpressionStatement", "start": 4285, "end": 4305, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 4285, "end": 4304, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 4285, "end": 4289, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 36 }, "identifierName": "slot" }, "name": "slot" }, "right": { "type": "Identifier", "start": 4292, "end": 4304, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 51 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " We have a slot override, check if that is free", "start": 4125, "end": 4174, "loc": { "start": { "line": 106, "column": 28 }, "end": { "line": 106, "column": 77 } } } ] } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 4369, "end": 4991, "loc": { "start": { "line": 110, "column": 31 }, "end": { "line": 120, "column": 25 } }, "test": { "type": "LogicalExpression", "start": 4373, "end": 4426, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 88 } }, "left": { "type": "BinaryExpression", "start": 4373, "end": 4395, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 57 } }, "left": { "type": "Identifier", "start": 4373, "end": 4386, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 48 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 4391, "end": 4395, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 57 } } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 4399, "end": 4426, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 88 } }, "left": { "type": "Identifier", "start": 4399, "end": 4412, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 74 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" }, "operator": "!==", "right": { "type": "Identifier", "start": 4417, "end": 4426, "loc": { "start": { "line": 110, "column": 79 }, "end": { "line": 110, "column": 88 }, "identifierName": "undefined" }, "name": "undefined" } } }, "consequent": { "type": "BlockStatement", "start": 4428, "end": 4832, "loc": { "start": { "line": 110, "column": 90 }, "end": { "line": 117, "column": 25 } }, "body": [ { "type": "IfStatement", "start": 4561, "end": 4805, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 116, "column": 29 } }, "test": { "type": "CallExpression", "start": 4565, "end": 4606, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 4565, "end": 4591, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 58 } }, "object": { "type": "Identifier", "start": 4565, "end": 4576, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 43 }, "identifierName": "ejectorComp" }, "name": "ejectorComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 4577, "end": 4591, "loc": { "start": { "line": 112, "column": 44 }, "end": { "line": 112, "column": 58 }, "identifierName": "canEjectOnSlot" }, "name": "canEjectOnSlot" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 4592, "end": 4605, "loc": { "start": { "line": 112, "column": 59 }, "end": { "line": 112, "column": 72 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" } ], "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 4608, "end": 4695, "loc": { "start": { "line": 112, "column": 75 }, "end": { "line": 114, "column": 29 } }, "body": [ { "type": "ExpressionStatement", "start": 4643, "end": 4664, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4643, "end": 4663, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 52 } }, "operator": "=", "left": { "type": "Identifier", "start": 4643, "end": 4647, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 36 }, "identifierName": "slot" }, "name": "slot" }, "right": { "type": "Identifier", "start": 4650, "end": 4663, "loc": { "start": { "line": 113, "column": 39 }, "end": { "line": 113, "column": 52 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4701, "end": 4805, "loc": { "start": { "line": 114, "column": 35 }, "end": { "line": 116, "column": 29 } }, "body": [ { "type": "ExpressionStatement", "start": 4736, "end": 4774, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 4736, "end": 4773, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 69 } }, "operator": "=", "left": { "type": "Identifier", "start": 4736, "end": 4740, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 36 }, "identifierName": "slot" }, "name": "slot" }, "right": { "type": "CallExpression", "start": 4743, "end": 4773, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 4743, "end": 4771, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 67 } }, "object": { "type": "Identifier", "start": 4743, "end": 4754, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 50 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, "property": { "type": "Identifier", "start": 4755, "end": 4771, "loc": { "start": { "line": 115, "column": 51 }, "end": { "line": 115, "column": 67 }, "identifierName": "getFirstFreeSlot" }, "name": "getFirstFreeSlot" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " We have a slot preference, try using it but otherwise use a free slot", "start": 4459, "end": 4531, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 100 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4838, "end": 4991, "loc": { "start": { "line": 117, "column": 31 }, "end": { "line": 120, "column": 25 } }, "body": [ { "type": "ExpressionStatement", "start": 4926, "end": 4964, "loc": { "start": { "line": 119, "column": 28 }, "end": { "line": 119, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4926, "end": 4963, "loc": { "start": { "line": 119, "column": 28 }, "end": { "line": 119, "column": 65 } }, "operator": "=", "left": { "type": "Identifier", "start": 4926, "end": 4930, "loc": { "start": { "line": 119, "column": 28 }, "end": { "line": 119, "column": 32 }, "identifierName": "slot" }, "name": "slot", "leadingComments": null }, "right": { "type": "CallExpression", "start": 4933, "end": 4963, "loc": { "start": { "line": 119, "column": 35 }, "end": { "line": 119, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 4933, "end": 4961, "loc": { "start": { "line": 119, "column": 35 }, "end": { "line": 119, "column": 63 } }, "object": { "type": "Identifier", "start": 4933, "end": 4944, "loc": { "start": { "line": 119, "column": 35 }, "end": { "line": 119, "column": 46 }, "identifierName": "ejectorComp" }, "name": "ejectorComp" }, "property": { "type": "Identifier", "start": 4945, "end": 4961, "loc": { "start": { "line": 119, "column": 47 }, "end": { "line": 119, "column": 63 }, "identifierName": "getFirstFreeSlot" }, "name": "getFirstFreeSlot" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " We can eject on any slot", "start": 4869, "end": 4896, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 55 } } } ] } ], "directives": [] } } }, { "type": "IfStatement", "start": 5019, "end": 5436, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 130, "column": 25 } }, "test": { "type": "BinaryExpression", "start": 5023, "end": 5036, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 41 } }, "left": { "type": "Identifier", "start": 5023, "end": 5027, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 32 }, "identifierName": "slot" }, "name": "slot" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 5032, "end": 5036, "loc": { "start": { "line": 122, "column": 37 }, "end": { "line": 122, "column": 41 } } } }, "consequent": { "type": "BlockStatement", "start": 5038, "end": 5436, "loc": { "start": { "line": 122, "column": 43 }, "end": { "line": 130, "column": 25 } }, "body": [ { "type": "IfStatement", "start": 5132, "end": 5409, "loc": { "start": { "line": 124, "column": 28 }, "end": { "line": 129, "column": 29 } }, "test": { "type": "UnaryExpression", "start": 5136, "end": 5169, "loc": { "start": { "line": 124, "column": 32 }, "end": { "line": 124, "column": 65 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 5137, "end": 5169, "loc": { "start": { "line": 124, "column": 33 }, "end": { "line": 124, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 5137, "end": 5157, "loc": { "start": { "line": 124, "column": 33 }, "end": { "line": 124, "column": 53 } }, "object": { "type": "Identifier", "start": 5137, "end": 5148, "loc": { "start": { "line": 124, "column": 33 }, "end": { "line": 124, "column": 44 }, "identifierName": "ejectorComp" }, "name": "ejectorComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 5149, "end": 5157, "loc": { "start": { "line": 124, "column": 45 }, "end": { "line": 124, "column": 53 }, "identifierName": "tryEject" }, "name": "tryEject" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 5158, "end": 5162, "loc": { "start": { "line": 124, "column": 54 }, "end": { "line": 124, "column": 58 }, "identifierName": "slot" }, "name": "slot" }, { "type": "Identifier", "start": 5164, "end": 5168, "loc": { "start": { "line": 124, "column": 60 }, "end": { "line": 124, "column": 64 }, "identifierName": "item" }, "name": "item" } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5171, "end": 5270, "loc": { "start": { "line": 124, "column": 67 }, "end": { "line": 126, "column": 29 } }, "body": [ { "type": "ExpressionStatement", "start": 5206, "end": 5239, "loc": { "start": { "line": 125, "column": 32 }, "end": { "line": 125, "column": 65 } }, "expression": { "type": "CallExpression", "start": 5206, "end": 5238, "loc": { "start": { "line": 125, "column": 32 }, "end": { "line": 125, "column": 64 } }, "callee": { "type": "Identifier", "start": 5206, "end": 5212, "loc": { "start": { "line": 125, "column": 32 }, "end": { "line": 125, "column": 38 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BooleanLiteral", "start": 5213, "end": 5218, "loc": { "start": { "line": 125, "column": 39 }, "end": { "line": 125, "column": 44 } }, "value": false }, { "type": "StringLiteral", "start": 5220, "end": 5237, "loc": { "start": { "line": 125, "column": 46 }, "end": { "line": 125, "column": 63 } }, "extra": { "rawValue": "Failed to eject", "raw": "\"Failed to eject\"" }, "value": "Failed to eject" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 5276, "end": 5409, "loc": { "start": { "line": 126, "column": 35 }, "end": { "line": 129, "column": 29 } }, "body": [ { "type": "ExpressionStatement", "start": 5311, "end": 5337, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 58 } }, "expression": { "type": "CallExpression", "start": 5311, "end": 5336, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 5311, "end": 5330, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 51 } }, "object": { "type": "Identifier", "start": 5311, "end": 5323, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 44 }, "identifierName": "itemsToEject" }, "name": "itemsToEject" }, "property": { "type": "Identifier", "start": 5324, "end": 5330, "loc": { "start": { "line": 127, "column": 45 }, "end": { "line": 127, "column": 51 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5331, "end": 5332, "loc": { "start": { "line": 127, "column": 52 }, "end": { "line": 127, "column": 53 }, "identifierName": "j" }, "name": "j" }, { "type": "NumericLiteral", "start": 5334, "end": 5335, "loc": { "start": { "line": 127, "column": 55 }, "end": { "line": 127, "column": 56 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 5371, "end": 5378, "loc": { "start": { "line": 128, "column": 32 }, "end": { "line": 128, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 5371, "end": 5377, "loc": { "start": { "line": 128, "column": 32 }, "end": { "line": 128, "column": 38 } }, "operator": "-=", "left": { "type": "Identifier", "start": 5371, "end": 5372, "loc": { "start": { "line": 128, "column": 32 }, "end": { "line": 128, "column": 33 }, "identifierName": "j" }, "name": "j" }, "right": { "type": "NumericLiteral", "start": 5376, "end": 5377, "loc": { "start": { "line": 128, "column": 37 }, "end": { "line": 128, "column": 38 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Alright, we can actually eject", "start": 5069, "end": 5102, "loc": { "start": { "line": 123, "column": 28 }, "end": { "line": 123, "column": 61 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Go over all items and try to eject them", "start": 3663, "end": 3705, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 62 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " If the charge was entirely emptied to the outputs, start the next charge", "start": 5483, "end": 5558, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 95 } } } ] }, { "type": "IfStatement", "start": 5580, "end": 5698, "loc": { "start": { "line": 134, "column": 20 }, "end": { "line": 136, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 5584, "end": 5609, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 49 } }, "left": { "type": "MemberExpression", "start": 5584, "end": 5603, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 43 } }, "object": { "type": "Identifier", "start": 5584, "end": 5596, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 36 }, "identifierName": "itemsToEject" }, "name": "itemsToEject", "leadingComments": null }, "property": { "type": "Identifier", "start": 5597, "end": 5603, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "===", "right": { "type": "NumericLiteral", "start": 5608, "end": 5609, "loc": { "start": { "line": 134, "column": 48 }, "end": { "line": 134, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5611, "end": 5698, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 136, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 5638, "end": 5675, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 61 } }, "expression": { "type": "CallExpression", "start": 5638, "end": 5674, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5638, "end": 5672, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 58 } }, "object": { "type": "MemberExpression", "start": 5638, "end": 5666, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 52 } }, "object": { "type": "Identifier", "start": 5638, "end": 5651, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 37 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 5652, "end": 5666, "loc": { "start": { "line": 135, "column": 38 }, "end": { "line": 135, "column": 52 }, "identifierName": "ongoingCharges" }, "name": "ongoingCharges" }, "computed": false }, "property": { "type": "Identifier", "start": 5667, "end": 5672, "loc": { "start": { "line": 135, "column": 53 }, "end": { "line": 135, "column": 58 }, "identifierName": "shift" }, "name": "shift" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " If the charge was entirely emptied to the outputs, start the next charge", "start": 5483, "end": 5558, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 95 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check if it finished", "start": 3494, "end": 3517, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 39 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check if we have an empty queue and can start a new charge", "start": 5748, "end": 5809, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 73 } } } ] }, { "type": "IfStatement", "start": 5823, "end": 6018, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 145, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 5827, "end": 5883, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 72 } }, "left": { "type": "MemberExpression", "start": 5827, "end": 5862, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 51 } }, "object": { "type": "MemberExpression", "start": 5827, "end": 5855, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 44 } }, "object": { "type": "Identifier", "start": 5827, "end": 5840, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 29 }, "identifierName": "processorComp" }, "name": "processorComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 5841, "end": 5855, "loc": { "start": { "line": 141, "column": 30 }, "end": { "line": 141, "column": 44 }, "identifierName": "ongoingCharges" }, "name": "ongoingCharges" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 5856, "end": 5862, "loc": { "start": { "line": 141, "column": 45 }, "end": { "line": 141, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "<", "right": { "type": "Identifier", "start": 5865, "end": 5883, "loc": { "start": { "line": 141, "column": 54 }, "end": { "line": 141, "column": 72 }, "identifierName": "MAX_QUEUED_CHARGES" }, "name": "MAX_QUEUED_CHARGES" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5885, "end": 6018, "loc": { "start": { "line": 141, "column": 74 }, "end": { "line": 145, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 5904, "end": 6003, "loc": { "start": { "line": 142, "column": 16 }, "end": { "line": 144, "column": 17 } }, "test": { "type": "CallExpression", "start": 5908, "end": 5931, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 5908, "end": 5923, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 35 } }, "object": { "type": "ThisExpression", "start": 5908, "end": 5912, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 24 } } }, "property": { "type": "Identifier", "start": 5913, "end": 5923, "loc": { "start": { "line": 142, "column": 25 }, "end": { "line": 142, "column": 35 }, "identifierName": "canProcess" }, "name": "canProcess" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5924, "end": 5930, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "column": 42 }, "identifierName": "entity" }, "name": "entity" } ] }, "consequent": { "type": "BlockStatement", "start": 5933, "end": 6003, "loc": { "start": { "line": 142, "column": 45 }, "end": { "line": 144, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 5956, "end": 5984, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 48 } }, "expression": { "type": "CallExpression", "start": 5956, "end": 5983, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 5956, "end": 5975, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5956, "end": 5960, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 24 } } }, "property": { "type": "Identifier", "start": 5961, "end": 5975, "loc": { "start": { "line": 143, "column": 25 }, "end": { "line": 143, "column": 39 }, "identifierName": "startNewCharge" }, "name": "startNewCharge" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5976, "end": 5982, "loc": { "start": { "line": 143, "column": 40 }, "end": { "line": 143, "column": 46 }, "identifierName": "entity" }, "name": "entity" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check if we have an empty queue and can start a new charge", "start": 5748, "end": 5809, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 73 } } } ] } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns true if the entity should accept the given item on the given slot.\r\n * This should only be called with matching items! I.e. if a color item is expected\r\n * on the given slot, then only a color item must be passed.\r\n * @param {Entity} entity\r\n * @param {BaseItem} item The item to accept\r\n * @param {number} slotIndex The slot index\r\n * @returns {boolean}\r\n ", "start": 6044, "end": 6451, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 157, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6457, "end": 7470, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 183, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6457, "end": 6474, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 21 }, "identifierName": "checkRequirements" }, "name": "checkRequirements", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6475, "end": 6481, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 }, "identifierName": "entity" }, "name": "entity" }, { "type": "Identifier", "start": 6483, "end": 6487, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 34 }, "identifierName": "item" }, "name": "item" }, { "type": "Identifier", "start": 6489, "end": 6498, "loc": { "start": { "line": 158, "column": 36 }, "end": { "line": 158, "column": 45 }, "identifierName": "slotIndex" }, "name": "slotIndex" } ], "body": { "type": "BlockStatement", "start": 6500, "end": 7470, "loc": { "start": { "line": 158, "column": 47 }, "end": { "line": 183, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 6511, "end": 6569, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6517, "end": 6568, "loc": { "start": { "line": 159, "column": 14 }, "end": { "line": 159, "column": 65 } }, "id": { "type": "Identifier", "start": 6517, "end": 6534, "loc": { "start": { "line": 159, "column": 14 }, "end": { "line": 159, "column": 31 }, "identifierName": "itemProcessorComp" }, "name": "itemProcessorComp" }, "init": { "type": "MemberExpression", "start": 6537, "end": 6568, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6537, "end": 6554, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 51 } }, "object": { "type": "Identifier", "start": 6537, "end": 6543, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 40 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 6544, "end": 6554, "loc": { "start": { "line": 159, "column": 41 }, "end": { "line": 159, "column": 51 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 6555, "end": 6568, "loc": { "start": { "line": 159, "column": 52 }, "end": { "line": 159, "column": 65 }, "identifierName": "ItemProcessor" }, "name": "ItemProcessor" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6579, "end": 6624, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6585, "end": 6623, "loc": { "start": { "line": 160, "column": 14 }, "end": { "line": 160, "column": 52 } }, "id": { "type": "Identifier", "start": 6585, "end": 6593, "loc": { "start": { "line": 160, "column": 14 }, "end": { "line": 160, "column": 22 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "init": { "type": "MemberExpression", "start": 6596, "end": 6623, "loc": { "start": { "line": 160, "column": 25 }, "end": { "line": 160, "column": 52 } }, "object": { "type": "MemberExpression", "start": 6596, "end": 6613, "loc": { "start": { "line": 160, "column": 25 }, "end": { "line": 160, "column": 42 } }, "object": { "type": "Identifier", "start": 6596, "end": 6602, "loc": { "start": { "line": 160, "column": 25 }, "end": { "line": 160, "column": 31 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 6603, "end": 6613, "loc": { "start": { "line": 160, "column": 32 }, "end": { "line": 160, "column": 42 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 6614, "end": 6623, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 52 }, "identifierName": "WiredPins" }, "name": "WiredPins" }, "computed": false } } ], "kind": "const" }, { "type": "SwitchStatement", "start": 6636, "end": 7463, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 182, "column": 9 } }, "discriminant": { "type": "MemberExpression", "start": 6644, "end": 6683, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 55 } }, "object": { "type": "Identifier", "start": 6644, "end": 6661, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 33 }, "identifierName": "itemProcessorComp" }, "name": "itemProcessorComp" }, "property": { "type": "Identifier", "start": 6662, "end": 6683, "loc": { "start": { "line": 162, "column": 34 }, "end": { "line": 162, "column": 55 }, "identifierName": "processingRequirement" }, "name": "processingRequirement" }, "computed": false }, "cases": [ { "type": "SwitchCase", "start": 6700, "end": 7343, "loc": { "start": { "line": 163, "column": 12 }, "end": { "line": 177, "column": 17 } }, "consequent": [ { "type": "BlockStatement", "start": 6765, "end": 7343, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 177, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 6788, "end": 6923, "loc": { "start": { "line": 165, "column": 20 }, "end": { "line": 168, "column": 21 } }, "test": { "type": "BinaryExpression", "start": 6792, "end": 6807, "loc": { "start": { "line": 165, "column": 24 }, "end": { "line": 165, "column": 39 } }, "left": { "type": "Identifier", "start": 6792, "end": 6801, "loc": { "start": { "line": 165, "column": 24 }, "end": { "line": 165, "column": 33 }, "identifierName": "slotIndex" }, "name": "slotIndex" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 6806, "end": 6807, "loc": { "start": { "line": 165, "column": 38 }, "end": { "line": 165, "column": 39 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 6809, "end": 6923, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 168, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 6888, "end": 6900, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 36 } }, "argument": { "type": "BooleanLiteral", "start": 6895, "end": 6899, "loc": { "start": { "line": 167, "column": 31 }, "end": { "line": 167, "column": 35 } }, "value": true, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Always accept the shape", "start": 6836, "end": 6862, "loc": { "start": { "line": 166, "column": 24 }, "end": { "line": 166, "column": 50 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check the network value at the given slot", "start": 6947, "end": 6991, "loc": { "start": { "line": 170, "column": 20 }, "end": { "line": 170, "column": 64 } } } ] }, { "type": "VariableDeclaration", "start": 7013, "end": 7073, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 171, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7019, "end": 7072, "loc": { "start": { "line": 171, "column": 26 }, "end": { "line": 171, "column": 79 } }, "id": { "type": "Identifier", "start": 7019, "end": 7026, "loc": { "start": { "line": 171, "column": 26 }, "end": { "line": 171, "column": 33 }, "identifierName": "network" }, "name": "network", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 7029, "end": 7072, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 79 } }, "object": { "type": "MemberExpression", "start": 7029, "end": 7058, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 65 } }, "object": { "type": "MemberExpression", "start": 7029, "end": 7043, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 50 } }, "object": { "type": "Identifier", "start": 7029, "end": 7037, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 44 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "property": { "type": "Identifier", "start": 7038, "end": 7043, "loc": { "start": { "line": 171, "column": 45 }, "end": { "line": 171, "column": 50 }, "identifierName": "slots" }, "name": "slots" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 7044, "end": 7057, "loc": { "start": { "line": 171, "column": 51 }, "end": { "line": 171, "column": 64 } }, "left": { "type": "Identifier", "start": 7044, "end": 7053, "loc": { "start": { "line": 171, "column": 51 }, "end": { "line": 171, "column": 60 }, "identifierName": "slotIndex" }, "name": "slotIndex" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7056, "end": 7057, "loc": { "start": { "line": 171, "column": 63 }, "end": { "line": 171, "column": 64 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "property": { "type": "Identifier", "start": 7059, "end": 7072, "loc": { "start": { "line": 171, "column": 66 }, "end": { "line": 171, "column": 79 }, "identifierName": "linkedNetwork" }, "name": "linkedNetwork" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check the network value at the given slot", "start": 6947, "end": 6991, "loc": { "start": { "line": 170, "column": 20 }, "end": { "line": 170, "column": 64 } } } ] }, { "type": "VariableDeclaration", "start": 7095, "end": 7185, "loc": { "start": { "line": 172, "column": 20 }, "end": { "line": 172, "column": 110 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7101, "end": 7184, "loc": { "start": { "line": 172, "column": 26 }, "end": { "line": 172, "column": 109 } }, "id": { "type": "Identifier", "start": 7101, "end": 7114, "loc": { "start": { "line": 172, "column": 26 }, "end": { "line": 172, "column": 39 }, "identifierName": "slotIsEnabled" }, "name": "slotIsEnabled" }, "init": { "type": "LogicalExpression", "start": 7117, "end": 7184, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 109 } }, "left": { "type": "LogicalExpression", "start": 7117, "end": 7146, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 71 } }, "left": { "type": "Identifier", "start": 7117, "end": 7124, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 49 }, "identifierName": "network" }, "name": "network" }, "operator": "&&", "right": { "type": "CallExpression", "start": 7128, "end": 7146, "loc": { "start": { "line": 172, "column": 53 }, "end": { "line": 172, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 7128, "end": 7144, "loc": { "start": { "line": 172, "column": 53 }, "end": { "line": 172, "column": 69 } }, "object": { "type": "Identifier", "start": 7128, "end": 7135, "loc": { "start": { "line": 172, "column": 53 }, "end": { "line": 172, "column": 60 }, "identifierName": "network" }, "name": "network" }, "property": { "type": "Identifier", "start": 7136, "end": 7144, "loc": { "start": { "line": 172, "column": 61 }, "end": { "line": 172, "column": 69 }, "identifierName": "hasValue" }, "name": "hasValue" }, "computed": false }, "arguments": [] } }, "operator": "&&", "right": { "type": "CallExpression", "start": 7150, "end": 7184, "loc": { "start": { "line": 172, "column": 75 }, "end": { "line": 172, "column": 109 } }, "callee": { "type": "Identifier", "start": 7150, "end": 7162, "loc": { "start": { "line": 172, "column": 75 }, "end": { "line": 172, "column": 87 }, "identifierName": "isTruthyItem" }, "name": "isTruthyItem" }, "arguments": [ { "type": "MemberExpression", "start": 7163, "end": 7183, "loc": { "start": { "line": 172, "column": 88 }, "end": { "line": 172, "column": 108 } }, "object": { "type": "Identifier", "start": 7163, "end": 7170, "loc": { "start": { "line": 172, "column": 88 }, "end": { "line": 172, "column": 95 }, "identifierName": "network" }, "name": "network" }, "property": { "type": "Identifier", "start": 7171, "end": 7183, "loc": { "start": { "line": 172, "column": 96 }, "end": { "line": 172, "column": 108 }, "identifierName": "currentValue" }, "name": "currentValue" }, "computed": false } ] } } } ], "kind": "const" }, { "type": "IfStatement", "start": 7207, "end": 7290, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 175, "column": 21 } }, "test": { "type": "UnaryExpression", "start": 7211, "end": 7225, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7212, "end": 7225, "loc": { "start": { "line": 173, "column": 25 }, "end": { "line": 173, "column": 38 }, "identifierName": "slotIsEnabled" }, "name": "slotIsEnabled" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 7227, "end": 7290, "loc": { "start": { "line": 173, "column": 40 }, "end": { "line": 175, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 7254, "end": 7267, "loc": { "start": { "line": 174, "column": 24 }, "end": { "line": 174, "column": 37 } }, "argument": { "type": "BooleanLiteral", "start": 7261, "end": 7266, "loc": { "start": { "line": 174, "column": 31 }, "end": { "line": 174, "column": 36 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 7312, "end": 7324, "loc": { "start": { "line": 176, "column": 20 }, "end": { "line": 176, "column": 32 } }, "argument": { "type": "BooleanLiteral", "start": 7319, "end": 7323, "loc": { "start": { "line": 176, "column": 27 }, "end": { "line": 176, "column": 31 } }, "value": true } } ], "directives": [], "trailingComments": null } ], "test": { "type": "MemberExpression", "start": 6705, "end": 6746, "loc": { "start": { "line": 163, "column": 17 }, "end": { "line": 163, "column": 58 } }, "object": { "type": "Identifier", "start": 6705, "end": 6734, "loc": { "start": { "line": 163, "column": 17 }, "end": { "line": 163, "column": 46 }, "identifierName": "enumItemProcessorRequirements" }, "name": "enumItemProcessorRequirements" }, "property": { "type": "Identifier", "start": 6735, "end": 6746, "loc": { "start": { "line": 163, "column": 47 }, "end": { "line": 163, "column": 58 }, "identifierName": "painterQuad" }, "name": "painterQuad" }, "computed": false }, "trailingComments": [ { "type": "CommentLine", "value": " By default, everything is accepted", "start": 7363, "end": 7400, "loc": { "start": { "line": 179, "column": 16 }, "end": { "line": 179, "column": 53 } } } ] }, { "type": "SwitchCase", "start": 7414, "end": 7452, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 181, "column": 28 } }, "consequent": [ { "type": "ReturnStatement", "start": 7440, "end": 7452, "loc": { "start": { "line": 181, "column": 16 }, "end": { "line": 181, "column": 28 } }, "argument": { "type": "BooleanLiteral", "start": 7447, "end": 7451, "loc": { "start": { "line": 181, "column": 23 }, "end": { "line": 181, "column": 27 } }, "value": true, "leadingComments": null }, "leadingComments": null } ], "test": null, "leadingComments": [ { "type": "CommentLine", "value": " By default, everything is accepted", "start": 7363, "end": 7400, "loc": { "start": { "line": 179, "column": 16 }, "end": { "line": 179, "column": 53 } } } ] } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns true if the entity should accept the given item on the given slot.\r\n * This should only be called with matching items! I.e. if a color item is expected\r\n * on the given slot, then only a color item must be passed.\r\n * @param {Entity} entity\r\n * @param {BaseItem} item The item to accept\r\n * @param {number} slotIndex The slot index\r\n * @returns {boolean}\r\n ", "start": 6044, "end": 6451, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 157, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks whether it's possible to process something\r\n * @param {Entity} entity\r\n ", "start": 7478, "end": 7579, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7585, "end": 10796, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 260, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7585, "end": 7595, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 14 }, "identifierName": "canProcess" }, "name": "canProcess", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7596, "end": 7602, "loc": { "start": { "line": 189, "column": 15 }, "end": { "line": 189, "column": 21 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 7604, "end": 10796, "loc": { "start": { "line": 189, "column": 23 }, "end": { "line": 260, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 7615, "end": 7669, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7621, "end": 7668, "loc": { "start": { "line": 190, "column": 14 }, "end": { "line": 190, "column": 61 } }, "id": { "type": "Identifier", "start": 7621, "end": 7634, "loc": { "start": { "line": 190, "column": 14 }, "end": { "line": 190, "column": 27 }, "identifierName": "processorComp" }, "name": "processorComp" }, "init": { "type": "MemberExpression", "start": 7637, "end": 7668, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 61 } }, "object": { "type": "MemberExpression", "start": 7637, "end": 7654, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 47 } }, "object": { "type": "Identifier", "start": 7637, "end": 7643, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 36 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 7644, "end": 7654, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 47 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 7655, "end": 7668, "loc": { "start": { "line": 190, "column": 48 }, "end": { "line": 190, "column": 61 }, "identifierName": "ItemProcessor" }, "name": "ItemProcessor" }, "computed": false } } ], "kind": "const" }, { "type": "SwitchStatement", "start": 7681, "end": 10789, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 259, "column": 9 } }, "discriminant": { "type": "MemberExpression", "start": 7689, "end": 7724, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 51 } }, "object": { "type": "Identifier", "start": 7689, "end": 7702, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 29 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 7703, "end": 7724, "loc": { "start": { "line": 192, "column": 30 }, "end": { "line": 192, "column": 51 }, "identifierName": "processingRequirement" }, "name": "processingRequirement" }, "computed": false }, "cases": [ { "type": "SwitchCase", "start": 7843, "end": 7985, "loc": { "start": { "line": 195, "column": 12 }, "end": { "line": 198, "column": 17 } }, "consequent": [ { "type": "BlockStatement", "start": 7871, "end": 7985, "loc": { "start": { "line": 196, "column": 16 }, "end": { "line": 198, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 7894, "end": 7966, "loc": { "start": { "line": 197, "column": 20 }, "end": { "line": 197, "column": 92 } }, "argument": { "type": "BinaryExpression", "start": 7901, "end": 7965, "loc": { "start": { "line": 197, "column": 27 }, "end": { "line": 197, "column": 91 } }, "left": { "type": "MemberExpression", "start": 7901, "end": 7932, "loc": { "start": { "line": 197, "column": 27 }, "end": { "line": 197, "column": 58 } }, "object": { "type": "MemberExpression", "start": 7901, "end": 7925, "loc": { "start": { "line": 197, "column": 27 }, "end": { "line": 197, "column": 51 } }, "object": { "type": "Identifier", "start": 7901, "end": 7914, "loc": { "start": { "line": 197, "column": 27 }, "end": { "line": 197, "column": 40 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 7915, "end": 7925, "loc": { "start": { "line": 197, "column": 41 }, "end": { "line": 197, "column": 51 }, "identifierName": "inputSlots" }, "name": "inputSlots" }, "computed": false }, "property": { "type": "Identifier", "start": 7926, "end": 7932, "loc": { "start": { "line": 197, "column": 52 }, "end": { "line": 197, "column": 58 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">=", "right": { "type": "MemberExpression", "start": 7936, "end": 7965, "loc": { "start": { "line": 197, "column": 62 }, "end": { "line": 197, "column": 91 } }, "object": { "type": "Identifier", "start": 7936, "end": 7949, "loc": { "start": { "line": 197, "column": 62 }, "end": { "line": 197, "column": 75 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 7950, "end": 7965, "loc": { "start": { "line": 197, "column": 76 }, "end": { "line": 197, "column": 91 }, "identifierName": "inputsPerCharge" }, "name": "inputsPerCharge" }, "computed": false } } } ], "directives": [], "trailingComments": null } ], "test": { "type": "NullLiteral", "start": 7848, "end": 7852, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 21 } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " DEFAULT", "start": 7741, "end": 7751, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 22 } } }, { "type": "CommentLine", "value": " By default, we can start processing once all inputs are there", "start": 7765, "end": 7829, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 76 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " QUAD PAINTER", "start": 8005, "end": 8020, "loc": { "start": { "line": 200, "column": 16 }, "end": { "line": 200, "column": 31 } } }, { "type": "CommentLine", "value": " For the quad painter, it might be possible to start processing earlier", "start": 8038, "end": 8111, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 89 } } } ] }, { "type": "SwitchCase", "start": 8125, "end": 10650, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 255, "column": 17 } }, "consequent": [ { "type": "BlockStatement", "start": 8190, "end": 10650, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 255, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 8213, "end": 8258, "loc": { "start": { "line": 204, "column": 20 }, "end": { "line": 204, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8219, "end": 8257, "loc": { "start": { "line": 204, "column": 26 }, "end": { "line": 204, "column": 64 } }, "id": { "type": "Identifier", "start": 8219, "end": 8227, "loc": { "start": { "line": 204, "column": 26 }, "end": { "line": 204, "column": 34 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "init": { "type": "MemberExpression", "start": 8230, "end": 8257, "loc": { "start": { "line": 204, "column": 37 }, "end": { "line": 204, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8230, "end": 8247, "loc": { "start": { "line": 204, "column": 37 }, "end": { "line": 204, "column": 54 } }, "object": { "type": "Identifier", "start": 8230, "end": 8236, "loc": { "start": { "line": 204, "column": 37 }, "end": { "line": 204, "column": 43 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 8237, "end": 8247, "loc": { "start": { "line": 204, "column": 44 }, "end": { "line": 204, "column": 54 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 8248, "end": 8257, "loc": { "start": { "line": 204, "column": 55 }, "end": { "line": 204, "column": 64 }, "identifierName": "WiredPins" }, "name": "WiredPins" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 8282, "end": 8352, "loc": { "start": { "line": 206, "column": 20 }, "end": { "line": 206, "column": 90 } } } ] }, { "type": "VariableDeclaration", "start": 8374, "end": 8397, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8380, "end": 8396, "loc": { "start": { "line": 207, "column": 26 }, "end": { "line": 207, "column": 42 } }, "id": { "type": "Identifier", "start": 8380, "end": 8391, "loc": { "start": { "line": 207, "column": 26 }, "end": { "line": 207, "column": 37 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 8394, "end": 8396, "loc": { "start": { "line": 207, "column": 40 }, "end": { "line": 207, "column": 42 } }, "properties": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 8282, "end": 8352, "loc": { "start": { "line": 206, "column": 20 }, "end": { "line": 206, "column": 90 } } } ] }, { "type": "ForStatement", "start": 8419, "end": 8609, "loc": { "start": { "line": 208, "column": 20 }, "end": { "line": 210, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 8424, "end": 8433, "loc": { "start": { "line": 208, "column": 25 }, "end": { "line": 208, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8428, "end": 8433, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 34 } }, "id": { "type": "Identifier", "start": 8428, "end": 8429, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 30 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 8432, "end": 8433, "loc": { "start": { "line": 208, "column": 33 }, "end": { "line": 208, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 8435, "end": 8470, "loc": { "start": { "line": 208, "column": 36 }, "end": { "line": 208, "column": 71 } }, "left": { "type": "Identifier", "start": 8435, "end": 8436, "loc": { "start": { "line": 208, "column": 36 }, "end": { "line": 208, "column": 37 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 8439, "end": 8470, "loc": { "start": { "line": 208, "column": 40 }, "end": { "line": 208, "column": 71 } }, "object": { "type": "MemberExpression", "start": 8439, "end": 8463, "loc": { "start": { "line": 208, "column": 40 }, "end": { "line": 208, "column": 64 } }, "object": { "type": "Identifier", "start": 8439, "end": 8452, "loc": { "start": { "line": 208, "column": 40 }, "end": { "line": 208, "column": 53 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 8453, "end": 8463, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 64 }, "identifierName": "inputSlots" }, "name": "inputSlots" }, "computed": false }, "property": { "type": "Identifier", "start": 8464, "end": 8470, "loc": { "start": { "line": 208, "column": 65 }, "end": { "line": 208, "column": 71 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 8472, "end": 8475, "loc": { "start": { "line": 208, "column": 73 }, "end": { "line": 208, "column": 76 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 8474, "end": 8475, "loc": { "start": { "line": 208, "column": 75 }, "end": { "line": 208, "column": 76 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 8477, "end": 8609, "loc": { "start": { "line": 208, "column": 78 }, "end": { "line": 210, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 8504, "end": 8586, "loc": { "start": { "line": 209, "column": 24 }, "end": { "line": 209, "column": 106 } }, "expression": { "type": "AssignmentExpression", "start": 8504, "end": 8585, "loc": { "start": { "line": 209, "column": 24 }, "end": { "line": 209, "column": 105 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8504, "end": 8555, "loc": { "start": { "line": 209, "column": 24 }, "end": { "line": 209, "column": 75 } }, "object": { "type": "Identifier", "start": 8504, "end": 8515, "loc": { "start": { "line": 209, "column": 24 }, "end": { "line": 209, "column": 35 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "property": { "type": "MemberExpression", "start": 8516, "end": 8554, "loc": { "start": { "line": 209, "column": 36 }, "end": { "line": 209, "column": 74 } }, "object": { "type": "MemberExpression", "start": 8516, "end": 8543, "loc": { "start": { "line": 209, "column": 36 }, "end": { "line": 209, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8516, "end": 8540, "loc": { "start": { "line": 209, "column": 36 }, "end": { "line": 209, "column": 60 } }, "object": { "type": "Identifier", "start": 8516, "end": 8529, "loc": { "start": { "line": 209, "column": 36 }, "end": { "line": 209, "column": 49 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 8530, "end": 8540, "loc": { "start": { "line": 209, "column": 50 }, "end": { "line": 209, "column": 60 }, "identifierName": "inputSlots" }, "name": "inputSlots" }, "computed": false }, "property": { "type": "Identifier", "start": 8541, "end": 8542, "loc": { "start": { "line": 209, "column": 61 }, "end": { "line": 209, "column": 62 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 8544, "end": 8554, "loc": { "start": { "line": 209, "column": 64 }, "end": { "line": 209, "column": 74 }, "identifierName": "sourceSlot" }, "name": "sourceSlot" }, "computed": false }, "computed": true }, "right": { "type": "MemberExpression", "start": 8558, "end": 8585, "loc": { "start": { "line": 209, "column": 78 }, "end": { "line": 209, "column": 105 } }, "object": { "type": "MemberExpression", "start": 8558, "end": 8582, "loc": { "start": { "line": 209, "column": 78 }, "end": { "line": 209, "column": 102 } }, "object": { "type": "Identifier", "start": 8558, "end": 8571, "loc": { "start": { "line": 209, "column": 78 }, "end": { "line": 209, "column": 91 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 8572, "end": 8582, "loc": { "start": { "line": 209, "column": 92 }, "end": { "line": 209, "column": 102 }, "identifierName": "inputSlots" }, "name": "inputSlots" }, "computed": false }, "property": { "type": "Identifier", "start": 8583, "end": 8584, "loc": { "start": { "line": 209, "column": 103 }, "end": { "line": 209, "column": 104 }, "identifierName": "i" }, "name": "i" }, "computed": true } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " First slot is the shape, so if it's not there we can't do anything", "start": 8633, "end": 8702, "loc": { "start": { "line": 212, "column": 20 }, "end": { "line": 212, "column": 89 } } } ] }, { "type": "IfStatement", "start": 8724, "end": 8808, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 215, "column": 21 } }, "test": { "type": "UnaryExpression", "start": 8728, "end": 8743, "loc": { "start": { "line": 213, "column": 24 }, "end": { "line": 213, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 8729, "end": 8743, "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 39 } }, "object": { "type": "Identifier", "start": 8729, "end": 8740, "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 36 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot", "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 8741, "end": 8742, "loc": { "start": { "line": 213, "column": 37 }, "end": { "line": 213, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8745, "end": 8808, "loc": { "start": { "line": 213, "column": 41 }, "end": { "line": 215, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 8772, "end": 8785, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 37 } }, "argument": { "type": "BooleanLiteral", "start": 8779, "end": 8784, "loc": { "start": { "line": 214, "column": 31 }, "end": { "line": 214, "column": 36 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " First slot is the shape, so if it's not there we can't do anything", "start": 8633, "end": 8702, "loc": { "start": { "line": 212, "column": 20 }, "end": { "line": 212, "column": 89 } } } ] }, { "type": "VariableDeclaration", "start": 8832, "end": 8897, "loc": { "start": { "line": 217, "column": 20 }, "end": { "line": 217, "column": 85 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8838, "end": 8896, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 84 } }, "id": { "type": "Identifier", "start": 8838, "end": 8847, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 35 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "init": { "type": "MemberExpression", "start": 8876, "end": 8895, "loc": { "start": { "line": 217, "column": 64 }, "end": { "line": 217, "column": 83 } }, "object": { "type": "MemberExpression", "start": 8876, "end": 8890, "loc": { "start": { "line": 217, "column": 64 }, "end": { "line": 217, "column": 78 } }, "object": { "type": "Identifier", "start": 8876, "end": 8887, "loc": { "start": { "line": 217, "column": 64 }, "end": { "line": 217, "column": 75 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot", "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 8888, "end": 8889, "loc": { "start": { "line": 217, "column": 76 }, "end": { "line": 217, "column": 77 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 8891, "end": 8895, "loc": { "start": { "line": 217, "column": 79 }, "end": { "line": 217, "column": 83 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 8850, "end": 8874, "loc": { "start": { "line": 217, "column": 38 }, "end": { "line": 217, "column": 62 } } } ], "extra": { "parenthesized": true, "parenStart": 8875 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 8919, "end": 8941, "loc": { "start": { "line": 218, "column": 20 }, "end": { "line": 218, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8925, "end": 8940, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 41 } }, "id": { "type": "Identifier", "start": 8925, "end": 8935, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 36 }, "identifierName": "slotStatus" }, "name": "slotStatus" }, "init": { "type": "ArrayExpression", "start": 8938, "end": 8940, "loc": { "start": { "line": 218, "column": 39 }, "end": { "line": 218, "column": 41 } }, "elements": [] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Check which slots are enabled", "start": 8965, "end": 8997, "loc": { "start": { "line": 220, "column": 20 }, "end": { "line": 220, "column": 52 } } } ] }, { "type": "ForStatement", "start": 9019, "end": 9631, "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 233, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 9024, "end": 9033, "loc": { "start": { "line": 221, "column": 25 }, "end": { "line": 221, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9028, "end": 9033, "loc": { "start": { "line": 221, "column": 29 }, "end": { "line": 221, "column": 34 } }, "id": { "type": "Identifier", "start": 9028, "end": 9029, "loc": { "start": { "line": 221, "column": 29 }, "end": { "line": 221, "column": 30 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 9032, "end": 9033, "loc": { "start": { "line": 221, "column": 33 }, "end": { "line": 221, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 9035, "end": 9040, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 41 } }, "left": { "type": "Identifier", "start": 9035, "end": 9036, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 37 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 9039, "end": 9040, "loc": { "start": { "line": 221, "column": 40 }, "end": { "line": 221, "column": 41 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } }, "update": { "type": "UpdateExpression", "start": 9042, "end": 9045, "loc": { "start": { "line": 221, "column": 43 }, "end": { "line": 221, "column": 46 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 9044, "end": 9045, "loc": { "start": { "line": 221, "column": 45 }, "end": { "line": 221, "column": 46 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 9047, "end": 9631, "loc": { "start": { "line": 221, "column": 48 }, "end": { "line": 233, "column": 21 } }, "body": [ { "type": "VariableDeclaration", "start": 9143, "end": 9191, "loc": { "start": { "line": 223, "column": 24 }, "end": { "line": 223, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9149, "end": 9190, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 71 } }, "id": { "type": "Identifier", "start": 9149, "end": 9156, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 37 }, "identifierName": "network" }, "name": "network", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 9159, "end": 9190, "loc": { "start": { "line": 223, "column": 40 }, "end": { "line": 223, "column": 71 } }, "object": { "type": "MemberExpression", "start": 9159, "end": 9176, "loc": { "start": { "line": 223, "column": 40 }, "end": { "line": 223, "column": 57 } }, "object": { "type": "MemberExpression", "start": 9159, "end": 9173, "loc": { "start": { "line": 223, "column": 40 }, "end": { "line": 223, "column": 54 } }, "object": { "type": "Identifier", "start": 9159, "end": 9167, "loc": { "start": { "line": 223, "column": 40 }, "end": { "line": 223, "column": 48 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "property": { "type": "Identifier", "start": 9168, "end": 9173, "loc": { "start": { "line": 223, "column": 49 }, "end": { "line": 223, "column": 54 }, "identifierName": "slots" }, "name": "slots" }, "computed": false }, "property": { "type": "Identifier", "start": 9174, "end": 9175, "loc": { "start": { "line": 223, "column": 55 }, "end": { "line": 223, "column": 56 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 9177, "end": 9190, "loc": { "start": { "line": 223, "column": 58 }, "end": { "line": 223, "column": 71 }, "identifierName": "linkedNetwork" }, "name": "linkedNetwork" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Extract the network value on the Nth pin", "start": 9074, "end": 9117, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 222, "column": 67 } } } ] }, { "type": "VariableDeclaration", "start": 9217, "end": 9298, "loc": { "start": { "line": 224, "column": 24 }, "end": { "line": 224, "column": 105 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9223, "end": 9297, "loc": { "start": { "line": 224, "column": 30 }, "end": { "line": 224, "column": 104 } }, "id": { "type": "Identifier", "start": 9223, "end": 9235, "loc": { "start": { "line": 224, "column": 30 }, "end": { "line": 224, "column": 42 }, "identifierName": "networkValue" }, "name": "networkValue" }, "init": { "type": "ConditionalExpression", "start": 9238, "end": 9297, "loc": { "start": { "line": 224, "column": 45 }, "end": { "line": 224, "column": 104 } }, "test": { "type": "LogicalExpression", "start": 9238, "end": 9267, "loc": { "start": { "line": 224, "column": 45 }, "end": { "line": 224, "column": 74 } }, "left": { "type": "Identifier", "start": 9238, "end": 9245, "loc": { "start": { "line": 224, "column": 45 }, "end": { "line": 224, "column": 52 }, "identifierName": "network" }, "name": "network" }, "operator": "&&", "right": { "type": "CallExpression", "start": 9249, "end": 9267, "loc": { "start": { "line": 224, "column": 56 }, "end": { "line": 224, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 9249, "end": 9265, "loc": { "start": { "line": 224, "column": 56 }, "end": { "line": 224, "column": 72 } }, "object": { "type": "Identifier", "start": 9249, "end": 9256, "loc": { "start": { "line": 224, "column": 56 }, "end": { "line": 224, "column": 63 }, "identifierName": "network" }, "name": "network" }, "property": { "type": "Identifier", "start": 9257, "end": 9265, "loc": { "start": { "line": 224, "column": 64 }, "end": { "line": 224, "column": 72 }, "identifierName": "hasValue" }, "name": "hasValue" }, "computed": false }, "arguments": [] } }, "consequent": { "type": "MemberExpression", "start": 9270, "end": 9290, "loc": { "start": { "line": 224, "column": 77 }, "end": { "line": 224, "column": 97 } }, "object": { "type": "Identifier", "start": 9270, "end": 9277, "loc": { "start": { "line": 224, "column": 77 }, "end": { "line": 224, "column": 84 }, "identifierName": "network" }, "name": "network" }, "property": { "type": "Identifier", "start": 9278, "end": 9290, "loc": { "start": { "line": 224, "column": 85 }, "end": { "line": 224, "column": 97 }, "identifierName": "currentValue" }, "name": "currentValue" }, "computed": false }, "alternate": { "type": "NullLiteral", "start": 9293, "end": 9297, "loc": { "start": { "line": 224, "column": 100 }, "end": { "line": 224, "column": 104 } } } } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " If there is no \"1\" on that slot, don't paint there", "start": 9326, "end": 9379, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 77 } } } ] }, { "type": "IfStatement", "start": 9405, "end": 9558, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 230, "column": 25 } }, "test": { "type": "UnaryExpression", "start": 9409, "end": 9436, "loc": { "start": { "line": 227, "column": 28 }, "end": { "line": 227, "column": 55 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9410, "end": 9436, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 55 } }, "callee": { "type": "Identifier", "start": 9410, "end": 9422, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 41 }, "identifierName": "isTruthyItem" }, "name": "isTruthyItem", "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 9423, "end": 9435, "loc": { "start": { "line": 227, "column": 42 }, "end": { "line": 227, "column": 54 }, "identifierName": "networkValue" }, "name": "networkValue" } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 9438, "end": 9558, "loc": { "start": { "line": 227, "column": 57 }, "end": { "line": 230, "column": 25 } }, "body": [ { "type": "ExpressionStatement", "start": 9469, "end": 9492, "loc": { "start": { "line": 228, "column": 28 }, "end": { "line": 228, "column": 51 } }, "expression": { "type": "CallExpression", "start": 9469, "end": 9491, "loc": { "start": { "line": 228, "column": 28 }, "end": { "line": 228, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 9469, "end": 9484, "loc": { "start": { "line": 228, "column": 28 }, "end": { "line": 228, "column": 43 } }, "object": { "type": "Identifier", "start": 9469, "end": 9479, "loc": { "start": { "line": 228, "column": 28 }, "end": { "line": 228, "column": 38 }, "identifierName": "slotStatus" }, "name": "slotStatus" }, "property": { "type": "Identifier", "start": 9480, "end": 9484, "loc": { "start": { "line": 228, "column": 39 }, "end": { "line": 228, "column": 43 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 9485, "end": 9490, "loc": { "start": { "line": 228, "column": 44 }, "end": { "line": 228, "column": 49 } }, "value": false } ] } }, { "type": "ContinueStatement", "start": 9522, "end": 9531, "loc": { "start": { "line": 229, "column": 28 }, "end": { "line": 229, "column": 37 } }, "label": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " If there is no \"1\" on that slot, don't paint there", "start": 9326, "end": 9379, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 77 } } } ] }, { "type": "ExpressionStatement", "start": 9586, "end": 9608, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9586, "end": 9607, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9586, "end": 9601, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 39 } }, "object": { "type": "Identifier", "start": 9586, "end": 9596, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 34 }, "identifierName": "slotStatus" }, "name": "slotStatus" }, "property": { "type": "Identifier", "start": 9597, "end": 9601, "loc": { "start": { "line": 232, "column": 35 }, "end": { "line": 232, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 9602, "end": 9606, "loc": { "start": { "line": 232, "column": 40 }, "end": { "line": 232, "column": 44 } }, "value": true } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Check which slots are enabled", "start": 8965, "end": 8997, "loc": { "start": { "line": 220, "column": 20 }, "end": { "line": 220, "column": 52 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " All slots are disabled", "start": 9655, "end": 9680, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 45 } } } ] }, { "type": "IfStatement", "start": 9702, "end": 9797, "loc": { "start": { "line": 236, "column": 20 }, "end": { "line": 238, "column": 21 } }, "test": { "type": "UnaryExpression", "start": 9706, "end": 9732, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 50 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9707, "end": 9732, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 9707, "end": 9726, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 44 } }, "object": { "type": "Identifier", "start": 9707, "end": 9717, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 35 }, "identifierName": "slotStatus" }, "name": "slotStatus", "leadingComments": null }, "property": { "type": "Identifier", "start": 9718, "end": 9726, "loc": { "start": { "line": 236, "column": 36 }, "end": { "line": 236, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "BooleanLiteral", "start": 9727, "end": 9731, "loc": { "start": { "line": 236, "column": 45 }, "end": { "line": 236, "column": 49 } }, "value": true } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 9734, "end": 9797, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 238, "column": 21 } }, "body": [ { "type": "ReturnStatement", "start": 9761, "end": 9774, "loc": { "start": { "line": 237, "column": 24 }, "end": { "line": 237, "column": 37 } }, "argument": { "type": "BooleanLiteral", "start": 9768, "end": 9773, "loc": { "start": { "line": 237, "column": 31 }, "end": { "line": 237, "column": 36 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " All slots are disabled", "start": 9655, "end": 9680, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 45 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check if all colors of the enabled slots are there", "start": 9821, "end": 9874, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 73 } } } ] }, { "type": "ForStatement", "start": 9896, "end": 10595, "loc": { "start": { "line": 241, "column": 20 }, "end": { "line": 252, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 9901, "end": 9910, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9905, "end": 9910, "loc": { "start": { "line": 241, "column": 29 }, "end": { "line": 241, "column": 34 } }, "id": { "type": "Identifier", "start": 9905, "end": 9906, "loc": { "start": { "line": 241, "column": 29 }, "end": { "line": 241, "column": 30 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 9909, "end": 9910, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 9912, "end": 9933, "loc": { "start": { "line": 241, "column": 36 }, "end": { "line": 241, "column": 57 } }, "left": { "type": "Identifier", "start": 9912, "end": 9913, "loc": { "start": { "line": 241, "column": 36 }, "end": { "line": 241, "column": 37 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 9916, "end": 9933, "loc": { "start": { "line": 241, "column": 40 }, "end": { "line": 241, "column": 57 } }, "object": { "type": "Identifier", "start": 9916, "end": 9926, "loc": { "start": { "line": 241, "column": 40 }, "end": { "line": 241, "column": 50 }, "identifierName": "slotStatus" }, "name": "slotStatus" }, "property": { "type": "Identifier", "start": 9927, "end": 9933, "loc": { "start": { "line": 241, "column": 51 }, "end": { "line": 241, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 9935, "end": 9938, "loc": { "start": { "line": 241, "column": 59 }, "end": { "line": 241, "column": 62 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 9937, "end": 9938, "loc": { "start": { "line": 241, "column": 61 }, "end": { "line": 241, "column": 62 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 9940, "end": 10595, "loc": { "start": { "line": 241, "column": 64 }, "end": { "line": 252, "column": 21 } }, "body": [ { "type": "IfStatement", "start": 9967, "end": 10572, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 251, "column": 25 } }, "test": { "type": "LogicalExpression", "start": 9971, "end": 10007, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 64 } }, "left": { "type": "MemberExpression", "start": 9971, "end": 9984, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 41 } }, "object": { "type": "Identifier", "start": 9971, "end": 9981, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 38 }, "identifierName": "slotStatus" }, "name": "slotStatus" }, "property": { "type": "Identifier", "start": 9982, "end": 9983, "loc": { "start": { "line": 242, "column": 39 }, "end": { "line": 242, "column": 40 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9988, "end": 10007, "loc": { "start": { "line": 242, "column": 45 }, "end": { "line": 242, "column": 64 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9989, "end": 10007, "loc": { "start": { "line": 242, "column": 46 }, "end": { "line": 242, "column": 64 } }, "object": { "type": "Identifier", "start": 9989, "end": 10000, "loc": { "start": { "line": 242, "column": 46 }, "end": { "line": 242, "column": 57 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "property": { "type": "BinaryExpression", "start": 10001, "end": 10006, "loc": { "start": { "line": 242, "column": 58 }, "end": { "line": 242, "column": 63 } }, "left": { "type": "NumericLiteral", "start": 10001, "end": 10002, "loc": { "start": { "line": 242, "column": 58 }, "end": { "line": 242, "column": 59 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "+", "right": { "type": "Identifier", "start": 10005, "end": 10006, "loc": { "start": { "line": 242, "column": 62 }, "end": { "line": 242, "column": 63 }, "identifierName": "i" }, "name": "i" } }, "computed": true }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 10009, "end": 10572, "loc": { "start": { "line": 242, "column": 66 }, "end": { "line": 251, "column": 25 } }, "body": [ { "type": "ForStatement", "start": 10262, "end": 10545, "loc": { "start": { "line": 245, "column": 28 }, "end": { "line": 250, "column": 29 } }, "init": { "type": "VariableDeclaration", "start": 10267, "end": 10276, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10271, "end": 10276, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 42 } }, "id": { "type": "Identifier", "start": 10271, "end": 10272, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 38 }, "identifierName": "j" }, "name": "j", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 10275, "end": 10276, "loc": { "start": { "line": 245, "column": 41 }, "end": { "line": 245, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 10278, "end": 10283, "loc": { "start": { "line": 245, "column": 44 }, "end": { "line": 245, "column": 49 } }, "left": { "type": "Identifier", "start": 10278, "end": 10279, "loc": { "start": { "line": 245, "column": 44 }, "end": { "line": 245, "column": 45 }, "identifierName": "j" }, "name": "j" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 10282, "end": 10283, "loc": { "start": { "line": 245, "column": 48 }, "end": { "line": 245, "column": 49 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } }, "update": { "type": "UpdateExpression", "start": 10285, "end": 10288, "loc": { "start": { "line": 245, "column": 51 }, "end": { "line": 245, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 10287, "end": 10288, "loc": { "start": { "line": 245, "column": 53 }, "end": { "line": 245, "column": 54 }, "identifierName": "j" }, "name": "j" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 10290, "end": 10545, "loc": { "start": { "line": 245, "column": 56 }, "end": { "line": 250, "column": 29 } }, "body": [ { "type": "VariableDeclaration", "start": 10325, "end": 10370, "loc": { "start": { "line": 246, "column": 32 }, "end": { "line": 246, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10331, "end": 10369, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 76 } }, "id": { "type": "Identifier", "start": 10331, "end": 10336, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 43 }, "identifierName": "layer" }, "name": "layer" }, "init": { "type": "MemberExpression", "start": 10339, "end": 10369, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 76 } }, "object": { "type": "MemberExpression", "start": 10339, "end": 10366, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 73 } }, "object": { "type": "MemberExpression", "start": 10339, "end": 10359, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 66 } }, "object": { "type": "Identifier", "start": 10339, "end": 10348, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 55 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "property": { "type": "Identifier", "start": 10349, "end": 10359, "loc": { "start": { "line": 246, "column": 56 }, "end": { "line": 246, "column": 66 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "property": { "type": "Identifier", "start": 10360, "end": 10366, "loc": { "start": { "line": 246, "column": 67 }, "end": { "line": 246, "column": 73 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 10367, "end": 10368, "loc": { "start": { "line": 246, "column": 74 }, "end": { "line": 246, "column": 75 }, "identifierName": "j" }, "name": "j" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 10404, "end": 10514, "loc": { "start": { "line": 247, "column": 32 }, "end": { "line": 249, "column": 33 } }, "test": { "type": "LogicalExpression", "start": 10408, "end": 10425, "loc": { "start": { "line": 247, "column": 36 }, "end": { "line": 247, "column": 53 } }, "left": { "type": "Identifier", "start": 10408, "end": 10413, "loc": { "start": { "line": 247, "column": 36 }, "end": { "line": 247, "column": 41 }, "identifierName": "layer" }, "name": "layer" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 10417, "end": 10425, "loc": { "start": { "line": 247, "column": 45 }, "end": { "line": 247, "column": 53 } }, "object": { "type": "Identifier", "start": 10417, "end": 10422, "loc": { "start": { "line": 247, "column": 45 }, "end": { "line": 247, "column": 50 }, "identifierName": "layer" }, "name": "layer" }, "property": { "type": "Identifier", "start": 10423, "end": 10424, "loc": { "start": { "line": 247, "column": 51 }, "end": { "line": 247, "column": 52 }, "identifierName": "i" }, "name": "i" }, "computed": true } }, "consequent": { "type": "BlockStatement", "start": 10427, "end": 10514, "loc": { "start": { "line": 247, "column": 55 }, "end": { "line": 249, "column": 33 } }, "body": [ { "type": "ReturnStatement", "start": 10466, "end": 10479, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 49 } }, "argument": { "type": "BooleanLiteral", "start": 10473, "end": 10478, "loc": { "start": { "line": 248, "column": 43 }, "end": { "line": 248, "column": 48 } }, "value": false } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " A slot which is enabled wasn't enabled. Make sure if there is anything on the quadrant,", "start": 10040, "end": 10130, "loc": { "start": { "line": 243, "column": 28 }, "end": { "line": 243, "column": 118 } } }, { "type": "CommentLine", "value": " it is not possible to paint, but if there is nothing we can ignore it", "start": 10160, "end": 10232, "loc": { "start": { "line": 244, "column": 28 }, "end": { "line": 244, "column": 100 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Check if all colors of the enabled slots are there", "start": 9821, "end": 9874, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 73 } } } ] }, { "type": "ReturnStatement", "start": 10619, "end": 10631, "loc": { "start": { "line": 254, "column": 20 }, "end": { "line": 254, "column": 32 } }, "argument": { "type": "BooleanLiteral", "start": 10626, "end": 10630, "loc": { "start": { "line": 254, "column": 27 }, "end": { "line": 254, "column": 31 } }, "value": true } } ], "directives": [] } ], "test": { "type": "MemberExpression", "start": 8130, "end": 8171, "loc": { "start": { "line": 202, "column": 17 }, "end": { "line": 202, "column": 58 } }, "object": { "type": "Identifier", "start": 8130, "end": 8159, "loc": { "start": { "line": 202, "column": 17 }, "end": { "line": 202, "column": 46 }, "identifierName": "enumItemProcessorRequirements" }, "name": "enumItemProcessorRequirements", "leadingComments": null }, "property": { "type": "Identifier", "start": 8160, "end": 8171, "loc": { "start": { "line": 202, "column": 47 }, "end": { "line": 202, "column": 58 }, "identifierName": "painterQuad" }, "name": "painterQuad" }, "computed": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " QUAD PAINTER", "start": 8005, "end": 8020, "loc": { "start": { "line": 200, "column": 16 }, "end": { "line": 200, "column": 31 } } }, { "type": "CommentLine", "value": " For the quad painter, it might be possible to start processing earlier", "start": 8038, "end": 8111, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 89 } } } ] }, { "type": "SwitchCase", "start": 10666, "end": 10778, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 258, "column": 102 } }, "consequent": [ { "type": "ExpressionStatement", "start": 10692, "end": 10778, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 102 } }, "expression": { "type": "CallExpression", "start": 10692, "end": 10777, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 101 } }, "callee": { "type": "Identifier", "start": 10692, "end": 10704, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 28 }, "identifierName": "assertAlways" }, "name": "assertAlways" }, "arguments": [ { "type": "BooleanLiteral", "start": 10705, "end": 10710, "loc": { "start": { "line": 258, "column": 29 }, "end": { "line": 258, "column": 34 } }, "value": false }, { "type": "BinaryExpression", "start": 10712, "end": 10776, "loc": { "start": { "line": 258, "column": 36 }, "end": { "line": 258, "column": 100 } }, "left": { "type": "StringLiteral", "start": 10712, "end": 10738, "loc": { "start": { "line": 258, "column": 36 }, "end": { "line": 258, "column": 62 } }, "extra": { "rawValue": "Unknown requirement for ", "raw": "\"Unknown requirement for \"" }, "value": "Unknown requirement for " }, "operator": "+", "right": { "type": "MemberExpression", "start": 10741, "end": 10776, "loc": { "start": { "line": 258, "column": 65 }, "end": { "line": 258, "column": 100 } }, "object": { "type": "Identifier", "start": 10741, "end": 10754, "loc": { "start": { "line": 258, "column": 65 }, "end": { "line": 258, "column": 78 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 10755, "end": 10776, "loc": { "start": { "line": 258, "column": 79 }, "end": { "line": 258, "column": 100 }, "identifierName": "processingRequirement" }, "name": "processingRequirement" }, "computed": false } } ] } } ], "test": null } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks whether it's possible to process something\r\n * @param {Entity} entity\r\n ", "start": 7478, "end": 7579, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Starts a new charge for the entity\r\n * @param {Entity} entity\r\n ", "start": 10804, "end": 10890, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 10896, "end": 12516, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 313, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10896, "end": 10910, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 18 }, "identifierName": "startNewCharge" }, "name": "startNewCharge", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10911, "end": 10917, "loc": { "start": { "line": 266, "column": 19 }, "end": { "line": 266, "column": 25 }, "identifierName": "entity" }, "name": "entity" } ], "body": { "type": "BlockStatement", "start": 10919, "end": 12516, "loc": { "start": { "line": 266, "column": 27 }, "end": { "line": 313, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 10930, "end": 10984, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10936, "end": 10983, "loc": { "start": { "line": 267, "column": 14 }, "end": { "line": 267, "column": 61 } }, "id": { "type": "Identifier", "start": 10936, "end": 10949, "loc": { "start": { "line": 267, "column": 14 }, "end": { "line": 267, "column": 27 }, "identifierName": "processorComp" }, "name": "processorComp" }, "init": { "type": "MemberExpression", "start": 10952, "end": 10983, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 61 } }, "object": { "type": "MemberExpression", "start": 10952, "end": 10969, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 47 } }, "object": { "type": "Identifier", "start": 10952, "end": 10958, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 36 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 10959, "end": 10969, "loc": { "start": { "line": 267, "column": 37 }, "end": { "line": 267, "column": 47 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 10970, "end": 10983, "loc": { "start": { "line": 267, "column": 48 }, "end": { "line": 267, "column": 61 }, "identifierName": "ItemProcessor" }, "name": "ItemProcessor" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " First, take items", "start": 10996, "end": 11016, "loc": { "start": { "line": 269, "column": 8 }, "end": { "line": 269, "column": 28 } } } ] }, { "type": "VariableDeclaration", "start": 11026, "end": 11065, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11032, "end": 11064, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 46 } }, "id": { "type": "Identifier", "start": 11032, "end": 11037, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 19 }, "identifierName": "items" }, "name": "items", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 11040, "end": 11064, "loc": { "start": { "line": 270, "column": 22 }, "end": { "line": 270, "column": 46 } }, "object": { "type": "Identifier", "start": 11040, "end": 11053, "loc": { "start": { "line": 270, "column": 22 }, "end": { "line": 270, "column": 35 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 11054, "end": 11064, "loc": { "start": { "line": 270, "column": 36 }, "end": { "line": 270, "column": 46 }, "identifierName": "inputSlots" }, "name": "inputSlots" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " First, take items", "start": 10996, "end": 11016, "loc": { "start": { "line": 269, "column": 8 }, "end": { "line": 269, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 11075, "end": 11105, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 11075, "end": 11104, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11075, "end": 11099, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 32 } }, "object": { "type": "Identifier", "start": 11075, "end": 11088, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 21 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 11089, "end": 11099, "loc": { "start": { "line": 271, "column": 22 }, "end": { "line": 271, "column": 32 }, "identifierName": "inputSlots" }, "name": "inputSlots" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 11102, "end": 11104, "loc": { "start": { "line": 271, "column": 35 }, "end": { "line": 271, "column": 37 } }, "elements": [] } }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Object} ", "start": 11117, "end": 11156, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 47 } } } ] }, { "type": "VariableDeclaration", "start": 11166, "end": 11189, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11172, "end": 11188, "loc": { "start": { "line": 274, "column": 14 }, "end": { "line": 274, "column": 30 } }, "id": { "type": "Identifier", "start": 11172, "end": 11183, "loc": { "start": { "line": 274, "column": 14 }, "end": { "line": 274, "column": 25 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 11186, "end": 11188, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 30 } }, "properties": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Object} ", "start": 11117, "end": 11156, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 47 } } } ] }, { "type": "ForStatement", "start": 11199, "end": 11313, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 277, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 11204, "end": 11213, "loc": { "start": { "line": 275, "column": 13 }, "end": { "line": 275, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11208, "end": 11213, "loc": { "start": { "line": 275, "column": 17 }, "end": { "line": 275, "column": 22 } }, "id": { "type": "Identifier", "start": 11208, "end": 11209, "loc": { "start": { "line": 275, "column": 17 }, "end": { "line": 275, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 11212, "end": 11213, "loc": { "start": { "line": 275, "column": 21 }, "end": { "line": 275, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 11215, "end": 11231, "loc": { "start": { "line": 275, "column": 24 }, "end": { "line": 275, "column": 40 } }, "left": { "type": "Identifier", "start": 11215, "end": 11216, "loc": { "start": { "line": 275, "column": 24 }, "end": { "line": 275, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 11219, "end": 11231, "loc": { "start": { "line": 275, "column": 28 }, "end": { "line": 275, "column": 40 } }, "object": { "type": "Identifier", "start": 11219, "end": 11224, "loc": { "start": { "line": 275, "column": 28 }, "end": { "line": 275, "column": 33 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 11225, "end": 11231, "loc": { "start": { "line": 275, "column": 34 }, "end": { "line": 275, "column": 40 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 11233, "end": 11236, "loc": { "start": { "line": 275, "column": 42 }, "end": { "line": 275, "column": 45 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 11235, "end": 11236, "loc": { "start": { "line": 275, "column": 44 }, "end": { "line": 275, "column": 45 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 11238, "end": 11313, "loc": { "start": { "line": 275, "column": 47 }, "end": { "line": 277, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11253, "end": 11302, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 11253, "end": 11301, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11253, "end": 11285, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 44 } }, "object": { "type": "Identifier", "start": 11253, "end": 11264, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 23 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "property": { "type": "MemberExpression", "start": 11265, "end": 11284, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 43 } }, "object": { "type": "MemberExpression", "start": 11265, "end": 11273, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 32 } }, "object": { "type": "Identifier", "start": 11265, "end": 11270, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 29 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 11271, "end": 11272, "loc": { "start": { "line": 276, "column": 30 }, "end": { "line": 276, "column": 31 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 11274, "end": 11284, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "column": 43 }, "identifierName": "sourceSlot" }, "name": "sourceSlot" }, "computed": false }, "computed": true }, "right": { "type": "MemberExpression", "start": 11288, "end": 11301, "loc": { "start": { "line": 276, "column": 47 }, "end": { "line": 276, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11288, "end": 11296, "loc": { "start": { "line": 276, "column": 47 }, "end": { "line": 276, "column": 55 } }, "object": { "type": "Identifier", "start": 11288, "end": 11293, "loc": { "start": { "line": 276, "column": 47 }, "end": { "line": 276, "column": 52 }, "identifierName": "items" }, "name": "items" }, "property": { "type": "Identifier", "start": 11294, "end": 11295, "loc": { "start": { "line": 276, "column": 53 }, "end": { "line": 276, "column": 54 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 11297, "end": 11301, "loc": { "start": { "line": 276, "column": 56 }, "end": { "line": 276, "column": 60 }, "identifierName": "item" }, "name": "item" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Array} ", "start": 11325, "end": 11359, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 11369, "end": 11389, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11375, "end": 11388, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 27 } }, "id": { "type": "Identifier", "start": 11375, "end": 11383, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 22 }, "identifierName": "outItems" }, "name": "outItems", "leadingComments": null }, "init": { "type": "ArrayExpression", "start": 11386, "end": 11388, "loc": { "start": { "line": 280, "column": 25 }, "end": { "line": 280, "column": 27 } }, "elements": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Array} ", "start": 11325, "end": 11359, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 42 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {function(payload: ProcessorImplementationPayload) : void} ", "start": 11401, "end": 11472, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 79 } } } ] }, { "type": "VariableDeclaration", "start": 11482, "end": 11532, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11488, "end": 11531, "loc": { "start": { "line": 283, "column": 14 }, "end": { "line": 283, "column": 57 } }, "id": { "type": "Identifier", "start": 11488, "end": 11495, "loc": { "start": { "line": 283, "column": 14 }, "end": { "line": 283, "column": 21 }, "identifierName": "handler" }, "name": "handler", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 11498, "end": 11531, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 57 } }, "object": { "type": "MemberExpression", "start": 11498, "end": 11511, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 37 } }, "object": { "type": "ThisExpression", "start": 11498, "end": 11502, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 28 } } }, "property": { "type": "Identifier", "start": 11503, "end": 11511, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 37 }, "identifierName": "handlers" }, "name": "handlers" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11512, "end": 11530, "loc": { "start": { "line": 283, "column": 38 }, "end": { "line": 283, "column": 56 } }, "object": { "type": "Identifier", "start": 11512, "end": 11525, "loc": { "start": { "line": 283, "column": 38 }, "end": { "line": 283, "column": 51 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 11526, "end": 11530, "loc": { "start": { "line": 283, "column": 52 }, "end": { "line": 283, "column": 56 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {function(payload: ProcessorImplementationPayload) : void} ", "start": 11401, "end": 11472, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 79 } } } ] }, { "type": "ExpressionStatement", "start": 11542, "end": 11622, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 88 } }, "expression": { "type": "CallExpression", "start": 11542, "end": 11621, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 87 } }, "callee": { "type": "Identifier", "start": 11542, "end": 11548, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "Identifier", "start": 11549, "end": 11556, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 }, "identifierName": "handler" }, "name": "handler" }, { "type": "BinaryExpression", "start": 11558, "end": 11620, "loc": { "start": { "line": 284, "column": 24 }, "end": { "line": 284, "column": 86 } }, "left": { "type": "StringLiteral", "start": 11558, "end": 11599, "loc": { "start": { "line": 284, "column": 24 }, "end": { "line": 284, "column": 65 } }, "extra": { "rawValue": "No handler for processor type defined: ", "raw": "\"No handler for processor type defined: \"" }, "value": "No handler for processor type defined: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 11602, "end": 11620, "loc": { "start": { "line": 284, "column": 68 }, "end": { "line": 284, "column": 86 } }, "object": { "type": "Identifier", "start": 11602, "end": 11615, "loc": { "start": { "line": 284, "column": 68 }, "end": { "line": 284, "column": 81 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 11616, "end": 11620, "loc": { "start": { "line": 284, "column": 82 }, "end": { "line": 284, "column": 86 }, "identifierName": "type" }, "name": "type" }, "computed": false } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Call implementation", "start": 11634, "end": 11656, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 30 } } } ] }, { "type": "ExpressionStatement", "start": 11666, "end": 11778, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 292, "column": 11 } }, "expression": { "type": "CallExpression", "start": 11666, "end": 11777, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 292, "column": 10 } }, "callee": { "type": "Identifier", "start": 11666, "end": 11673, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 15 }, "identifierName": "handler" }, "name": "handler", "leadingComments": null }, "arguments": [ { "type": "ObjectExpression", "start": 11674, "end": 11776, "loc": { "start": { "line": 287, "column": 16 }, "end": { "line": 292, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 11689, "end": 11695, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 18 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 11689, "end": 11695, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 18 }, "identifierName": "entity" }, "name": "entity" }, "value": { "type": "Identifier", "start": 11689, "end": 11695, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 18 }, "identifierName": "entity" }, "name": "entity" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 11710, "end": 11715, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 17 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 11710, "end": 11715, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 17 }, "identifierName": "items" }, "name": "items" }, "value": { "type": "Identifier", "start": 11710, "end": 11715, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 17 }, "identifierName": "items" }, "name": "items" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 11730, "end": 11741, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 23 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 11730, "end": 11741, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 23 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "value": { "type": "Identifier", "start": 11730, "end": 11741, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 23 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 11756, "end": 11764, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 20 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 11756, "end": 11764, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 20 }, "identifierName": "outItems" }, "name": "outItems" }, "value": { "type": "Identifier", "start": 11756, "end": 11764, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 20 }, "identifierName": "outItems" }, "name": "outItems" }, "extra": { "shorthand": true } } ] } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Call implementation", "start": 11634, "end": 11656, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 30 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Track produced items", "start": 11790, "end": 11813, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 31 } } } ] }, { "type": "ForStatement", "start": 11823, "end": 12012, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 299, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 11828, "end": 11837, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11832, "end": 11837, "loc": { "start": { "line": 295, "column": 17 }, "end": { "line": 295, "column": 22 } }, "id": { "type": "Identifier", "start": 11832, "end": 11833, "loc": { "start": { "line": 295, "column": 17 }, "end": { "line": 295, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 11836, "end": 11837, "loc": { "start": { "line": 295, "column": 21 }, "end": { "line": 295, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 11839, "end": 11858, "loc": { "start": { "line": 295, "column": 24 }, "end": { "line": 295, "column": 43 } }, "left": { "type": "Identifier", "start": 11839, "end": 11840, "loc": { "start": { "line": 295, "column": 24 }, "end": { "line": 295, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 11843, "end": 11858, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 43 } }, "object": { "type": "Identifier", "start": 11843, "end": 11851, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 36 }, "identifierName": "outItems" }, "name": "outItems" }, "property": { "type": "Identifier", "start": 11852, "end": 11858, "loc": { "start": { "line": 295, "column": 37 }, "end": { "line": 295, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 11860, "end": 11863, "loc": { "start": { "line": 295, "column": 45 }, "end": { "line": 295, "column": 48 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 11862, "end": 11863, "loc": { "start": { "line": 295, "column": 47 }, "end": { "line": 295, "column": 48 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 11865, "end": 12012, "loc": { "start": { "line": 295, "column": 50 }, "end": { "line": 299, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 11880, "end": 12001, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 298, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 11884, "end": 11907, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 11885, "end": 11907, "loc": { "start": { "line": 296, "column": 17 }, "end": { "line": 296, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11885, "end": 11896, "loc": { "start": { "line": 296, "column": 17 }, "end": { "line": 296, "column": 28 } }, "object": { "type": "Identifier", "start": 11885, "end": 11893, "loc": { "start": { "line": 296, "column": 17 }, "end": { "line": 296, "column": 25 }, "identifierName": "outItems" }, "name": "outItems" }, "property": { "type": "Identifier", "start": 11894, "end": 11895, "loc": { "start": { "line": 296, "column": 26 }, "end": { "line": 296, "column": 27 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 11897, "end": 11907, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 39 }, "identifierName": "doNotTrack" }, "name": "doNotTrack" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11909, "end": 12001, "loc": { "start": { "line": 296, "column": 41 }, "end": { "line": 298, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 11928, "end": 11986, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 74 } }, "expression": { "type": "CallExpression", "start": 11928, "end": 11985, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 11928, "end": 11967, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 55 } }, "object": { "type": "MemberExpression", "start": 11928, "end": 11958, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 46 } }, "object": { "type": "MemberExpression", "start": 11928, "end": 11945, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 33 } }, "object": { "type": "MemberExpression", "start": 11928, "end": 11937, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 25 } }, "object": { "type": "ThisExpression", "start": 11928, "end": 11932, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 20 } } }, "property": { "type": "Identifier", "start": 11933, "end": 11937, "loc": { "start": { "line": 297, "column": 21 }, "end": { "line": 297, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 11938, "end": 11945, "loc": { "start": { "line": 297, "column": 26 }, "end": { "line": 297, "column": 33 }, "identifierName": "signals" }, "name": "signals" }, "computed": false }, "property": { "type": "Identifier", "start": 11946, "end": 11958, "loc": { "start": { "line": 297, "column": 34 }, "end": { "line": 297, "column": 46 }, "identifierName": "itemProduced" }, "name": "itemProduced" }, "computed": false }, "property": { "type": "Identifier", "start": 11959, "end": 11967, "loc": { "start": { "line": 297, "column": 47 }, "end": { "line": 297, "column": 55 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11968, "end": 11984, "loc": { "start": { "line": 297, "column": 56 }, "end": { "line": 297, "column": 72 } }, "object": { "type": "MemberExpression", "start": 11968, "end": 11979, "loc": { "start": { "line": 297, "column": 56 }, "end": { "line": 297, "column": 67 } }, "object": { "type": "Identifier", "start": 11968, "end": 11976, "loc": { "start": { "line": 297, "column": 56 }, "end": { "line": 297, "column": 64 }, "identifierName": "outItems" }, "name": "outItems" }, "property": { "type": "Identifier", "start": 11977, "end": 11978, "loc": { "start": { "line": 297, "column": 65 }, "end": { "line": 297, "column": 66 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 11980, "end": 11984, "loc": { "start": { "line": 297, "column": 68 }, "end": { "line": 297, "column": 72 }, "identifierName": "item" }, "name": "item" }, "computed": false } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Track produced items", "start": 11790, "end": 11813, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 31 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Queue Charge", "start": 12024, "end": 12039, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 23 } } } ] }, { "type": "VariableDeclaration", "start": 12049, "end": 12128, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12055, "end": 12127, "loc": { "start": { "line": 302, "column": 14 }, "end": { "line": 302, "column": 86 } }, "id": { "type": "Identifier", "start": 12055, "end": 12064, "loc": { "start": { "line": 302, "column": 14 }, "end": { "line": 302, "column": 23 }, "identifierName": "baseSpeed" }, "name": "baseSpeed", "leadingComments": null }, "init": { "type": "CallExpression", "start": 12067, "end": 12127, "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 302, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 12067, "end": 12107, "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 302, "column": 66 } }, "object": { "type": "MemberExpression", "start": 12067, "end": 12085, "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 302, "column": 44 } }, "object": { "type": "MemberExpression", "start": 12067, "end": 12076, "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 302, "column": 35 } }, "object": { "type": "ThisExpression", "start": 12067, "end": 12071, "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 302, "column": 30 } } }, "property": { "type": "Identifier", "start": 12072, "end": 12076, "loc": { "start": { "line": 302, "column": 31 }, "end": { "line": 302, "column": 35 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12077, "end": 12085, "loc": { "start": { "line": 302, "column": 36 }, "end": { "line": 302, "column": 44 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 12086, "end": 12107, "loc": { "start": { "line": 302, "column": 45 }, "end": { "line": 302, "column": 66 }, "identifierName": "getProcessorBaseSpeed" }, "name": "getProcessorBaseSpeed" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12108, "end": 12126, "loc": { "start": { "line": 302, "column": 67 }, "end": { "line": 302, "column": 85 } }, "object": { "type": "Identifier", "start": 12108, "end": 12121, "loc": { "start": { "line": 302, "column": 67 }, "end": { "line": 302, "column": 80 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 12122, "end": 12126, "loc": { "start": { "line": 302, "column": 81 }, "end": { "line": 302, "column": 85 }, "identifierName": "type" }, "name": "type" }, "computed": false } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Queue Charge", "start": 12024, "end": 12039, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 23 } } } ] }, { "type": "VariableDeclaration", "start": 12138, "end": 12173, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12144, "end": 12172, "loc": { "start": { "line": 303, "column": 14 }, "end": { "line": 303, "column": 42 } }, "id": { "type": "Identifier", "start": 12144, "end": 12156, "loc": { "start": { "line": 303, "column": 14 }, "end": { "line": 303, "column": 26 }, "identifierName": "originalTime" }, "name": "originalTime" }, "init": { "type": "BinaryExpression", "start": 12159, "end": 12172, "loc": { "start": { "line": 303, "column": 29 }, "end": { "line": 303, "column": 42 } }, "left": { "type": "NumericLiteral", "start": 12159, "end": 12160, "loc": { "start": { "line": 303, "column": 29 }, "end": { "line": 303, "column": 30 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "Identifier", "start": 12163, "end": 12172, "loc": { "start": { "line": 303, "column": 33 }, "end": { "line": 303, "column": 42 }, "identifierName": "baseSpeed" }, "name": "baseSpeed" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 12185, "end": 12258, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 81 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12191, "end": 12257, "loc": { "start": { "line": 305, "column": 14 }, "end": { "line": 305, "column": 80 } }, "id": { "type": "Identifier", "start": 12191, "end": 12207, "loc": { "start": { "line": 305, "column": 14 }, "end": { "line": 305, "column": 30 }, "identifierName": "bonusTimeToApply" }, "name": "bonusTimeToApply" }, "init": { "type": "CallExpression", "start": 12210, "end": 12257, "loc": { "start": { "line": 305, "column": 33 }, "end": { "line": 305, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 12210, "end": 12218, "loc": { "start": { "line": 305, "column": 33 }, "end": { "line": 305, "column": 41 } }, "object": { "type": "Identifier", "start": 12210, "end": 12214, "loc": { "start": { "line": 305, "column": 33 }, "end": { "line": 305, "column": 37 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 12215, "end": 12218, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 41 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 12219, "end": 12231, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 54 }, "identifierName": "originalTime" }, "name": "originalTime" }, { "type": "MemberExpression", "start": 12233, "end": 12256, "loc": { "start": { "line": 305, "column": 56 }, "end": { "line": 305, "column": 79 } }, "object": { "type": "Identifier", "start": 12233, "end": 12246, "loc": { "start": { "line": 305, "column": 56 }, "end": { "line": 305, "column": 69 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 12247, "end": 12256, "loc": { "start": { "line": 305, "column": 70 }, "end": { "line": 305, "column": 79 }, "identifierName": "bonusTime" }, "name": "bonusTime" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 12268, "end": 12322, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12274, "end": 12321, "loc": { "start": { "line": 306, "column": 14 }, "end": { "line": 306, "column": 61 } }, "id": { "type": "Identifier", "start": 12274, "end": 12287, "loc": { "start": { "line": 306, "column": 14 }, "end": { "line": 306, "column": 27 }, "identifierName": "timeToProcess" }, "name": "timeToProcess" }, "init": { "type": "BinaryExpression", "start": 12290, "end": 12321, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 61 } }, "left": { "type": "Identifier", "start": 12290, "end": 12302, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 42 }, "identifierName": "originalTime" }, "name": "originalTime" }, "operator": "-", "right": { "type": "Identifier", "start": 12305, "end": 12321, "loc": { "start": { "line": 306, "column": 45 }, "end": { "line": 306, "column": 61 }, "identifierName": "bonusTimeToApply" }, "name": "bonusTimeToApply" } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 12334, "end": 12378, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 12334, "end": 12377, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 51 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 12334, "end": 12357, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 31 } }, "object": { "type": "Identifier", "start": 12334, "end": 12347, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 21 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 12348, "end": 12357, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 31 }, "identifierName": "bonusTime" }, "name": "bonusTime" }, "computed": false }, "right": { "type": "Identifier", "start": 12361, "end": 12377, "loc": { "start": { "line": 308, "column": 35 }, "end": { "line": 308, "column": 51 }, "identifierName": "bonusTimeToApply" }, "name": "bonusTimeToApply" } } }, { "type": "ExpressionStatement", "start": 12388, "end": 12509, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 312, "column": 11 } }, "expression": { "type": "CallExpression", "start": 12388, "end": 12508, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 312, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 12388, "end": 12421, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 41 } }, "object": { "type": "MemberExpression", "start": 12388, "end": 12416, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 36 } }, "object": { "type": "Identifier", "start": 12388, "end": 12401, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 21 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 12402, "end": 12416, "loc": { "start": { "line": 309, "column": 22 }, "end": { "line": 309, "column": 36 }, "identifierName": "ongoingCharges" }, "name": "ongoingCharges" }, "computed": false }, "property": { "type": "Identifier", "start": 12417, "end": 12421, "loc": { "start": { "line": 309, "column": 37 }, "end": { "line": 309, "column": 41 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 12422, "end": 12507, "loc": { "start": { "line": 309, "column": 42 }, "end": { "line": 312, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 12437, "end": 12452, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12437, "end": 12442, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 17 }, "identifierName": "items" }, "name": "items" }, "value": { "type": "Identifier", "start": 12444, "end": 12452, "loc": { "start": { "line": 310, "column": 19 }, "end": { "line": 310, "column": 27 }, "identifierName": "outItems" }, "name": "outItems" } }, { "type": "ObjectProperty", "start": 12467, "end": 12495, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12467, "end": 12480, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 25 }, "identifierName": "remainingTime" }, "name": "remainingTime" }, "value": { "type": "Identifier", "start": 12482, "end": 12495, "loc": { "start": { "line": 311, "column": 27 }, "end": { "line": 311, "column": 40 }, "identifierName": "timeToProcess" }, "name": "timeToProcess" } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Starts a new charge for the entity\r\n * @param {Entity} entity\r\n ", "start": 10804, "end": 10890, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 12524, "end": 12592, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12598, "end": 13310, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 336, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12598, "end": 12614, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 20 }, "identifierName": "process_BALANCER" }, "name": "process_BALANCER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12615, "end": 12622, "loc": { "start": { "line": 318, "column": 21 }, "end": { "line": 318, "column": 28 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 12624, "end": 13310, "loc": { "start": { "line": 318, "column": 30 }, "end": { "line": 336, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12635, "end": 12777, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 322, "column": 10 } }, "expression": { "type": "CallExpression", "start": 12635, "end": 12776, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 322, "column": 9 } }, "callee": { "type": "Identifier", "start": 12635, "end": 12641, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "MemberExpression", "start": 12656, "end": 12693, "loc": { "start": { "line": 320, "column": 12 }, "end": { "line": 320, "column": 49 } }, "object": { "type": "MemberExpression", "start": 12656, "end": 12681, "loc": { "start": { "line": 320, "column": 12 }, "end": { "line": 320, "column": 37 } }, "object": { "type": "MemberExpression", "start": 12656, "end": 12670, "loc": { "start": { "line": 320, "column": 12 }, "end": { "line": 320, "column": 26 } }, "object": { "type": "Identifier", "start": 12656, "end": 12663, "loc": { "start": { "line": 320, "column": 12 }, "end": { "line": 320, "column": 19 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 12664, "end": 12670, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 26 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 12671, "end": 12681, "loc": { "start": { "line": 320, "column": 27 }, "end": { "line": 320, "column": 37 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 12682, "end": 12693, "loc": { "start": { "line": 320, "column": 38 }, "end": { "line": 320, "column": 49 }, "identifierName": "ItemEjector" }, "name": "ItemEjector" }, "computed": false }, { "type": "StringLiteral", "start": 12708, "end": 12765, "loc": { "start": { "line": 321, "column": 12 }, "end": { "line": 321, "column": 69 } }, "extra": { "rawValue": "To be a balancer, the building needs to have an ejector", "raw": "\"To be a balancer, the building needs to have an ejector\"" }, "value": "To be a balancer, the building needs to have an ejector" } ] } }, { "type": "VariableDeclaration", "start": 12787, "end": 12861, "loc": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12793, "end": 12860, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 323, "column": 81 } }, "id": { "type": "Identifier", "start": 12793, "end": 12807, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 323, "column": 28 }, "identifierName": "availableSlots" }, "name": "availableSlots" }, "init": { "type": "MemberExpression", "start": 12810, "end": 12860, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 81 } }, "object": { "type": "MemberExpression", "start": 12810, "end": 12853, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 74 } }, "object": { "type": "MemberExpression", "start": 12810, "end": 12847, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 68 } }, "object": { "type": "MemberExpression", "start": 12810, "end": 12835, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 56 } }, "object": { "type": "MemberExpression", "start": 12810, "end": 12824, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 45 } }, "object": { "type": "Identifier", "start": 12810, "end": 12817, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 38 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 12818, "end": 12824, "loc": { "start": { "line": 323, "column": 39 }, "end": { "line": 323, "column": 45 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 12825, "end": 12835, "loc": { "start": { "line": 323, "column": 46 }, "end": { "line": 323, "column": 56 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 12836, "end": 12847, "loc": { "start": { "line": 323, "column": 57 }, "end": { "line": 323, "column": 68 }, "identifierName": "ItemEjector" }, "name": "ItemEjector" }, "computed": false }, "property": { "type": "Identifier", "start": 12848, "end": 12853, "loc": { "start": { "line": 323, "column": 69 }, "end": { "line": 323, "column": 74 }, "identifierName": "slots" }, "name": "slots" }, "computed": false }, "property": { "type": "Identifier", "start": 12854, "end": 12860, "loc": { "start": { "line": 323, "column": 75 }, "end": { "line": 323, "column": 81 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 12871, "end": 12933, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12877, "end": 12932, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 69 } }, "id": { "type": "Identifier", "start": 12877, "end": 12890, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 27 }, "identifierName": "processorComp" }, "name": "processorComp" }, "init": { "type": "MemberExpression", "start": 12893, "end": 12932, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 69 } }, "object": { "type": "MemberExpression", "start": 12893, "end": 12918, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 55 } }, "object": { "type": "MemberExpression", "start": 12893, "end": 12907, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 44 } }, "object": { "type": "Identifier", "start": 12893, "end": 12900, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 37 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 12901, "end": 12907, "loc": { "start": { "line": 324, "column": 38 }, "end": { "line": 324, "column": 44 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 12908, "end": 12918, "loc": { "start": { "line": 324, "column": 45 }, "end": { "line": 324, "column": 55 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 12919, "end": 12932, "loc": { "start": { "line": 324, "column": 56 }, "end": { "line": 324, "column": 69 }, "identifierName": "ItemProcessor" }, "name": "ItemProcessor" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 12945, "end": 13010, "loc": { "start": { "line": 326, "column": 8 }, "end": { "line": 326, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12951, "end": 13009, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 326, "column": 72 } }, "id": { "type": "Identifier", "start": 12951, "end": 12959, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 326, "column": 22 }, "identifierName": "nextSlot" }, "name": "nextSlot" }, "init": { "type": "BinaryExpression", "start": 12962, "end": 13009, "loc": { "start": { "line": 326, "column": 25 }, "end": { "line": 326, "column": 72 } }, "left": { "type": "UpdateExpression", "start": 12962, "end": 12992, "loc": { "start": { "line": 326, "column": 25 }, "end": { "line": 326, "column": 55 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 12962, "end": 12990, "loc": { "start": { "line": 326, "column": 25 }, "end": { "line": 326, "column": 53 } }, "object": { "type": "Identifier", "start": 12962, "end": 12975, "loc": { "start": { "line": 326, "column": 25 }, "end": { "line": 326, "column": 38 }, "identifierName": "processorComp" }, "name": "processorComp" }, "property": { "type": "Identifier", "start": 12976, "end": 12990, "loc": { "start": { "line": 326, "column": 39 }, "end": { "line": 326, "column": 53 }, "identifierName": "nextOutputSlot" }, "name": "nextOutputSlot" }, "computed": false } }, "operator": "%", "right": { "type": "Identifier", "start": 12995, "end": 13009, "loc": { "start": { "line": 326, "column": 58 }, "end": { "line": 326, "column": 72 }, "identifierName": "availableSlots" }, "name": "availableSlots" } } } ], "kind": "const" }, { "type": "ForStatement", "start": 13022, "end": 13281, "loc": { "start": { "line": 328, "column": 8 }, "end": { "line": 334, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 13027, "end": 13036, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13031, "end": 13036, "loc": { "start": { "line": 328, "column": 17 }, "end": { "line": 328, "column": 22 } }, "id": { "type": "Identifier", "start": 13031, "end": 13032, "loc": { "start": { "line": 328, "column": 17 }, "end": { "line": 328, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 13035, "end": 13036, "loc": { "start": { "line": 328, "column": 21 }, "end": { "line": 328, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 13038, "end": 13062, "loc": { "start": { "line": 328, "column": 24 }, "end": { "line": 328, "column": 48 } }, "left": { "type": "Identifier", "start": 13038, "end": 13039, "loc": { "start": { "line": 328, "column": 24 }, "end": { "line": 328, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 13042, "end": 13062, "loc": { "start": { "line": 328, "column": 28 }, "end": { "line": 328, "column": 48 } }, "object": { "type": "MemberExpression", "start": 13042, "end": 13055, "loc": { "start": { "line": 328, "column": 28 }, "end": { "line": 328, "column": 41 } }, "object": { "type": "Identifier", "start": 13042, "end": 13049, "loc": { "start": { "line": 328, "column": 28 }, "end": { "line": 328, "column": 35 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 13050, "end": 13055, "loc": { "start": { "line": 328, "column": 36 }, "end": { "line": 328, "column": 41 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 13056, "end": 13062, "loc": { "start": { "line": 328, "column": 42 }, "end": { "line": 328, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 13064, "end": 13067, "loc": { "start": { "line": 328, "column": 50 }, "end": { "line": 328, "column": 53 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 13066, "end": 13067, "loc": { "start": { "line": 328, "column": 52 }, "end": { "line": 328, "column": 53 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 13069, "end": 13281, "loc": { "start": { "line": 328, "column": 55 }, "end": { "line": 334, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 13084, "end": 13270, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 333, "column": 15 } }, "expression": { "type": "CallExpression", "start": 13084, "end": 13269, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 333, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 13084, "end": 13105, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 33 } }, "object": { "type": "MemberExpression", "start": 13084, "end": 13100, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 28 } }, "object": { "type": "Identifier", "start": 13084, "end": 13091, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 19 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 13092, "end": 13100, "loc": { "start": { "line": 329, "column": 20 }, "end": { "line": 329, "column": 28 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 13101, "end": 13105, "loc": { "start": { "line": 329, "column": 29 }, "end": { "line": 329, "column": 33 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 13106, "end": 13268, "loc": { "start": { "line": 329, "column": 34 }, "end": { "line": 333, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 13125, "end": 13152, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 43 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 13125, "end": 13129, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 20 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "MemberExpression", "start": 13131, "end": 13152, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 43 } }, "object": { "type": "MemberExpression", "start": 13131, "end": 13147, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13131, "end": 13144, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 35 } }, "object": { "type": "Identifier", "start": 13131, "end": 13138, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 29 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 13139, "end": 13144, "loc": { "start": { "line": 330, "column": 30 }, "end": { "line": 330, "column": 35 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 13145, "end": 13146, "loc": { "start": { "line": 330, "column": 36 }, "end": { "line": 330, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 13148, "end": 13152, "loc": { "start": { "line": 330, "column": 39 }, "end": { "line": 330, "column": 43 }, "identifierName": "item" }, "name": "item" }, "computed": false } }, { "type": "ObjectProperty", "start": 13171, "end": 13217, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "column": 62 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 13171, "end": 13184, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "column": 29 }, "identifierName": "preferredSlot" }, "name": "preferredSlot" }, "value": { "type": "BinaryExpression", "start": 13186, "end": 13217, "loc": { "start": { "line": 331, "column": 31 }, "end": { "line": 331, "column": 62 } }, "left": { "type": "BinaryExpression", "start": 13187, "end": 13199, "loc": { "start": { "line": 331, "column": 32 }, "end": { "line": 331, "column": 44 } }, "left": { "type": "Identifier", "start": 13187, "end": 13195, "loc": { "start": { "line": 331, "column": 32 }, "end": { "line": 331, "column": 40 }, "identifierName": "nextSlot" }, "name": "nextSlot" }, "operator": "+", "right": { "type": "Identifier", "start": 13198, "end": 13199, "loc": { "start": { "line": 331, "column": 43 }, "end": { "line": 331, "column": 44 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesized": true, "parenStart": 13186 } }, "operator": "%", "right": { "type": "Identifier", "start": 13203, "end": 13217, "loc": { "start": { "line": 331, "column": 48 }, "end": { "line": 331, "column": 62 }, "identifierName": "availableSlots" }, "name": "availableSlots" } } }, { "type": "ObjectProperty", "start": 13236, "end": 13252, "loc": { "start": { "line": 332, "column": 16 }, "end": { "line": 332, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 13236, "end": 13246, "loc": { "start": { "line": 332, "column": 16 }, "end": { "line": 332, "column": 26 }, "identifierName": "doNotTrack" }, "name": "doNotTrack" }, "value": { "type": "BooleanLiteral", "start": 13248, "end": 13252, "loc": { "start": { "line": 332, "column": 28 }, "end": { "line": 332, "column": 32 } }, "value": true } } ] } ] } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 13291, "end": 13303, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 13298, "end": 13302, "loc": { "start": { "line": 335, "column": 15 }, "end": { "line": 335, "column": 19 } }, "value": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 12524, "end": 12592, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 13318, "end": 13386, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 340, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13392, "end": 14121, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 357, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13392, "end": 13406, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 18 }, "identifierName": "process_CUTTER" }, "name": "process_CUTTER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13407, "end": 13414, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 26 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 13416, "end": 14121, "loc": { "start": { "line": 341, "column": 28 }, "end": { "line": 357, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 13427, "end": 13494, "loc": { "start": { "line": 342, "column": 8 }, "end": { "line": 342, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13433, "end": 13493, "loc": { "start": { "line": 342, "column": 14 }, "end": { "line": 342, "column": 74 } }, "id": { "type": "Identifier", "start": 13433, "end": 13442, "loc": { "start": { "line": 342, "column": 14 }, "end": { "line": 342, "column": 23 }, "identifierName": "inputItem" }, "name": "inputItem" }, "init": { "type": "MemberExpression", "start": 13471, "end": 13492, "loc": { "start": { "line": 342, "column": 52 }, "end": { "line": 342, "column": 73 } }, "object": { "type": "MemberExpression", "start": 13471, "end": 13487, "loc": { "start": { "line": 342, "column": 52 }, "end": { "line": 342, "column": 68 } }, "object": { "type": "MemberExpression", "start": 13471, "end": 13484, "loc": { "start": { "line": 342, "column": 52 }, "end": { "line": 342, "column": 65 } }, "object": { "type": "Identifier", "start": 13471, "end": 13478, "loc": { "start": { "line": 342, "column": 52 }, "end": { "line": 342, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 13479, "end": 13484, "loc": { "start": { "line": 342, "column": 60 }, "end": { "line": 342, "column": 65 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 13485, "end": 13486, "loc": { "start": { "line": 342, "column": 66 }, "end": { "line": 342, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 13488, "end": 13492, "loc": { "start": { "line": 342, "column": 69 }, "end": { "line": 342, "column": 73 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 13445, "end": 13469, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 342, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 13470 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 13504, "end": 13575, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 79 } }, "expression": { "type": "CallExpression", "start": 13504, "end": 13574, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 78 } }, "callee": { "type": "Identifier", "start": 13504, "end": 13510, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 13511, "end": 13541, "loc": { "start": { "line": 343, "column": 15 }, "end": { "line": 343, "column": 45 } }, "left": { "type": "Identifier", "start": 13511, "end": 13520, "loc": { "start": { "line": 343, "column": 15 }, "end": { "line": 343, "column": 24 }, "identifierName": "inputItem" }, "name": "inputItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 13532, "end": 13541, "loc": { "start": { "line": 343, "column": 36 }, "end": { "line": 343, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 13543, "end": 13573, "loc": { "start": { "line": 343, "column": 47 }, "end": { "line": 343, "column": 77 } }, "extra": { "rawValue": "Input for cut is not a shape", "raw": "\"Input for cut is not a shape\"" }, "value": "Input for cut is not a shape" } ] } }, { "type": "VariableDeclaration", "start": 13585, "end": 13630, "loc": { "start": { "line": 344, "column": 8 }, "end": { "line": 344, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13591, "end": 13629, "loc": { "start": { "line": 344, "column": 14 }, "end": { "line": 344, "column": 52 } }, "id": { "type": "Identifier", "start": 13591, "end": 13606, "loc": { "start": { "line": 344, "column": 14 }, "end": { "line": 344, "column": 29 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" }, "init": { "type": "MemberExpression", "start": 13609, "end": 13629, "loc": { "start": { "line": 344, "column": 32 }, "end": { "line": 344, "column": 52 } }, "object": { "type": "Identifier", "start": 13609, "end": 13618, "loc": { "start": { "line": 344, "column": 32 }, "end": { "line": 344, "column": 41 }, "identifierName": "inputItem" }, "name": "inputItem" }, "property": { "type": "Identifier", "start": 13619, "end": 13629, "loc": { "start": { "line": 344, "column": 42 }, "end": { "line": 344, "column": 52 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 13642, "end": 13730, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 96 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13648, "end": 13729, "loc": { "start": { "line": 346, "column": 14 }, "end": { "line": 346, "column": 95 } }, "id": { "type": "Identifier", "start": 13648, "end": 13662, "loc": { "start": { "line": 346, "column": 14 }, "end": { "line": 346, "column": 28 }, "identifierName": "cutDefinitions" }, "name": "cutDefinitions" }, "init": { "type": "CallExpression", "start": 13665, "end": 13729, "loc": { "start": { "line": 346, "column": 31 }, "end": { "line": 346, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 13665, "end": 13712, "loc": { "start": { "line": 346, "column": 31 }, "end": { "line": 346, "column": 78 } }, "object": { "type": "MemberExpression", "start": 13665, "end": 13693, "loc": { "start": { "line": 346, "column": 31 }, "end": { "line": 346, "column": 59 } }, "object": { "type": "MemberExpression", "start": 13665, "end": 13674, "loc": { "start": { "line": 346, "column": 31 }, "end": { "line": 346, "column": 40 } }, "object": { "type": "ThisExpression", "start": 13665, "end": 13669, "loc": { "start": { "line": 346, "column": 31 }, "end": { "line": 346, "column": 35 } } }, "property": { "type": "Identifier", "start": 13670, "end": 13674, "loc": { "start": { "line": 346, "column": 36 }, "end": { "line": 346, "column": 40 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13675, "end": 13693, "loc": { "start": { "line": 346, "column": 41 }, "end": { "line": 346, "column": 59 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 13694, "end": 13712, "loc": { "start": { "line": 346, "column": 60 }, "end": { "line": 346, "column": 78 }, "identifierName": "shapeActionCutHalf" }, "name": "shapeActionCutHalf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13713, "end": 13728, "loc": { "start": { "line": 346, "column": 79 }, "end": { "line": 346, "column": 94 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 13742, "end": 14114, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 356, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 13747, "end": 13756, "loc": { "start": { "line": 348, "column": 13 }, "end": { "line": 348, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13751, "end": 13756, "loc": { "start": { "line": 348, "column": 17 }, "end": { "line": 348, "column": 22 } }, "id": { "type": "Identifier", "start": 13751, "end": 13752, "loc": { "start": { "line": 348, "column": 17 }, "end": { "line": 348, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 13755, "end": 13756, "loc": { "start": { "line": 348, "column": 21 }, "end": { "line": 348, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 13758, "end": 13783, "loc": { "start": { "line": 348, "column": 24 }, "end": { "line": 348, "column": 49 } }, "left": { "type": "Identifier", "start": 13758, "end": 13759, "loc": { "start": { "line": 348, "column": 24 }, "end": { "line": 348, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 13762, "end": 13783, "loc": { "start": { "line": 348, "column": 28 }, "end": { "line": 348, "column": 49 } }, "object": { "type": "Identifier", "start": 13762, "end": 13776, "loc": { "start": { "line": 348, "column": 28 }, "end": { "line": 348, "column": 42 }, "identifierName": "cutDefinitions" }, "name": "cutDefinitions" }, "property": { "type": "Identifier", "start": 13777, "end": 13783, "loc": { "start": { "line": 348, "column": 43 }, "end": { "line": 348, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 13785, "end": 13788, "loc": { "start": { "line": 348, "column": 51 }, "end": { "line": 348, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 13787, "end": 13788, "loc": { "start": { "line": 348, "column": 53 }, "end": { "line": 348, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 13790, "end": 14114, "loc": { "start": { "line": 348, "column": 56 }, "end": { "line": 356, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 13805, "end": 13842, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13811, "end": 13841, "loc": { "start": { "line": 349, "column": 18 }, "end": { "line": 349, "column": 48 } }, "id": { "type": "Identifier", "start": 13811, "end": 13821, "loc": { "start": { "line": 349, "column": 18 }, "end": { "line": 349, "column": 28 }, "identifierName": "definition" }, "name": "definition" }, "init": { "type": "MemberExpression", "start": 13824, "end": 13841, "loc": { "start": { "line": 349, "column": 31 }, "end": { "line": 349, "column": 48 } }, "object": { "type": "Identifier", "start": 13824, "end": 13838, "loc": { "start": { "line": 349, "column": 31 }, "end": { "line": 349, "column": 45 }, "identifierName": "cutDefinitions" }, "name": "cutDefinitions" }, "property": { "type": "Identifier", "start": 13839, "end": 13840, "loc": { "start": { "line": 349, "column": 46 }, "end": { "line": 349, "column": 47 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 13856, "end": 14103, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 355, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13860, "end": 13889, "loc": { "start": { "line": 350, "column": 16 }, "end": { "line": 350, "column": 45 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13861, "end": 13889, "loc": { "start": { "line": 350, "column": 17 }, "end": { "line": 350, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 13861, "end": 13887, "loc": { "start": { "line": 350, "column": 17 }, "end": { "line": 350, "column": 43 } }, "object": { "type": "Identifier", "start": 13861, "end": 13871, "loc": { "start": { "line": 350, "column": 17 }, "end": { "line": 350, "column": 27 }, "identifierName": "definition" }, "name": "definition" }, "property": { "type": "Identifier", "start": 13872, "end": 13887, "loc": { "start": { "line": 350, "column": 28 }, "end": { "line": 350, "column": 43 }, "identifierName": "isEntirelyEmpty" }, "name": "isEntirelyEmpty" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13891, "end": 14103, "loc": { "start": { "line": 350, "column": 47 }, "end": { "line": 355, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13910, "end": 14088, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 354, "column": 19 } }, "expression": { "type": "CallExpression", "start": 13910, "end": 14087, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 354, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 13910, "end": 13931, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 351, "column": 37 } }, "object": { "type": "MemberExpression", "start": 13910, "end": 13926, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 351, "column": 32 } }, "object": { "type": "Identifier", "start": 13910, "end": 13917, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 351, "column": 23 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 13918, "end": 13926, "loc": { "start": { "line": 351, "column": 24 }, "end": { "line": 351, "column": 32 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 13927, "end": 13931, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 37 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 13932, "end": 14086, "loc": { "start": { "line": 351, "column": 38 }, "end": { "line": 354, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 13955, "end": 14028, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 352, "column": 93 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 13955, "end": 13959, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 352, "column": 24 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 13961, "end": 14028, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 13961, "end": 14016, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 81 } }, "object": { "type": "MemberExpression", "start": 13961, "end": 13989, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 54 } }, "object": { "type": "MemberExpression", "start": 13961, "end": 13970, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 35 } }, "object": { "type": "ThisExpression", "start": 13961, "end": 13965, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 30 } } }, "property": { "type": "Identifier", "start": 13966, "end": 13970, "loc": { "start": { "line": 352, "column": 31 }, "end": { "line": 352, "column": 35 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13971, "end": 13989, "loc": { "start": { "line": 352, "column": 36 }, "end": { "line": 352, "column": 54 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 13990, "end": 14016, "loc": { "start": { "line": 352, "column": 55 }, "end": { "line": 352, "column": 81 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14017, "end": 14027, "loc": { "start": { "line": 352, "column": 82 }, "end": { "line": 352, "column": 92 }, "identifierName": "definition" }, "name": "definition" } ] } }, { "type": "ObjectProperty", "start": 14051, "end": 14066, "loc": { "start": { "line": 353, "column": 20 }, "end": { "line": 353, "column": 35 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14051, "end": 14063, "loc": { "start": { "line": 353, "column": 20 }, "end": { "line": 353, "column": 32 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" }, "value": { "type": "Identifier", "start": 14065, "end": 14066, "loc": { "start": { "line": 353, "column": 34 }, "end": { "line": 353, "column": 35 }, "identifierName": "i" }, "name": "i" } } ] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 13318, "end": 13386, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 340, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14129, "end": 14197, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 361, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 14203, "end": 14937, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 378, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14203, "end": 14222, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 23 }, "identifierName": "process_CUTTER_QUAD" }, "name": "process_CUTTER_QUAD", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14223, "end": 14230, "loc": { "start": { "line": 362, "column": 24 }, "end": { "line": 362, "column": 31 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 14232, "end": 14937, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 378, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 14243, "end": 14310, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14249, "end": 14309, "loc": { "start": { "line": 363, "column": 14 }, "end": { "line": 363, "column": 74 } }, "id": { "type": "Identifier", "start": 14249, "end": 14258, "loc": { "start": { "line": 363, "column": 14 }, "end": { "line": 363, "column": 23 }, "identifierName": "inputItem" }, "name": "inputItem" }, "init": { "type": "MemberExpression", "start": 14287, "end": 14308, "loc": { "start": { "line": 363, "column": 52 }, "end": { "line": 363, "column": 73 } }, "object": { "type": "MemberExpression", "start": 14287, "end": 14303, "loc": { "start": { "line": 363, "column": 52 }, "end": { "line": 363, "column": 68 } }, "object": { "type": "MemberExpression", "start": 14287, "end": 14300, "loc": { "start": { "line": 363, "column": 52 }, "end": { "line": 363, "column": 65 } }, "object": { "type": "Identifier", "start": 14287, "end": 14294, "loc": { "start": { "line": 363, "column": 52 }, "end": { "line": 363, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 14295, "end": 14300, "loc": { "start": { "line": 363, "column": 60 }, "end": { "line": 363, "column": 65 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 14301, "end": 14302, "loc": { "start": { "line": 363, "column": 66 }, "end": { "line": 363, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 14304, "end": 14308, "loc": { "start": { "line": 363, "column": 69 }, "end": { "line": 363, "column": 73 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 14261, "end": 14285, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 14286 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 14320, "end": 14391, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 79 } }, "expression": { "type": "CallExpression", "start": 14320, "end": 14390, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 78 } }, "callee": { "type": "Identifier", "start": 14320, "end": 14326, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 14327, "end": 14357, "loc": { "start": { "line": 364, "column": 15 }, "end": { "line": 364, "column": 45 } }, "left": { "type": "Identifier", "start": 14327, "end": 14336, "loc": { "start": { "line": 364, "column": 15 }, "end": { "line": 364, "column": 24 }, "identifierName": "inputItem" }, "name": "inputItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 14348, "end": 14357, "loc": { "start": { "line": 364, "column": 36 }, "end": { "line": 364, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 14359, "end": 14389, "loc": { "start": { "line": 364, "column": 47 }, "end": { "line": 364, "column": 77 } }, "extra": { "rawValue": "Input for cut is not a shape", "raw": "\"Input for cut is not a shape\"" }, "value": "Input for cut is not a shape" } ] } }, { "type": "VariableDeclaration", "start": 14401, "end": 14446, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14407, "end": 14445, "loc": { "start": { "line": 365, "column": 14 }, "end": { "line": 365, "column": 52 } }, "id": { "type": "Identifier", "start": 14407, "end": 14422, "loc": { "start": { "line": 365, "column": 14 }, "end": { "line": 365, "column": 29 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" }, "init": { "type": "MemberExpression", "start": 14425, "end": 14445, "loc": { "start": { "line": 365, "column": 32 }, "end": { "line": 365, "column": 52 } }, "object": { "type": "Identifier", "start": 14425, "end": 14434, "loc": { "start": { "line": 365, "column": 32 }, "end": { "line": 365, "column": 41 }, "identifierName": "inputItem" }, "name": "inputItem" }, "property": { "type": "Identifier", "start": 14435, "end": 14445, "loc": { "start": { "line": 365, "column": 42 }, "end": { "line": 365, "column": 52 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 14458, "end": 14546, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 96 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14464, "end": 14545, "loc": { "start": { "line": 367, "column": 14 }, "end": { "line": 367, "column": 95 } }, "id": { "type": "Identifier", "start": 14464, "end": 14478, "loc": { "start": { "line": 367, "column": 14 }, "end": { "line": 367, "column": 28 }, "identifierName": "cutDefinitions" }, "name": "cutDefinitions" }, "init": { "type": "CallExpression", "start": 14481, "end": 14545, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 14481, "end": 14528, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 78 } }, "object": { "type": "MemberExpression", "start": 14481, "end": 14509, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 59 } }, "object": { "type": "MemberExpression", "start": 14481, "end": 14490, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 40 } }, "object": { "type": "ThisExpression", "start": 14481, "end": 14485, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 35 } } }, "property": { "type": "Identifier", "start": 14486, "end": 14490, "loc": { "start": { "line": 367, "column": 36 }, "end": { "line": 367, "column": 40 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 14491, "end": 14509, "loc": { "start": { "line": 367, "column": 41 }, "end": { "line": 367, "column": 59 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 14510, "end": 14528, "loc": { "start": { "line": 367, "column": 60 }, "end": { "line": 367, "column": 78 }, "identifierName": "shapeActionCutQuad" }, "name": "shapeActionCutQuad" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14529, "end": 14544, "loc": { "start": { "line": 367, "column": 79 }, "end": { "line": 367, "column": 94 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 14558, "end": 14930, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 377, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 14563, "end": 14572, "loc": { "start": { "line": 369, "column": 13 }, "end": { "line": 369, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14567, "end": 14572, "loc": { "start": { "line": 369, "column": 17 }, "end": { "line": 369, "column": 22 } }, "id": { "type": "Identifier", "start": 14567, "end": 14568, "loc": { "start": { "line": 369, "column": 17 }, "end": { "line": 369, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 14571, "end": 14572, "loc": { "start": { "line": 369, "column": 21 }, "end": { "line": 369, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 14574, "end": 14599, "loc": { "start": { "line": 369, "column": 24 }, "end": { "line": 369, "column": 49 } }, "left": { "type": "Identifier", "start": 14574, "end": 14575, "loc": { "start": { "line": 369, "column": 24 }, "end": { "line": 369, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 14578, "end": 14599, "loc": { "start": { "line": 369, "column": 28 }, "end": { "line": 369, "column": 49 } }, "object": { "type": "Identifier", "start": 14578, "end": 14592, "loc": { "start": { "line": 369, "column": 28 }, "end": { "line": 369, "column": 42 }, "identifierName": "cutDefinitions" }, "name": "cutDefinitions" }, "property": { "type": "Identifier", "start": 14593, "end": 14599, "loc": { "start": { "line": 369, "column": 43 }, "end": { "line": 369, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 14601, "end": 14604, "loc": { "start": { "line": 369, "column": 51 }, "end": { "line": 369, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 14603, "end": 14604, "loc": { "start": { "line": 369, "column": 53 }, "end": { "line": 369, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 14606, "end": 14930, "loc": { "start": { "line": 369, "column": 56 }, "end": { "line": 377, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 14621, "end": 14658, "loc": { "start": { "line": 370, "column": 12 }, "end": { "line": 370, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14627, "end": 14657, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 48 } }, "id": { "type": "Identifier", "start": 14627, "end": 14637, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 28 }, "identifierName": "definition" }, "name": "definition" }, "init": { "type": "MemberExpression", "start": 14640, "end": 14657, "loc": { "start": { "line": 370, "column": 31 }, "end": { "line": 370, "column": 48 } }, "object": { "type": "Identifier", "start": 14640, "end": 14654, "loc": { "start": { "line": 370, "column": 31 }, "end": { "line": 370, "column": 45 }, "identifierName": "cutDefinitions" }, "name": "cutDefinitions" }, "property": { "type": "Identifier", "start": 14655, "end": 14656, "loc": { "start": { "line": 370, "column": 46 }, "end": { "line": 370, "column": 47 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 14672, "end": 14919, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 376, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14676, "end": 14705, "loc": { "start": { "line": 371, "column": 16 }, "end": { "line": 371, "column": 45 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14677, "end": 14705, "loc": { "start": { "line": 371, "column": 17 }, "end": { "line": 371, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 14677, "end": 14703, "loc": { "start": { "line": 371, "column": 17 }, "end": { "line": 371, "column": 43 } }, "object": { "type": "Identifier", "start": 14677, "end": 14687, "loc": { "start": { "line": 371, "column": 17 }, "end": { "line": 371, "column": 27 }, "identifierName": "definition" }, "name": "definition" }, "property": { "type": "Identifier", "start": 14688, "end": 14703, "loc": { "start": { "line": 371, "column": 28 }, "end": { "line": 371, "column": 43 }, "identifierName": "isEntirelyEmpty" }, "name": "isEntirelyEmpty" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14707, "end": 14919, "loc": { "start": { "line": 371, "column": 47 }, "end": { "line": 376, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14726, "end": 14904, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 375, "column": 19 } }, "expression": { "type": "CallExpression", "start": 14726, "end": 14903, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 375, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 14726, "end": 14747, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 372, "column": 37 } }, "object": { "type": "MemberExpression", "start": 14726, "end": 14742, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 372, "column": 32 } }, "object": { "type": "Identifier", "start": 14726, "end": 14733, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 372, "column": 23 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 14734, "end": 14742, "loc": { "start": { "line": 372, "column": 24 }, "end": { "line": 372, "column": 32 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 14743, "end": 14747, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 37 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14748, "end": 14902, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 375, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 14771, "end": 14844, "loc": { "start": { "line": 373, "column": 20 }, "end": { "line": 373, "column": 93 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14771, "end": 14775, "loc": { "start": { "line": 373, "column": 20 }, "end": { "line": 373, "column": 24 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 14777, "end": 14844, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 14777, "end": 14832, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 81 } }, "object": { "type": "MemberExpression", "start": 14777, "end": 14805, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 54 } }, "object": { "type": "MemberExpression", "start": 14777, "end": 14786, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 35 } }, "object": { "type": "ThisExpression", "start": 14777, "end": 14781, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 30 } } }, "property": { "type": "Identifier", "start": 14782, "end": 14786, "loc": { "start": { "line": 373, "column": 31 }, "end": { "line": 373, "column": 35 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 14787, "end": 14805, "loc": { "start": { "line": 373, "column": 36 }, "end": { "line": 373, "column": 54 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 14806, "end": 14832, "loc": { "start": { "line": 373, "column": 55 }, "end": { "line": 373, "column": 81 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14833, "end": 14843, "loc": { "start": { "line": 373, "column": 82 }, "end": { "line": 373, "column": 92 }, "identifierName": "definition" }, "name": "definition" } ] } }, { "type": "ObjectProperty", "start": 14867, "end": 14882, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "column": 35 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14867, "end": 14879, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "column": 32 }, "identifierName": "requiredSlot" }, "name": "requiredSlot" }, "value": { "type": "Identifier", "start": 14881, "end": 14882, "loc": { "start": { "line": 374, "column": 34 }, "end": { "line": 374, "column": 35 }, "identifierName": "i" }, "name": "i" } } ] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14129, "end": 14197, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 361, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14945, "end": 15013, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 382, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 15019, "end": 15515, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 392, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15019, "end": 15034, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 383, "column": 19 }, "identifierName": "process_ROTATER" }, "name": "process_ROTATER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15035, "end": 15042, "loc": { "start": { "line": 383, "column": 20 }, "end": { "line": 383, "column": 27 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 15044, "end": 15515, "loc": { "start": { "line": 383, "column": 29 }, "end": { "line": 392, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15055, "end": 15122, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15061, "end": 15121, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 74 } }, "id": { "type": "Identifier", "start": 15061, "end": 15070, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 23 }, "identifierName": "inputItem" }, "name": "inputItem" }, "init": { "type": "MemberExpression", "start": 15099, "end": 15120, "loc": { "start": { "line": 384, "column": 52 }, "end": { "line": 384, "column": 73 } }, "object": { "type": "MemberExpression", "start": 15099, "end": 15115, "loc": { "start": { "line": 384, "column": 52 }, "end": { "line": 384, "column": 68 } }, "object": { "type": "MemberExpression", "start": 15099, "end": 15112, "loc": { "start": { "line": 384, "column": 52 }, "end": { "line": 384, "column": 65 } }, "object": { "type": "Identifier", "start": 15099, "end": 15106, "loc": { "start": { "line": 384, "column": 52 }, "end": { "line": 384, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 15107, "end": 15112, "loc": { "start": { "line": 384, "column": 60 }, "end": { "line": 384, "column": 65 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 15113, "end": 15114, "loc": { "start": { "line": 384, "column": 66 }, "end": { "line": 384, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 15116, "end": 15120, "loc": { "start": { "line": 384, "column": 69 }, "end": { "line": 384, "column": 73 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 15073, "end": 15097, "loc": { "start": { "line": 384, "column": 26 }, "end": { "line": 384, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 15098 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 15132, "end": 15208, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 84 } }, "expression": { "type": "CallExpression", "start": 15132, "end": 15207, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 83 } }, "callee": { "type": "Identifier", "start": 15132, "end": 15138, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 15139, "end": 15169, "loc": { "start": { "line": 385, "column": 15 }, "end": { "line": 385, "column": 45 } }, "left": { "type": "Identifier", "start": 15139, "end": 15148, "loc": { "start": { "line": 385, "column": 15 }, "end": { "line": 385, "column": 24 }, "identifierName": "inputItem" }, "name": "inputItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 15160, "end": 15169, "loc": { "start": { "line": 385, "column": 36 }, "end": { "line": 385, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 15171, "end": 15206, "loc": { "start": { "line": 385, "column": 47 }, "end": { "line": 385, "column": 82 } }, "extra": { "rawValue": "Input for rotation is not a shape", "raw": "\"Input for rotation is not a shape\"" }, "value": "Input for rotation is not a shape" } ] } }, { "type": "VariableDeclaration", "start": 15218, "end": 15263, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 386, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15224, "end": 15262, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 52 } }, "id": { "type": "Identifier", "start": 15224, "end": 15239, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 29 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" }, "init": { "type": "MemberExpression", "start": 15242, "end": 15262, "loc": { "start": { "line": 386, "column": 32 }, "end": { "line": 386, "column": 52 } }, "object": { "type": "Identifier", "start": 15242, "end": 15251, "loc": { "start": { "line": 386, "column": 32 }, "end": { "line": 386, "column": 41 }, "identifierName": "inputItem" }, "name": "inputItem" }, "property": { "type": "Identifier", "start": 15252, "end": 15262, "loc": { "start": { "line": 386, "column": 42 }, "end": { "line": 386, "column": 52 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 15275, "end": 15367, "loc": { "start": { "line": 388, "column": 8 }, "end": { "line": 388, "column": 100 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15281, "end": 15366, "loc": { "start": { "line": 388, "column": 14 }, "end": { "line": 388, "column": 99 } }, "id": { "type": "Identifier", "start": 15281, "end": 15298, "loc": { "start": { "line": 388, "column": 14 }, "end": { "line": 388, "column": 31 }, "identifierName": "rotatedDefinition" }, "name": "rotatedDefinition" }, "init": { "type": "CallExpression", "start": 15301, "end": 15366, "loc": { "start": { "line": 388, "column": 34 }, "end": { "line": 388, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 15301, "end": 15349, "loc": { "start": { "line": 388, "column": 34 }, "end": { "line": 388, "column": 82 } }, "object": { "type": "MemberExpression", "start": 15301, "end": 15329, "loc": { "start": { "line": 388, "column": 34 }, "end": { "line": 388, "column": 62 } }, "object": { "type": "MemberExpression", "start": 15301, "end": 15310, "loc": { "start": { "line": 388, "column": 34 }, "end": { "line": 388, "column": 43 } }, "object": { "type": "ThisExpression", "start": 15301, "end": 15305, "loc": { "start": { "line": 388, "column": 34 }, "end": { "line": 388, "column": 38 } } }, "property": { "type": "Identifier", "start": 15306, "end": 15310, "loc": { "start": { "line": 388, "column": 39 }, "end": { "line": 388, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 15311, "end": 15329, "loc": { "start": { "line": 388, "column": 44 }, "end": { "line": 388, "column": 62 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 15330, "end": 15349, "loc": { "start": { "line": 388, "column": 63 }, "end": { "line": 388, "column": 82 }, "identifierName": "shapeActionRotateCW" }, "name": "shapeActionRotateCW" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15350, "end": 15365, "loc": { "start": { "line": 388, "column": 83 }, "end": { "line": 388, "column": 98 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 15377, "end": 15508, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 391, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15377, "end": 15507, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 391, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15377, "end": 15398, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 29 } }, "object": { "type": "MemberExpression", "start": 15377, "end": 15393, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 24 } }, "object": { "type": "Identifier", "start": 15377, "end": 15384, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 15385, "end": 15393, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 15394, "end": 15398, "loc": { "start": { "line": 389, "column": 25 }, "end": { "line": 389, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 15399, "end": 15506, "loc": { "start": { "line": 389, "column": 30 }, "end": { "line": 391, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 15414, "end": 15494, "loc": { "start": { "line": 390, "column": 12 }, "end": { "line": 390, "column": 92 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15414, "end": 15418, "loc": { "start": { "line": 390, "column": 12 }, "end": { "line": 390, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 15420, "end": 15494, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 15420, "end": 15475, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 73 } }, "object": { "type": "MemberExpression", "start": 15420, "end": 15448, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 46 } }, "object": { "type": "MemberExpression", "start": 15420, "end": 15429, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 27 } }, "object": { "type": "ThisExpression", "start": 15420, "end": 15424, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 22 } } }, "property": { "type": "Identifier", "start": 15425, "end": 15429, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 15430, "end": 15448, "loc": { "start": { "line": 390, "column": 28 }, "end": { "line": 390, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 15449, "end": 15475, "loc": { "start": { "line": 390, "column": 47 }, "end": { "line": 390, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15476, "end": 15493, "loc": { "start": { "line": 390, "column": 74 }, "end": { "line": 390, "column": 91 }, "identifierName": "rotatedDefinition" }, "name": "rotatedDefinition" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14945, "end": 15013, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 382, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 15523, "end": 15591, "loc": { "start": { "line": 394, "column": 4 }, "end": { "line": 396, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 15597, "end": 16098, "loc": { "start": { "line": 397, "column": 4 }, "end": { "line": 406, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15597, "end": 15616, "loc": { "start": { "line": 397, "column": 4 }, "end": { "line": 397, "column": 23 }, "identifierName": "process_ROTATER_CCW" }, "name": "process_ROTATER_CCW", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15617, "end": 15624, "loc": { "start": { "line": 397, "column": 24 }, "end": { "line": 397, "column": 31 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 15626, "end": 16098, "loc": { "start": { "line": 397, "column": 33 }, "end": { "line": 406, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15637, "end": 15704, "loc": { "start": { "line": 398, "column": 8 }, "end": { "line": 398, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15643, "end": 15703, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 74 } }, "id": { "type": "Identifier", "start": 15643, "end": 15652, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 23 }, "identifierName": "inputItem" }, "name": "inputItem" }, "init": { "type": "MemberExpression", "start": 15681, "end": 15702, "loc": { "start": { "line": 398, "column": 52 }, "end": { "line": 398, "column": 73 } }, "object": { "type": "MemberExpression", "start": 15681, "end": 15697, "loc": { "start": { "line": 398, "column": 52 }, "end": { "line": 398, "column": 68 } }, "object": { "type": "MemberExpression", "start": 15681, "end": 15694, "loc": { "start": { "line": 398, "column": 52 }, "end": { "line": 398, "column": 65 } }, "object": { "type": "Identifier", "start": 15681, "end": 15688, "loc": { "start": { "line": 398, "column": 52 }, "end": { "line": 398, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 15689, "end": 15694, "loc": { "start": { "line": 398, "column": 60 }, "end": { "line": 398, "column": 65 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 15695, "end": 15696, "loc": { "start": { "line": 398, "column": 66 }, "end": { "line": 398, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 15698, "end": 15702, "loc": { "start": { "line": 398, "column": 69 }, "end": { "line": 398, "column": 73 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 15655, "end": 15679, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 15680 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 15714, "end": 15790, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 399, "column": 84 } }, "expression": { "type": "CallExpression", "start": 15714, "end": 15789, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 399, "column": 83 } }, "callee": { "type": "Identifier", "start": 15714, "end": 15720, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 399, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 15721, "end": 15751, "loc": { "start": { "line": 399, "column": 15 }, "end": { "line": 399, "column": 45 } }, "left": { "type": "Identifier", "start": 15721, "end": 15730, "loc": { "start": { "line": 399, "column": 15 }, "end": { "line": 399, "column": 24 }, "identifierName": "inputItem" }, "name": "inputItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 15742, "end": 15751, "loc": { "start": { "line": 399, "column": 36 }, "end": { "line": 399, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 15753, "end": 15788, "loc": { "start": { "line": 399, "column": 47 }, "end": { "line": 399, "column": 82 } }, "extra": { "rawValue": "Input for rotation is not a shape", "raw": "\"Input for rotation is not a shape\"" }, "value": "Input for rotation is not a shape" } ] } }, { "type": "VariableDeclaration", "start": 15800, "end": 15845, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15806, "end": 15844, "loc": { "start": { "line": 400, "column": 14 }, "end": { "line": 400, "column": 52 } }, "id": { "type": "Identifier", "start": 15806, "end": 15821, "loc": { "start": { "line": 400, "column": 14 }, "end": { "line": 400, "column": 29 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" }, "init": { "type": "MemberExpression", "start": 15824, "end": 15844, "loc": { "start": { "line": 400, "column": 32 }, "end": { "line": 400, "column": 52 } }, "object": { "type": "Identifier", "start": 15824, "end": 15833, "loc": { "start": { "line": 400, "column": 32 }, "end": { "line": 400, "column": 41 }, "identifierName": "inputItem" }, "name": "inputItem" }, "property": { "type": "Identifier", "start": 15834, "end": 15844, "loc": { "start": { "line": 400, "column": 42 }, "end": { "line": 400, "column": 52 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 15857, "end": 15950, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15863, "end": 15949, "loc": { "start": { "line": 402, "column": 14 }, "end": { "line": 402, "column": 100 } }, "id": { "type": "Identifier", "start": 15863, "end": 15880, "loc": { "start": { "line": 402, "column": 14 }, "end": { "line": 402, "column": 31 }, "identifierName": "rotatedDefinition" }, "name": "rotatedDefinition" }, "init": { "type": "CallExpression", "start": 15883, "end": 15949, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15883, "end": 15932, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 83 } }, "object": { "type": "MemberExpression", "start": 15883, "end": 15911, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 62 } }, "object": { "type": "MemberExpression", "start": 15883, "end": 15892, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 43 } }, "object": { "type": "ThisExpression", "start": 15883, "end": 15887, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 38 } } }, "property": { "type": "Identifier", "start": 15888, "end": 15892, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 15893, "end": 15911, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 62 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 15912, "end": 15932, "loc": { "start": { "line": 402, "column": 63 }, "end": { "line": 402, "column": 83 }, "identifierName": "shapeActionRotateCCW" }, "name": "shapeActionRotateCCW" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15933, "end": 15948, "loc": { "start": { "line": 402, "column": 84 }, "end": { "line": 402, "column": 99 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 15960, "end": 16091, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 405, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15960, "end": 16090, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 405, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15960, "end": 15981, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 403, "column": 29 } }, "object": { "type": "MemberExpression", "start": 15960, "end": 15976, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 403, "column": 24 } }, "object": { "type": "Identifier", "start": 15960, "end": 15967, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 403, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 15968, "end": 15976, "loc": { "start": { "line": 403, "column": 16 }, "end": { "line": 403, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 15977, "end": 15981, "loc": { "start": { "line": 403, "column": 25 }, "end": { "line": 403, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 15982, "end": 16089, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 405, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 15997, "end": 16077, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 92 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15997, "end": 16001, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 16003, "end": 16077, "loc": { "start": { "line": 404, "column": 18 }, "end": { "line": 404, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 16003, "end": 16058, "loc": { "start": { "line": 404, "column": 18 }, "end": { "line": 404, "column": 73 } }, "object": { "type": "MemberExpression", "start": 16003, "end": 16031, "loc": { "start": { "line": 404, "column": 18 }, "end": { "line": 404, "column": 46 } }, "object": { "type": "MemberExpression", "start": 16003, "end": 16012, "loc": { "start": { "line": 404, "column": 18 }, "end": { "line": 404, "column": 27 } }, "object": { "type": "ThisExpression", "start": 16003, "end": 16007, "loc": { "start": { "line": 404, "column": 18 }, "end": { "line": 404, "column": 22 } } }, "property": { "type": "Identifier", "start": 16008, "end": 16012, "loc": { "start": { "line": 404, "column": 23 }, "end": { "line": 404, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16013, "end": 16031, "loc": { "start": { "line": 404, "column": 28 }, "end": { "line": 404, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 16032, "end": 16058, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16059, "end": 16076, "loc": { "start": { "line": 404, "column": 74 }, "end": { "line": 404, "column": 91 }, "identifierName": "rotatedDefinition" }, "name": "rotatedDefinition" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 15523, "end": 15591, "loc": { "start": { "line": 394, "column": 4 }, "end": { "line": 396, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16106, "end": 16174, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 410, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 16180, "end": 16681, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 420, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16180, "end": 16199, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 23 }, "identifierName": "process_ROTATER_180" }, "name": "process_ROTATER_180", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16200, "end": 16207, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 31 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 16209, "end": 16681, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 420, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16220, "end": 16287, "loc": { "start": { "line": 412, "column": 8 }, "end": { "line": 412, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16226, "end": 16286, "loc": { "start": { "line": 412, "column": 14 }, "end": { "line": 412, "column": 74 } }, "id": { "type": "Identifier", "start": 16226, "end": 16235, "loc": { "start": { "line": 412, "column": 14 }, "end": { "line": 412, "column": 23 }, "identifierName": "inputItem" }, "name": "inputItem" }, "init": { "type": "MemberExpression", "start": 16264, "end": 16285, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 73 } }, "object": { "type": "MemberExpression", "start": 16264, "end": 16280, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 68 } }, "object": { "type": "MemberExpression", "start": 16264, "end": 16277, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 65 } }, "object": { "type": "Identifier", "start": 16264, "end": 16271, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 16272, "end": 16277, "loc": { "start": { "line": 412, "column": 60 }, "end": { "line": 412, "column": 65 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 16278, "end": 16279, "loc": { "start": { "line": 412, "column": 66 }, "end": { "line": 412, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 16281, "end": 16285, "loc": { "start": { "line": 412, "column": 69 }, "end": { "line": 412, "column": 73 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16238, "end": 16262, "loc": { "start": { "line": 412, "column": 26 }, "end": { "line": 412, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 16263 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 16297, "end": 16373, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 84 } }, "expression": { "type": "CallExpression", "start": 16297, "end": 16372, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 83 } }, "callee": { "type": "Identifier", "start": 16297, "end": 16303, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 16304, "end": 16334, "loc": { "start": { "line": 413, "column": 15 }, "end": { "line": 413, "column": 45 } }, "left": { "type": "Identifier", "start": 16304, "end": 16313, "loc": { "start": { "line": 413, "column": 15 }, "end": { "line": 413, "column": 24 }, "identifierName": "inputItem" }, "name": "inputItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 16325, "end": 16334, "loc": { "start": { "line": 413, "column": 36 }, "end": { "line": 413, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 16336, "end": 16371, "loc": { "start": { "line": 413, "column": 47 }, "end": { "line": 413, "column": 82 } }, "extra": { "rawValue": "Input for rotation is not a shape", "raw": "\"Input for rotation is not a shape\"" }, "value": "Input for rotation is not a shape" } ] } }, { "type": "VariableDeclaration", "start": 16383, "end": 16428, "loc": { "start": { "line": 414, "column": 8 }, "end": { "line": 414, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16389, "end": 16427, "loc": { "start": { "line": 414, "column": 14 }, "end": { "line": 414, "column": 52 } }, "id": { "type": "Identifier", "start": 16389, "end": 16404, "loc": { "start": { "line": 414, "column": 14 }, "end": { "line": 414, "column": 29 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" }, "init": { "type": "MemberExpression", "start": 16407, "end": 16427, "loc": { "start": { "line": 414, "column": 32 }, "end": { "line": 414, "column": 52 } }, "object": { "type": "Identifier", "start": 16407, "end": 16416, "loc": { "start": { "line": 414, "column": 32 }, "end": { "line": 414, "column": 41 }, "identifierName": "inputItem" }, "name": "inputItem" }, "property": { "type": "Identifier", "start": 16417, "end": 16427, "loc": { "start": { "line": 414, "column": 42 }, "end": { "line": 414, "column": 52 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 16440, "end": 16533, "loc": { "start": { "line": 416, "column": 8 }, "end": { "line": 416, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16446, "end": 16532, "loc": { "start": { "line": 416, "column": 14 }, "end": { "line": 416, "column": 100 } }, "id": { "type": "Identifier", "start": 16446, "end": 16463, "loc": { "start": { "line": 416, "column": 14 }, "end": { "line": 416, "column": 31 }, "identifierName": "rotatedDefinition" }, "name": "rotatedDefinition" }, "init": { "type": "CallExpression", "start": 16466, "end": 16532, "loc": { "start": { "line": 416, "column": 34 }, "end": { "line": 416, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 16466, "end": 16515, "loc": { "start": { "line": 416, "column": 34 }, "end": { "line": 416, "column": 83 } }, "object": { "type": "MemberExpression", "start": 16466, "end": 16494, "loc": { "start": { "line": 416, "column": 34 }, "end": { "line": 416, "column": 62 } }, "object": { "type": "MemberExpression", "start": 16466, "end": 16475, "loc": { "start": { "line": 416, "column": 34 }, "end": { "line": 416, "column": 43 } }, "object": { "type": "ThisExpression", "start": 16466, "end": 16470, "loc": { "start": { "line": 416, "column": 34 }, "end": { "line": 416, "column": 38 } } }, "property": { "type": "Identifier", "start": 16471, "end": 16475, "loc": { "start": { "line": 416, "column": 39 }, "end": { "line": 416, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16476, "end": 16494, "loc": { "start": { "line": 416, "column": 44 }, "end": { "line": 416, "column": 62 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 16495, "end": 16515, "loc": { "start": { "line": 416, "column": 63 }, "end": { "line": 416, "column": 83 }, "identifierName": "shapeActionRotate180" }, "name": "shapeActionRotate180" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16516, "end": 16531, "loc": { "start": { "line": 416, "column": 84 }, "end": { "line": 416, "column": 99 }, "identifierName": "inputDefinition" }, "name": "inputDefinition" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 16543, "end": 16674, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "column": 11 } }, "expression": { "type": "CallExpression", "start": 16543, "end": 16673, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 16543, "end": 16564, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 29 } }, "object": { "type": "MemberExpression", "start": 16543, "end": 16559, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 24 } }, "object": { "type": "Identifier", "start": 16543, "end": 16550, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 16551, "end": 16559, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 16560, "end": 16564, "loc": { "start": { "line": 417, "column": 25 }, "end": { "line": 417, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 16565, "end": 16672, "loc": { "start": { "line": 417, "column": 30 }, "end": { "line": 419, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 16580, "end": 16660, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 92 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 16580, "end": 16584, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 16586, "end": 16660, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 16586, "end": 16641, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 73 } }, "object": { "type": "MemberExpression", "start": 16586, "end": 16614, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 46 } }, "object": { "type": "MemberExpression", "start": 16586, "end": 16595, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 27 } }, "object": { "type": "ThisExpression", "start": 16586, "end": 16590, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 22 } } }, "property": { "type": "Identifier", "start": 16591, "end": 16595, "loc": { "start": { "line": 418, "column": 23 }, "end": { "line": 418, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16596, "end": 16614, "loc": { "start": { "line": 418, "column": 28 }, "end": { "line": 418, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 16615, "end": 16641, "loc": { "start": { "line": 418, "column": 47 }, "end": { "line": 418, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16642, "end": 16659, "loc": { "start": { "line": 418, "column": 74 }, "end": { "line": 418, "column": 91 }, "identifierName": "rotatedDefinition" }, "name": "rotatedDefinition" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16106, "end": 16174, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 410, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16689, "end": 16757, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 424, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 16763, "end": 17438, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 439, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16763, "end": 16778, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 425, "column": 19 }, "identifierName": "process_STACKER" }, "name": "process_STACKER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16779, "end": 16786, "loc": { "start": { "line": 425, "column": 20 }, "end": { "line": 425, "column": 27 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 16788, "end": 17438, "loc": { "start": { "line": 425, "column": 29 }, "end": { "line": 439, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16799, "end": 16867, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16805, "end": 16866, "loc": { "start": { "line": 426, "column": 14 }, "end": { "line": 426, "column": 75 } }, "id": { "type": "Identifier", "start": 16805, "end": 16814, "loc": { "start": { "line": 426, "column": 14 }, "end": { "line": 426, "column": 23 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "init": { "type": "MemberExpression", "start": 16843, "end": 16865, "loc": { "start": { "line": 426, "column": 52 }, "end": { "line": 426, "column": 74 } }, "object": { "type": "MemberExpression", "start": 16843, "end": 16862, "loc": { "start": { "line": 426, "column": 52 }, "end": { "line": 426, "column": 71 } }, "object": { "type": "Identifier", "start": 16843, "end": 16850, "loc": { "start": { "line": 426, "column": 52 }, "end": { "line": 426, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 16851, "end": 16862, "loc": { "start": { "line": 426, "column": 60 }, "end": { "line": 426, "column": 71 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 16863, "end": 16864, "loc": { "start": { "line": 426, "column": 72 }, "end": { "line": 426, "column": 73 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16817, "end": 16841, "loc": { "start": { "line": 426, "column": 26 }, "end": { "line": 426, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 16842 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 16877, "end": 16945, "loc": { "start": { "line": 427, "column": 8 }, "end": { "line": 427, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16883, "end": 16944, "loc": { "start": { "line": 427, "column": 14 }, "end": { "line": 427, "column": 75 } }, "id": { "type": "Identifier", "start": 16883, "end": 16892, "loc": { "start": { "line": 427, "column": 14 }, "end": { "line": 427, "column": 23 }, "identifierName": "upperItem" }, "name": "upperItem" }, "init": { "type": "MemberExpression", "start": 16921, "end": 16943, "loc": { "start": { "line": 427, "column": 52 }, "end": { "line": 427, "column": 74 } }, "object": { "type": "MemberExpression", "start": 16921, "end": 16940, "loc": { "start": { "line": 427, "column": 52 }, "end": { "line": 427, "column": 71 } }, "object": { "type": "Identifier", "start": 16921, "end": 16928, "loc": { "start": { "line": 427, "column": 52 }, "end": { "line": 427, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 16929, "end": 16940, "loc": { "start": { "line": 427, "column": 60 }, "end": { "line": 427, "column": 71 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 16941, "end": 16942, "loc": { "start": { "line": 427, "column": 72 }, "end": { "line": 427, "column": 73 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16895, "end": 16919, "loc": { "start": { "line": 427, "column": 26 }, "end": { "line": 427, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 16920 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 16957, "end": 17036, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 87 } }, "expression": { "type": "CallExpression", "start": 16957, "end": 17035, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 86 } }, "callee": { "type": "Identifier", "start": 16957, "end": 16963, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 16964, "end": 16994, "loc": { "start": { "line": 429, "column": 15 }, "end": { "line": 429, "column": 45 } }, "left": { "type": "Identifier", "start": 16964, "end": 16973, "loc": { "start": { "line": 429, "column": 15 }, "end": { "line": 429, "column": 24 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 16985, "end": 16994, "loc": { "start": { "line": 429, "column": 36 }, "end": { "line": 429, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 16996, "end": 17034, "loc": { "start": { "line": 429, "column": 47 }, "end": { "line": 429, "column": 85 } }, "extra": { "rawValue": "Input for lower stack is not a shape", "raw": "\"Input for lower stack is not a shape\"" }, "value": "Input for lower stack is not a shape" } ] } }, { "type": "ExpressionStatement", "start": 17046, "end": 17125, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 87 } }, "expression": { "type": "CallExpression", "start": 17046, "end": 17124, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 86 } }, "callee": { "type": "Identifier", "start": 17046, "end": 17052, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 17053, "end": 17083, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 45 } }, "left": { "type": "Identifier", "start": 17053, "end": 17062, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 24 }, "identifierName": "upperItem" }, "name": "upperItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 17074, "end": 17083, "loc": { "start": { "line": 430, "column": 36 }, "end": { "line": 430, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 17085, "end": 17123, "loc": { "start": { "line": 430, "column": 47 }, "end": { "line": 430, "column": 85 } }, "extra": { "rawValue": "Input for upper stack is not a shape", "raw": "\"Input for upper stack is not a shape\"" }, "value": "Input for upper stack is not a shape" } ] } }, { "type": "VariableDeclaration", "start": 17137, "end": 17290, "loc": { "start": { "line": 432, "column": 8 }, "end": { "line": 435, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17143, "end": 17289, "loc": { "start": { "line": 432, "column": 14 }, "end": { "line": 435, "column": 9 } }, "id": { "type": "Identifier", "start": 17143, "end": 17160, "loc": { "start": { "line": 432, "column": 14 }, "end": { "line": 432, "column": 31 }, "identifierName": "stackedDefinition" }, "name": "stackedDefinition" }, "init": { "type": "CallExpression", "start": 17163, "end": 17289, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 435, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 17163, "end": 17208, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 432, "column": 79 } }, "object": { "type": "MemberExpression", "start": 17163, "end": 17191, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 432, "column": 62 } }, "object": { "type": "MemberExpression", "start": 17163, "end": 17172, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 432, "column": 43 } }, "object": { "type": "ThisExpression", "start": 17163, "end": 17167, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 432, "column": 38 } } }, "property": { "type": "Identifier", "start": 17168, "end": 17172, "loc": { "start": { "line": 432, "column": 39 }, "end": { "line": 432, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17173, "end": 17191, "loc": { "start": { "line": 432, "column": 44 }, "end": { "line": 432, "column": 62 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 17192, "end": 17208, "loc": { "start": { "line": 432, "column": 63 }, "end": { "line": 432, "column": 79 }, "identifierName": "shapeActionStack" }, "name": "shapeActionStack" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 17223, "end": 17243, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 32 } }, "object": { "type": "Identifier", "start": 17223, "end": 17232, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 21 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "property": { "type": "Identifier", "start": 17233, "end": 17243, "loc": { "start": { "line": 433, "column": 22 }, "end": { "line": 433, "column": 32 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, { "type": "MemberExpression", "start": 17258, "end": 17278, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 32 } }, "object": { "type": "Identifier", "start": 17258, "end": 17267, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 21 }, "identifierName": "upperItem" }, "name": "upperItem" }, "property": { "type": "Identifier", "start": 17268, "end": 17278, "loc": { "start": { "line": 434, "column": 22 }, "end": { "line": 434, "column": 32 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 17300, "end": 17431, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 438, "column": 11 } }, "expression": { "type": "CallExpression", "start": 17300, "end": 17430, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 438, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 17300, "end": 17321, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 29 } }, "object": { "type": "MemberExpression", "start": 17300, "end": 17316, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 24 } }, "object": { "type": "Identifier", "start": 17300, "end": 17307, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 17308, "end": 17316, "loc": { "start": { "line": 436, "column": 16 }, "end": { "line": 436, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 17317, "end": 17321, "loc": { "start": { "line": 436, "column": 25 }, "end": { "line": 436, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 17322, "end": 17429, "loc": { "start": { "line": 436, "column": 30 }, "end": { "line": 438, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 17337, "end": 17417, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 92 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 17337, "end": 17341, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 17343, "end": 17417, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 17343, "end": 17398, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 73 } }, "object": { "type": "MemberExpression", "start": 17343, "end": 17371, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 46 } }, "object": { "type": "MemberExpression", "start": 17343, "end": 17352, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 27 } }, "object": { "type": "ThisExpression", "start": 17343, "end": 17347, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 22 } } }, "property": { "type": "Identifier", "start": 17348, "end": 17352, "loc": { "start": { "line": 437, "column": 23 }, "end": { "line": 437, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17353, "end": 17371, "loc": { "start": { "line": 437, "column": 28 }, "end": { "line": 437, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 17372, "end": 17398, "loc": { "start": { "line": 437, "column": 47 }, "end": { "line": 437, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17399, "end": 17416, "loc": { "start": { "line": 437, "column": 74 }, "end": { "line": 437, "column": 91 }, "identifierName": "stackedDefinition" }, "name": "stackedDefinition" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16689, "end": 16757, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 424, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17446, "end": 17514, "loc": { "start": { "line": 441, "column": 4 }, "end": { "line": 443, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 17520, "end": 17577, "loc": { "start": { "line": 444, "column": 4 }, "end": { "line": 446, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17520, "end": 17533, "loc": { "start": { "line": 444, "column": 4 }, "end": { "line": 444, "column": 17 }, "identifierName": "process_TRASH" }, "name": "process_TRASH", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17534, "end": 17541, "loc": { "start": { "line": 444, "column": 18 }, "end": { "line": 444, "column": 25 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 17543, "end": 17577, "loc": { "start": { "line": 444, "column": 27 }, "end": { "line": 446, "column": 5 } }, "body": [], "directives": [], "leadingComments": null, "trailingComments": [ { "type": "CommentLine", "value": " Do nothing ..", "start": 17554, "end": 17570, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17585, "end": 17653, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17446, "end": 17514, "loc": { "start": { "line": 441, "column": 4 }, "end": { "line": 443, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 17659, "end": 18507, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 470, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17659, "end": 17672, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 451, "column": 17 }, "identifierName": "process_MIXER" }, "name": "process_MIXER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17673, "end": 17680, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 25 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 17682, "end": 18507, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 470, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17739, "end": 17802, "loc": { "start": { "line": 453, "column": 8 }, "end": { "line": 453, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17745, "end": 17801, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 70 } }, "id": { "type": "Identifier", "start": 17745, "end": 17750, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 19 }, "identifierName": "item1" }, "name": "item1", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 17779, "end": 17800, "loc": { "start": { "line": 453, "column": 48 }, "end": { "line": 453, "column": 69 } }, "object": { "type": "MemberExpression", "start": 17779, "end": 17795, "loc": { "start": { "line": 453, "column": 48 }, "end": { "line": 453, "column": 64 } }, "object": { "type": "MemberExpression", "start": 17779, "end": 17792, "loc": { "start": { "line": 453, "column": 48 }, "end": { "line": 453, "column": 61 } }, "object": { "type": "Identifier", "start": 17779, "end": 17786, "loc": { "start": { "line": 453, "column": 48 }, "end": { "line": 453, "column": 55 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 17787, "end": 17792, "loc": { "start": { "line": 453, "column": 56 }, "end": { "line": 453, "column": 61 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 17793, "end": 17794, "loc": { "start": { "line": 453, "column": 62 }, "end": { "line": 453, "column": 63 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 17796, "end": 17800, "loc": { "start": { "line": 453, "column": 65 }, "end": { "line": 453, "column": 69 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 17753, "end": 17777, "loc": { "start": { "line": 453, "column": 22 }, "end": { "line": 453, "column": 46 } } } ], "extra": { "parenthesized": true, "parenStart": 17778 } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Find both colors and combine them", "start": 17693, "end": 17729, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 44 } } } ] }, { "type": "VariableDeclaration", "start": 17812, "end": 17875, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17818, "end": 17874, "loc": { "start": { "line": 454, "column": 14 }, "end": { "line": 454, "column": 70 } }, "id": { "type": "Identifier", "start": 17818, "end": 17823, "loc": { "start": { "line": 454, "column": 14 }, "end": { "line": 454, "column": 19 }, "identifierName": "item2" }, "name": "item2" }, "init": { "type": "MemberExpression", "start": 17852, "end": 17873, "loc": { "start": { "line": 454, "column": 48 }, "end": { "line": 454, "column": 69 } }, "object": { "type": "MemberExpression", "start": 17852, "end": 17868, "loc": { "start": { "line": 454, "column": 48 }, "end": { "line": 454, "column": 64 } }, "object": { "type": "MemberExpression", "start": 17852, "end": 17865, "loc": { "start": { "line": 454, "column": 48 }, "end": { "line": 454, "column": 61 } }, "object": { "type": "Identifier", "start": 17852, "end": 17859, "loc": { "start": { "line": 454, "column": 48 }, "end": { "line": 454, "column": 55 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 17860, "end": 17865, "loc": { "start": { "line": 454, "column": 56 }, "end": { "line": 454, "column": 61 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 17866, "end": 17867, "loc": { "start": { "line": 454, "column": 62 }, "end": { "line": 454, "column": 63 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 17869, "end": 17873, "loc": { "start": { "line": 454, "column": 65 }, "end": { "line": 454, "column": 69 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 17826, "end": 17850, "loc": { "start": { "line": 454, "column": 22 }, "end": { "line": 454, "column": 46 } } } ], "extra": { "parenthesized": true, "parenStart": 17851 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 17885, "end": 17960, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 83 } }, "expression": { "type": "CallExpression", "start": 17885, "end": 17959, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 82 } }, "callee": { "type": "Identifier", "start": 17885, "end": 17891, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 17892, "end": 17918, "loc": { "start": { "line": 455, "column": 15 }, "end": { "line": 455, "column": 41 } }, "left": { "type": "Identifier", "start": 17892, "end": 17897, "loc": { "start": { "line": 455, "column": 15 }, "end": { "line": 455, "column": 20 }, "identifierName": "item1" }, "name": "item1" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 17909, "end": 17918, "loc": { "start": { "line": 455, "column": 32 }, "end": { "line": 455, "column": 41 }, "identifierName": "ColorItem" }, "name": "ColorItem" } }, { "type": "StringLiteral", "start": 17920, "end": 17958, "loc": { "start": { "line": 455, "column": 43 }, "end": { "line": 455, "column": 81 } }, "extra": { "rawValue": "Input for color mixer is not a color", "raw": "\"Input for color mixer is not a color\"" }, "value": "Input for color mixer is not a color" } ] } }, { "type": "ExpressionStatement", "start": 17970, "end": 18045, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 83 } }, "expression": { "type": "CallExpression", "start": 17970, "end": 18044, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 82 } }, "callee": { "type": "Identifier", "start": 17970, "end": 17976, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 17977, "end": 18003, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 41 } }, "left": { "type": "Identifier", "start": 17977, "end": 17982, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 20 }, "identifierName": "item2" }, "name": "item2" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 17994, "end": 18003, "loc": { "start": { "line": 456, "column": 32 }, "end": { "line": 456, "column": 41 }, "identifierName": "ColorItem" }, "name": "ColorItem" } }, { "type": "StringLiteral", "start": 18005, "end": 18043, "loc": { "start": { "line": 456, "column": 43 }, "end": { "line": 456, "column": 81 } }, "extra": { "rawValue": "Input for color mixer is not a color", "raw": "\"Input for color mixer is not a color\"" }, "value": "Input for color mixer is not a color" } ] } }, { "type": "VariableDeclaration", "start": 18057, "end": 18084, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18063, "end": 18083, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 34 } }, "id": { "type": "Identifier", "start": 18063, "end": 18069, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 20 }, "identifierName": "color1" }, "name": "color1" }, "init": { "type": "MemberExpression", "start": 18072, "end": 18083, "loc": { "start": { "line": 458, "column": 23 }, "end": { "line": 458, "column": 34 } }, "object": { "type": "Identifier", "start": 18072, "end": 18077, "loc": { "start": { "line": 458, "column": 23 }, "end": { "line": 458, "column": 28 }, "identifierName": "item1" }, "name": "item1" }, "property": { "type": "Identifier", "start": 18078, "end": 18083, "loc": { "start": { "line": 458, "column": 29 }, "end": { "line": 458, "column": 34 }, "identifierName": "color" }, "name": "color" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18094, "end": 18121, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18100, "end": 18120, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 34 } }, "id": { "type": "Identifier", "start": 18100, "end": 18106, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 20 }, "identifierName": "color2" }, "name": "color2" }, "init": { "type": "MemberExpression", "start": 18109, "end": 18120, "loc": { "start": { "line": 459, "column": 23 }, "end": { "line": 459, "column": 34 } }, "object": { "type": "Identifier", "start": 18109, "end": 18114, "loc": { "start": { "line": 459, "column": 23 }, "end": { "line": 459, "column": 28 }, "identifierName": "item2" }, "name": "item2" }, "property": { "type": "Identifier", "start": 18115, "end": 18120, "loc": { "start": { "line": 459, "column": 29 }, "end": { "line": 459, "column": 34 }, "identifierName": "color" }, "name": "color" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Try finding mixer color, and if we can't mix it we simply return the same color", "start": 18133, "end": 18215, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 90 } } } ] }, { "type": "VariableDeclaration", "start": 18225, "end": 18283, "loc": { "start": { "line": 462, "column": 8 }, "end": { "line": 462, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18231, "end": 18282, "loc": { "start": { "line": 462, "column": 14 }, "end": { "line": 462, "column": 65 } }, "id": { "type": "Identifier", "start": 18231, "end": 18241, "loc": { "start": { "line": 462, "column": 14 }, "end": { "line": 462, "column": 24 }, "identifierName": "mixedColor" }, "name": "mixedColor", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 18244, "end": 18282, "loc": { "start": { "line": 462, "column": 27 }, "end": { "line": 462, "column": 65 } }, "object": { "type": "MemberExpression", "start": 18244, "end": 18274, "loc": { "start": { "line": 462, "column": 27 }, "end": { "line": 462, "column": 57 } }, "object": { "type": "Identifier", "start": 18244, "end": 18266, "loc": { "start": { "line": 462, "column": 27 }, "end": { "line": 462, "column": 49 }, "identifierName": "enumColorMixingResults" }, "name": "enumColorMixingResults" }, "property": { "type": "Identifier", "start": 18267, "end": 18273, "loc": { "start": { "line": 462, "column": 50 }, "end": { "line": 462, "column": 56 }, "identifierName": "color1" }, "name": "color1" }, "computed": true }, "property": { "type": "Identifier", "start": 18275, "end": 18281, "loc": { "start": { "line": 462, "column": 58 }, "end": { "line": 462, "column": 64 }, "identifierName": "color2" }, "name": "color2" }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Try finding mixer color, and if we can't mix it we simply return the same color", "start": 18133, "end": 18215, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 90 } } } ] }, { "type": "VariableDeclaration", "start": 18293, "end": 18318, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18297, "end": 18317, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 32 } }, "id": { "type": "Identifier", "start": 18297, "end": 18308, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 23 }, "identifierName": "resultColor" }, "name": "resultColor" }, "init": { "type": "Identifier", "start": 18311, "end": 18317, "loc": { "start": { "line": 463, "column": 26 }, "end": { "line": 463, "column": 32 }, "identifierName": "color1" }, "name": "color1" } } ], "kind": "let" }, { "type": "IfStatement", "start": 18328, "end": 18395, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 466, "column": 9 } }, "test": { "type": "Identifier", "start": 18332, "end": 18342, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 22 }, "identifierName": "mixedColor" }, "name": "mixedColor" }, "consequent": { "type": "BlockStatement", "start": 18344, "end": 18395, "loc": { "start": { "line": 464, "column": 24 }, "end": { "line": 466, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18359, "end": 18384, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 18359, "end": 18383, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 18359, "end": 18370, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 23 }, "identifierName": "resultColor" }, "name": "resultColor" }, "right": { "type": "Identifier", "start": 18373, "end": 18383, "loc": { "start": { "line": 465, "column": 26 }, "end": { "line": 465, "column": 36 }, "identifierName": "mixedColor" }, "name": "mixedColor" } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 18405, "end": 18500, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 469, "column": 11 } }, "expression": { "type": "CallExpression", "start": 18405, "end": 18499, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 469, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 18405, "end": 18426, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 29 } }, "object": { "type": "MemberExpression", "start": 18405, "end": 18421, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 24 } }, "object": { "type": "Identifier", "start": 18405, "end": 18412, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 18413, "end": 18421, "loc": { "start": { "line": 467, "column": 16 }, "end": { "line": 467, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 18422, "end": 18426, "loc": { "start": { "line": 467, "column": 25 }, "end": { "line": 467, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 18427, "end": 18498, "loc": { "start": { "line": 467, "column": 30 }, "end": { "line": 469, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 18442, "end": 18486, "loc": { "start": { "line": 468, "column": 12 }, "end": { "line": 468, "column": 56 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 18442, "end": 18446, "loc": { "start": { "line": 468, "column": 12 }, "end": { "line": 468, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "MemberExpression", "start": 18448, "end": 18486, "loc": { "start": { "line": 468, "column": 18 }, "end": { "line": 468, "column": 56 } }, "object": { "type": "MemberExpression", "start": 18448, "end": 18473, "loc": { "start": { "line": 468, "column": 18 }, "end": { "line": 468, "column": 43 } }, "object": { "type": "Identifier", "start": 18448, "end": 18457, "loc": { "start": { "line": 468, "column": 18 }, "end": { "line": 468, "column": 27 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "property": { "type": "Identifier", "start": 18458, "end": 18473, "loc": { "start": { "line": 468, "column": 28 }, "end": { "line": 468, "column": 43 }, "identifierName": "ITEM_SINGLETONS" }, "name": "ITEM_SINGLETONS" }, "computed": false }, "property": { "type": "Identifier", "start": 18474, "end": 18485, "loc": { "start": { "line": 468, "column": 44 }, "end": { "line": 468, "column": 55 }, "identifierName": "resultColor" }, "name": "resultColor" }, "computed": true } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17585, "end": 17653, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 18515, "end": 18583, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 474, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 18589, "end": 19089, "loc": { "start": { "line": 475, "column": 4 }, "end": { "line": 487, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18589, "end": 18604, "loc": { "start": { "line": 475, "column": 4 }, "end": { "line": 475, "column": 19 }, "identifierName": "process_PAINTER" }, "name": "process_PAINTER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18605, "end": 18612, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 27 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 18614, "end": 19089, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 487, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 18625, "end": 18693, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18631, "end": 18692, "loc": { "start": { "line": 476, "column": 14 }, "end": { "line": 476, "column": 75 } }, "id": { "type": "Identifier", "start": 18631, "end": 18640, "loc": { "start": { "line": 476, "column": 14 }, "end": { "line": 476, "column": 23 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "init": { "type": "MemberExpression", "start": 18669, "end": 18691, "loc": { "start": { "line": 476, "column": 52 }, "end": { "line": 476, "column": 74 } }, "object": { "type": "MemberExpression", "start": 18669, "end": 18688, "loc": { "start": { "line": 476, "column": 52 }, "end": { "line": 476, "column": 71 } }, "object": { "type": "Identifier", "start": 18669, "end": 18676, "loc": { "start": { "line": 476, "column": 52 }, "end": { "line": 476, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 18677, "end": 18688, "loc": { "start": { "line": 476, "column": 60 }, "end": { "line": 476, "column": 71 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 18689, "end": 18690, "loc": { "start": { "line": 476, "column": 72 }, "end": { "line": 476, "column": 73 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 18643, "end": 18667, "loc": { "start": { "line": 476, "column": 26 }, "end": { "line": 476, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 18668 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18703, "end": 18771, "loc": { "start": { "line": 477, "column": 8 }, "end": { "line": 477, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18709, "end": 18770, "loc": { "start": { "line": 477, "column": 14 }, "end": { "line": 477, "column": 75 } }, "id": { "type": "Identifier", "start": 18709, "end": 18718, "loc": { "start": { "line": 477, "column": 14 }, "end": { "line": 477, "column": 23 }, "identifierName": "colorItem" }, "name": "colorItem" }, "init": { "type": "MemberExpression", "start": 18747, "end": 18769, "loc": { "start": { "line": 477, "column": 52 }, "end": { "line": 477, "column": 74 } }, "object": { "type": "MemberExpression", "start": 18747, "end": 18766, "loc": { "start": { "line": 477, "column": 52 }, "end": { "line": 477, "column": 71 } }, "object": { "type": "Identifier", "start": 18747, "end": 18754, "loc": { "start": { "line": 477, "column": 52 }, "end": { "line": 477, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 18755, "end": 18766, "loc": { "start": { "line": 477, "column": 60 }, "end": { "line": 477, "column": 71 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 18767, "end": 18768, "loc": { "start": { "line": 477, "column": 72 }, "end": { "line": 477, "column": 73 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 18721, "end": 18745, "loc": { "start": { "line": 477, "column": 26 }, "end": { "line": 477, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 18746 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18783, "end": 18937, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 482, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18789, "end": 18936, "loc": { "start": { "line": 479, "column": 14 }, "end": { "line": 482, "column": 9 } }, "id": { "type": "Identifier", "start": 18789, "end": 18808, "loc": { "start": { "line": 479, "column": 14 }, "end": { "line": 479, "column": 33 }, "identifierName": "colorizedDefinition" }, "name": "colorizedDefinition" }, "init": { "type": "CallExpression", "start": 18811, "end": 18936, "loc": { "start": { "line": 479, "column": 36 }, "end": { "line": 482, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 18811, "end": 18860, "loc": { "start": { "line": 479, "column": 36 }, "end": { "line": 479, "column": 85 } }, "object": { "type": "MemberExpression", "start": 18811, "end": 18839, "loc": { "start": { "line": 479, "column": 36 }, "end": { "line": 479, "column": 64 } }, "object": { "type": "MemberExpression", "start": 18811, "end": 18820, "loc": { "start": { "line": 479, "column": 36 }, "end": { "line": 479, "column": 45 } }, "object": { "type": "ThisExpression", "start": 18811, "end": 18815, "loc": { "start": { "line": 479, "column": 36 }, "end": { "line": 479, "column": 40 } } }, "property": { "type": "Identifier", "start": 18816, "end": 18820, "loc": { "start": { "line": 479, "column": 41 }, "end": { "line": 479, "column": 45 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 18821, "end": 18839, "loc": { "start": { "line": 479, "column": 46 }, "end": { "line": 479, "column": 64 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 18840, "end": 18860, "loc": { "start": { "line": 479, "column": 65 }, "end": { "line": 479, "column": 85 }, "identifierName": "shapeActionPaintWith" }, "name": "shapeActionPaintWith" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18875, "end": 18895, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 32 } }, "object": { "type": "Identifier", "start": 18875, "end": 18884, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 21 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "property": { "type": "Identifier", "start": 18885, "end": 18895, "loc": { "start": { "line": 480, "column": 22 }, "end": { "line": 480, "column": 32 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, { "type": "MemberExpression", "start": 18910, "end": 18925, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 27 } }, "object": { "type": "Identifier", "start": 18910, "end": 18919, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 21 }, "identifierName": "colorItem" }, "name": "colorItem" }, "property": { "type": "Identifier", "start": 18920, "end": 18925, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 27 }, "identifierName": "color" }, "name": "color" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 18949, "end": 19082, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 486, "column": 11 } }, "expression": { "type": "CallExpression", "start": 18949, "end": 19081, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 486, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 18949, "end": 18970, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 29 } }, "object": { "type": "MemberExpression", "start": 18949, "end": 18965, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 24 } }, "object": { "type": "Identifier", "start": 18949, "end": 18956, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 18957, "end": 18965, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 18966, "end": 18970, "loc": { "start": { "line": 484, "column": 25 }, "end": { "line": 484, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 18971, "end": 19080, "loc": { "start": { "line": 484, "column": 30 }, "end": { "line": 486, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 18986, "end": 19068, "loc": { "start": { "line": 485, "column": 12 }, "end": { "line": 485, "column": 94 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 18986, "end": 18990, "loc": { "start": { "line": 485, "column": 12 }, "end": { "line": 485, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 18992, "end": 19068, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 18992, "end": 19047, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 73 } }, "object": { "type": "MemberExpression", "start": 18992, "end": 19020, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 46 } }, "object": { "type": "MemberExpression", "start": 18992, "end": 19001, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 27 } }, "object": { "type": "ThisExpression", "start": 18992, "end": 18996, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 22 } } }, "property": { "type": "Identifier", "start": 18997, "end": 19001, "loc": { "start": { "line": 485, "column": 23 }, "end": { "line": 485, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19002, "end": 19020, "loc": { "start": { "line": 485, "column": 28 }, "end": { "line": 485, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 19021, "end": 19047, "loc": { "start": { "line": 485, "column": 47 }, "end": { "line": 485, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19048, "end": 19067, "loc": { "start": { "line": 485, "column": 74 }, "end": { "line": 485, "column": 93 }, "identifierName": "colorizedDefinition" }, "name": "colorizedDefinition" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 18515, "end": 18583, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 474, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 19097, "end": 19165, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 491, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 19171, "end": 20332, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 517, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19171, "end": 19193, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 492, "column": 26 }, "identifierName": "process_PAINTER_DOUBLE" }, "name": "process_PAINTER_DOUBLE", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19194, "end": 19201, "loc": { "start": { "line": 492, "column": 27 }, "end": { "line": 492, "column": 34 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 19203, "end": 20332, "loc": { "start": { "line": 492, "column": 36 }, "end": { "line": 517, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 19214, "end": 19283, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19220, "end": 19282, "loc": { "start": { "line": 493, "column": 14 }, "end": { "line": 493, "column": 76 } }, "id": { "type": "Identifier", "start": 19220, "end": 19230, "loc": { "start": { "line": 493, "column": 14 }, "end": { "line": 493, "column": 24 }, "identifierName": "shapeItem1" }, "name": "shapeItem1" }, "init": { "type": "MemberExpression", "start": 19259, "end": 19281, "loc": { "start": { "line": 493, "column": 53 }, "end": { "line": 493, "column": 75 } }, "object": { "type": "MemberExpression", "start": 19259, "end": 19278, "loc": { "start": { "line": 493, "column": 53 }, "end": { "line": 493, "column": 72 } }, "object": { "type": "Identifier", "start": 19259, "end": 19266, "loc": { "start": { "line": 493, "column": 53 }, "end": { "line": 493, "column": 60 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 19267, "end": 19278, "loc": { "start": { "line": 493, "column": 61 }, "end": { "line": 493, "column": 72 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 19279, "end": 19280, "loc": { "start": { "line": 493, "column": 73 }, "end": { "line": 493, "column": 74 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 19233, "end": 19257, "loc": { "start": { "line": 493, "column": 27 }, "end": { "line": 493, "column": 51 } } } ], "extra": { "parenthesized": true, "parenStart": 19258 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 19293, "end": 19362, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19299, "end": 19361, "loc": { "start": { "line": 494, "column": 14 }, "end": { "line": 494, "column": 76 } }, "id": { "type": "Identifier", "start": 19299, "end": 19309, "loc": { "start": { "line": 494, "column": 14 }, "end": { "line": 494, "column": 24 }, "identifierName": "shapeItem2" }, "name": "shapeItem2" }, "init": { "type": "MemberExpression", "start": 19338, "end": 19360, "loc": { "start": { "line": 494, "column": 53 }, "end": { "line": 494, "column": 75 } }, "object": { "type": "MemberExpression", "start": 19338, "end": 19357, "loc": { "start": { "line": 494, "column": 53 }, "end": { "line": 494, "column": 72 } }, "object": { "type": "Identifier", "start": 19338, "end": 19345, "loc": { "start": { "line": 494, "column": 53 }, "end": { "line": 494, "column": 60 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 19346, "end": 19357, "loc": { "start": { "line": 494, "column": 61 }, "end": { "line": 494, "column": 72 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 19358, "end": 19359, "loc": { "start": { "line": 494, "column": 73 }, "end": { "line": 494, "column": 74 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 19312, "end": 19336, "loc": { "start": { "line": 494, "column": 27 }, "end": { "line": 494, "column": 51 } } } ], "extra": { "parenthesized": true, "parenStart": 19337 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 19372, "end": 19440, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19378, "end": 19439, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 75 } }, "id": { "type": "Identifier", "start": 19378, "end": 19387, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 23 }, "identifierName": "colorItem" }, "name": "colorItem" }, "init": { "type": "MemberExpression", "start": 19416, "end": 19438, "loc": { "start": { "line": 495, "column": 52 }, "end": { "line": 495, "column": 74 } }, "object": { "type": "MemberExpression", "start": 19416, "end": 19435, "loc": { "start": { "line": 495, "column": 52 }, "end": { "line": 495, "column": 71 } }, "object": { "type": "Identifier", "start": 19416, "end": 19423, "loc": { "start": { "line": 495, "column": 52 }, "end": { "line": 495, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 19424, "end": 19435, "loc": { "start": { "line": 495, "column": 60 }, "end": { "line": 495, "column": 71 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 19436, "end": 19437, "loc": { "start": { "line": 495, "column": 72 }, "end": { "line": 495, "column": 73 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 19390, "end": 19414, "loc": { "start": { "line": 495, "column": 26 }, "end": { "line": 495, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 19415 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 19452, "end": 19528, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 84 } }, "expression": { "type": "CallExpression", "start": 19452, "end": 19527, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 83 } }, "callee": { "type": "Identifier", "start": 19452, "end": 19458, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 19459, "end": 19490, "loc": { "start": { "line": 497, "column": 15 }, "end": { "line": 497, "column": 46 } }, "left": { "type": "Identifier", "start": 19459, "end": 19469, "loc": { "start": { "line": 497, "column": 15 }, "end": { "line": 497, "column": 25 }, "identifierName": "shapeItem1" }, "name": "shapeItem1" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 19481, "end": 19490, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 46 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 19492, "end": 19526, "loc": { "start": { "line": 497, "column": 48 }, "end": { "line": 497, "column": 82 } }, "extra": { "rawValue": "Input for painter is not a shape", "raw": "\"Input for painter is not a shape\"" }, "value": "Input for painter is not a shape" } ] } }, { "type": "ExpressionStatement", "start": 19538, "end": 19614, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 84 } }, "expression": { "type": "CallExpression", "start": 19538, "end": 19613, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 83 } }, "callee": { "type": "Identifier", "start": 19538, "end": 19544, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 19545, "end": 19576, "loc": { "start": { "line": 498, "column": 15 }, "end": { "line": 498, "column": 46 } }, "left": { "type": "Identifier", "start": 19545, "end": 19555, "loc": { "start": { "line": 498, "column": 15 }, "end": { "line": 498, "column": 25 }, "identifierName": "shapeItem2" }, "name": "shapeItem2" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 19567, "end": 19576, "loc": { "start": { "line": 498, "column": 37 }, "end": { "line": 498, "column": 46 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 19578, "end": 19612, "loc": { "start": { "line": 498, "column": 48 }, "end": { "line": 498, "column": 82 } }, "extra": { "rawValue": "Input for painter is not a shape", "raw": "\"Input for painter is not a shape\"" }, "value": "Input for painter is not a shape" } ] } }, { "type": "ExpressionStatement", "start": 19624, "end": 19699, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 83 } }, "expression": { "type": "CallExpression", "start": 19624, "end": 19698, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 82 } }, "callee": { "type": "Identifier", "start": 19624, "end": 19630, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 19631, "end": 19661, "loc": { "start": { "line": 499, "column": 15 }, "end": { "line": 499, "column": 45 } }, "left": { "type": "Identifier", "start": 19631, "end": 19640, "loc": { "start": { "line": 499, "column": 15 }, "end": { "line": 499, "column": 24 }, "identifierName": "colorItem" }, "name": "colorItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 19652, "end": 19661, "loc": { "start": { "line": 499, "column": 36 }, "end": { "line": 499, "column": 45 }, "identifierName": "ColorItem" }, "name": "ColorItem" } }, { "type": "StringLiteral", "start": 19663, "end": 19697, "loc": { "start": { "line": 499, "column": 47 }, "end": { "line": 499, "column": 81 } }, "extra": { "rawValue": "Input for painter is not a color", "raw": "\"Input for painter is not a color\"" }, "value": "Input for painter is not a color" } ] } }, { "type": "VariableDeclaration", "start": 19711, "end": 19867, "loc": { "start": { "line": 501, "column": 8 }, "end": { "line": 504, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19717, "end": 19866, "loc": { "start": { "line": 501, "column": 14 }, "end": { "line": 504, "column": 9 } }, "id": { "type": "Identifier", "start": 19717, "end": 19737, "loc": { "start": { "line": 501, "column": 14 }, "end": { "line": 501, "column": 34 }, "identifierName": "colorizedDefinition1" }, "name": "colorizedDefinition1" }, "init": { "type": "CallExpression", "start": 19740, "end": 19866, "loc": { "start": { "line": 501, "column": 37 }, "end": { "line": 504, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 19740, "end": 19789, "loc": { "start": { "line": 501, "column": 37 }, "end": { "line": 501, "column": 86 } }, "object": { "type": "MemberExpression", "start": 19740, "end": 19768, "loc": { "start": { "line": 501, "column": 37 }, "end": { "line": 501, "column": 65 } }, "object": { "type": "MemberExpression", "start": 19740, "end": 19749, "loc": { "start": { "line": 501, "column": 37 }, "end": { "line": 501, "column": 46 } }, "object": { "type": "ThisExpression", "start": 19740, "end": 19744, "loc": { "start": { "line": 501, "column": 37 }, "end": { "line": 501, "column": 41 } } }, "property": { "type": "Identifier", "start": 19745, "end": 19749, "loc": { "start": { "line": 501, "column": 42 }, "end": { "line": 501, "column": 46 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19750, "end": 19768, "loc": { "start": { "line": 501, "column": 47 }, "end": { "line": 501, "column": 65 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 19769, "end": 19789, "loc": { "start": { "line": 501, "column": 66 }, "end": { "line": 501, "column": 86 }, "identifierName": "shapeActionPaintWith" }, "name": "shapeActionPaintWith" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19804, "end": 19825, "loc": { "start": { "line": 502, "column": 12 }, "end": { "line": 502, "column": 33 } }, "object": { "type": "Identifier", "start": 19804, "end": 19814, "loc": { "start": { "line": 502, "column": 12 }, "end": { "line": 502, "column": 22 }, "identifierName": "shapeItem1" }, "name": "shapeItem1" }, "property": { "type": "Identifier", "start": 19815, "end": 19825, "loc": { "start": { "line": 502, "column": 23 }, "end": { "line": 502, "column": 33 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, { "type": "MemberExpression", "start": 19840, "end": 19855, "loc": { "start": { "line": 503, "column": 12 }, "end": { "line": 503, "column": 27 } }, "object": { "type": "Identifier", "start": 19840, "end": 19849, "loc": { "start": { "line": 503, "column": 12 }, "end": { "line": 503, "column": 21 }, "identifierName": "colorItem" }, "name": "colorItem" }, "property": { "type": "Identifier", "start": 19850, "end": 19855, "loc": { "start": { "line": 503, "column": 22 }, "end": { "line": 503, "column": 27 }, "identifierName": "color" }, "name": "color" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 19879, "end": 20035, "loc": { "start": { "line": 506, "column": 8 }, "end": { "line": 509, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19885, "end": 20034, "loc": { "start": { "line": 506, "column": 14 }, "end": { "line": 509, "column": 9 } }, "id": { "type": "Identifier", "start": 19885, "end": 19905, "loc": { "start": { "line": 506, "column": 14 }, "end": { "line": 506, "column": 34 }, "identifierName": "colorizedDefinition2" }, "name": "colorizedDefinition2" }, "init": { "type": "CallExpression", "start": 19908, "end": 20034, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 509, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 19908, "end": 19957, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 506, "column": 86 } }, "object": { "type": "MemberExpression", "start": 19908, "end": 19936, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 506, "column": 65 } }, "object": { "type": "MemberExpression", "start": 19908, "end": 19917, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 506, "column": 46 } }, "object": { "type": "ThisExpression", "start": 19908, "end": 19912, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 506, "column": 41 } } }, "property": { "type": "Identifier", "start": 19913, "end": 19917, "loc": { "start": { "line": 506, "column": 42 }, "end": { "line": 506, "column": 46 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19918, "end": 19936, "loc": { "start": { "line": 506, "column": 47 }, "end": { "line": 506, "column": 65 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 19937, "end": 19957, "loc": { "start": { "line": 506, "column": 66 }, "end": { "line": 506, "column": 86 }, "identifierName": "shapeActionPaintWith" }, "name": "shapeActionPaintWith" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19972, "end": 19993, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 33 } }, "object": { "type": "Identifier", "start": 19972, "end": 19982, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 22 }, "identifierName": "shapeItem2" }, "name": "shapeItem2" }, "property": { "type": "Identifier", "start": 19983, "end": 19993, "loc": { "start": { "line": 507, "column": 23 }, "end": { "line": 507, "column": 33 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, { "type": "MemberExpression", "start": 20008, "end": 20023, "loc": { "start": { "line": 508, "column": 12 }, "end": { "line": 508, "column": 27 } }, "object": { "type": "Identifier", "start": 20008, "end": 20017, "loc": { "start": { "line": 508, "column": 12 }, "end": { "line": 508, "column": 21 }, "identifierName": "colorItem" }, "name": "colorItem" }, "property": { "type": "Identifier", "start": 20018, "end": 20023, "loc": { "start": { "line": 508, "column": 22 }, "end": { "line": 508, "column": 27 }, "identifierName": "color" }, "name": "color" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 20045, "end": 20179, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 512, "column": 11 } }, "expression": { "type": "CallExpression", "start": 20045, "end": 20178, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 512, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 20045, "end": 20066, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 29 } }, "object": { "type": "MemberExpression", "start": 20045, "end": 20061, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 24 } }, "object": { "type": "Identifier", "start": 20045, "end": 20052, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 20053, "end": 20061, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 20062, "end": 20066, "loc": { "start": { "line": 510, "column": 25 }, "end": { "line": 510, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 20067, "end": 20177, "loc": { "start": { "line": 510, "column": 30 }, "end": { "line": 512, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 20082, "end": 20165, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 95 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 20082, "end": 20086, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 20088, "end": 20165, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 20088, "end": 20143, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 73 } }, "object": { "type": "MemberExpression", "start": 20088, "end": 20116, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 46 } }, "object": { "type": "MemberExpression", "start": 20088, "end": 20097, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 27 } }, "object": { "type": "ThisExpression", "start": 20088, "end": 20092, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 22 } } }, "property": { "type": "Identifier", "start": 20093, "end": 20097, "loc": { "start": { "line": 511, "column": 23 }, "end": { "line": 511, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 20098, "end": 20116, "loc": { "start": { "line": 511, "column": 28 }, "end": { "line": 511, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 20117, "end": 20143, "loc": { "start": { "line": 511, "column": 47 }, "end": { "line": 511, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 20144, "end": 20164, "loc": { "start": { "line": 511, "column": 74 }, "end": { "line": 511, "column": 94 }, "identifierName": "colorizedDefinition1" }, "name": "colorizedDefinition1" } ] } } ] } ] } }, { "type": "ExpressionStatement", "start": 20191, "end": 20325, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 516, "column": 11 } }, "expression": { "type": "CallExpression", "start": 20191, "end": 20324, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 516, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 20191, "end": 20212, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 29 } }, "object": { "type": "MemberExpression", "start": 20191, "end": 20207, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 24 } }, "object": { "type": "Identifier", "start": 20191, "end": 20198, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 20199, "end": 20207, "loc": { "start": { "line": 514, "column": 16 }, "end": { "line": 514, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 20208, "end": 20212, "loc": { "start": { "line": 514, "column": 25 }, "end": { "line": 514, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 20213, "end": 20323, "loc": { "start": { "line": 514, "column": 30 }, "end": { "line": 516, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 20228, "end": 20311, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 95 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 20228, "end": 20232, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 20234, "end": 20311, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 20234, "end": 20289, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 73 } }, "object": { "type": "MemberExpression", "start": 20234, "end": 20262, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 46 } }, "object": { "type": "MemberExpression", "start": 20234, "end": 20243, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 27 } }, "object": { "type": "ThisExpression", "start": 20234, "end": 20238, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 22 } } }, "property": { "type": "Identifier", "start": 20239, "end": 20243, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 20244, "end": 20262, "loc": { "start": { "line": 515, "column": 28 }, "end": { "line": 515, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 20263, "end": 20289, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 20290, "end": 20310, "loc": { "start": { "line": 515, "column": 74 }, "end": { "line": 515, "column": 94 }, "identifierName": "colorizedDefinition2" }, "name": "colorizedDefinition2" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 19097, "end": 19165, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 491, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 20340, "end": 20408, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 521, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 20414, "end": 21283, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 543, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20414, "end": 20434, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 24 }, "identifierName": "process_PAINTER_QUAD" }, "name": "process_PAINTER_QUAD", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20435, "end": 20442, "loc": { "start": { "line": 522, "column": 25 }, "end": { "line": 522, "column": 32 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 20444, "end": 21283, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 543, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 20455, "end": 20523, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20461, "end": 20522, "loc": { "start": { "line": 523, "column": 14 }, "end": { "line": 523, "column": 75 } }, "id": { "type": "Identifier", "start": 20461, "end": 20470, "loc": { "start": { "line": 523, "column": 14 }, "end": { "line": 523, "column": 23 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "init": { "type": "MemberExpression", "start": 20499, "end": 20521, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 74 } }, "object": { "type": "MemberExpression", "start": 20499, "end": 20518, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 71 } }, "object": { "type": "Identifier", "start": 20499, "end": 20506, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 59 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 20507, "end": 20518, "loc": { "start": { "line": 523, "column": 60 }, "end": { "line": 523, "column": 71 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 20519, "end": 20520, "loc": { "start": { "line": 523, "column": 72 }, "end": { "line": 523, "column": 73 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 20473, "end": 20497, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 50 } } } ], "extra": { "parenthesized": true, "parenStart": 20498 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 20533, "end": 20608, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 83 } }, "expression": { "type": "CallExpression", "start": 20533, "end": 20607, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 82 } }, "callee": { "type": "Identifier", "start": 20533, "end": 20539, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 20540, "end": 20570, "loc": { "start": { "line": 524, "column": 15 }, "end": { "line": 524, "column": 45 } }, "left": { "type": "Identifier", "start": 20540, "end": 20549, "loc": { "start": { "line": 524, "column": 15 }, "end": { "line": 524, "column": 24 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 20561, "end": 20570, "loc": { "start": { "line": 524, "column": 36 }, "end": { "line": 524, "column": 45 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" } }, { "type": "StringLiteral", "start": 20572, "end": 20606, "loc": { "start": { "line": 524, "column": 47 }, "end": { "line": 524, "column": 81 } }, "extra": { "rawValue": "Input for painter is not a shape", "raw": "\"Input for painter is not a shape\"" }, "value": "Input for painter is not a shape" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Array} ", "start": 20620, "end": 20652, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 40 } } } ] }, { "type": "VariableDeclaration", "start": 20662, "end": 20702, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20668, "end": 20701, "loc": { "start": { "line": 527, "column": 14 }, "end": { "line": 527, "column": 47 } }, "id": { "type": "Identifier", "start": 20668, "end": 20674, "loc": { "start": { "line": 527, "column": 14 }, "end": { "line": 527, "column": 20 }, "identifierName": "colors" }, "name": "colors", "leadingComments": null }, "init": { "type": "ArrayExpression", "start": 20677, "end": 20701, "loc": { "start": { "line": 527, "column": 23 }, "end": { "line": 527, "column": 47 } }, "elements": [ { "type": "NullLiteral", "start": 20678, "end": 20682, "loc": { "start": { "line": 527, "column": 24 }, "end": { "line": 527, "column": 28 } } }, { "type": "NullLiteral", "start": 20684, "end": 20688, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 34 } } }, { "type": "NullLiteral", "start": 20690, "end": 20694, "loc": { "start": { "line": 527, "column": 36 }, "end": { "line": 527, "column": 40 } } }, { "type": "NullLiteral", "start": 20696, "end": 20700, "loc": { "start": { "line": 527, "column": 42 }, "end": { "line": 527, "column": 46 } } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Array} ", "start": 20620, "end": 20652, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 40 } } } ] }, { "type": "ForStatement", "start": 20712, "end": 20904, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 532, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 20717, "end": 20726, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20721, "end": 20726, "loc": { "start": { "line": 528, "column": 17 }, "end": { "line": 528, "column": 22 } }, "id": { "type": "Identifier", "start": 20721, "end": 20722, "loc": { "start": { "line": 528, "column": 17 }, "end": { "line": 528, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 20725, "end": 20726, "loc": { "start": { "line": 528, "column": 21 }, "end": { "line": 528, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 20728, "end": 20733, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 29 } }, "left": { "type": "Identifier", "start": 20728, "end": 20729, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 20732, "end": 20733, "loc": { "start": { "line": 528, "column": 28 }, "end": { "line": 528, "column": 29 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } }, "update": { "type": "UpdateExpression", "start": 20735, "end": 20738, "loc": { "start": { "line": 528, "column": 31 }, "end": { "line": 528, "column": 34 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 20737, "end": 20738, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 34 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 20740, "end": 20904, "loc": { "start": { "line": 528, "column": 36 }, "end": { "line": 532, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 20755, "end": 20893, "loc": { "start": { "line": 529, "column": 12 }, "end": { "line": 531, "column": 13 } }, "test": { "type": "MemberExpression", "start": 20759, "end": 20785, "loc": { "start": { "line": 529, "column": 16 }, "end": { "line": 529, "column": 42 } }, "object": { "type": "MemberExpression", "start": 20759, "end": 20778, "loc": { "start": { "line": 529, "column": 16 }, "end": { "line": 529, "column": 35 } }, "object": { "type": "Identifier", "start": 20759, "end": 20766, "loc": { "start": { "line": 529, "column": 16 }, "end": { "line": 529, "column": 23 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 20767, "end": 20778, "loc": { "start": { "line": 529, "column": 24 }, "end": { "line": 529, "column": 35 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 20779, "end": 20784, "loc": { "start": { "line": 529, "column": 36 }, "end": { "line": 529, "column": 41 } }, "left": { "type": "Identifier", "start": 20779, "end": 20780, "loc": { "start": { "line": 529, "column": 36 }, "end": { "line": 529, "column": 37 }, "identifierName": "i" }, "name": "i" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 20783, "end": 20784, "loc": { "start": { "line": 529, "column": 40 }, "end": { "line": 529, "column": 41 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "consequent": { "type": "BlockStatement", "start": 20787, "end": 20893, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 531, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 20806, "end": 20878, "loc": { "start": { "line": 530, "column": 16 }, "end": { "line": 530, "column": 88 } }, "expression": { "type": "AssignmentExpression", "start": 20806, "end": 20877, "loc": { "start": { "line": 530, "column": 16 }, "end": { "line": 530, "column": 87 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20806, "end": 20815, "loc": { "start": { "line": 530, "column": 16 }, "end": { "line": 530, "column": 25 } }, "object": { "type": "Identifier", "start": 20806, "end": 20812, "loc": { "start": { "line": 530, "column": 16 }, "end": { "line": 530, "column": 22 }, "identifierName": "colors" }, "name": "colors" }, "property": { "type": "Identifier", "start": 20813, "end": 20814, "loc": { "start": { "line": 530, "column": 23 }, "end": { "line": 530, "column": 24 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "right": { "type": "MemberExpression", "start": 20843, "end": 20877, "loc": { "start": { "line": 530, "column": 53 }, "end": { "line": 530, "column": 87 } }, "object": { "type": "MemberExpression", "start": 20844, "end": 20870, "loc": { "start": { "line": 530, "column": 54 }, "end": { "line": 530, "column": 80 } }, "object": { "type": "MemberExpression", "start": 20844, "end": 20863, "loc": { "start": { "line": 530, "column": 54 }, "end": { "line": 530, "column": 73 } }, "object": { "type": "Identifier", "start": 20844, "end": 20851, "loc": { "start": { "line": 530, "column": 54 }, "end": { "line": 530, "column": 61 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 20852, "end": 20863, "loc": { "start": { "line": 530, "column": 62 }, "end": { "line": 530, "column": 73 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false, "leadingComments": null }, "property": { "type": "BinaryExpression", "start": 20864, "end": 20869, "loc": { "start": { "line": 530, "column": 74 }, "end": { "line": 530, "column": 79 } }, "left": { "type": "Identifier", "start": 20864, "end": 20865, "loc": { "start": { "line": 530, "column": 74 }, "end": { "line": 530, "column": 75 }, "identifierName": "i" }, "name": "i" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 20868, "end": 20869, "loc": { "start": { "line": 530, "column": 78 }, "end": { "line": 530, "column": 79 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 20843 } }, "property": { "type": "Identifier", "start": 20872, "end": 20877, "loc": { "start": { "line": 530, "column": 82 }, "end": { "line": 530, "column": 87 }, "identifierName": "color" }, "name": "color" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 20818, "end": 20842, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 52 } } } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "VariableDeclaration", "start": 20916, "end": 21131, "loc": { "start": { "line": 534, "column": 8 }, "end": { "line": 538, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20922, "end": 21130, "loc": { "start": { "line": 534, "column": 14 }, "end": { "line": 538, "column": 9 } }, "id": { "type": "Identifier", "start": 20922, "end": 20941, "loc": { "start": { "line": 534, "column": 14 }, "end": { "line": 534, "column": 33 }, "identifierName": "colorizedDefinition" }, "name": "colorizedDefinition" }, "init": { "type": "CallExpression", "start": 20944, "end": 21130, "loc": { "start": { "line": 534, "column": 36 }, "end": { "line": 538, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 20944, "end": 21000, "loc": { "start": { "line": 534, "column": 36 }, "end": { "line": 534, "column": 92 } }, "object": { "type": "MemberExpression", "start": 20944, "end": 20972, "loc": { "start": { "line": 534, "column": 36 }, "end": { "line": 534, "column": 64 } }, "object": { "type": "MemberExpression", "start": 20944, "end": 20953, "loc": { "start": { "line": 534, "column": 36 }, "end": { "line": 534, "column": 45 } }, "object": { "type": "ThisExpression", "start": 20944, "end": 20948, "loc": { "start": { "line": 534, "column": 36 }, "end": { "line": 534, "column": 40 } } }, "property": { "type": "Identifier", "start": 20949, "end": 20953, "loc": { "start": { "line": 534, "column": 41 }, "end": { "line": 534, "column": 45 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 20954, "end": 20972, "loc": { "start": { "line": 534, "column": 46 }, "end": { "line": 534, "column": 64 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 20973, "end": 21000, "loc": { "start": { "line": 534, "column": 65 }, "end": { "line": 534, "column": 92 }, "identifierName": "shapeActionPaintWith4Colors" }, "name": "shapeActionPaintWith4Colors" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21015, "end": 21035, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 32 } }, "object": { "type": "Identifier", "start": 21015, "end": 21024, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 21 }, "identifierName": "shapeItem" }, "name": "shapeItem" }, "property": { "type": "Identifier", "start": 21025, "end": 21035, "loc": { "start": { "line": 535, "column": 22 }, "end": { "line": 535, "column": 32 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, { "type": "Identifier", "start": 21112, "end": 21118, "loc": { "start": { "line": 537, "column": 13 }, "end": { "line": 537, "column": 19 }, "identifierName": "colors" }, "name": "colors", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {[string, string, string, string]} ", "start": 21050, "end": 21097, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 59 } } } ], "extra": { "parenthesized": true, "parenStart": 21111 } } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 21143, "end": 21276, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 542, "column": 11 } }, "expression": { "type": "CallExpression", "start": 21143, "end": 21275, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 542, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 21143, "end": 21164, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 29 } }, "object": { "type": "MemberExpression", "start": 21143, "end": 21159, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 24 } }, "object": { "type": "Identifier", "start": 21143, "end": 21150, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 21151, "end": 21159, "loc": { "start": { "line": 540, "column": 16 }, "end": { "line": 540, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 21160, "end": 21164, "loc": { "start": { "line": 540, "column": 25 }, "end": { "line": 540, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 21165, "end": 21274, "loc": { "start": { "line": 540, "column": 30 }, "end": { "line": 542, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 21180, "end": 21262, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 94 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 21180, "end": 21184, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "CallExpression", "start": 21186, "end": 21262, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 21186, "end": 21241, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 73 } }, "object": { "type": "MemberExpression", "start": 21186, "end": 21214, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 46 } }, "object": { "type": "MemberExpression", "start": 21186, "end": 21195, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 27 } }, "object": { "type": "ThisExpression", "start": 21186, "end": 21190, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 22 } } }, "property": { "type": "Identifier", "start": 21191, "end": 21195, "loc": { "start": { "line": 541, "column": 23 }, "end": { "line": 541, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 21196, "end": 21214, "loc": { "start": { "line": 541, "column": 28 }, "end": { "line": 541, "column": 46 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 21215, "end": 21241, "loc": { "start": { "line": 541, "column": 47 }, "end": { "line": 541, "column": 73 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21242, "end": 21261, "loc": { "start": { "line": 541, "column": 74 }, "end": { "line": 541, "column": 93 }, "identifierName": "colorizedDefinition" }, "name": "colorizedDefinition" } ] } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 20340, "end": 20408, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 521, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21291, "end": 21359, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 547, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 21365, "end": 21767, "loc": { "start": { "line": 548, "column": 4 }, "end": { "line": 560, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21365, "end": 21379, "loc": { "start": { "line": 548, "column": 4 }, "end": { "line": 548, "column": 18 }, "identifierName": "process_READER" }, "name": "process_READER", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21380, "end": 21387, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 26 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 21389, "end": 21767, "loc": { "start": { "line": 548, "column": 28 }, "end": { "line": 560, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21434, "end": 21470, "loc": { "start": { "line": 550, "column": 8 }, "end": { "line": 550, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21440, "end": 21469, "loc": { "start": { "line": 550, "column": 14 }, "end": { "line": 550, "column": 43 } }, "id": { "type": "Identifier", "start": 21440, "end": 21444, "loc": { "start": { "line": 550, "column": 14 }, "end": { "line": 550, "column": 18 }, "identifierName": "item" }, "name": "item", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 21447, "end": 21469, "loc": { "start": { "line": 550, "column": 21 }, "end": { "line": 550, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21447, "end": 21466, "loc": { "start": { "line": 550, "column": 21 }, "end": { "line": 550, "column": 40 } }, "object": { "type": "Identifier", "start": 21447, "end": 21454, "loc": { "start": { "line": 550, "column": 21 }, "end": { "line": 550, "column": 28 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 21455, "end": 21466, "loc": { "start": { "line": 550, "column": 29 }, "end": { "line": 550, "column": 40 }, "identifierName": "itemsBySlot" }, "name": "itemsBySlot" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 21467, "end": 21468, "loc": { "start": { "line": 550, "column": 41 }, "end": { "line": 550, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Pass through the item", "start": 21400, "end": 21424, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 32 } } } ] }, { "type": "ExpressionStatement", "start": 21480, "end": 21566, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 554, "column": 11 } }, "expression": { "type": "CallExpression", "start": 21480, "end": 21565, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 554, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 21480, "end": 21501, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 551, "column": 29 } }, "object": { "type": "MemberExpression", "start": 21480, "end": 21496, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 551, "column": 24 } }, "object": { "type": "Identifier", "start": 21480, "end": 21487, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 551, "column": 15 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 21488, "end": 21496, "loc": { "start": { "line": 551, "column": 16 }, "end": { "line": 551, "column": 24 }, "identifierName": "outItems" }, "name": "outItems" }, "computed": false }, "property": { "type": "Identifier", "start": 21497, "end": 21501, "loc": { "start": { "line": 551, "column": 25 }, "end": { "line": 551, "column": 29 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 21502, "end": 21564, "loc": { "start": { "line": 551, "column": 30 }, "end": { "line": 554, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 21517, "end": 21521, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 16 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 21517, "end": 21521, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "Identifier", "start": 21517, "end": 21521, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 16 }, "identifierName": "item" }, "name": "item" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 21536, "end": 21552, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 21536, "end": 21546, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 22 }, "identifierName": "doNotTrack" }, "name": "doNotTrack" }, "value": { "type": "BooleanLiteral", "start": 21548, "end": 21552, "loc": { "start": { "line": 553, "column": 24 }, "end": { "line": 553, "column": 28 } }, "value": true } } ] } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Track the item", "start": 21578, "end": 21595, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 25 } } } ] }, { "type": "VariableDeclaration", "start": 21605, "end": 21661, "loc": { "start": { "line": 557, "column": 8 }, "end": { "line": 557, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21611, "end": 21660, "loc": { "start": { "line": 557, "column": 14 }, "end": { "line": 557, "column": 63 } }, "id": { "type": "Identifier", "start": 21611, "end": 21621, "loc": { "start": { "line": 557, "column": 14 }, "end": { "line": 557, "column": 24 }, "identifierName": "readerComp" }, "name": "readerComp", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 21624, "end": 21660, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 63 } }, "object": { "type": "MemberExpression", "start": 21624, "end": 21649, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 52 } }, "object": { "type": "MemberExpression", "start": 21624, "end": 21638, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 41 } }, "object": { "type": "Identifier", "start": 21624, "end": 21631, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 34 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 21632, "end": 21638, "loc": { "start": { "line": 557, "column": 35 }, "end": { "line": 557, "column": 41 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 21639, "end": 21649, "loc": { "start": { "line": 557, "column": 42 }, "end": { "line": 557, "column": 52 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 21650, "end": 21660, "loc": { "start": { "line": 557, "column": 53 }, "end": { "line": 557, "column": 63 }, "identifierName": "BeltReader" }, "name": "BeltReader" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Track the item", "start": 21578, "end": 21595, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 25 } } } ] }, { "type": "ExpressionStatement", "start": 21671, "end": 21723, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 60 } }, "expression": { "type": "CallExpression", "start": 21671, "end": 21722, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 21671, "end": 21700, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 37 } }, "object": { "type": "MemberExpression", "start": 21671, "end": 21695, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 32 } }, "object": { "type": "Identifier", "start": 21671, "end": 21681, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 18 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 21682, "end": 21695, "loc": { "start": { "line": 558, "column": 19 }, "end": { "line": 558, "column": 32 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "Identifier", "start": 21696, "end": 21700, "loc": { "start": { "line": 558, "column": 33 }, "end": { "line": 558, "column": 37 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 21701, "end": 21721, "loc": { "start": { "line": 558, "column": 38 }, "end": { "line": 558, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 21701, "end": 21719, "loc": { "start": { "line": 558, "column": 38 }, "end": { "line": 558, "column": 56 } }, "object": { "type": "MemberExpression", "start": 21701, "end": 21715, "loc": { "start": { "line": 558, "column": 38 }, "end": { "line": 558, "column": 52 } }, "object": { "type": "MemberExpression", "start": 21701, "end": 21710, "loc": { "start": { "line": 558, "column": 38 }, "end": { "line": 558, "column": 47 } }, "object": { "type": "ThisExpression", "start": 21701, "end": 21705, "loc": { "start": { "line": 558, "column": 38 }, "end": { "line": 558, "column": 42 } } }, "property": { "type": "Identifier", "start": 21706, "end": 21710, "loc": { "start": { "line": 558, "column": 43 }, "end": { "line": 558, "column": 47 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 21711, "end": 21715, "loc": { "start": { "line": 558, "column": 48 }, "end": { "line": 558, "column": 52 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 21716, "end": 21719, "loc": { "start": { "line": 558, "column": 53 }, "end": { "line": 558, "column": 56 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } ] } }, { "type": "ExpressionStatement", "start": 21733, "end": 21760, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21733, "end": 21759, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21733, "end": 21752, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 27 } }, "object": { "type": "Identifier", "start": 21733, "end": 21743, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 18 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 21744, "end": 21752, "loc": { "start": { "line": 559, "column": 19 }, "end": { "line": 559, "column": 27 }, "identifierName": "lastItem" }, "name": "lastItem" }, "computed": false }, "right": { "type": "Identifier", "start": 21755, "end": 21759, "loc": { "start": { "line": 559, "column": 30 }, "end": { "line": 559, "column": 34 }, "identifierName": "item" }, "name": "item" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21291, "end": 21359, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 547, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21775, "end": 21843, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 564, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 21849, "end": 22236, "loc": { "start": { "line": 565, "column": 4 }, "end": { "line": 573, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21849, "end": 21860, "loc": { "start": { "line": 565, "column": 4 }, "end": { "line": 565, "column": 15 }, "identifierName": "process_HUB" }, "name": "process_HUB", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21861, "end": 21868, "loc": { "start": { "line": 565, "column": 16 }, "end": { "line": 565, "column": 23 }, "identifierName": "payload" }, "name": "payload" } ], "body": { "type": "BlockStatement", "start": 21870, "end": 22236, "loc": { "start": { "line": 565, "column": 25 }, "end": { "line": 573, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21881, "end": 21932, "loc": { "start": { "line": 566, "column": 8 }, "end": { "line": 566, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21887, "end": 21931, "loc": { "start": { "line": 566, "column": 14 }, "end": { "line": 566, "column": 58 } }, "id": { "type": "Identifier", "start": 21887, "end": 21899, "loc": { "start": { "line": 566, "column": 14 }, "end": { "line": 566, "column": 26 }, "identifierName": "hubComponent" }, "name": "hubComponent" }, "init": { "type": "MemberExpression", "start": 21902, "end": 21931, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 58 } }, "object": { "type": "MemberExpression", "start": 21902, "end": 21927, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 54 } }, "object": { "type": "MemberExpression", "start": 21902, "end": 21916, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 43 } }, "object": { "type": "Identifier", "start": 21902, "end": 21909, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 36 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 21910, "end": 21916, "loc": { "start": { "line": 566, "column": 37 }, "end": { "line": 566, "column": 43 }, "identifierName": "entity" }, "name": "entity" }, "computed": false }, "property": { "type": "Identifier", "start": 21917, "end": 21927, "loc": { "start": { "line": 566, "column": 44 }, "end": { "line": 566, "column": 54 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 21928, "end": 21931, "loc": { "start": { "line": 566, "column": 55 }, "end": { "line": 566, "column": 58 }, "identifierName": "Hub" }, "name": "Hub" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 21942, "end": 22006, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 72 } }, "expression": { "type": "CallExpression", "start": 21942, "end": 22005, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 71 } }, "callee": { "type": "Identifier", "start": 21942, "end": 21948, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "Identifier", "start": 21949, "end": 21961, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 27 }, "identifierName": "hubComponent" }, "name": "hubComponent" }, { "type": "StringLiteral", "start": 21963, "end": 22004, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 70 } }, "extra": { "rawValue": "Hub item processor has no hub component", "raw": "\"Hub item processor has no hub component\"" }, "value": "Hub item processor has no hub component" } ] } }, { "type": "ForStatement", "start": 22018, "end": 22229, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 572, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 22023, "end": 22032, "loc": { "start": { "line": 569, "column": 13 }, "end": { "line": 569, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22027, "end": 22032, "loc": { "start": { "line": 569, "column": 17 }, "end": { "line": 569, "column": 22 } }, "id": { "type": "Identifier", "start": 22027, "end": 22028, "loc": { "start": { "line": 569, "column": 17 }, "end": { "line": 569, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 22031, "end": 22032, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 22034, "end": 22058, "loc": { "start": { "line": 569, "column": 24 }, "end": { "line": 569, "column": 48 } }, "left": { "type": "Identifier", "start": 22034, "end": 22035, "loc": { "start": { "line": 569, "column": 24 }, "end": { "line": 569, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 22038, "end": 22058, "loc": { "start": { "line": 569, "column": 28 }, "end": { "line": 569, "column": 48 } }, "object": { "type": "MemberExpression", "start": 22038, "end": 22051, "loc": { "start": { "line": 569, "column": 28 }, "end": { "line": 569, "column": 41 } }, "object": { "type": "Identifier", "start": 22038, "end": 22045, "loc": { "start": { "line": 569, "column": 28 }, "end": { "line": 569, "column": 35 }, "identifierName": "payload" }, "name": "payload" }, "property": { "type": "Identifier", "start": 22046, "end": 22051, "loc": { "start": { "line": 569, "column": 36 }, "end": { "line": 569, "column": 41 }, "identifierName": "items" }, "name": "items" }, "computed": false }, "property": { "type": "Identifier", "start": 22052, "end": 22058, "loc": { "start": { "line": 569, "column": 42 }, "end": { "line": 569, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 22060, "end": 22063, "loc": { "start": { "line": 569, "column": 50 }, "end": { "line": 569, "column": 53 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 22062, "end": 22063, "loc": { "start": { "line": 569, "column": 52 }, "end": { "line": 569, "column": 53 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 22065, "end": 22229, "loc": { "start": { "line": 569, "column": 55 }, "end": { "line": 572, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 22080, "end": 22142, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22086, "end": 22141, "loc": { "start": { "line": 570, "column": 18 }, "end": { "line": 570, "column": 73 } }, "id": { "type": "Identifier", "start": 22086, "end": 22090, "loc": { "start": { "line": 570, "column": 18 }, "end": { "line": 570, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 22119, "end": 22140, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 72 } }, "object": { "type": "MemberExpression", "start": 22119, "end": 22135, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 67 } }, "object": { "type": "MemberExpression", "start": 22119, "end": 22132, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 64 } }, "object": { "type": "Identifier", "start": 22119, "end": 22126, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 58 }, "identifierName": "payload" }, "name": "payload", "leadingComments": null }, "property": { "type": "Identifier", "start": 22127, "end": 22132, "loc": { "start": { "line": 570, "column": 59 }, "end": { "line": 570, "column": 64 }, "identifierName": "items" }, "name": "items" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22133, "end": 22134, "loc": { "start": { "line": 570, "column": 65 }, "end": { "line": 570, "column": 66 }, "identifierName": "i" }, "name": "i" }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 22136, "end": 22140, "loc": { "start": { "line": 570, "column": 68 }, "end": { "line": 570, "column": 72 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 22093, "end": 22117, "loc": { "start": { "line": 570, "column": 25 }, "end": { "line": 570, "column": 49 } } } ], "extra": { "parenthesized": true, "parenStart": 22118 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 22156, "end": 22218, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 74 } }, "expression": { "type": "CallExpression", "start": 22156, "end": 22217, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 22156, "end": 22200, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22156, "end": 22174, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22156, "end": 22165, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 21 } }, "object": { "type": "ThisExpression", "start": 22156, "end": 22160, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 16 } } }, "property": { "type": "Identifier", "start": 22161, "end": 22165, "loc": { "start": { "line": 571, "column": 17 }, "end": { "line": 571, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 22166, "end": 22174, "loc": { "start": { "line": 571, "column": 22 }, "end": { "line": 571, "column": 30 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 22175, "end": 22200, "loc": { "start": { "line": 571, "column": 31 }, "end": { "line": 571, "column": 56 }, "identifierName": "handleDefinitionDelivered" }, "name": "handleDefinitionDelivered" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 22201, "end": 22216, "loc": { "start": { "line": 571, "column": 57 }, "end": { "line": 571, "column": 72 } }, "object": { "type": "Identifier", "start": 22201, "end": 22205, "loc": { "start": { "line": 571, "column": 57 }, "end": { "line": 571, "column": 61 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 22206, "end": 22216, "loc": { "start": { "line": 571, "column": 62 }, "end": { "line": 571, "column": 72 }, "identifierName": "definition" }, "name": "definition" }, "computed": false } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21775, "end": 21843, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 564, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Whole data for a produced item\r\n *\r\n * @typedef {{\r\n * item: BaseItem,\r\n * preferredSlot?: number,\r\n * requiredSlot?: number,\r\n * doNotTrack?: boolean\r\n * }} ProducedItem\r\n ", "start": 667, "end": 858, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Type of a processor implementation\r\n * @typedef {{\r\n * entity: Entity,\r\n * items: Array<{ item: BaseItem, sourceSlot: number }>,\r\n * itemsBySlot: Object,\r\n * outItems: Array\r\n * }} ProcessorImplementationPayload\r\n ", "start": 862, "end": 1128, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 39, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Whole data for a produced item\r\n *\r\n * @typedef {{\r\n * item: BaseItem,\r\n * preferredSlot?: number,\r\n * requiredSlot?: number,\r\n * doNotTrack?: boolean\r\n * }} ProducedItem\r\n ", "start": 667, "end": 858, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Type of a processor implementation\r\n * @typedef {{\r\n * entity: Entity,\r\n * items: Array<{ item: BaseItem, sourceSlot: number }>,\r\n * itemsBySlot: Object,\r\n * outItems: Array\r\n * }} ProcessorImplementationPayload\r\n ", "start": 862, "end": 1128, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 39, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " @ts-nocheck", "start": 0, "end": 14, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 14 } } }, { "type": "CommentBlock", "value": "*\r\n * We need to allow queuing charges, otherwise the throughput will stall\r\n ", "start": 550, "end": 632, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 17, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Whole data for a produced item\r\n *\r\n * @typedef {{\r\n * item: BaseItem,\r\n * preferredSlot?: number,\r\n * requiredSlot?: number,\r\n * doNotTrack?: boolean\r\n * }} ProducedItem\r\n ", "start": 667, "end": 858, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Type of a processor implementation\r\n * @typedef {{\r\n * entity: Entity,\r\n * items: Array<{ item: BaseItem, sourceSlot: number }>,\r\n * itemsBySlot: Object,\r\n * outItems: Array\r\n * }} ProcessorImplementationPayload\r\n ", "start": 862, "end": 1128, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 39, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {Object}\r\n ", "start": 1280, "end": 1398, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 47, "column": 11 } } }, { "type": "CommentLine", "value": " Bind all handlers", "start": 2440, "end": 2460, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 28 } } }, { "type": "CommentLine", "value": " Process next charge", "start": 3037, "end": 3059, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 38 } } }, { "type": "CommentLine", "value": " Add bonus time, this is the time we spent too much", "start": 3297, "end": 3350, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 77 } } }, { "type": "CommentLine", "value": " Check if it finished", "start": 3494, "end": 3517, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "column": 39 } } }, { "type": "CommentLine", "value": " Go over all items and try to eject them", "start": 3663, "end": 3705, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 62 } } }, { "type": "CommentLine", "value": " We have a slot override, check if that is free", "start": 4125, "end": 4174, "loc": { "start": { "line": 106, "column": 28 }, "end": { "line": 106, "column": 77 } } }, { "type": "CommentLine", "value": " We have a slot preference, try using it but otherwise use a free slot", "start": 4459, "end": 4531, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 100 } } }, { "type": "CommentLine", "value": " We can eject on any slot", "start": 4869, "end": 4896, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 55 } } }, { "type": "CommentLine", "value": " Alright, we can actually eject", "start": 5069, "end": 5102, "loc": { "start": { "line": 123, "column": 28 }, "end": { "line": 123, "column": 61 } } }, { "type": "CommentLine", "value": " If the charge was entirely emptied to the outputs, start the next charge", "start": 5483, "end": 5558, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 95 } } }, { "type": "CommentLine", "value": " Check if we have an empty queue and can start a new charge", "start": 5748, "end": 5809, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 73 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns true if the entity should accept the given item on the given slot.\r\n * This should only be called with matching items! I.e. if a color item is expected\r\n * on the given slot, then only a color item must be passed.\r\n * @param {Entity} entity\r\n * @param {BaseItem} item The item to accept\r\n * @param {number} slotIndex The slot index\r\n * @returns {boolean}\r\n ", "start": 6044, "end": 6451, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 157, "column": 7 } } }, { "type": "CommentLine", "value": " Always accept the shape", "start": 6836, "end": 6862, "loc": { "start": { "line": 166, "column": 24 }, "end": { "line": 166, "column": 50 } } }, { "type": "CommentLine", "value": " Check the network value at the given slot", "start": 6947, "end": 6991, "loc": { "start": { "line": 170, "column": 20 }, "end": { "line": 170, "column": 64 } } }, { "type": "CommentLine", "value": " By default, everything is accepted", "start": 7363, "end": 7400, "loc": { "start": { "line": 179, "column": 16 }, "end": { "line": 179, "column": 53 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks whether it's possible to process something\r\n * @param {Entity} entity\r\n ", "start": 7478, "end": 7579, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } }, { "type": "CommentLine", "value": " DEFAULT", "start": 7741, "end": 7751, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 22 } } }, { "type": "CommentLine", "value": " By default, we can start processing once all inputs are there", "start": 7765, "end": 7829, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 76 } } }, { "type": "CommentLine", "value": " QUAD PAINTER", "start": 8005, "end": 8020, "loc": { "start": { "line": 200, "column": 16 }, "end": { "line": 200, "column": 31 } } }, { "type": "CommentLine", "value": " For the quad painter, it might be possible to start processing earlier", "start": 8038, "end": 8111, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 89 } } }, { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 8282, "end": 8352, "loc": { "start": { "line": 206, "column": 20 }, "end": { "line": 206, "column": 90 } } }, { "type": "CommentLine", "value": " First slot is the shape, so if it's not there we can't do anything", "start": 8633, "end": 8702, "loc": { "start": { "line": 212, "column": 20 }, "end": { "line": 212, "column": 89 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 8850, "end": 8874, "loc": { "start": { "line": 217, "column": 38 }, "end": { "line": 217, "column": 62 } } }, { "type": "CommentLine", "value": " Check which slots are enabled", "start": 8965, "end": 8997, "loc": { "start": { "line": 220, "column": 20 }, "end": { "line": 220, "column": 52 } } }, { "type": "CommentLine", "value": " Extract the network value on the Nth pin", "start": 9074, "end": 9117, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 222, "column": 67 } } }, { "type": "CommentLine", "value": " If there is no \"1\" on that slot, don't paint there", "start": 9326, "end": 9379, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "column": 77 } } }, { "type": "CommentLine", "value": " All slots are disabled", "start": 9655, "end": 9680, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "column": 45 } } }, { "type": "CommentLine", "value": " Check if all colors of the enabled slots are there", "start": 9821, "end": 9874, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 73 } } }, { "type": "CommentLine", "value": " A slot which is enabled wasn't enabled. Make sure if there is anything on the quadrant,", "start": 10040, "end": 10130, "loc": { "start": { "line": 243, "column": 28 }, "end": { "line": 243, "column": 118 } } }, { "type": "CommentLine", "value": " it is not possible to paint, but if there is nothing we can ignore it", "start": 10160, "end": 10232, "loc": { "start": { "line": 244, "column": 28 }, "end": { "line": 244, "column": 100 } } }, { "type": "CommentBlock", "value": "*\r\n * Starts a new charge for the entity\r\n * @param {Entity} entity\r\n ", "start": 10804, "end": 10890, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 7 } } }, { "type": "CommentLine", "value": " First, take items", "start": 10996, "end": 11016, "loc": { "start": { "line": 269, "column": 8 }, "end": { "line": 269, "column": 28 } } }, { "type": "CommentBlock", "value": "* @type {Object} ", "start": 11117, "end": 11156, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 47 } } }, { "type": "CommentBlock", "value": "* @type {Array} ", "start": 11325, "end": 11359, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 42 } } }, { "type": "CommentBlock", "value": "* @type {function(payload: ProcessorImplementationPayload) : void} ", "start": 11401, "end": 11472, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 79 } } }, { "type": "CommentLine", "value": " Call implementation", "start": 11634, "end": 11656, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 30 } } }, { "type": "CommentLine", "value": " Track produced items", "start": 11790, "end": 11813, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 31 } } }, { "type": "CommentLine", "value": " Queue Charge", "start": 12024, "end": 12039, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 23 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 12524, "end": 12592, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 13318, "end": 13386, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 340, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 13445, "end": 13469, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 342, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14129, "end": 14197, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 361, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 14261, "end": 14285, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14945, "end": 15013, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 382, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 15073, "end": 15097, "loc": { "start": { "line": 384, "column": 26 }, "end": { "line": 384, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 15523, "end": 15591, "loc": { "start": { "line": 394, "column": 4 }, "end": { "line": 396, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 15655, "end": 15679, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16106, "end": 16174, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 410, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16238, "end": 16262, "loc": { "start": { "line": 412, "column": 26 }, "end": { "line": 412, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16689, "end": 16757, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 424, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16817, "end": 16841, "loc": { "start": { "line": 426, "column": 26 }, "end": { "line": 426, "column": 50 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16895, "end": 16919, "loc": { "start": { "line": 427, "column": 26 }, "end": { "line": 427, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17446, "end": 17514, "loc": { "start": { "line": 441, "column": 4 }, "end": { "line": 443, "column": 7 } } }, { "type": "CommentLine", "value": " Do nothing ..", "start": 17554, "end": 17570, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17585, "end": 17653, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } }, { "type": "CommentLine", "value": " Find both colors and combine them", "start": 17693, "end": 17729, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 17753, "end": 17777, "loc": { "start": { "line": 453, "column": 22 }, "end": { "line": 453, "column": 46 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 17826, "end": 17850, "loc": { "start": { "line": 454, "column": 22 }, "end": { "line": 454, "column": 46 } } }, { "type": "CommentLine", "value": " Try finding mixer color, and if we can't mix it we simply return the same color", "start": 18133, "end": 18215, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 90 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 18515, "end": 18583, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 474, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 18643, "end": 18667, "loc": { "start": { "line": 476, "column": 26 }, "end": { "line": 476, "column": 50 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 18721, "end": 18745, "loc": { "start": { "line": 477, "column": 26 }, "end": { "line": 477, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 19097, "end": 19165, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 491, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 19233, "end": 19257, "loc": { "start": { "line": 493, "column": 27 }, "end": { "line": 493, "column": 51 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 19312, "end": 19336, "loc": { "start": { "line": 494, "column": 27 }, "end": { "line": 494, "column": 51 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 19390, "end": 19414, "loc": { "start": { "line": 495, "column": 26 }, "end": { "line": 495, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 20340, "end": 20408, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 521, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 20473, "end": 20497, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 50 } } }, { "type": "CommentBlock", "value": "* @type {Array} ", "start": 20620, "end": 20652, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 40 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 20818, "end": 20842, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 52 } } }, { "type": "CommentBlock", "value": "* @type {[string, string, string, string]} ", "start": 21050, "end": 21097, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21291, "end": 21359, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 547, "column": 7 } } }, { "type": "CommentLine", "value": " Pass through the item", "start": 21400, "end": 21424, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 32 } } }, { "type": "CommentLine", "value": " Track the item", "start": 21578, "end": 21595, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 25 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21775, "end": 21843, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 564, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 22093, "end": 22117, "loc": { "start": { "line": 570, "column": 25 }, "end": { "line": 570, "column": 49 } } } ], "tokens": [ { "type": "CommentLine", "value": " @ts-nocheck", "start": 0, "end": 14, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 14 } } }, { "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": 16, "end": 22, "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": 23, "end": 24, "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": "BaseItem", "start": 25, "end": 33, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34, "end": 35, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 36, "end": 40, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "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": 41, "end": 55, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 55, "end": 56, "loc": { "start": { "line": 2, "column": 39 }, "end": { "line": 2, "column": 40 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 58, "end": 64, "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": 65, "end": 66, "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": "enumColorMixingResults", "start": 67, "end": 89, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 89, "end": 90, "loc": { "start": { "line": 3, "column": 31 }, "end": { "line": 3, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 91, "end": 101, "loc": { "start": { "line": 3, "column": 33 }, "end": { "line": 3, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 102, "end": 103, "loc": { "start": { "line": 3, "column": 44 }, "end": { "line": 3, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 104, "end": 108, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../colors", "start": 109, "end": 120, "loc": { "start": { "line": 3, "column": 51 }, "end": { "line": 3, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 120, "end": 121, "loc": { "start": { "line": 3, "column": 62 }, "end": { "line": 3, "column": 63 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 123, "end": 129, "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": 130, "end": 131, "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": "enumItemProcessorRequirements", "start": 137, "end": 166, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 166, "end": 167, "loc": { "start": { "line": 5, "column": 33 }, "end": { "line": 5, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 173, "end": 195, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 195, "end": 196, "loc": { "start": { "line": 6, "column": 26 }, "end": { "line": 6, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessorComponent", "start": 202, "end": 224, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 224, "end": 225, "loc": { "start": { "line": 7, "column": 26 }, "end": { "line": 7, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 227, "end": 228, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 229, "end": 233, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../components/item_processor", "start": 234, "end": 264, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 264, "end": 265, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 8, "column": 38 } } }, { "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": 267, "end": 273, "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": 274, "end": 275, "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": 276, "end": 282, "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": 283, "end": 284, "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": 285, "end": 289, "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": 290, "end": 301, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 301, "end": 302, "loc": { "start": { "line": 9, "column": 34 }, "end": { "line": 9, "column": 35 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 304, "end": 310, "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": 311, "end": 312, "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": "GameSystemWithFilter", "start": 313, "end": 333, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 334, "end": 335, "loc": { "start": { "line": 10, "column": 30 }, "end": { "line": 10, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 336, "end": 340, "loc": { "start": { "line": 10, "column": 32 }, "end": { "line": 10, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../game_system_with_filter", "start": 341, "end": 369, "loc": { "start": { "line": 10, "column": 37 }, "end": { "line": 10, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 369, "end": 370, "loc": { "start": { "line": 10, "column": 65 }, "end": { "line": 10, "column": 66 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 372, "end": 378, "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": 379, "end": 380, "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": "BOOL_TRUE_SINGLETON", "start": 381, "end": 400, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 400, "end": 401, "loc": { "start": { "line": 11, "column": 28 }, "end": { "line": 11, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTruthyItem", "start": 402, "end": 414, "loc": { "start": { "line": 11, "column": 30 }, "end": { "line": 11, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 415, "end": 416, "loc": { "start": { "line": 11, "column": 43 }, "end": { "line": 11, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 417, "end": 421, "loc": { "start": { "line": 11, "column": 45 }, "end": { "line": 11, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../items/boolean_item", "start": 422, "end": 445, "loc": { "start": { "line": 11, "column": 50 }, "end": { "line": 11, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 445, "end": 446, "loc": { "start": { "line": 11, "column": 73 }, "end": { "line": 11, "column": 74 } } }, { "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": 448, "end": 454, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 455, "end": 456, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 12, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 457, "end": 466, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 467, "end": 468, "loc": { "start": { "line": 12, "column": 19 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 469, "end": 473, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../items/color_item", "start": 474, "end": 495, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 495, "end": 496, "loc": { "start": { "line": 12, "column": 47 }, "end": { "line": 12, "column": 48 } } }, { "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": 498, "end": 504, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 505, "end": 506, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 507, "end": 516, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 517, "end": 518, "loc": { "start": { "line": 13, "column": 19 }, "end": { "line": 13, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 519, "end": 523, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../items/shape_item", "start": 524, "end": 545, "loc": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 545, "end": 546, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 48 } } }, { "type": "CommentBlock", "value": "*\r\n * We need to allow queuing charges, otherwise the throughput will stall\r\n ", "start": 550, "end": 632, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 17, "column": 3 } } }, { "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": 634, "end": 639, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_QUEUED_CHARGES", "start": 640, "end": 658, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 659, "end": 660, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 661, "end": 662, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 662, "end": 663, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Whole data for a produced item\r\n *\r\n * @typedef {{\r\n * item: BaseItem,\r\n * preferredSlot?: number,\r\n * requiredSlot?: number,\r\n * doNotTrack?: boolean\r\n * }} ProducedItem\r\n ", "start": 667, "end": 858, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Type of a processor implementation\r\n * @typedef {{\r\n * entity: Entity,\r\n * items: Array<{ item: BaseItem, sourceSlot: number }>,\r\n * itemsBySlot: Object,\r\n * outItems: Array\r\n * }} ProcessorImplementationPayload\r\n ", "start": 862, "end": 1128, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 39, "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": 1132, "end": 1138, "loc": { "start": { "line": 41, "column": 0 }, "end": { "line": 41, "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": 1139, "end": 1144, "loc": { "start": { "line": 41, "column": 7 }, "end": { "line": 41, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessorSystem", "start": 1145, "end": 1164, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 32 } } }, { "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": 1165, "end": 1172, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystemWithFilter", "start": 1173, "end": 1193, "loc": { "start": { "line": 41, "column": 41 }, "end": { "line": 41, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1194, "end": 1195, "loc": { "start": { "line": 41, "column": 62 }, "end": { "line": 41, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1201, "end": 1212, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1212, "end": 1213, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1213, "end": 1217, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1217, "end": 1218, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1219, "end": 1220, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 23 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1230, "end": 1235, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1235, "end": 1236, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1236, "end": 1240, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1240, "end": 1241, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1242, "end": 1243, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessorComponent", "start": 1243, "end": 1265, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1265, "end": 1266, "loc": { "start": { "line": 43, "column": 43 }, "end": { "line": 43, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1266, "end": 1267, "loc": { "start": { "line": 43, "column": 44 }, "end": { "line": 43, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1267, "end": 1268, "loc": { "start": { "line": 43, "column": 45 }, "end": { "line": 43, "column": 46 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {Object}\r\n ", "start": 1280, "end": 1398, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 47, "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": 1408, "end": 1412, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1412, "end": 1413, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handlers", "start": 1413, "end": 1421, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1422, "end": 1423, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1424, "end": 1425, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1439, "end": 1440, "loc": { "start": { "line": 49, "column": 12 }, "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": "enumItemProcessorTypes", "start": 1440, "end": 1462, "loc": { "start": { "line": 49, "column": 13 }, "end": { "line": 49, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1462, "end": 1463, "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": "balancer", "start": 1463, "end": 1471, "loc": { "start": { "line": 49, "column": 36 }, "end": { "line": 49, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1471, "end": 1472, "loc": { "start": { "line": 49, "column": 44 }, "end": { "line": 49, "column": 45 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1472, "end": 1473, "loc": { "start": { "line": 49, "column": 45 }, "end": { "line": 49, "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": 1474, "end": 1478, "loc": { "start": { "line": 49, "column": 47 }, "end": { "line": 49, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1478, "end": 1479, "loc": { "start": { "line": 49, "column": 51 }, "end": { "line": 49, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_BALANCER", "start": 1479, "end": 1495, "loc": { "start": { "line": 49, "column": 52 }, "end": { "line": 49, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1495, "end": 1496, "loc": { "start": { "line": 49, "column": 68 }, "end": { "line": 49, "column": 69 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1510, "end": 1511, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1511, "end": 1533, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 50, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1533, "end": 1534, "loc": { "start": { "line": 50, "column": 35 }, "end": { "line": 50, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutter", "start": 1534, "end": 1540, "loc": { "start": { "line": 50, "column": 36 }, "end": { "line": 50, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1540, "end": 1541, "loc": { "start": { "line": 50, "column": 42 }, "end": { "line": 50, "column": 43 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1541, "end": 1542, "loc": { "start": { "line": 50, "column": 43 }, "end": { "line": 50, "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": 1543, "end": 1547, "loc": { "start": { "line": 50, "column": 45 }, "end": { "line": 50, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1547, "end": 1548, "loc": { "start": { "line": 50, "column": 49 }, "end": { "line": 50, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_CUTTER", "start": 1548, "end": 1562, "loc": { "start": { "line": 50, "column": 50 }, "end": { "line": 50, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1562, "end": 1563, "loc": { "start": { "line": 50, "column": 64 }, "end": { "line": 50, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1577, "end": 1578, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1578, "end": 1600, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1600, "end": 1601, "loc": { "start": { "line": 51, "column": 35 }, "end": { "line": 51, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutterQuad", "start": 1601, "end": 1611, "loc": { "start": { "line": 51, "column": 36 }, "end": { "line": 51, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1611, "end": 1612, "loc": { "start": { "line": 51, "column": 46 }, "end": { "line": 51, "column": 47 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1612, "end": 1613, "loc": { "start": { "line": 51, "column": 47 }, "end": { "line": 51, "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": 1614, "end": 1618, "loc": { "start": { "line": 51, "column": 49 }, "end": { "line": 51, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1618, "end": 1619, "loc": { "start": { "line": 51, "column": 53 }, "end": { "line": 51, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_CUTTER_QUAD", "start": 1619, "end": 1638, "loc": { "start": { "line": 51, "column": 54 }, "end": { "line": 51, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1638, "end": 1639, "loc": { "start": { "line": 51, "column": 73 }, "end": { "line": 51, "column": 74 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1653, "end": 1654, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1654, "end": 1676, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1676, "end": 1677, "loc": { "start": { "line": 52, "column": 35 }, "end": { "line": 52, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotater", "start": 1677, "end": 1684, "loc": { "start": { "line": 52, "column": 36 }, "end": { "line": 52, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1684, "end": 1685, "loc": { "start": { "line": 52, "column": 43 }, "end": { "line": 52, "column": 44 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1685, "end": 1686, "loc": { "start": { "line": 52, "column": 44 }, "end": { "line": 52, "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": 1687, "end": 1691, "loc": { "start": { "line": 52, "column": 46 }, "end": { "line": 52, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1691, "end": 1692, "loc": { "start": { "line": 52, "column": 50 }, "end": { "line": 52, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_ROTATER", "start": 1692, "end": 1707, "loc": { "start": { "line": 52, "column": 51 }, "end": { "line": 52, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1707, "end": 1708, "loc": { "start": { "line": 52, "column": 66 }, "end": { "line": 52, "column": 67 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1722, "end": 1723, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1723, "end": 1745, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1745, "end": 1746, "loc": { "start": { "line": 53, "column": 35 }, "end": { "line": 53, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotaterCCW", "start": 1746, "end": 1756, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1756, "end": 1757, "loc": { "start": { "line": 53, "column": 46 }, "end": { "line": 53, "column": 47 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1757, "end": 1758, "loc": { "start": { "line": 53, "column": 47 }, "end": { "line": 53, "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": 1759, "end": 1763, "loc": { "start": { "line": 53, "column": 49 }, "end": { "line": 53, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1763, "end": 1764, "loc": { "start": { "line": 53, "column": 53 }, "end": { "line": 53, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_ROTATER_CCW", "start": 1764, "end": 1783, "loc": { "start": { "line": 53, "column": 54 }, "end": { "line": 53, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1783, "end": 1784, "loc": { "start": { "line": 53, "column": 73 }, "end": { "line": 53, "column": 74 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1798, "end": 1799, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1799, "end": 1821, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1821, "end": 1822, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotater180", "start": 1822, "end": 1832, "loc": { "start": { "line": 54, "column": 36 }, "end": { "line": 54, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1832, "end": 1833, "loc": { "start": { "line": 54, "column": 46 }, "end": { "line": 54, "column": 47 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1833, "end": 1834, "loc": { "start": { "line": 54, "column": 47 }, "end": { "line": 54, "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": 1835, "end": 1839, "loc": { "start": { "line": 54, "column": 49 }, "end": { "line": 54, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1839, "end": 1840, "loc": { "start": { "line": 54, "column": 53 }, "end": { "line": 54, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_ROTATER_180", "start": 1840, "end": 1859, "loc": { "start": { "line": 54, "column": 54 }, "end": { "line": 54, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1859, "end": 1860, "loc": { "start": { "line": 54, "column": 73 }, "end": { "line": 54, "column": 74 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1874, "end": 1875, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1875, "end": 1897, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 55, "column": 35 }, "end": { "line": 55, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stacker", "start": 1898, "end": 1905, "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 55, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1905, "end": 1906, "loc": { "start": { "line": 55, "column": 43 }, "end": { "line": 55, "column": 44 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1906, "end": 1907, "loc": { "start": { "line": 55, "column": 44 }, "end": { "line": 55, "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": 1908, "end": 1912, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "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": 50 }, "end": { "line": 55, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_STACKER", "start": 1913, "end": 1928, "loc": { "start": { "line": 55, "column": 51 }, "end": { "line": 55, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1928, "end": 1929, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 67 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1943, "end": 1944, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 1944, "end": 1966, "loc": { "start": { "line": 56, "column": 13 }, "end": { "line": 56, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1966, "end": 1967, "loc": { "start": { "line": 56, "column": 35 }, "end": { "line": 56, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trash", "start": 1967, "end": 1972, "loc": { "start": { "line": 56, "column": 36 }, "end": { "line": 56, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1972, "end": 1973, "loc": { "start": { "line": 56, "column": 41 }, "end": { "line": 56, "column": 42 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1973, "end": 1974, "loc": { "start": { "line": 56, "column": 42 }, "end": { "line": 56, "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": 1975, "end": 1979, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1979, "end": 1980, "loc": { "start": { "line": 56, "column": 48 }, "end": { "line": 56, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_TRASH", "start": 1980, "end": 1993, "loc": { "start": { "line": 56, "column": 49 }, "end": { "line": 56, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1993, "end": 1994, "loc": { "start": { "line": 56, "column": 62 }, "end": { "line": 56, "column": 63 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2008, "end": 2009, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 2009, "end": 2031, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2031, "end": 2032, "loc": { "start": { "line": 57, "column": 35 }, "end": { "line": 57, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mixer", "start": 2032, "end": 2037, "loc": { "start": { "line": 57, "column": 36 }, "end": { "line": 57, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2037, "end": 2038, "loc": { "start": { "line": 57, "column": 41 }, "end": { "line": 57, "column": 42 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2038, "end": 2039, "loc": { "start": { "line": 57, "column": 42 }, "end": { "line": 57, "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": 2040, "end": 2044, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2044, "end": 2045, "loc": { "start": { "line": 57, "column": 48 }, "end": { "line": 57, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_MIXER", "start": 2045, "end": 2058, "loc": { "start": { "line": 57, "column": 49 }, "end": { "line": 57, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2058, "end": 2059, "loc": { "start": { "line": 57, "column": 62 }, "end": { "line": 57, "column": 63 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2073, "end": 2074, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 2074, "end": 2096, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2096, "end": 2097, "loc": { "start": { "line": 58, "column": 35 }, "end": { "line": 58, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "painter", "start": 2097, "end": 2104, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2104, "end": 2105, "loc": { "start": { "line": 58, "column": 43 }, "end": { "line": 58, "column": 44 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2105, "end": 2106, "loc": { "start": { "line": 58, "column": 44 }, "end": { "line": 58, "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": 2107, "end": 2111, "loc": { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2111, "end": 2112, "loc": { "start": { "line": 58, "column": 50 }, "end": { "line": 58, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_PAINTER", "start": 2112, "end": 2127, "loc": { "start": { "line": 58, "column": 51 }, "end": { "line": 58, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2127, "end": 2128, "loc": { "start": { "line": 58, "column": 66 }, "end": { "line": 58, "column": 67 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2142, "end": 2143, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 2143, "end": 2165, "loc": { "start": { "line": 59, "column": 13 }, "end": { "line": 59, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2165, "end": 2166, "loc": { "start": { "line": 59, "column": 35 }, "end": { "line": 59, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "painterDouble", "start": 2166, "end": 2179, "loc": { "start": { "line": 59, "column": 36 }, "end": { "line": 59, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2179, "end": 2180, "loc": { "start": { "line": 59, "column": 49 }, "end": { "line": 59, "column": 50 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2180, "end": 2181, "loc": { "start": { "line": 59, "column": 50 }, "end": { "line": 59, "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": 2182, "end": 2186, "loc": { "start": { "line": 59, "column": 52 }, "end": { "line": 59, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2186, "end": 2187, "loc": { "start": { "line": 59, "column": 56 }, "end": { "line": 59, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_PAINTER_DOUBLE", "start": 2187, "end": 2209, "loc": { "start": { "line": 59, "column": 57 }, "end": { "line": 59, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2209, "end": 2210, "loc": { "start": { "line": 59, "column": 79 }, "end": { "line": 59, "column": 80 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2224, "end": 2225, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 2225, "end": 2247, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2247, "end": 2248, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "painterQuad", "start": 2248, "end": 2259, "loc": { "start": { "line": 60, "column": 36 }, "end": { "line": 60, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2259, "end": 2260, "loc": { "start": { "line": 60, "column": 47 }, "end": { "line": 60, "column": 48 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2260, "end": 2261, "loc": { "start": { "line": 60, "column": 48 }, "end": { "line": 60, "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": 2262, "end": 2266, "loc": { "start": { "line": 60, "column": 50 }, "end": { "line": 60, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 60, "column": 54 }, "end": { "line": 60, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_PAINTER_QUAD", "start": 2267, "end": 2287, "loc": { "start": { "line": 60, "column": 55 }, "end": { "line": 60, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2287, "end": 2288, "loc": { "start": { "line": 60, "column": 75 }, "end": { "line": 60, "column": 76 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2302, "end": 2303, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 2303, "end": 2325, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2325, "end": 2326, "loc": { "start": { "line": 61, "column": 35 }, "end": { "line": 61, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hub", "start": 2326, "end": 2329, "loc": { "start": { "line": 61, "column": 36 }, "end": { "line": 61, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2329, "end": 2330, "loc": { "start": { "line": 61, "column": 39 }, "end": { "line": 61, "column": 40 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2330, "end": 2331, "loc": { "start": { "line": 61, "column": 40 }, "end": { "line": 61, "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": 2332, "end": 2336, "loc": { "start": { "line": 61, "column": 42 }, "end": { "line": 61, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2336, "end": 2337, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_HUB", "start": 2337, "end": 2348, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2348, "end": 2349, "loc": { "start": { "line": 61, "column": 58 }, "end": { "line": 61, "column": 59 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2363, "end": 2364, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorTypes", "start": 2364, "end": 2386, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2386, "end": 2387, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reader", "start": 2387, "end": 2393, "loc": { "start": { "line": 62, "column": 36 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2393, "end": 2394, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 43 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2394, "end": 2395, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "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": 2396, "end": 2400, "loc": { "start": { "line": 62, "column": 45 }, "end": { "line": 62, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2400, "end": 2401, "loc": { "start": { "line": 62, "column": 49 }, "end": { "line": 62, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_READER", "start": 2401, "end": 2415, "loc": { "start": { "line": 62, "column": 50 }, "end": { "line": 62, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2415, "end": 2416, "loc": { "start": { "line": 62, "column": 64 }, "end": { "line": 62, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2426, "end": 2427, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2427, "end": 2428, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 10 } } }, { "type": "CommentLine", "value": " Bind all handlers", "start": 2440, "end": 2460, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "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": 2470, "end": 2473, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2474, "end": 2475, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "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": 2475, "end": 2480, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 2481, "end": 2484, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 22 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 2485, "end": 2487, "loc": { "start": { "line": 66, "column": 23 }, "end": { "line": 66, "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": 2488, "end": 2492, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2492, "end": 2493, "loc": { "start": { "line": 66, "column": 30 }, "end": { "line": 66, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handlers", "start": 2493, "end": 2501, "loc": { "start": { "line": 66, "column": 31 }, "end": { "line": 66, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2501, "end": 2502, "loc": { "start": { "line": 66, "column": 39 }, "end": { "line": 66, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2503, "end": 2504, "loc": { "start": { "line": 66, "column": 41 }, "end": { "line": 66, "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": 2518, "end": 2522, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2522, "end": 2523, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handlers", "start": 2523, "end": 2531, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2531, "end": 2532, "loc": { "start": { "line": 67, "column": 25 }, "end": { "line": 67, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 2532, "end": 2535, "loc": { "start": { "line": 67, "column": 26 }, "end": { "line": 67, "column": 29 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2535, "end": 2536, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2537, "end": 2538, "loc": { "start": { "line": 67, "column": 31 }, "end": { "line": 67, "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": 2539, "end": 2543, "loc": { "start": { "line": 67, "column": 33 }, "end": { "line": 67, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2543, "end": 2544, "loc": { "start": { "line": 67, "column": 37 }, "end": { "line": 67, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handlers", "start": 2544, "end": 2552, "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 46 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2552, "end": 2553, "loc": { "start": { "line": 67, "column": 46 }, "end": { "line": 67, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 2553, "end": 2556, "loc": { "start": { "line": 67, "column": 47 }, "end": { "line": 67, "column": 50 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2556, "end": 2557, "loc": { "start": { "line": 67, "column": 50 }, "end": { "line": 67, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2557, "end": 2558, "loc": { "start": { "line": 67, "column": 51 }, "end": { "line": 67, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 2558, "end": 2562, "loc": { "start": { "line": 67, "column": 52 }, "end": { "line": 67, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2562, "end": 2563, "loc": { "start": { "line": 67, "column": 56 }, "end": { "line": 67, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2563, "end": 2567, "loc": { "start": { "line": 67, "column": 57 }, "end": { "line": 67, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 67, "column": 61 }, "end": { "line": 67, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2568, "end": 2569, "loc": { "start": { "line": 67, "column": 62 }, "end": { "line": 67, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2579, "end": 2580, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2586, "end": 2587, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 2595, "end": 2601, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 2602, "end": 2607, "loc": { "start": { "line": 71, "column": 11 }, "end": { "line": 71, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2607, "end": 2608, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2608, "end": 2609, "loc": { "start": { "line": 71, "column": 17 }, "end": { "line": 71, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2610, "end": 2611, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "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": 2621, "end": 2627, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "itemProcessor", "start": 2628, "end": 2643, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2643, "end": 2644, "loc": { "start": { "line": 72, "column": 30 }, "end": { "line": 72, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2650, "end": 2651, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 2659, "end": 2665, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2665, "end": 2666, "loc": { "start": { "line": 75, "column": 10 }, "end": { "line": 75, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2666, "end": 2667, "loc": { "start": { "line": 75, "column": 11 }, "end": { "line": 75, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2668, "end": 2669, "loc": { "start": { "line": 75, "column": 13 }, "end": { "line": 75, "column": 14 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2679, "end": 2682, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2683, "end": 2684, "loc": { "start": { "line": 76, "column": 12 }, "end": { "line": 76, "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": 2684, "end": 2687, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2688, "end": 2689, "loc": { "start": { "line": 76, "column": 17 }, "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": 2690, "end": 2691, "loc": { "start": { "line": 76, "column": 19 }, "end": { "line": 76, "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": 2692, "end": 2693, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2693, "end": 2694, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2695, "end": 2696, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2697, "end": 2698, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "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": 2699, "end": 2703, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2703, "end": 2704, "loc": { "start": { "line": 76, "column": 32 }, "end": { "line": 76, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 2704, "end": 2715, "loc": { "start": { "line": 76, "column": 33 }, "end": { "line": 76, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2715, "end": 2716, "loc": { "start": { "line": 76, "column": 44 }, "end": { "line": 76, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2716, "end": 2722, "loc": { "start": { "line": 76, "column": 45 }, "end": { "line": 76, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2722, "end": 2723, "loc": { "start": { "line": 76, "column": 51 }, "end": { "line": 76, "column": 52 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2724, "end": 2726, "loc": { "start": { "line": 76, "column": 53 }, "end": { "line": 76, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2726, "end": 2727, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 76, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2727, "end": 2728, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2729, "end": 2730, "loc": { "start": { "line": 76, "column": 58 }, "end": { "line": 76, "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": 2744, "end": 2749, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2750, "end": 2756, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2757, "end": 2758, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "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": 2759, "end": 2763, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2763, "end": 2764, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 2764, "end": 2775, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2775, "end": 2776, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2776, "end": 2777, "loc": { "start": { "line": 77, "column": 44 }, "end": { "line": 77, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2777, "end": 2778, "loc": { "start": { "line": 77, "column": 45 }, "end": { "line": 77, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2778, "end": 2779, "loc": { "start": { "line": 77, "column": 46 }, "end": { "line": 77, "column": 47 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2795, "end": 2800, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 2801, "end": 2814, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2815, "end": 2816, "loc": { "start": { "line": 79, "column": 32 }, "end": { "line": 79, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2817, "end": 2823, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2823, "end": 2824, "loc": { "start": { "line": 79, "column": 40 }, "end": { "line": 79, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2824, "end": 2834, "loc": { "start": { "line": 79, "column": 41 }, "end": { "line": 79, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2834, "end": 2835, "loc": { "start": { "line": 79, "column": 51 }, "end": { "line": 79, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessor", "start": 2835, "end": 2848, "loc": { "start": { "line": 79, "column": 52 }, "end": { "line": 79, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2848, "end": 2849, "loc": { "start": { "line": 79, "column": 65 }, "end": { "line": 79, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2863, "end": 2868, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 2869, "end": 2880, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2881, "end": 2882, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2883, "end": 2889, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2889, "end": 2890, "loc": { "start": { "line": 80, "column": 38 }, "end": { "line": 80, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2890, "end": 2900, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2900, "end": 2901, "loc": { "start": { "line": 80, "column": 49 }, "end": { "line": 80, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemEjector", "start": 2901, "end": 2912, "loc": { "start": { "line": 80, "column": 50 }, "end": { "line": 80, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2912, "end": 2913, "loc": { "start": { "line": 80, "column": 61 }, "end": { "line": 80, "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": 2929, "end": 2934, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 2935, "end": 2948, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2949, "end": 2950, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 2951, "end": 2964, "loc": { "start": { "line": 82, "column": 34 }, "end": { "line": 82, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2964, "end": 2965, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ongoingCharges", "start": 2965, "end": 2979, "loc": { "start": { "line": 82, "column": 48 }, "end": { "line": 82, "column": 62 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2979, "end": 2980, "loc": { "start": { "line": 82, "column": 62 }, "end": { "line": 82, "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": 2980, "end": 2981, "loc": { "start": { "line": 82, "column": 63 }, "end": { "line": 82, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2981, "end": 2982, "loc": { "start": { "line": 82, "column": 64 }, "end": { "line": 82, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2982, "end": 2983, "loc": { "start": { "line": 82, "column": 65 }, "end": { "line": 82, "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": 2999, "end": 3001, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3002, "end": 3003, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3003, "end": 3016, "loc": { "start": { "line": 84, "column": 16 }, "end": { "line": 84, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3016, "end": 3017, "loc": { "start": { "line": 84, "column": 29 }, "end": { "line": 84, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3018, "end": 3019, "loc": { "start": { "line": 84, "column": 31 }, "end": { "line": 84, "column": 32 } } }, { "type": "CommentLine", "value": " Process next charge", "start": 3037, "end": 3059, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "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": 3077, "end": 3079, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3080, "end": 3081, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 86, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3081, "end": 3094, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3094, "end": 3095, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingTime", "start": 3095, "end": 3108, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 47 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3109, "end": 3110, "loc": { "start": { "line": 86, "column": 48 }, "end": { "line": 86, "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": 3111, "end": 3114, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3114, "end": 3115, "loc": { "start": { "line": 86, "column": 53 }, "end": { "line": 86, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3116, "end": 3117, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3139, "end": 3152, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3152, "end": 3153, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingTime", "start": 3153, "end": 3166, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 47 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 3167, "end": 3169, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "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": 3170, "end": 3174, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3174, "end": 3175, "loc": { "start": { "line": 87, "column": 55 }, "end": { "line": 87, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3175, "end": 3179, "loc": { "start": { "line": 87, "column": 56 }, "end": { "line": 87, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3179, "end": 3180, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dynamicTickrate", "start": 3180, "end": 3195, "loc": { "start": { "line": 87, "column": 61 }, "end": { "line": 87, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3195, "end": 3196, "loc": { "start": { "line": 87, "column": 76 }, "end": { "line": 87, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deltaSeconds", "start": 3196, "end": 3208, "loc": { "start": { "line": 87, "column": 77 }, "end": { "line": 87, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3208, "end": 3209, "loc": { "start": { "line": 87, "column": 89 }, "end": { "line": 87, "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": 3231, "end": 3233, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3234, "end": 3235, "loc": { "start": { "line": 88, "column": 23 }, "end": { "line": 88, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3235, "end": 3248, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3248, "end": 3249, "loc": { "start": { "line": 88, "column": 37 }, "end": { "line": 88, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingTime", "start": 3249, "end": 3262, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 51 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3263, "end": 3264, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 53 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3265, "end": 3268, "loc": { "start": { "line": 88, "column": 54 }, "end": { "line": 88, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3268, "end": 3269, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3270, "end": 3271, "loc": { "start": { "line": 88, "column": 59 }, "end": { "line": 88, "column": 60 } } }, { "type": "CommentLine", "value": " Add bonus time, this is the time we spent too much", "start": 3297, "end": 3350, "loc": { "start": { "line": 89, "column": 24 }, "end": { "line": 89, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 3376, "end": 3389, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3389, "end": 3390, "loc": { "start": { "line": 90, "column": 37 }, "end": { "line": 90, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bonusTime", "start": 3390, "end": 3399, "loc": { "start": { "line": 90, "column": 38 }, "end": { "line": 90, "column": 47 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 3400, "end": 3402, "loc": { "start": { "line": 90, "column": 48 }, "end": { "line": 90, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 3403, "end": 3404, "loc": { "start": { "line": 90, "column": 51 }, "end": { "line": 90, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3404, "end": 3417, "loc": { "start": { "line": 90, "column": 52 }, "end": { "line": 90, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3417, "end": 3418, "loc": { "start": { "line": 90, "column": 65 }, "end": { "line": 90, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingTime", "start": 3418, "end": 3431, "loc": { "start": { "line": 90, "column": 66 }, "end": { "line": 90, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3431, "end": 3432, "loc": { "start": { "line": 90, "column": 79 }, "end": { "line": 90, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3454, "end": 3455, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3473, "end": 3474, "loc": { "start": { "line": 92, "column": 16 }, "end": { "line": 92, "column": 17 } } }, { "type": "CommentLine", "value": " Check if it finished", "start": 3494, "end": 3517, "loc": { "start": { "line": 94, "column": 16 }, "end": { "line": 94, "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": 3535, "end": 3537, "loc": { "start": { "line": 95, "column": 16 }, "end": { "line": 95, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3538, "end": 3539, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 95, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3539, "end": 3552, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3552, "end": 3553, "loc": { "start": { "line": 95, "column": 33 }, "end": { "line": 95, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingTime", "start": 3553, "end": 3566, "loc": { "start": { "line": 95, "column": 34 }, "end": { "line": 95, "column": 47 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 3567, "end": 3569, "loc": { "start": { "line": 95, "column": 48 }, "end": { "line": 95, "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": 3570, "end": 3573, "loc": { "start": { "line": 95, "column": 51 }, "end": { "line": 95, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3573, "end": 3574, "loc": { "start": { "line": 95, "column": 54 }, "end": { "line": 95, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3575, "end": 3576, "loc": { "start": { "line": 95, "column": 56 }, "end": { "line": 95, "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": 3598, "end": 3603, "loc": { "start": { "line": 96, "column": 20 }, "end": { "line": 96, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsToEject", "start": 3604, "end": 3616, "loc": { "start": { "line": 96, "column": 26 }, "end": { "line": 96, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3617, "end": 3618, "loc": { "start": { "line": 96, "column": 39 }, "end": { "line": 96, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCharge", "start": 3619, "end": 3632, "loc": { "start": { "line": 96, "column": 41 }, "end": { "line": 96, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3632, "end": 3633, "loc": { "start": { "line": 96, "column": 54 }, "end": { "line": 96, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 3633, "end": 3638, "loc": { "start": { "line": 96, "column": 55 }, "end": { "line": 96, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3638, "end": 3639, "loc": { "start": { "line": 96, "column": 60 }, "end": { "line": 96, "column": 61 } } }, { "type": "CommentLine", "value": " Go over all items and try to eject them", "start": 3663, "end": 3705, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 62 } } }, { "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": 3727, "end": 3730, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3731, "end": 3732, "loc": { "start": { "line": 99, "column": 24 }, "end": { "line": 99, "column": 25 } } }, { "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": 3732, "end": 3735, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 3736, "end": 3737, "loc": { "start": { "line": 99, "column": 29 }, "end": { "line": 99, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3738, "end": 3739, "loc": { "start": { "line": 99, "column": 31 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3740, "end": 3741, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3741, "end": 3742, "loc": { "start": { "line": 99, "column": 34 }, "end": { "line": 99, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 3743, "end": 3744, "loc": { "start": { "line": 99, "column": 36 }, "end": { "line": 99, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3745, "end": 3746, "loc": { "start": { "line": 99, "column": 38 }, "end": { "line": 99, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsToEject", "start": 3747, "end": 3759, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3759, "end": 3760, "loc": { "start": { "line": 99, "column": 52 }, "end": { "line": 99, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3760, "end": 3766, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3766, "end": 3767, "loc": { "start": { "line": 99, "column": 59 }, "end": { "line": 99, "column": 60 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3768, "end": 3770, "loc": { "start": { "line": 99, "column": 61 }, "end": { "line": 99, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 3770, "end": 3771, "loc": { "start": { "line": 99, "column": 63 }, "end": { "line": 99, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3771, "end": 3772, "loc": { "start": { "line": 99, "column": 64 }, "end": { "line": 99, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3773, "end": 3774, "loc": { "start": { "line": 99, "column": 66 }, "end": { "line": 99, "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": 3800, "end": 3805, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3806, "end": 3807, "loc": { "start": { "line": 100, "column": 30 }, "end": { "line": 100, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 3808, "end": 3812, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3812, "end": 3813, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 3814, "end": 3826, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3826, "end": 3827, "loc": { "start": { "line": 100, "column": 50 }, "end": { "line": 100, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preferredSlot", "start": 3828, "end": 3841, "loc": { "start": { "line": 100, "column": 52 }, "end": { "line": 100, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3842, "end": 3843, "loc": { "start": { "line": 100, "column": 66 }, "end": { "line": 100, "column": 67 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3844, "end": 3845, "loc": { "start": { "line": 100, "column": 68 }, "end": { "line": 100, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsToEject", "start": 3846, "end": 3858, "loc": { "start": { "line": 100, "column": 70 }, "end": { "line": 100, "column": 82 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3858, "end": 3859, "loc": { "start": { "line": 100, "column": 82 }, "end": { "line": 100, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 3859, "end": 3860, "loc": { "start": { "line": 100, "column": 83 }, "end": { "line": 100, "column": 84 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3860, "end": 3861, "loc": { "start": { "line": 100, "column": 84 }, "end": { "line": 100, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3861, "end": 3862, "loc": { "start": { "line": 100, "column": 85 }, "end": { "line": 100, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 3890, "end": 3896, "loc": { "start": { "line": 102, "column": 24 }, "end": { "line": 102, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3896, "end": 3897, "loc": { "start": { "line": 102, "column": 30 }, "end": { "line": 102, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 3897, "end": 3908, "loc": { "start": { "line": 102, "column": 31 }, "end": { "line": 102, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3908, "end": 3909, "loc": { "start": { "line": 102, "column": 42 }, "end": { "line": 102, "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 eject items, the building needs to have an ejector", "start": 3910, "end": 3965, "loc": { "start": { "line": 102, "column": 44 }, "end": { "line": 102, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3965, "end": 3966, "loc": { "start": { "line": 102, "column": 99 }, "end": { "line": 102, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3966, "end": 3967, "loc": { "start": { "line": 102, "column": 100 }, "end": { "line": 102, "column": 101 } } }, { "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": 3995, "end": 3998, "loc": { "start": { "line": 104, "column": 24 }, "end": { "line": 104, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 3999, "end": 4003, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4004, "end": 4005, "loc": { "start": { "line": 104, "column": 33 }, "end": { "line": 104, "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": 4006, "end": 4010, "loc": { "start": { "line": 104, "column": 35 }, "end": { "line": 104, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4010, "end": 4011, "loc": { "start": { "line": 104, "column": 39 }, "end": { "line": 104, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4037, "end": 4039, "loc": { "start": { "line": 105, "column": 24 }, "end": { "line": 105, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4040, "end": 4041, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 4041, "end": 4053, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4054, "end": 4057, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 44 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 4058, "end": 4062, "loc": { "start": { "line": 105, "column": 45 }, "end": { "line": 105, "column": 49 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4063, "end": 4065, "loc": { "start": { "line": 105, "column": 50 }, "end": { "line": 105, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 4066, "end": 4078, "loc": { "start": { "line": 105, "column": 53 }, "end": { "line": 105, "column": 65 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4079, "end": 4082, "loc": { "start": { "line": 105, "column": 66 }, "end": { "line": 105, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 4083, "end": 4092, "loc": { "start": { "line": 105, "column": 70 }, "end": { "line": 105, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4092, "end": 4093, "loc": { "start": { "line": 105, "column": 79 }, "end": { "line": 105, "column": 80 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4094, "end": 4095, "loc": { "start": { "line": 105, "column": 81 }, "end": { "line": 105, "column": 82 } } }, { "type": "CommentLine", "value": " We have a slot override, check if that is free", "start": 4125, "end": 4174, "loc": { "start": { "line": 106, "column": 28 }, "end": { "line": 106, "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": 4204, "end": 4206, "loc": { "start": { "line": 107, "column": 28 }, "end": { "line": 107, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4207, "end": 4208, "loc": { "start": { "line": 107, "column": 31 }, "end": { "line": 107, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 4208, "end": 4219, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4219, "end": 4220, "loc": { "start": { "line": 107, "column": 43 }, "end": { "line": 107, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canEjectOnSlot", "start": 4220, "end": 4234, "loc": { "start": { "line": 107, "column": 44 }, "end": { "line": 107, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4234, "end": 4235, "loc": { "start": { "line": 107, "column": 58 }, "end": { "line": 107, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 4235, "end": 4247, "loc": { "start": { "line": 107, "column": 59 }, "end": { "line": 107, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4247, "end": 4248, "loc": { "start": { "line": 107, "column": 71 }, "end": { "line": 107, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4248, "end": 4249, "loc": { "start": { "line": 107, "column": 72 }, "end": { "line": 107, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4250, "end": 4251, "loc": { "start": { "line": 107, "column": 74 }, "end": { "line": 107, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 4285, "end": 4289, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4290, "end": 4291, "loc": { "start": { "line": 108, "column": 37 }, "end": { "line": 108, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 4292, "end": 4304, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4304, "end": 4305, "loc": { "start": { "line": 108, "column": 51 }, "end": { "line": 108, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4335, "end": 4336, "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 }, "start": 4362, "end": 4363, "loc": { "start": { "line": 110, "column": 24 }, "end": { "line": 110, "column": 25 } } }, { "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": 4364, "end": 4368, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4369, "end": 4371, "loc": { "start": { "line": 110, "column": 31 }, "end": { "line": 110, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4372, "end": 4373, "loc": { "start": { "line": 110, "column": 34 }, "end": { "line": 110, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preferredSlot", "start": 4373, "end": 4386, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 48 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4387, "end": 4390, "loc": { "start": { "line": 110, "column": 49 }, "end": { "line": 110, "column": 52 } } }, { "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": 4391, "end": 4395, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4396, "end": 4398, "loc": { "start": { "line": 110, "column": 58 }, "end": { "line": 110, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preferredSlot", "start": 4399, "end": 4412, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 74 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4413, "end": 4416, "loc": { "start": { "line": 110, "column": 75 }, "end": { "line": 110, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 4417, "end": 4426, "loc": { "start": { "line": 110, "column": 79 }, "end": { "line": 110, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4426, "end": 4427, "loc": { "start": { "line": 110, "column": 88 }, "end": { "line": 110, "column": 89 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4428, "end": 4429, "loc": { "start": { "line": 110, "column": 90 }, "end": { "line": 110, "column": 91 } } }, { "type": "CommentLine", "value": " We have a slot preference, try using it but otherwise use a free slot", "start": 4459, "end": 4531, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 100 } } }, { "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": 4561, "end": 4563, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4564, "end": 4565, "loc": { "start": { "line": 112, "column": 31 }, "end": { "line": 112, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 4565, "end": 4576, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4576, "end": 4577, "loc": { "start": { "line": 112, "column": 43 }, "end": { "line": 112, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canEjectOnSlot", "start": 4577, "end": 4591, "loc": { "start": { "line": 112, "column": 44 }, "end": { "line": 112, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4591, "end": 4592, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preferredSlot", "start": 4592, "end": 4605, "loc": { "start": { "line": 112, "column": 59 }, "end": { "line": 112, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4605, "end": 4606, "loc": { "start": { "line": 112, "column": 72 }, "end": { "line": 112, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4606, "end": 4607, "loc": { "start": { "line": 112, "column": 73 }, "end": { "line": 112, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4608, "end": 4609, "loc": { "start": { "line": 112, "column": 75 }, "end": { "line": 112, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 4643, "end": 4647, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4648, "end": 4649, "loc": { "start": { "line": 113, "column": 37 }, "end": { "line": 113, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preferredSlot", "start": 4650, "end": 4663, "loc": { "start": { "line": 113, "column": 39 }, "end": { "line": 113, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4663, "end": 4664, "loc": { "start": { "line": 113, "column": 52 }, "end": { "line": 113, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4694, "end": 4695, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 29 } } }, { "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": 4696, "end": 4700, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4701, "end": 4702, "loc": { "start": { "line": 114, "column": 35 }, "end": { "line": 114, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 4736, "end": 4740, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4741, "end": 4742, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 4743, "end": 4754, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4754, "end": 4755, "loc": { "start": { "line": 115, "column": 50 }, "end": { "line": 115, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getFirstFreeSlot", "start": 4755, "end": 4771, "loc": { "start": { "line": 115, "column": 51 }, "end": { "line": 115, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4771, "end": 4772, "loc": { "start": { "line": 115, "column": 67 }, "end": { "line": 115, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4772, "end": 4773, "loc": { "start": { "line": 115, "column": 68 }, "end": { "line": 115, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4773, "end": 4774, "loc": { "start": { "line": 115, "column": 69 }, "end": { "line": 115, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4804, "end": 4805, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4831, "end": 4832, "loc": { "start": { "line": 117, "column": 24 }, "end": { "line": 117, "column": 25 } } }, { "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": 4833, "end": 4837, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4838, "end": 4839, "loc": { "start": { "line": 117, "column": 31 }, "end": { "line": 117, "column": 32 } } }, { "type": "CommentLine", "value": " We can eject on any slot", "start": 4869, "end": 4896, "loc": { "start": { "line": 118, "column": 28 }, "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": "slot", "start": 4926, "end": 4930, "loc": { "start": { "line": 119, "column": 28 }, "end": { "line": 119, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4931, "end": 4932, "loc": { "start": { "line": 119, "column": 33 }, "end": { "line": 119, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 4933, "end": 4944, "loc": { "start": { "line": 119, "column": 35 }, "end": { "line": 119, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4944, "end": 4945, "loc": { "start": { "line": 119, "column": 46 }, "end": { "line": 119, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getFirstFreeSlot", "start": 4945, "end": 4961, "loc": { "start": { "line": 119, "column": 47 }, "end": { "line": 119, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4961, "end": 4962, "loc": { "start": { "line": 119, "column": 63 }, "end": { "line": 119, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4962, "end": 4963, "loc": { "start": { "line": 119, "column": 64 }, "end": { "line": 119, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4963, "end": 4964, "loc": { "start": { "line": 119, "column": 65 }, "end": { "line": 119, "column": 66 } } }, { "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": 120, "column": 24 }, "end": { "line": 120, "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": 5019, "end": 5021, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5022, "end": 5023, "loc": { "start": { "line": 122, "column": 27 }, "end": { "line": 122, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 5023, "end": 5027, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 5028, "end": 5031, "loc": { "start": { "line": 122, "column": 33 }, "end": { "line": 122, "column": 36 } } }, { "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": 5032, "end": 5036, "loc": { "start": { "line": 122, "column": 37 }, "end": { "line": 122, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5036, "end": 5037, "loc": { "start": { "line": 122, "column": 41 }, "end": { "line": 122, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5038, "end": 5039, "loc": { "start": { "line": 122, "column": 43 }, "end": { "line": 122, "column": 44 } } }, { "type": "CommentLine", "value": " Alright, we can actually eject", "start": 5069, "end": 5102, "loc": { "start": { "line": 123, "column": 28 }, "end": { "line": 123, "column": 61 } } }, { "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": 5132, "end": 5134, "loc": { "start": { "line": 124, "column": 28 }, "end": { "line": 124, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5135, "end": 5136, "loc": { "start": { "line": 124, "column": 31 }, "end": { "line": 124, "column": 32 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 5136, "end": 5137, "loc": { "start": { "line": 124, "column": 32 }, "end": { "line": 124, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ejectorComp", "start": 5137, "end": 5148, "loc": { "start": { "line": 124, "column": 33 }, "end": { "line": 124, "column": 44 } } }, { "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": 124, "column": 44 }, "end": { "line": 124, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryEject", "start": 5149, "end": 5157, "loc": { "start": { "line": 124, "column": 45 }, "end": { "line": 124, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5157, "end": 5158, "loc": { "start": { "line": 124, "column": 53 }, "end": { "line": 124, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slot", "start": 5158, "end": 5162, "loc": { "start": { "line": 124, "column": 54 }, "end": { "line": 124, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5162, "end": 5163, "loc": { "start": { "line": 124, "column": 58 }, "end": { "line": 124, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 5164, "end": 5168, "loc": { "start": { "line": 124, "column": 60 }, "end": { "line": 124, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5168, "end": 5169, "loc": { "start": { "line": 124, "column": 64 }, "end": { "line": 124, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5169, "end": 5170, "loc": { "start": { "line": 124, "column": 65 }, "end": { "line": 124, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5171, "end": 5172, "loc": { "start": { "line": 124, "column": 67 }, "end": { "line": 124, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 5206, "end": 5212, "loc": { "start": { "line": 125, "column": 32 }, "end": { "line": 125, "column": 38 } } }, { "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": 125, "column": 38 }, "end": { "line": 125, "column": 39 } } }, { "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": 5213, "end": 5218, "loc": { "start": { "line": 125, "column": 39 }, "end": { "line": 125, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5218, "end": 5219, "loc": { "start": { "line": 125, "column": 44 }, "end": { "line": 125, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Failed to eject", "start": 5220, "end": 5237, "loc": { "start": { "line": 125, "column": 46 }, "end": { "line": 125, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5237, "end": 5238, "loc": { "start": { "line": 125, "column": 63 }, "end": { "line": 125, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5238, "end": 5239, "loc": { "start": { "line": 125, "column": 64 }, "end": { "line": 125, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5269, "end": 5270, "loc": { "start": { "line": 126, "column": 28 }, "end": { "line": 126, "column": 29 } } }, { "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": 5271, "end": 5275, "loc": { "start": { "line": 126, "column": 30 }, "end": { "line": 126, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5276, "end": 5277, "loc": { "start": { "line": 126, "column": 35 }, "end": { "line": 126, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsToEject", "start": 5311, "end": 5323, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5323, "end": 5324, "loc": { "start": { "line": 127, "column": 44 }, "end": { "line": 127, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 5324, "end": 5330, "loc": { "start": { "line": 127, "column": 45 }, "end": { "line": 127, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5330, "end": 5331, "loc": { "start": { "line": 127, "column": 51 }, "end": { "line": 127, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 5331, "end": 5332, "loc": { "start": { "line": 127, "column": 52 }, "end": { "line": 127, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5332, "end": 5333, "loc": { "start": { "line": 127, "column": 53 }, "end": { "line": 127, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5334, "end": 5335, "loc": { "start": { "line": 127, "column": 55 }, "end": { "line": 127, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5335, "end": 5336, "loc": { "start": { "line": 127, "column": 56 }, "end": { "line": 127, "column": 57 } } }, { "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": 127, "column": 57 }, "end": { "line": 127, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 5371, "end": 5372, "loc": { "start": { "line": 128, "column": 32 }, "end": { "line": 128, "column": 33 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 5373, "end": 5375, "loc": { "start": { "line": 128, "column": 34 }, "end": { "line": 128, "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": 5376, "end": 5377, "loc": { "start": { "line": 128, "column": 37 }, "end": { "line": 128, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5377, "end": 5378, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5408, "end": 5409, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5435, "end": 5436, "loc": { "start": { "line": 130, "column": 24 }, "end": { "line": 130, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5458, "end": 5459, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 21 } } }, { "type": "CommentLine", "value": " If the charge was entirely emptied to the outputs, start the next charge", "start": 5483, "end": 5558, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 95 } } }, { "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": 5580, "end": 5582, "loc": { "start": { "line": 134, "column": 20 }, "end": { "line": 134, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5583, "end": 5584, "loc": { "start": { "line": 134, "column": 23 }, "end": { "line": 134, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsToEject", "start": 5584, "end": 5596, "loc": { "start": { "line": 134, "column": 24 }, "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": 5596, "end": 5597, "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": "length", "start": 5597, "end": 5603, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "column": 43 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 5604, "end": 5607, "loc": { "start": { "line": 134, "column": 44 }, "end": { "line": 134, "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": 5608, "end": 5609, "loc": { "start": { "line": 134, "column": 48 }, "end": { "line": 134, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5609, "end": 5610, "loc": { "start": { "line": 134, "column": 49 }, "end": { "line": 134, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5611, "end": 5612, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 5638, "end": 5651, "loc": { "start": { "line": 135, "column": 24 }, "end": { "line": 135, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5651, "end": 5652, "loc": { "start": { "line": 135, "column": 37 }, "end": { "line": 135, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ongoingCharges", "start": 5652, "end": 5666, "loc": { "start": { "line": 135, "column": 38 }, "end": { "line": 135, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5666, "end": 5667, "loc": { "start": { "line": 135, "column": 52 }, "end": { "line": 135, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shift", "start": 5667, "end": 5672, "loc": { "start": { "line": 135, "column": 53 }, "end": { "line": 135, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5672, "end": 5673, "loc": { "start": { "line": 135, "column": 58 }, "end": { "line": 135, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5673, "end": 5674, "loc": { "start": { "line": 135, "column": 59 }, "end": { "line": 135, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5674, "end": 5675, "loc": { "start": { "line": 135, "column": 60 }, "end": { "line": 135, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5697, "end": 5698, "loc": { "start": { "line": 136, "column": 20 }, "end": { "line": 136, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5716, "end": 5717, "loc": { "start": { "line": 137, "column": 16 }, "end": { "line": 137, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5731, "end": 5732, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "column": 13 } } }, { "type": "CommentLine", "value": " Check if we have an empty queue and can start a new charge", "start": 5748, "end": 5809, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "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": 5823, "end": 5825, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5826, "end": 5827, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 5827, "end": 5840, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5840, "end": 5841, "loc": { "start": { "line": 141, "column": 29 }, "end": { "line": 141, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ongoingCharges", "start": 5841, "end": 5855, "loc": { "start": { "line": 141, "column": 30 }, "end": { "line": 141, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5855, "end": 5856, "loc": { "start": { "line": 141, "column": 44 }, "end": { "line": 141, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5856, "end": 5862, "loc": { "start": { "line": 141, "column": 45 }, "end": { "line": 141, "column": 51 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 5863, "end": 5864, "loc": { "start": { "line": 141, "column": 52 }, "end": { "line": 141, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_QUEUED_CHARGES", "start": 5865, "end": 5883, "loc": { "start": { "line": 141, "column": 54 }, "end": { "line": 141, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5883, "end": 5884, "loc": { "start": { "line": 141, "column": 72 }, "end": { "line": 141, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5885, "end": 5886, "loc": { "start": { "line": 141, "column": 74 }, "end": { "line": 141, "column": 75 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5904, "end": 5906, "loc": { "start": { "line": 142, "column": 16 }, "end": { "line": 142, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5907, "end": 5908, "loc": { "start": { "line": 142, "column": 19 }, "end": { "line": 142, "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": 5908, "end": 5912, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5912, "end": 5913, "loc": { "start": { "line": 142, "column": 24 }, "end": { "line": 142, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canProcess", "start": 5913, "end": 5923, "loc": { "start": { "line": 142, "column": 25 }, "end": { "line": 142, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5923, "end": 5924, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 5924, "end": 5930, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5930, "end": 5931, "loc": { "start": { "line": 142, "column": 42 }, "end": { "line": 142, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5931, "end": 5932, "loc": { "start": { "line": 142, "column": 43 }, "end": { "line": 142, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5933, "end": 5934, "loc": { "start": { "line": 142, "column": 45 }, "end": { "line": 142, "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": 5956, "end": 5960, "loc": { "start": { "line": 143, "column": 20 }, "end": { "line": 143, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5960, "end": 5961, "loc": { "start": { "line": 143, "column": 24 }, "end": { "line": 143, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startNewCharge", "start": 5961, "end": 5975, "loc": { "start": { "line": 143, "column": 25 }, "end": { "line": 143, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5975, "end": 5976, "loc": { "start": { "line": 143, "column": 39 }, "end": { "line": 143, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 5976, "end": 5982, "loc": { "start": { "line": 143, "column": 40 }, "end": { "line": 143, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5982, "end": 5983, "loc": { "start": { "line": 143, "column": 46 }, "end": { "line": 143, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5983, "end": 5984, "loc": { "start": { "line": 143, "column": 47 }, "end": { "line": 143, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6002, "end": 6003, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6017, "end": 6018, "loc": { "start": { "line": 145, "column": 12 }, "end": { "line": 145, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6028, "end": 6029, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6035, "end": 6036, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns true if the entity should accept the given item on the given slot.\r\n * This should only be called with matching items! I.e. if a color item is expected\r\n * on the given slot, then only a color item must be passed.\r\n * @param {Entity} entity\r\n * @param {BaseItem} item The item to accept\r\n * @param {number} slotIndex The slot index\r\n * @returns {boolean}\r\n ", "start": 6044, "end": 6451, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 157, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkRequirements", "start": 6457, "end": 6474, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6474, "end": 6475, "loc": { "start": { "line": 158, "column": 21 }, "end": { "line": 158, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 6475, "end": 6481, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6481, "end": 6482, "loc": { "start": { "line": 158, "column": 28 }, "end": { "line": 158, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 6483, "end": 6487, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6487, "end": 6488, "loc": { "start": { "line": 158, "column": 34 }, "end": { "line": 158, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotIndex", "start": 6489, "end": 6498, "loc": { "start": { "line": 158, "column": 36 }, "end": { "line": 158, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6498, "end": 6499, "loc": { "start": { "line": 158, "column": 45 }, "end": { "line": 158, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6500, "end": 6501, "loc": { "start": { "line": 158, "column": 47 }, "end": { "line": 158, "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": 6511, "end": 6516, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemProcessorComp", "start": 6517, "end": 6534, "loc": { "start": { "line": 159, "column": 14 }, "end": { "line": 159, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6535, "end": 6536, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 6537, "end": 6543, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6543, "end": 6544, "loc": { "start": { "line": 159, "column": 40 }, "end": { "line": 159, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 6544, "end": 6554, "loc": { "start": { "line": 159, "column": 41 }, "end": { "line": 159, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6554, "end": 6555, "loc": { "start": { "line": 159, "column": 51 }, "end": { "line": 159, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessor", "start": 6555, "end": 6568, "loc": { "start": { "line": 159, "column": 52 }, "end": { "line": 159, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6568, "end": 6569, "loc": { "start": { "line": 159, "column": 65 }, "end": { "line": 159, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6579, "end": 6584, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 6585, "end": 6593, "loc": { "start": { "line": 160, "column": 14 }, "end": { "line": 160, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6594, "end": 6595, "loc": { "start": { "line": 160, "column": 23 }, "end": { "line": 160, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 6596, "end": 6602, "loc": { "start": { "line": 160, "column": 25 }, "end": { "line": 160, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6602, "end": 6603, "loc": { "start": { "line": 160, "column": 31 }, "end": { "line": 160, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 6603, "end": 6613, "loc": { "start": { "line": 160, "column": 32 }, "end": { "line": 160, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6613, "end": 6614, "loc": { "start": { "line": 160, "column": 42 }, "end": { "line": 160, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "WiredPins", "start": 6614, "end": 6623, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6623, "end": 6624, "loc": { "start": { "line": 160, "column": 52 }, "end": { "line": 160, "column": 53 } } }, { "type": { "label": "switch", "keyword": "switch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "switch", "start": 6636, "end": 6642, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6643, "end": 6644, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemProcessorComp", "start": 6644, "end": 6661, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6661, "end": 6662, "loc": { "start": { "line": 162, "column": 33 }, "end": { "line": 162, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processingRequirement", "start": 6662, "end": 6683, "loc": { "start": { "line": 162, "column": 34 }, "end": { "line": 162, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6683, "end": 6684, "loc": { "start": { "line": 162, "column": 55 }, "end": { "line": 162, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6685, "end": 6686, "loc": { "start": { "line": 162, "column": 57 }, "end": { "line": 162, "column": 58 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 6700, "end": 6704, "loc": { "start": { "line": 163, "column": 12 }, "end": { "line": 163, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorRequirements", "start": 6705, "end": 6734, "loc": { "start": { "line": 163, "column": 17 }, "end": { "line": 163, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6734, "end": 6735, "loc": { "start": { "line": 163, "column": 46 }, "end": { "line": 163, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "painterQuad", "start": 6735, "end": 6746, "loc": { "start": { "line": 163, "column": 47 }, "end": { "line": 163, "column": 58 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6746, "end": 6747, "loc": { "start": { "line": 163, "column": 58 }, "end": { "line": 163, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6765, "end": 6766, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "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": 6788, "end": 6790, "loc": { "start": { "line": 165, "column": 20 }, "end": { "line": 165, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6791, "end": 6792, "loc": { "start": { "line": 165, "column": 23 }, "end": { "line": 165, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotIndex", "start": 6792, "end": 6801, "loc": { "start": { "line": 165, "column": 24 }, "end": { "line": 165, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6802, "end": 6805, "loc": { "start": { "line": 165, "column": 34 }, "end": { "line": 165, "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": 6806, "end": 6807, "loc": { "start": { "line": 165, "column": 38 }, "end": { "line": 165, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6807, "end": 6808, "loc": { "start": { "line": 165, "column": 39 }, "end": { "line": 165, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6809, "end": 6810, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 42 } } }, { "type": "CommentLine", "value": " Always accept the shape", "start": 6836, "end": 6862, "loc": { "start": { "line": 166, "column": 24 }, "end": { "line": 166, "column": 50 } } }, { "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": 6888, "end": 6894, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 30 } } }, { "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": 6895, "end": 6899, "loc": { "start": { "line": 167, "column": 31 }, "end": { "line": 167, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6899, "end": 6900, "loc": { "start": { "line": 167, "column": 35 }, "end": { "line": 167, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6922, "end": 6923, "loc": { "start": { "line": 168, "column": 20 }, "end": { "line": 168, "column": 21 } } }, { "type": "CommentLine", "value": " Check the network value at the given slot", "start": 6947, "end": 6991, "loc": { "start": { "line": 170, "column": 20 }, "end": { "line": 170, "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": 7013, "end": 7018, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 171, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 7019, "end": 7026, "loc": { "start": { "line": 171, "column": 26 }, "end": { "line": 171, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7027, "end": 7028, "loc": { "start": { "line": 171, "column": 34 }, "end": { "line": 171, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 7029, "end": 7037, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7037, "end": 7038, "loc": { "start": { "line": 171, "column": 44 }, "end": { "line": 171, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slots", "start": 7038, "end": 7043, "loc": { "start": { "line": 171, "column": 45 }, "end": { "line": 171, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7043, "end": 7044, "loc": { "start": { "line": 171, "column": 50 }, "end": { "line": 171, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotIndex", "start": 7044, "end": 7053, "loc": { "start": { "line": 171, "column": 51 }, "end": { "line": 171, "column": 60 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7054, "end": 7055, "loc": { "start": { "line": 171, "column": 61 }, "end": { "line": 171, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7056, "end": 7057, "loc": { "start": { "line": 171, "column": 63 }, "end": { "line": 171, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7057, "end": 7058, "loc": { "start": { "line": 171, "column": 64 }, "end": { "line": 171, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7058, "end": 7059, "loc": { "start": { "line": 171, "column": 65 }, "end": { "line": 171, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "linkedNetwork", "start": 7059, "end": 7072, "loc": { "start": { "line": 171, "column": 66 }, "end": { "line": 171, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7072, "end": 7073, "loc": { "start": { "line": 171, "column": 79 }, "end": { "line": 171, "column": 80 } } }, { "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": 7095, "end": 7100, "loc": { "start": { "line": 172, "column": 20 }, "end": { "line": 172, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotIsEnabled", "start": 7101, "end": 7114, "loc": { "start": { "line": 172, "column": 26 }, "end": { "line": 172, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7115, "end": 7116, "loc": { "start": { "line": 172, "column": 40 }, "end": { "line": 172, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 7117, "end": 7124, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 49 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7125, "end": 7127, "loc": { "start": { "line": 172, "column": 50 }, "end": { "line": 172, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 7128, "end": 7135, "loc": { "start": { "line": 172, "column": 53 }, "end": { "line": 172, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7135, "end": 7136, "loc": { "start": { "line": 172, "column": 60 }, "end": { "line": 172, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasValue", "start": 7136, "end": 7144, "loc": { "start": { "line": 172, "column": 61 }, "end": { "line": 172, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7144, "end": 7145, "loc": { "start": { "line": 172, "column": 69 }, "end": { "line": 172, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7145, "end": 7146, "loc": { "start": { "line": 172, "column": 70 }, "end": { "line": 172, "column": 71 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7147, "end": 7149, "loc": { "start": { "line": 172, "column": 72 }, "end": { "line": 172, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTruthyItem", "start": 7150, "end": 7162, "loc": { "start": { "line": 172, "column": 75 }, "end": { "line": 172, "column": 87 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7162, "end": 7163, "loc": { "start": { "line": 172, "column": 87 }, "end": { "line": 172, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 7163, "end": 7170, "loc": { "start": { "line": 172, "column": 88 }, "end": { "line": 172, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7170, "end": 7171, "loc": { "start": { "line": 172, "column": 95 }, "end": { "line": 172, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentValue", "start": 7171, "end": 7183, "loc": { "start": { "line": 172, "column": 96 }, "end": { "line": 172, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7183, "end": 7184, "loc": { "start": { "line": 172, "column": 108 }, "end": { "line": 172, "column": 109 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7184, "end": 7185, "loc": { "start": { "line": 172, "column": 109 }, "end": { "line": 172, "column": 110 } } }, { "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": 7207, "end": 7209, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7210, "end": 7211, "loc": { "start": { "line": 173, "column": 23 }, "end": { "line": 173, "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": 7211, "end": 7212, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotIsEnabled", "start": 7212, "end": 7225, "loc": { "start": { "line": 173, "column": 25 }, "end": { "line": 173, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7225, "end": 7226, "loc": { "start": { "line": 173, "column": 38 }, "end": { "line": 173, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7227, "end": 7228, "loc": { "start": { "line": 173, "column": 40 }, "end": { "line": 173, "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": 7254, "end": 7260, "loc": { "start": { "line": 174, "column": 24 }, "end": { "line": 174, "column": 30 } } }, { "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": 7261, "end": 7266, "loc": { "start": { "line": 174, "column": 31 }, "end": { "line": 174, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7266, "end": 7267, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7289, "end": 7290, "loc": { "start": { "line": 175, "column": 20 }, "end": { "line": 175, "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": 7312, "end": 7318, "loc": { "start": { "line": 176, "column": 20 }, "end": { "line": 176, "column": 26 } } }, { "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": 7319, "end": 7323, "loc": { "start": { "line": 176, "column": 27 }, "end": { "line": 176, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7323, "end": 7324, "loc": { "start": { "line": 176, "column": 31 }, "end": { "line": 176, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7342, "end": 7343, "loc": { "start": { "line": 177, "column": 16 }, "end": { "line": 177, "column": 17 } } }, { "type": "CommentLine", "value": " By default, everything is accepted", "start": 7363, "end": 7400, "loc": { "start": { "line": 179, "column": 16 }, "end": { "line": 179, "column": 53 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 7414, "end": 7421, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7421, "end": 7422, "loc": { "start": { "line": 180, "column": 19 }, "end": { "line": 180, "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": 7440, "end": 7446, "loc": { "start": { "line": 181, "column": 16 }, "end": { "line": 181, "column": 22 } } }, { "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": 7447, "end": 7451, "loc": { "start": { "line": 181, "column": 23 }, "end": { "line": 181, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7451, "end": 7452, "loc": { "start": { "line": 181, "column": 27 }, "end": { "line": 181, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7462, "end": 7463, "loc": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7469, "end": 7470, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 183, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks whether it's possible to process something\r\n * @param {Entity} entity\r\n ", "start": 7478, "end": 7579, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 188, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canProcess", "start": 7585, "end": 7595, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7595, "end": 7596, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 7596, "end": 7602, "loc": { "start": { "line": 189, "column": 15 }, "end": { "line": 189, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7602, "end": 7603, "loc": { "start": { "line": 189, "column": 21 }, "end": { "line": 189, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7604, "end": 7605, "loc": { "start": { "line": 189, "column": 23 }, "end": { "line": 189, "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": 7615, "end": 7620, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 7621, "end": 7634, "loc": { "start": { "line": 190, "column": 14 }, "end": { "line": 190, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7635, "end": 7636, "loc": { "start": { "line": 190, "column": 28 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 7637, "end": 7643, "loc": { "start": { "line": 190, "column": 30 }, "end": { "line": 190, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7643, "end": 7644, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 190, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 7644, "end": 7654, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7654, "end": 7655, "loc": { "start": { "line": 190, "column": 47 }, "end": { "line": 190, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessor", "start": 7655, "end": 7668, "loc": { "start": { "line": 190, "column": 48 }, "end": { "line": 190, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7668, "end": 7669, "loc": { "start": { "line": 190, "column": 61 }, "end": { "line": 190, "column": 62 } } }, { "type": { "label": "switch", "keyword": "switch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "switch", "start": 7681, "end": 7687, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7688, "end": 7689, "loc": { "start": { "line": 192, "column": 15 }, "end": { "line": 192, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 7689, "end": 7702, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7702, "end": 7703, "loc": { "start": { "line": 192, "column": 29 }, "end": { "line": 192, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processingRequirement", "start": 7703, "end": 7724, "loc": { "start": { "line": 192, "column": 30 }, "end": { "line": 192, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7724, "end": 7725, "loc": { "start": { "line": 192, "column": 51 }, "end": { "line": 192, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7726, "end": 7727, "loc": { "start": { "line": 192, "column": 53 }, "end": { "line": 192, "column": 54 } } }, { "type": "CommentLine", "value": " DEFAULT", "start": 7741, "end": 7751, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 22 } } }, { "type": "CommentLine", "value": " By default, we can start processing once all inputs are there", "start": 7765, "end": 7829, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 76 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 7843, "end": 7847, "loc": { "start": { "line": 195, "column": 12 }, "end": { "line": 195, "column": 16 } } }, { "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": 7848, "end": 7852, "loc": { "start": { "line": 195, "column": 17 }, "end": { "line": 195, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7852, "end": 7853, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7871, "end": 7872, "loc": { "start": { "line": 196, "column": 16 }, "end": { "line": 196, "column": 17 } } }, { "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": 7894, "end": 7900, "loc": { "start": { "line": 197, "column": 20 }, "end": { "line": 197, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 7901, "end": 7914, "loc": { "start": { "line": 197, "column": 27 }, "end": { "line": 197, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7914, "end": 7915, "loc": { "start": { "line": 197, "column": 40 }, "end": { "line": 197, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputSlots", "start": 7915, "end": 7925, "loc": { "start": { "line": 197, "column": 41 }, "end": { "line": 197, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7925, "end": 7926, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 7926, "end": 7932, "loc": { "start": { "line": 197, "column": 52 }, "end": { "line": 197, "column": 58 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 7933, "end": 7935, "loc": { "start": { "line": 197, "column": 59 }, "end": { "line": 197, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 7936, "end": 7949, "loc": { "start": { "line": 197, "column": 62 }, "end": { "line": 197, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7949, "end": 7950, "loc": { "start": { "line": 197, "column": 75 }, "end": { "line": 197, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputsPerCharge", "start": 7950, "end": 7965, "loc": { "start": { "line": 197, "column": 76 }, "end": { "line": 197, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7965, "end": 7966, "loc": { "start": { "line": 197, "column": 91 }, "end": { "line": 197, "column": 92 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7984, "end": 7985, "loc": { "start": { "line": 198, "column": 16 }, "end": { "line": 198, "column": 17 } } }, { "type": "CommentLine", "value": " QUAD PAINTER", "start": 8005, "end": 8020, "loc": { "start": { "line": 200, "column": 16 }, "end": { "line": 200, "column": 31 } } }, { "type": "CommentLine", "value": " For the quad painter, it might be possible to start processing earlier", "start": 8038, "end": 8111, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 89 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 8125, "end": 8129, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 202, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumItemProcessorRequirements", "start": 8130, "end": 8159, "loc": { "start": { "line": 202, "column": 17 }, "end": { "line": 202, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8159, "end": 8160, "loc": { "start": { "line": 202, "column": 46 }, "end": { "line": 202, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "painterQuad", "start": 8160, "end": 8171, "loc": { "start": { "line": 202, "column": 47 }, "end": { "line": 202, "column": 58 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8171, "end": 8172, "loc": { "start": { "line": 202, "column": 58 }, "end": { "line": 202, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8190, "end": 8191, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 17 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8213, "end": 8218, "loc": { "start": { "line": 204, "column": 20 }, "end": { "line": 204, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 8219, "end": 8227, "loc": { "start": { "line": 204, "column": 26 }, "end": { "line": 204, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8228, "end": 8229, "loc": { "start": { "line": 204, "column": 35 }, "end": { "line": 204, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 8230, "end": 8236, "loc": { "start": { "line": 204, "column": 37 }, "end": { "line": 204, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8236, "end": 8237, "loc": { "start": { "line": 204, "column": 43 }, "end": { "line": 204, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 8237, "end": 8247, "loc": { "start": { "line": 204, "column": 44 }, "end": { "line": 204, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8247, "end": 8248, "loc": { "start": { "line": 204, "column": 54 }, "end": { "line": 204, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "WiredPins", "start": 8248, "end": 8257, "loc": { "start": { "line": 204, "column": 55 }, "end": { "line": 204, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8257, "end": 8258, "loc": { "start": { "line": 204, "column": 64 }, "end": { "line": 204, "column": 65 } } }, { "type": "CommentBlock", "value": "* @type {Object.} ", "start": 8282, "end": 8352, "loc": { "start": { "line": 206, "column": 20 }, "end": { "line": 206, "column": 90 } } }, { "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": 8374, "end": 8379, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 8380, "end": 8391, "loc": { "start": { "line": 207, "column": 26 }, "end": { "line": 207, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8392, "end": 8393, "loc": { "start": { "line": 207, "column": 38 }, "end": { "line": 207, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8394, "end": 8395, "loc": { "start": { "line": 207, "column": 40 }, "end": { "line": 207, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8395, "end": 8396, "loc": { "start": { "line": 207, "column": 41 }, "end": { "line": 207, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8396, "end": 8397, "loc": { "start": { "line": 207, "column": 42 }, "end": { "line": 207, "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": 8419, "end": 8422, "loc": { "start": { "line": 208, "column": 20 }, "end": { "line": 208, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8423, "end": 8424, "loc": { "start": { "line": 208, "column": 24 }, "end": { "line": 208, "column": 25 } } }, { "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": 8424, "end": 8427, "loc": { "start": { "line": 208, "column": 25 }, "end": { "line": 208, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8428, "end": 8429, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8430, "end": 8431, "loc": { "start": { "line": 208, "column": 31 }, "end": { "line": 208, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8432, "end": 8433, "loc": { "start": { "line": 208, "column": 33 }, "end": { "line": 208, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8433, "end": 8434, "loc": { "start": { "line": 208, "column": 34 }, "end": { "line": 208, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8435, "end": 8436, "loc": { "start": { "line": 208, "column": 36 }, "end": { "line": 208, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8437, "end": 8438, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 8439, "end": 8452, "loc": { "start": { "line": 208, "column": 40 }, "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": 8452, "end": 8453, "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": "inputSlots", "start": 8453, "end": 8463, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8463, "end": 8464, "loc": { "start": { "line": 208, "column": 64 }, "end": { "line": 208, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8464, "end": 8470, "loc": { "start": { "line": 208, "column": 65 }, "end": { "line": 208, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8470, "end": 8471, "loc": { "start": { "line": 208, "column": 71 }, "end": { "line": 208, "column": 72 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 8472, "end": 8474, "loc": { "start": { "line": 208, "column": 73 }, "end": { "line": 208, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8474, "end": 8475, "loc": { "start": { "line": 208, "column": 75 }, "end": { "line": 208, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8475, "end": 8476, "loc": { "start": { "line": 208, "column": 76 }, "end": { "line": 208, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8477, "end": 8478, "loc": { "start": { "line": 208, "column": 78 }, "end": { "line": 208, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 8504, "end": 8515, "loc": { "start": { "line": 209, "column": 24 }, "end": { "line": 209, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8515, "end": 8516, "loc": { "start": { "line": 209, "column": 35 }, "end": { "line": 209, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 8516, "end": 8529, "loc": { "start": { "line": 209, "column": 36 }, "end": { "line": 209, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8529, "end": 8530, "loc": { "start": { "line": 209, "column": 49 }, "end": { "line": 209, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputSlots", "start": 8530, "end": 8540, "loc": { "start": { "line": 209, "column": 50 }, "end": { "line": 209, "column": 60 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8540, "end": 8541, "loc": { "start": { "line": 209, "column": 60 }, "end": { "line": 209, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8541, "end": 8542, "loc": { "start": { "line": 209, "column": 61 }, "end": { "line": 209, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8542, "end": 8543, "loc": { "start": { "line": 209, "column": 62 }, "end": { "line": 209, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8543, "end": 8544, "loc": { "start": { "line": 209, "column": 63 }, "end": { "line": 209, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sourceSlot", "start": 8544, "end": 8554, "loc": { "start": { "line": 209, "column": 64 }, "end": { "line": 209, "column": 74 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8554, "end": 8555, "loc": { "start": { "line": 209, "column": 74 }, "end": { "line": 209, "column": 75 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8556, "end": 8557, "loc": { "start": { "line": 209, "column": 76 }, "end": { "line": 209, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 8558, "end": 8571, "loc": { "start": { "line": 209, "column": 78 }, "end": { "line": 209, "column": 91 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8571, "end": 8572, "loc": { "start": { "line": 209, "column": 91 }, "end": { "line": 209, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputSlots", "start": 8572, "end": 8582, "loc": { "start": { "line": 209, "column": 92 }, "end": { "line": 209, "column": 102 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8582, "end": 8583, "loc": { "start": { "line": 209, "column": 102 }, "end": { "line": 209, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 8583, "end": 8584, "loc": { "start": { "line": 209, "column": 103 }, "end": { "line": 209, "column": 104 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8584, "end": 8585, "loc": { "start": { "line": 209, "column": 104 }, "end": { "line": 209, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8585, "end": 8586, "loc": { "start": { "line": 209, "column": 105 }, "end": { "line": 209, "column": 106 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8608, "end": 8609, "loc": { "start": { "line": 210, "column": 20 }, "end": { "line": 210, "column": 21 } } }, { "type": "CommentLine", "value": " First slot is the shape, so if it's not there we can't do anything", "start": 8633, "end": 8702, "loc": { "start": { "line": 212, "column": 20 }, "end": { "line": 212, "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": 8724, "end": 8726, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8727, "end": 8728, "loc": { "start": { "line": 213, "column": 23 }, "end": { "line": 213, "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": 8728, "end": 8729, "loc": { "start": { "line": 213, "column": 24 }, "end": { "line": 213, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 8729, "end": 8740, "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8740, "end": 8741, "loc": { "start": { "line": 213, "column": 36 }, "end": { "line": 213, "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": 8741, "end": 8742, "loc": { "start": { "line": 213, "column": 37 }, "end": { "line": 213, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8742, "end": 8743, "loc": { "start": { "line": 213, "column": 38 }, "end": { "line": 213, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8743, "end": 8744, "loc": { "start": { "line": 213, "column": 39 }, "end": { "line": 213, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8745, "end": 8746, "loc": { "start": { "line": 213, "column": 41 }, "end": { "line": 213, "column": 42 } } }, { "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": 8772, "end": 8778, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 30 } } }, { "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": 8779, "end": 8784, "loc": { "start": { "line": 214, "column": 31 }, "end": { "line": 214, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8784, "end": 8785, "loc": { "start": { "line": 214, "column": 36 }, "end": { "line": 214, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8807, "end": 8808, "loc": { "start": { "line": 215, "column": 20 }, "end": { "line": 215, "column": 21 } } }, { "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": 8832, "end": 8837, "loc": { "start": { "line": 217, "column": 20 }, "end": { "line": 217, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 8838, "end": 8847, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8848, "end": 8849, "loc": { "start": { "line": 217, "column": 36 }, "end": { "line": 217, "column": 37 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 8850, "end": 8874, "loc": { "start": { "line": 217, "column": 38 }, "end": { "line": 217, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8875, "end": 8876, "loc": { "start": { "line": 217, "column": 63 }, "end": { "line": 217, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 8876, "end": 8887, "loc": { "start": { "line": 217, "column": 64 }, "end": { "line": 217, "column": 75 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8887, "end": 8888, "loc": { "start": { "line": 217, "column": 75 }, "end": { "line": 217, "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": 8888, "end": 8889, "loc": { "start": { "line": 217, "column": 76 }, "end": { "line": 217, "column": 77 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8889, "end": 8890, "loc": { "start": { "line": 217, "column": 77 }, "end": { "line": 217, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8890, "end": 8891, "loc": { "start": { "line": 217, "column": 78 }, "end": { "line": 217, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 8891, "end": 8895, "loc": { "start": { "line": 217, "column": 79 }, "end": { "line": 217, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8895, "end": 8896, "loc": { "start": { "line": 217, "column": 83 }, "end": { "line": 217, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8896, "end": 8897, "loc": { "start": { "line": 217, "column": 84 }, "end": { "line": 217, "column": 85 } } }, { "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": 8919, "end": 8924, "loc": { "start": { "line": 218, "column": 20 }, "end": { "line": 218, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotStatus", "start": 8925, "end": 8935, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8936, "end": 8937, "loc": { "start": { "line": 218, "column": 37 }, "end": { "line": 218, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8938, "end": 8939, "loc": { "start": { "line": 218, "column": 39 }, "end": { "line": 218, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8939, "end": 8940, "loc": { "start": { "line": 218, "column": 40 }, "end": { "line": 218, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8940, "end": 8941, "loc": { "start": { "line": 218, "column": 41 }, "end": { "line": 218, "column": 42 } } }, { "type": "CommentLine", "value": " Check which slots are enabled", "start": 8965, "end": 8997, "loc": { "start": { "line": 220, "column": 20 }, "end": { "line": 220, "column": 52 } } }, { "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": 9019, "end": 9022, "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9023, "end": 9024, "loc": { "start": { "line": 221, "column": 24 }, "end": { "line": 221, "column": 25 } } }, { "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": 9024, "end": 9027, "loc": { "start": { "line": 221, "column": 25 }, "end": { "line": 221, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9028, "end": 9029, "loc": { "start": { "line": 221, "column": 29 }, "end": { "line": 221, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9030, "end": 9031, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9032, "end": 9033, "loc": { "start": { "line": 221, "column": 33 }, "end": { "line": 221, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9033, "end": 9034, "loc": { "start": { "line": 221, "column": 34 }, "end": { "line": 221, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9035, "end": 9036, "loc": { "start": { "line": 221, "column": 36 }, "end": { "line": 221, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 9037, "end": 9038, "loc": { "start": { "line": 221, "column": 38 }, "end": { "line": 221, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 9039, "end": 9040, "loc": { "start": { "line": 221, "column": 40 }, "end": { "line": 221, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9040, "end": 9041, "loc": { "start": { "line": 221, "column": 41 }, "end": { "line": 221, "column": 42 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 9042, "end": 9044, "loc": { "start": { "line": 221, "column": 43 }, "end": { "line": 221, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9044, "end": 9045, "loc": { "start": { "line": 221, "column": 45 }, "end": { "line": 221, "column": 46 } } }, { "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": 221, "column": 46 }, "end": { "line": 221, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9047, "end": 9048, "loc": { "start": { "line": 221, "column": 48 }, "end": { "line": 221, "column": 49 } } }, { "type": "CommentLine", "value": " Extract the network value on the Nth pin", "start": 9074, "end": 9117, "loc": { "start": { "line": 222, "column": 24 }, "end": { "line": 222, "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": 9143, "end": 9148, "loc": { "start": { "line": 223, "column": 24 }, "end": { "line": 223, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 9149, "end": 9156, "loc": { "start": { "line": 223, "column": 30 }, "end": { "line": 223, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9157, "end": 9158, "loc": { "start": { "line": 223, "column": 38 }, "end": { "line": 223, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 9159, "end": 9167, "loc": { "start": { "line": 223, "column": 40 }, "end": { "line": 223, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9167, "end": 9168, "loc": { "start": { "line": 223, "column": 48 }, "end": { "line": 223, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slots", "start": 9168, "end": 9173, "loc": { "start": { "line": 223, "column": 49 }, "end": { "line": 223, "column": 54 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9173, "end": 9174, "loc": { "start": { "line": 223, "column": 54 }, "end": { "line": 223, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9174, "end": 9175, "loc": { "start": { "line": 223, "column": 55 }, "end": { "line": 223, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9175, "end": 9176, "loc": { "start": { "line": 223, "column": 56 }, "end": { "line": 223, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9176, "end": 9177, "loc": { "start": { "line": 223, "column": 57 }, "end": { "line": 223, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "linkedNetwork", "start": 9177, "end": 9190, "loc": { "start": { "line": 223, "column": 58 }, "end": { "line": 223, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9190, "end": 9191, "loc": { "start": { "line": 223, "column": 71 }, "end": { "line": 223, "column": 72 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 9217, "end": 9222, "loc": { "start": { "line": 224, "column": 24 }, "end": { "line": 224, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "networkValue", "start": 9223, "end": 9235, "loc": { "start": { "line": 224, "column": 30 }, "end": { "line": 224, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9236, "end": 9237, "loc": { "start": { "line": 224, "column": 43 }, "end": { "line": 224, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 9238, "end": 9245, "loc": { "start": { "line": 224, "column": 45 }, "end": { "line": 224, "column": 52 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9246, "end": 9248, "loc": { "start": { "line": 224, "column": 53 }, "end": { "line": 224, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 9249, "end": 9256, "loc": { "start": { "line": 224, "column": 56 }, "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": 9256, "end": 9257, "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": "hasValue", "start": 9257, "end": 9265, "loc": { "start": { "line": 224, "column": 64 }, "end": { "line": 224, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9265, "end": 9266, "loc": { "start": { "line": 224, "column": 72 }, "end": { "line": 224, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9266, "end": 9267, "loc": { "start": { "line": 224, "column": 73 }, "end": { "line": 224, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9268, "end": 9269, "loc": { "start": { "line": 224, "column": 75 }, "end": { "line": 224, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 9270, "end": 9277, "loc": { "start": { "line": 224, "column": 77 }, "end": { "line": 224, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9277, "end": 9278, "loc": { "start": { "line": 224, "column": 84 }, "end": { "line": 224, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentValue", "start": 9278, "end": 9290, "loc": { "start": { "line": 224, "column": 85 }, "end": { "line": 224, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9291, "end": 9292, "loc": { "start": { "line": 224, "column": 98 }, "end": { "line": 224, "column": 99 } } }, { "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": 9293, "end": 9297, "loc": { "start": { "line": 224, "column": 100 }, "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": 9297, "end": 9298, "loc": { "start": { "line": 224, "column": 104 }, "end": { "line": 224, "column": 105 } } }, { "type": "CommentLine", "value": " If there is no \"1\" on that slot, don't paint there", "start": 9326, "end": 9379, "loc": { "start": { "line": 226, "column": 24 }, "end": { "line": 226, "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": 9405, "end": 9407, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9408, "end": 9409, "loc": { "start": { "line": 227, "column": 27 }, "end": { "line": 227, "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": 9409, "end": 9410, "loc": { "start": { "line": 227, "column": 28 }, "end": { "line": 227, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isTruthyItem", "start": 9410, "end": 9422, "loc": { "start": { "line": 227, "column": 29 }, "end": { "line": 227, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9422, "end": 9423, "loc": { "start": { "line": 227, "column": 41 }, "end": { "line": 227, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "networkValue", "start": 9423, "end": 9435, "loc": { "start": { "line": 227, "column": 42 }, "end": { "line": 227, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9435, "end": 9436, "loc": { "start": { "line": 227, "column": 54 }, "end": { "line": 227, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9436, "end": 9437, "loc": { "start": { "line": 227, "column": 55 }, "end": { "line": 227, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9438, "end": 9439, "loc": { "start": { "line": 227, "column": 57 }, "end": { "line": 227, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotStatus", "start": 9469, "end": 9479, "loc": { "start": { "line": 228, "column": 28 }, "end": { "line": 228, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9479, "end": 9480, "loc": { "start": { "line": 228, "column": 38 }, "end": { "line": 228, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 9480, "end": 9484, "loc": { "start": { "line": 228, "column": 39 }, "end": { "line": 228, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9484, "end": 9485, "loc": { "start": { "line": 228, "column": 43 }, "end": { "line": 228, "column": 44 } } }, { "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": 9485, "end": 9490, "loc": { "start": { "line": 228, "column": 44 }, "end": { "line": 228, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9490, "end": 9491, "loc": { "start": { "line": 228, "column": 49 }, "end": { "line": 228, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9491, "end": 9492, "loc": { "start": { "line": 228, "column": 50 }, "end": { "line": 228, "column": 51 } } }, { "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": 9522, "end": 9530, "loc": { "start": { "line": 229, "column": 28 }, "end": { "line": 229, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9530, "end": 9531, "loc": { "start": { "line": 229, "column": 36 }, "end": { "line": 229, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9557, "end": 9558, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotStatus", "start": 9586, "end": 9596, "loc": { "start": { "line": 232, "column": 24 }, "end": { "line": 232, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9596, "end": 9597, "loc": { "start": { "line": 232, "column": 34 }, "end": { "line": 232, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 9597, "end": 9601, "loc": { "start": { "line": 232, "column": 35 }, "end": { "line": 232, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9601, "end": 9602, "loc": { "start": { "line": 232, "column": 39 }, "end": { "line": 232, "column": 40 } } }, { "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": 9602, "end": 9606, "loc": { "start": { "line": 232, "column": 40 }, "end": { "line": 232, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9606, "end": 9607, "loc": { "start": { "line": 232, "column": 44 }, "end": { "line": 232, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9607, "end": 9608, "loc": { "start": { "line": 232, "column": 45 }, "end": { "line": 232, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9630, "end": 9631, "loc": { "start": { "line": 233, "column": 20 }, "end": { "line": 233, "column": 21 } } }, { "type": "CommentLine", "value": " All slots are disabled", "start": 9655, "end": 9680, "loc": { "start": { "line": 235, "column": 20 }, "end": { "line": 235, "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": 9702, "end": 9704, "loc": { "start": { "line": 236, "column": 20 }, "end": { "line": 236, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9705, "end": 9706, "loc": { "start": { "line": 236, "column": 23 }, "end": { "line": 236, "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": 9706, "end": 9707, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotStatus", "start": 9707, "end": 9717, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9717, "end": 9718, "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9718, "end": 9726, "loc": { "start": { "line": 236, "column": 36 }, "end": { "line": 236, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9726, "end": 9727, "loc": { "start": { "line": 236, "column": 44 }, "end": { "line": 236, "column": 45 } } }, { "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": 9727, "end": 9731, "loc": { "start": { "line": 236, "column": 45 }, "end": { "line": 236, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9731, "end": 9732, "loc": { "start": { "line": 236, "column": 49 }, "end": { "line": 236, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9732, "end": 9733, "loc": { "start": { "line": 236, "column": 50 }, "end": { "line": 236, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9734, "end": 9735, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 53 } } }, { "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": 9761, "end": 9767, "loc": { "start": { "line": 237, "column": 24 }, "end": { "line": 237, "column": 30 } } }, { "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": 9768, "end": 9773, "loc": { "start": { "line": 237, "column": 31 }, "end": { "line": 237, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9773, "end": 9774, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9796, "end": 9797, "loc": { "start": { "line": 238, "column": 20 }, "end": { "line": 238, "column": 21 } } }, { "type": "CommentLine", "value": " Check if all colors of the enabled slots are there", "start": 9821, "end": 9874, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 73 } } }, { "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": 9896, "end": 9899, "loc": { "start": { "line": 241, "column": 20 }, "end": { "line": 241, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9900, "end": 9901, "loc": { "start": { "line": 241, "column": 24 }, "end": { "line": 241, "column": 25 } } }, { "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": 9901, "end": 9904, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9905, "end": 9906, "loc": { "start": { "line": 241, "column": 29 }, "end": { "line": 241, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9907, "end": 9908, "loc": { "start": { "line": 241, "column": 31 }, "end": { "line": 241, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9909, "end": 9910, "loc": { "start": { "line": 241, "column": 33 }, "end": { "line": 241, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9910, "end": 9911, "loc": { "start": { "line": 241, "column": 34 }, "end": { "line": 241, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9912, "end": 9913, "loc": { "start": { "line": 241, "column": 36 }, "end": { "line": 241, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 9914, "end": 9915, "loc": { "start": { "line": 241, "column": 38 }, "end": { "line": 241, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotStatus", "start": 9916, "end": 9926, "loc": { "start": { "line": 241, "column": 40 }, "end": { "line": 241, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9926, "end": 9927, "loc": { "start": { "line": 241, "column": 50 }, "end": { "line": 241, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9927, "end": 9933, "loc": { "start": { "line": 241, "column": 51 }, "end": { "line": 241, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9933, "end": 9934, "loc": { "start": { "line": 241, "column": 57 }, "end": { "line": 241, "column": 58 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 9935, "end": 9937, "loc": { "start": { "line": 241, "column": 59 }, "end": { "line": 241, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9937, "end": 9938, "loc": { "start": { "line": 241, "column": 61 }, "end": { "line": 241, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9938, "end": 9939, "loc": { "start": { "line": 241, "column": 62 }, "end": { "line": 241, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9940, "end": 9941, "loc": { "start": { "line": 241, "column": 64 }, "end": { "line": 241, "column": 65 } } }, { "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": 9967, "end": 9969, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9970, "end": 9971, "loc": { "start": { "line": 242, "column": 27 }, "end": { "line": 242, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slotStatus", "start": 9971, "end": 9981, "loc": { "start": { "line": 242, "column": 28 }, "end": { "line": 242, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9981, "end": 9982, "loc": { "start": { "line": 242, "column": 38 }, "end": { "line": 242, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 9982, "end": 9983, "loc": { "start": { "line": 242, "column": 39 }, "end": { "line": 242, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9983, "end": 9984, "loc": { "start": { "line": 242, "column": 40 }, "end": { "line": 242, "column": 41 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9985, "end": 9987, "loc": { "start": { "line": 242, "column": 42 }, "end": { "line": 242, "column": 44 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 9988, "end": 9989, "loc": { "start": { "line": 242, "column": 45 }, "end": { "line": 242, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 9989, "end": 10000, "loc": { "start": { "line": 242, "column": 46 }, "end": { "line": 242, "column": 57 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10000, "end": 10001, "loc": { "start": { "line": 242, "column": 57 }, "end": { "line": 242, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 10001, "end": 10002, "loc": { "start": { "line": 242, "column": 58 }, "end": { "line": 242, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 10003, "end": 10004, "loc": { "start": { "line": 242, "column": 60 }, "end": { "line": 242, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10005, "end": 10006, "loc": { "start": { "line": 242, "column": 62 }, "end": { "line": 242, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10006, "end": 10007, "loc": { "start": { "line": 242, "column": 63 }, "end": { "line": 242, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10007, "end": 10008, "loc": { "start": { "line": 242, "column": 64 }, "end": { "line": 242, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10009, "end": 10010, "loc": { "start": { "line": 242, "column": 66 }, "end": { "line": 242, "column": 67 } } }, { "type": "CommentLine", "value": " A slot which is enabled wasn't enabled. Make sure if there is anything on the quadrant,", "start": 10040, "end": 10130, "loc": { "start": { "line": 243, "column": 28 }, "end": { "line": 243, "column": 118 } } }, { "type": "CommentLine", "value": " it is not possible to paint, but if there is nothing we can ignore it", "start": 10160, "end": 10232, "loc": { "start": { "line": 244, "column": 28 }, "end": { "line": 244, "column": 100 } } }, { "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": 10262, "end": 10265, "loc": { "start": { "line": 245, "column": 28 }, "end": { "line": 245, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10266, "end": 10267, "loc": { "start": { "line": 245, "column": 32 }, "end": { "line": 245, "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": 10267, "end": 10270, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 10271, "end": 10272, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10273, "end": 10274, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 10275, "end": 10276, "loc": { "start": { "line": 245, "column": 41 }, "end": { "line": 245, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10276, "end": 10277, "loc": { "start": { "line": 245, "column": 42 }, "end": { "line": 245, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 10278, "end": 10279, "loc": { "start": { "line": 245, "column": 44 }, "end": { "line": 245, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10280, "end": 10281, "loc": { "start": { "line": 245, "column": 46 }, "end": { "line": 245, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 10282, "end": 10283, "loc": { "start": { "line": 245, "column": 48 }, "end": { "line": 245, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10283, "end": 10284, "loc": { "start": { "line": 245, "column": 49 }, "end": { "line": 245, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 10285, "end": 10287, "loc": { "start": { "line": 245, "column": 51 }, "end": { "line": 245, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 10287, "end": 10288, "loc": { "start": { "line": 245, "column": 53 }, "end": { "line": 245, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10288, "end": 10289, "loc": { "start": { "line": 245, "column": 54 }, "end": { "line": 245, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10290, "end": 10291, "loc": { "start": { "line": 245, "column": 56 }, "end": { "line": 245, "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": 10325, "end": 10330, "loc": { "start": { "line": 246, "column": 32 }, "end": { "line": 246, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 10331, "end": 10336, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10337, "end": 10338, "loc": { "start": { "line": 246, "column": 44 }, "end": { "line": 246, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 10339, "end": 10348, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10348, "end": 10349, "loc": { "start": { "line": 246, "column": 55 }, "end": { "line": 246, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 10349, "end": 10359, "loc": { "start": { "line": 246, "column": 56 }, "end": { "line": 246, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10359, "end": 10360, "loc": { "start": { "line": 246, "column": 66 }, "end": { "line": 246, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 10360, "end": 10366, "loc": { "start": { "line": 246, "column": 67 }, "end": { "line": 246, "column": 73 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10366, "end": 10367, "loc": { "start": { "line": 246, "column": 73 }, "end": { "line": 246, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "j", "start": 10367, "end": 10368, "loc": { "start": { "line": 246, "column": 74 }, "end": { "line": 246, "column": 75 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10368, "end": 10369, "loc": { "start": { "line": 246, "column": 75 }, "end": { "line": 246, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10369, "end": 10370, "loc": { "start": { "line": 246, "column": 76 }, "end": { "line": 246, "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": 10404, "end": 10406, "loc": { "start": { "line": 247, "column": 32 }, "end": { "line": 247, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10407, "end": 10408, "loc": { "start": { "line": 247, "column": 35 }, "end": { "line": 247, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 10408, "end": 10413, "loc": { "start": { "line": 247, "column": 36 }, "end": { "line": 247, "column": 41 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 10414, "end": 10416, "loc": { "start": { "line": 247, "column": 42 }, "end": { "line": 247, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 10417, "end": 10422, "loc": { "start": { "line": 247, "column": 45 }, "end": { "line": 247, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10422, "end": 10423, "loc": { "start": { "line": 247, "column": 50 }, "end": { "line": 247, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10423, "end": 10424, "loc": { "start": { "line": 247, "column": 51 }, "end": { "line": 247, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10424, "end": 10425, "loc": { "start": { "line": 247, "column": 52 }, "end": { "line": 247, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10425, "end": 10426, "loc": { "start": { "line": 247, "column": 53 }, "end": { "line": 247, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10427, "end": 10428, "loc": { "start": { "line": 247, "column": 55 }, "end": { "line": 247, "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": 10466, "end": 10472, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 42 } } }, { "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": 10473, "end": 10478, "loc": { "start": { "line": 248, "column": 43 }, "end": { "line": 248, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10478, "end": 10479, "loc": { "start": { "line": 248, "column": 48 }, "end": { "line": 248, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10513, "end": 10514, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10544, "end": 10545, "loc": { "start": { "line": 250, "column": 28 }, "end": { "line": 250, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10571, "end": 10572, "loc": { "start": { "line": 251, "column": 24 }, "end": { "line": 251, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10594, "end": 10595, "loc": { "start": { "line": 252, "column": 20 }, "end": { "line": 252, "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": 10619, "end": 10625, "loc": { "start": { "line": 254, "column": 20 }, "end": { "line": 254, "column": 26 } } }, { "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": 10626, "end": 10630, "loc": { "start": { "line": 254, "column": 27 }, "end": { "line": 254, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10630, "end": 10631, "loc": { "start": { "line": 254, "column": 31 }, "end": { "line": 254, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10649, "end": 10650, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 17 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 10666, "end": 10673, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10673, "end": 10674, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assertAlways", "start": 10692, "end": 10704, "loc": { "start": { "line": 258, "column": 16 }, "end": { "line": 258, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10704, "end": 10705, "loc": { "start": { "line": 258, "column": 28 }, "end": { "line": 258, "column": 29 } } }, { "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": 10705, "end": 10710, "loc": { "start": { "line": 258, "column": 29 }, "end": { "line": 258, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10710, "end": 10711, "loc": { "start": { "line": 258, "column": 34 }, "end": { "line": 258, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unknown requirement for ", "start": 10712, "end": 10738, "loc": { "start": { "line": 258, "column": 36 }, "end": { "line": 258, "column": 62 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 10739, "end": 10740, "loc": { "start": { "line": 258, "column": 63 }, "end": { "line": 258, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 10741, "end": 10754, "loc": { "start": { "line": 258, "column": 65 }, "end": { "line": 258, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10754, "end": 10755, "loc": { "start": { "line": 258, "column": 78 }, "end": { "line": 258, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processingRequirement", "start": 10755, "end": 10776, "loc": { "start": { "line": 258, "column": 79 }, "end": { "line": 258, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10776, "end": 10777, "loc": { "start": { "line": 258, "column": 100 }, "end": { "line": 258, "column": 101 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10777, "end": 10778, "loc": { "start": { "line": 258, "column": 101 }, "end": { "line": 258, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10788, "end": 10789, "loc": { "start": { "line": 259, "column": 8 }, "end": { "line": 259, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10795, "end": 10796, "loc": { "start": { "line": 260, "column": 4 }, "end": { "line": 260, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Starts a new charge for the entity\r\n * @param {Entity} entity\r\n ", "start": 10804, "end": 10890, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startNewCharge", "start": 10896, "end": 10910, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10910, "end": 10911, "loc": { "start": { "line": 266, "column": 18 }, "end": { "line": 266, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 10911, "end": 10917, "loc": { "start": { "line": 266, "column": 19 }, "end": { "line": 266, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10917, "end": 10918, "loc": { "start": { "line": 266, "column": 25 }, "end": { "line": 266, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10919, "end": 10920, "loc": { "start": { "line": 266, "column": 27 }, "end": { "line": 266, "column": 28 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 10930, "end": 10935, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 10936, "end": 10949, "loc": { "start": { "line": 267, "column": 14 }, "end": { "line": 267, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10950, "end": 10951, "loc": { "start": { "line": 267, "column": 28 }, "end": { "line": 267, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 10952, "end": 10958, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10958, "end": 10959, "loc": { "start": { "line": 267, "column": 36 }, "end": { "line": 267, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 10959, "end": 10969, "loc": { "start": { "line": 267, "column": 37 }, "end": { "line": 267, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10969, "end": 10970, "loc": { "start": { "line": 267, "column": 47 }, "end": { "line": 267, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessor", "start": 10970, "end": 10983, "loc": { "start": { "line": 267, "column": 48 }, "end": { "line": 267, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10983, "end": 10984, "loc": { "start": { "line": 267, "column": 61 }, "end": { "line": 267, "column": 62 } } }, { "type": "CommentLine", "value": " First, take items", "start": 10996, "end": 11016, "loc": { "start": { "line": 269, "column": 8 }, "end": { "line": 269, "column": 28 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 11026, "end": 11031, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 11032, "end": 11037, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11038, "end": 11039, "loc": { "start": { "line": 270, "column": 20 }, "end": { "line": 270, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 11040, "end": 11053, "loc": { "start": { "line": 270, "column": 22 }, "end": { "line": 270, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11053, "end": 11054, "loc": { "start": { "line": 270, "column": 35 }, "end": { "line": 270, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputSlots", "start": 11054, "end": 11064, "loc": { "start": { "line": 270, "column": 36 }, "end": { "line": 270, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11064, "end": 11065, "loc": { "start": { "line": 270, "column": 46 }, "end": { "line": 270, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 11075, "end": 11088, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11088, "end": 11089, "loc": { "start": { "line": 271, "column": 21 }, "end": { "line": 271, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputSlots", "start": 11089, "end": 11099, "loc": { "start": { "line": 271, "column": 22 }, "end": { "line": 271, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11100, "end": 11101, "loc": { "start": { "line": 271, "column": 33 }, "end": { "line": 271, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11102, "end": 11103, "loc": { "start": { "line": 271, "column": 35 }, "end": { "line": 271, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11103, "end": 11104, "loc": { "start": { "line": 271, "column": 36 }, "end": { "line": 271, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11104, "end": 11105, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 38 } } }, { "type": "CommentBlock", "value": "* @type {Object} ", "start": 11117, "end": 11156, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 47 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 11166, "end": 11171, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 11172, "end": 11183, "loc": { "start": { "line": 274, "column": 14 }, "end": { "line": 274, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11184, "end": 11185, "loc": { "start": { "line": 274, "column": 26 }, "end": { "line": 274, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11186, "end": 11187, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11187, "end": 11188, "loc": { "start": { "line": 274, "column": 29 }, "end": { "line": 274, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11188, "end": 11189, "loc": { "start": { "line": 274, "column": 30 }, "end": { "line": 274, "column": 31 } } }, { "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": 11199, "end": 11202, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11203, "end": 11204, "loc": { "start": { "line": 275, "column": 12 }, "end": { "line": 275, "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": 11204, "end": 11207, "loc": { "start": { "line": 275, "column": 13 }, "end": { "line": 275, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11208, "end": 11209, "loc": { "start": { "line": 275, "column": 17 }, "end": { "line": 275, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11210, "end": 11211, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "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": 11212, "end": 11213, "loc": { "start": { "line": 275, "column": 21 }, "end": { "line": 275, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11213, "end": 11214, "loc": { "start": { "line": 275, "column": 22 }, "end": { "line": 275, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11215, "end": 11216, "loc": { "start": { "line": 275, "column": 24 }, "end": { "line": 275, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 11217, "end": 11218, "loc": { "start": { "line": 275, "column": 26 }, "end": { "line": 275, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 11219, "end": 11224, "loc": { "start": { "line": 275, "column": 28 }, "end": { "line": 275, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11224, "end": 11225, "loc": { "start": { "line": 275, "column": 33 }, "end": { "line": 275, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 11225, "end": 11231, "loc": { "start": { "line": 275, "column": 34 }, "end": { "line": 275, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11231, "end": 11232, "loc": { "start": { "line": 275, "column": 40 }, "end": { "line": 275, "column": 41 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 11233, "end": 11235, "loc": { "start": { "line": 275, "column": 42 }, "end": { "line": 275, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11235, "end": 11236, "loc": { "start": { "line": 275, "column": 44 }, "end": { "line": 275, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11236, "end": 11237, "loc": { "start": { "line": 275, "column": 45 }, "end": { "line": 275, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11238, "end": 11239, "loc": { "start": { "line": 275, "column": 47 }, "end": { "line": 275, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 11253, "end": 11264, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11264, "end": 11265, "loc": { "start": { "line": 276, "column": 23 }, "end": { "line": 276, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 11265, "end": 11270, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11270, "end": 11271, "loc": { "start": { "line": 276, "column": 29 }, "end": { "line": 276, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11271, "end": 11272, "loc": { "start": { "line": 276, "column": 30 }, "end": { "line": 276, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11272, "end": 11273, "loc": { "start": { "line": 276, "column": 31 }, "end": { "line": 276, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11273, "end": 11274, "loc": { "start": { "line": 276, "column": 32 }, "end": { "line": 276, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sourceSlot", "start": 11274, "end": 11284, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11284, "end": 11285, "loc": { "start": { "line": 276, "column": 43 }, "end": { "line": 276, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11286, "end": 11287, "loc": { "start": { "line": 276, "column": 45 }, "end": { "line": 276, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 11288, "end": 11293, "loc": { "start": { "line": 276, "column": 47 }, "end": { "line": 276, "column": 52 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11293, "end": 11294, "loc": { "start": { "line": 276, "column": 52 }, "end": { "line": 276, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11294, "end": 11295, "loc": { "start": { "line": 276, "column": 53 }, "end": { "line": 276, "column": 54 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11295, "end": 11296, "loc": { "start": { "line": 276, "column": 54 }, "end": { "line": 276, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11296, "end": 11297, "loc": { "start": { "line": 276, "column": 55 }, "end": { "line": 276, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 11297, "end": 11301, "loc": { "start": { "line": 276, "column": 56 }, "end": { "line": 276, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11301, "end": 11302, "loc": { "start": { "line": 276, "column": 60 }, "end": { "line": 276, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11312, "end": 11313, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 9 } } }, { "type": "CommentBlock", "value": "* @type {Array} ", "start": 11325, "end": 11359, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 42 } } }, { "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": 11369, "end": 11374, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 11375, "end": 11383, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11384, "end": 11385, "loc": { "start": { "line": 280, "column": 23 }, "end": { "line": 280, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11386, "end": 11387, "loc": { "start": { "line": 280, "column": 25 }, "end": { "line": 280, "column": 26 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11387, "end": 11388, "loc": { "start": { "line": 280, "column": 26 }, "end": { "line": 280, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11388, "end": 11389, "loc": { "start": { "line": 280, "column": 27 }, "end": { "line": 280, "column": 28 } } }, { "type": "CommentBlock", "value": "* @type {function(payload: ProcessorImplementationPayload) : void} ", "start": 11401, "end": 11472, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 79 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 11482, "end": 11487, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 11488, "end": 11495, "loc": { "start": { "line": 283, "column": 14 }, "end": { "line": 283, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11496, "end": 11497, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "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": 11498, "end": 11502, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 283, "column": 28 }, "end": { "line": 283, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handlers", "start": 11503, "end": 11511, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11511, "end": 11512, "loc": { "start": { "line": 283, "column": 37 }, "end": { "line": 283, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 11512, "end": 11525, "loc": { "start": { "line": 283, "column": 38 }, "end": { "line": 283, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11525, "end": 11526, "loc": { "start": { "line": 283, "column": 51 }, "end": { "line": 283, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 11526, "end": 11530, "loc": { "start": { "line": 283, "column": 52 }, "end": { "line": 283, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11530, "end": 11531, "loc": { "start": { "line": 283, "column": 56 }, "end": { "line": 283, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11531, "end": 11532, "loc": { "start": { "line": 283, "column": 57 }, "end": { "line": 283, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11542, "end": 11548, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11548, "end": 11549, "loc": { "start": { "line": 284, "column": 14 }, "end": { "line": 284, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 11549, "end": 11556, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11556, "end": 11557, "loc": { "start": { "line": 284, "column": 22 }, "end": { "line": 284, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "No handler for processor type defined: ", "start": 11558, "end": 11599, "loc": { "start": { "line": 284, "column": 24 }, "end": { "line": 284, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 11600, "end": 11601, "loc": { "start": { "line": 284, "column": 66 }, "end": { "line": 284, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 11602, "end": 11615, "loc": { "start": { "line": 284, "column": 68 }, "end": { "line": 284, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11615, "end": 11616, "loc": { "start": { "line": 284, "column": 81 }, "end": { "line": 284, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 11616, "end": 11620, "loc": { "start": { "line": 284, "column": 82 }, "end": { "line": 284, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11620, "end": 11621, "loc": { "start": { "line": 284, "column": 86 }, "end": { "line": 284, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11621, "end": 11622, "loc": { "start": { "line": 284, "column": 87 }, "end": { "line": 284, "column": 88 } } }, { "type": "CommentLine", "value": " Call implementation", "start": 11634, "end": 11656, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 11666, "end": 11673, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11673, "end": 11674, "loc": { "start": { "line": 287, "column": 15 }, "end": { "line": 287, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11674, "end": 11675, "loc": { "start": { "line": 287, "column": 16 }, "end": { "line": 287, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 11689, "end": 11695, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11695, "end": 11696, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 288, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 11710, "end": 11715, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11715, "end": 11716, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 11730, "end": 11741, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11741, "end": 11742, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 290, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 11756, "end": 11764, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11764, "end": 11765, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11775, "end": 11776, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11776, "end": 11777, "loc": { "start": { "line": 292, "column": 9 }, "end": { "line": 292, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11777, "end": 11778, "loc": { "start": { "line": 292, "column": 10 }, "end": { "line": 292, "column": 11 } } }, { "type": "CommentLine", "value": " Track produced items", "start": 11790, "end": 11813, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 31 } } }, { "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": 11823, "end": 11826, "loc": { "start": { "line": 295, "column": 8 }, "end": { "line": 295, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11827, "end": 11828, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "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": 11828, "end": 11831, "loc": { "start": { "line": 295, "column": 13 }, "end": { "line": 295, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11832, "end": 11833, "loc": { "start": { "line": 295, "column": 17 }, "end": { "line": 295, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11834, "end": 11835, "loc": { "start": { "line": 295, "column": 19 }, "end": { "line": 295, "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": 11836, "end": 11837, "loc": { "start": { "line": 295, "column": 21 }, "end": { "line": 295, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11837, "end": 11838, "loc": { "start": { "line": 295, "column": 22 }, "end": { "line": 295, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11839, "end": 11840, "loc": { "start": { "line": 295, "column": 24 }, "end": { "line": 295, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 11841, "end": 11842, "loc": { "start": { "line": 295, "column": 26 }, "end": { "line": 295, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 11843, "end": 11851, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11851, "end": 11852, "loc": { "start": { "line": 295, "column": 36 }, "end": { "line": 295, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 11852, "end": 11858, "loc": { "start": { "line": 295, "column": 37 }, "end": { "line": 295, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11858, "end": 11859, "loc": { "start": { "line": 295, "column": 43 }, "end": { "line": 295, "column": 44 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 11860, "end": 11862, "loc": { "start": { "line": 295, "column": 45 }, "end": { "line": 295, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11862, "end": 11863, "loc": { "start": { "line": 295, "column": 47 }, "end": { "line": 295, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11863, "end": 11864, "loc": { "start": { "line": 295, "column": 48 }, "end": { "line": 295, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11865, "end": 11866, "loc": { "start": { "line": 295, "column": 50 }, "end": { "line": 295, "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": 11880, "end": 11882, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11883, "end": 11884, "loc": { "start": { "line": 296, "column": 15 }, "end": { "line": 296, "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": 11884, "end": 11885, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 11885, "end": 11893, "loc": { "start": { "line": 296, "column": 17 }, "end": { "line": 296, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11893, "end": 11894, "loc": { "start": { "line": 296, "column": 25 }, "end": { "line": 296, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11894, "end": 11895, "loc": { "start": { "line": 296, "column": 26 }, "end": { "line": 296, "column": 27 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11895, "end": 11896, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11896, "end": 11897, "loc": { "start": { "line": 296, "column": 28 }, "end": { "line": 296, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doNotTrack", "start": 11897, "end": 11907, "loc": { "start": { "line": 296, "column": 29 }, "end": { "line": 296, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11907, "end": 11908, "loc": { "start": { "line": 296, "column": 39 }, "end": { "line": 296, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11909, "end": 11910, "loc": { "start": { "line": 296, "column": 41 }, "end": { "line": 296, "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": 11928, "end": 11932, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11932, "end": 11933, "loc": { "start": { "line": 297, "column": 20 }, "end": { "line": 297, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 11933, "end": 11937, "loc": { "start": { "line": 297, "column": 21 }, "end": { "line": 297, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11937, "end": 11938, "loc": { "start": { "line": 297, "column": 25 }, "end": { "line": 297, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 11938, "end": 11945, "loc": { "start": { "line": 297, "column": 26 }, "end": { "line": 297, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11945, "end": 11946, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemProduced", "start": 11946, "end": 11958, "loc": { "start": { "line": 297, "column": 34 }, "end": { "line": 297, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11958, "end": 11959, "loc": { "start": { "line": 297, "column": 46 }, "end": { "line": 297, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 11959, "end": 11967, "loc": { "start": { "line": 297, "column": 47 }, "end": { "line": 297, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11967, "end": 11968, "loc": { "start": { "line": 297, "column": 55 }, "end": { "line": 297, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 11968, "end": 11976, "loc": { "start": { "line": 297, "column": 56 }, "end": { "line": 297, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11976, "end": 11977, "loc": { "start": { "line": 297, "column": 64 }, "end": { "line": 297, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 11977, "end": 11978, "loc": { "start": { "line": 297, "column": 65 }, "end": { "line": 297, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11978, "end": 11979, "loc": { "start": { "line": 297, "column": 66 }, "end": { "line": 297, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11979, "end": 11980, "loc": { "start": { "line": 297, "column": 67 }, "end": { "line": 297, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 11980, "end": 11984, "loc": { "start": { "line": 297, "column": 68 }, "end": { "line": 297, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11984, "end": 11985, "loc": { "start": { "line": 297, "column": 72 }, "end": { "line": 297, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11985, "end": 11986, "loc": { "start": { "line": 297, "column": 73 }, "end": { "line": 297, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12000, "end": 12001, "loc": { "start": { "line": 298, "column": 12 }, "end": { "line": 298, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12011, "end": 12012, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 9 } } }, { "type": "CommentLine", "value": " Queue Charge", "start": 12024, "end": 12039, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "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": 12049, "end": 12054, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "baseSpeed", "start": 12055, "end": 12064, "loc": { "start": { "line": 302, "column": 14 }, "end": { "line": 302, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12065, "end": 12066, "loc": { "start": { "line": 302, "column": 24 }, "end": { "line": 302, "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": 12067, "end": 12071, "loc": { "start": { "line": 302, "column": 26 }, "end": { "line": 302, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12071, "end": 12072, "loc": { "start": { "line": 302, "column": 30 }, "end": { "line": 302, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12072, "end": 12076, "loc": { "start": { "line": 302, "column": 31 }, "end": { "line": 302, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12076, "end": 12077, "loc": { "start": { "line": 302, "column": 35 }, "end": { "line": 302, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 12077, "end": 12085, "loc": { "start": { "line": 302, "column": 36 }, "end": { "line": 302, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12085, "end": 12086, "loc": { "start": { "line": 302, "column": 44 }, "end": { "line": 302, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getProcessorBaseSpeed", "start": 12086, "end": 12107, "loc": { "start": { "line": 302, "column": 45 }, "end": { "line": 302, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12107, "end": 12108, "loc": { "start": { "line": 302, "column": 66 }, "end": { "line": 302, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 12108, "end": 12121, "loc": { "start": { "line": 302, "column": 67 }, "end": { "line": 302, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12121, "end": 12122, "loc": { "start": { "line": 302, "column": 80 }, "end": { "line": 302, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 12122, "end": 12126, "loc": { "start": { "line": 302, "column": 81 }, "end": { "line": 302, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12126, "end": 12127, "loc": { "start": { "line": 302, "column": 85 }, "end": { "line": 302, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12127, "end": 12128, "loc": { "start": { "line": 302, "column": 86 }, "end": { "line": 302, "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": 12138, "end": 12143, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalTime", "start": 12144, "end": 12156, "loc": { "start": { "line": 303, "column": 14 }, "end": { "line": 303, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12157, "end": 12158, "loc": { "start": { "line": 303, "column": 27 }, "end": { "line": 303, "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": 12159, "end": 12160, "loc": { "start": { "line": 303, "column": 29 }, "end": { "line": 303, "column": 30 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 12161, "end": 12162, "loc": { "start": { "line": 303, "column": 31 }, "end": { "line": 303, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "baseSpeed", "start": 12163, "end": 12172, "loc": { "start": { "line": 303, "column": 33 }, "end": { "line": 303, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12172, "end": 12173, "loc": { "start": { "line": 303, "column": 42 }, "end": { "line": 303, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 12185, "end": 12190, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bonusTimeToApply", "start": 12191, "end": 12207, "loc": { "start": { "line": 305, "column": 14 }, "end": { "line": 305, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12208, "end": 12209, "loc": { "start": { "line": 305, "column": 31 }, "end": { "line": 305, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 12210, "end": 12214, "loc": { "start": { "line": 305, "column": 33 }, "end": { "line": 305, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12214, "end": 12215, "loc": { "start": { "line": 305, "column": 37 }, "end": { "line": 305, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 12215, "end": 12218, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12218, "end": 12219, "loc": { "start": { "line": 305, "column": 41 }, "end": { "line": 305, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalTime", "start": 12219, "end": 12231, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12231, "end": 12232, "loc": { "start": { "line": 305, "column": 54 }, "end": { "line": 305, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 12233, "end": 12246, "loc": { "start": { "line": 305, "column": 56 }, "end": { "line": 305, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12246, "end": 12247, "loc": { "start": { "line": 305, "column": 69 }, "end": { "line": 305, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bonusTime", "start": 12247, "end": 12256, "loc": { "start": { "line": 305, "column": 70 }, "end": { "line": 305, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12256, "end": 12257, "loc": { "start": { "line": 305, "column": 79 }, "end": { "line": 305, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12257, "end": 12258, "loc": { "start": { "line": 305, "column": 80 }, "end": { "line": 305, "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": 12268, "end": 12273, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeToProcess", "start": 12274, "end": 12287, "loc": { "start": { "line": 306, "column": 14 }, "end": { "line": 306, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12288, "end": 12289, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalTime", "start": 12290, "end": 12302, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 42 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 12303, "end": 12304, "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": "bonusTimeToApply", "start": 12305, "end": 12321, "loc": { "start": { "line": 306, "column": 45 }, "end": { "line": 306, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12321, "end": 12322, "loc": { "start": { "line": 306, "column": 61 }, "end": { "line": 306, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 12334, "end": 12347, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12347, "end": 12348, "loc": { "start": { "line": 308, "column": 21 }, "end": { "line": 308, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bonusTime", "start": 12348, "end": 12357, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 31 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 12358, "end": 12360, "loc": { "start": { "line": 308, "column": 32 }, "end": { "line": 308, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bonusTimeToApply", "start": 12361, "end": 12377, "loc": { "start": { "line": 308, "column": 35 }, "end": { "line": 308, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12377, "end": 12378, "loc": { "start": { "line": 308, "column": 51 }, "end": { "line": 308, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 12388, "end": 12401, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12401, "end": 12402, "loc": { "start": { "line": 309, "column": 21 }, "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": "ongoingCharges", "start": 12402, "end": 12416, "loc": { "start": { "line": 309, "column": 22 }, "end": { "line": 309, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12416, "end": 12417, "loc": { "start": { "line": 309, "column": 36 }, "end": { "line": 309, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 12417, "end": 12421, "loc": { "start": { "line": 309, "column": 37 }, "end": { "line": 309, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12421, "end": 12422, "loc": { "start": { "line": 309, "column": 41 }, "end": { "line": 309, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12422, "end": 12423, "loc": { "start": { "line": 309, "column": 42 }, "end": { "line": 309, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 12437, "end": 12442, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12442, "end": 12443, "loc": { "start": { "line": 310, "column": 17 }, "end": { "line": 310, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 12444, "end": 12452, "loc": { "start": { "line": 310, "column": 19 }, "end": { "line": 310, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12452, "end": 12453, "loc": { "start": { "line": 310, "column": 27 }, "end": { "line": 310, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remainingTime", "start": 12467, "end": 12480, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 25 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12480, "end": 12481, "loc": { "start": { "line": 311, "column": 25 }, "end": { "line": 311, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "timeToProcess", "start": 12482, "end": 12495, "loc": { "start": { "line": 311, "column": 27 }, "end": { "line": 311, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12495, "end": 12496, "loc": { "start": { "line": 311, "column": 40 }, "end": { "line": 311, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12506, "end": 12507, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12507, "end": 12508, "loc": { "start": { "line": 312, "column": 9 }, "end": { "line": 312, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12508, "end": 12509, "loc": { "start": { "line": 312, "column": 10 }, "end": { "line": 312, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12515, "end": 12516, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 12524, "end": 12592, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_BALANCER", "start": 12598, "end": 12614, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12614, "end": 12615, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 12615, "end": 12622, "loc": { "start": { "line": 318, "column": 21 }, "end": { "line": 318, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12622, "end": 12623, "loc": { "start": { "line": 318, "column": 28 }, "end": { "line": 318, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12624, "end": 12625, "loc": { "start": { "line": 318, "column": 30 }, "end": { "line": 318, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 12635, "end": 12641, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12641, "end": 12642, "loc": { "start": { "line": 319, "column": 14 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 12656, "end": 12663, "loc": { "start": { "line": 320, "column": 12 }, "end": { "line": 320, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12663, "end": 12664, "loc": { "start": { "line": 320, "column": 19 }, "end": { "line": 320, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 12664, "end": 12670, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12670, "end": 12671, "loc": { "start": { "line": 320, "column": 26 }, "end": { "line": 320, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 12671, "end": 12681, "loc": { "start": { "line": 320, "column": 27 }, "end": { "line": 320, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12681, "end": 12682, "loc": { "start": { "line": 320, "column": 37 }, "end": { "line": 320, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemEjector", "start": 12682, "end": 12693, "loc": { "start": { "line": 320, "column": 38 }, "end": { "line": 320, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12693, "end": 12694, "loc": { "start": { "line": 320, "column": 49 }, "end": { "line": 320, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "To be a balancer, the building needs to have an ejector", "start": 12708, "end": 12765, "loc": { "start": { "line": 321, "column": 12 }, "end": { "line": 321, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12775, "end": 12776, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12776, "end": 12777, "loc": { "start": { "line": 322, "column": 9 }, "end": { "line": 322, "column": 10 } } }, { "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": 12787, "end": 12792, "loc": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "availableSlots", "start": 12793, "end": 12807, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 323, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12808, "end": 12809, "loc": { "start": { "line": 323, "column": 29 }, "end": { "line": 323, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 12810, "end": 12817, "loc": { "start": { "line": 323, "column": 31 }, "end": { "line": 323, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12817, "end": 12818, "loc": { "start": { "line": 323, "column": 38 }, "end": { "line": 323, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 12818, "end": 12824, "loc": { "start": { "line": 323, "column": 39 }, "end": { "line": 323, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12824, "end": 12825, "loc": { "start": { "line": 323, "column": 45 }, "end": { "line": 323, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 12825, "end": 12835, "loc": { "start": { "line": 323, "column": 46 }, "end": { "line": 323, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12835, "end": 12836, "loc": { "start": { "line": 323, "column": 56 }, "end": { "line": 323, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemEjector", "start": 12836, "end": 12847, "loc": { "start": { "line": 323, "column": 57 }, "end": { "line": 323, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12847, "end": 12848, "loc": { "start": { "line": 323, "column": 68 }, "end": { "line": 323, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slots", "start": 12848, "end": 12853, "loc": { "start": { "line": 323, "column": 69 }, "end": { "line": 323, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12853, "end": 12854, "loc": { "start": { "line": 323, "column": 74 }, "end": { "line": 323, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12854, "end": 12860, "loc": { "start": { "line": 323, "column": 75 }, "end": { "line": 323, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12860, "end": 12861, "loc": { "start": { "line": 323, "column": 81 }, "end": { "line": 323, "column": 82 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 12871, "end": 12876, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 12877, "end": 12890, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12891, "end": 12892, "loc": { "start": { "line": 324, "column": 28 }, "end": { "line": 324, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 12893, "end": 12900, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12900, "end": 12901, "loc": { "start": { "line": 324, "column": 37 }, "end": { "line": 324, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 12901, "end": 12907, "loc": { "start": { "line": 324, "column": 38 }, "end": { "line": 324, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12907, "end": 12908, "loc": { "start": { "line": 324, "column": 44 }, "end": { "line": 324, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 12908, "end": 12918, "loc": { "start": { "line": 324, "column": 45 }, "end": { "line": 324, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12918, "end": 12919, "loc": { "start": { "line": 324, "column": 55 }, "end": { "line": 324, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemProcessor", "start": 12919, "end": 12932, "loc": { "start": { "line": 324, "column": 56 }, "end": { "line": 324, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12932, "end": 12933, "loc": { "start": { "line": 324, "column": 69 }, "end": { "line": 324, "column": 70 } } }, { "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": 12945, "end": 12950, "loc": { "start": { "line": 326, "column": 8 }, "end": { "line": 326, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSlot", "start": 12951, "end": 12959, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 326, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12960, "end": 12961, "loc": { "start": { "line": 326, "column": 23 }, "end": { "line": 326, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "processorComp", "start": 12962, "end": 12975, "loc": { "start": { "line": 326, "column": 25 }, "end": { "line": 326, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12975, "end": 12976, "loc": { "start": { "line": 326, "column": 38 }, "end": { "line": 326, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextOutputSlot", "start": 12976, "end": 12990, "loc": { "start": { "line": 326, "column": 39 }, "end": { "line": 326, "column": 53 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 12990, "end": 12992, "loc": { "start": { "line": 326, "column": 53 }, "end": { "line": 326, "column": 55 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 12993, "end": 12994, "loc": { "start": { "line": 326, "column": 56 }, "end": { "line": 326, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "availableSlots", "start": 12995, "end": 13009, "loc": { "start": { "line": 326, "column": 58 }, "end": { "line": 326, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13009, "end": 13010, "loc": { "start": { "line": 326, "column": 72 }, "end": { "line": 326, "column": 73 } } }, { "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": 13022, "end": 13025, "loc": { "start": { "line": 328, "column": 8 }, "end": { "line": 328, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13026, "end": 13027, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "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": 13027, "end": 13030, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13031, "end": 13032, "loc": { "start": { "line": 328, "column": 17 }, "end": { "line": 328, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13033, "end": 13034, "loc": { "start": { "line": 328, "column": 19 }, "end": { "line": 328, "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": 13035, "end": 13036, "loc": { "start": { "line": 328, "column": 21 }, "end": { "line": 328, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13036, "end": 13037, "loc": { "start": { "line": 328, "column": 22 }, "end": { "line": 328, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13038, "end": 13039, "loc": { "start": { "line": 328, "column": 24 }, "end": { "line": 328, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13040, "end": 13041, "loc": { "start": { "line": 328, "column": 26 }, "end": { "line": 328, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 13042, "end": 13049, "loc": { "start": { "line": 328, "column": 28 }, "end": { "line": 328, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13049, "end": 13050, "loc": { "start": { "line": 328, "column": 35 }, "end": { "line": 328, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 13050, "end": 13055, "loc": { "start": { "line": 328, "column": 36 }, "end": { "line": 328, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13055, "end": 13056, "loc": { "start": { "line": 328, "column": 41 }, "end": { "line": 328, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 13056, "end": 13062, "loc": { "start": { "line": 328, "column": 42 }, "end": { "line": 328, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13062, "end": 13063, "loc": { "start": { "line": 328, "column": 48 }, "end": { "line": 328, "column": 49 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 13064, "end": 13066, "loc": { "start": { "line": 328, "column": 50 }, "end": { "line": 328, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13066, "end": 13067, "loc": { "start": { "line": 328, "column": 52 }, "end": { "line": 328, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13067, "end": 13068, "loc": { "start": { "line": 328, "column": 53 }, "end": { "line": 328, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13069, "end": 13070, "loc": { "start": { "line": 328, "column": 55 }, "end": { "line": 328, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 13084, "end": 13091, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 19 } } }, { "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": 329, "column": 19 }, "end": { "line": 329, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 13092, "end": 13100, "loc": { "start": { "line": 329, "column": 20 }, "end": { "line": 329, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13100, "end": 13101, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 13101, "end": 13105, "loc": { "start": { "line": 329, "column": 29 }, "end": { "line": 329, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13105, "end": 13106, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13106, "end": 13107, "loc": { "start": { "line": 329, "column": 34 }, "end": { "line": 329, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13125, "end": 13129, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13129, "end": 13130, "loc": { "start": { "line": 330, "column": 20 }, "end": { "line": 330, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 13131, "end": 13138, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13138, "end": 13139, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 13139, "end": 13144, "loc": { "start": { "line": 330, "column": 30 }, "end": { "line": 330, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13144, "end": 13145, "loc": { "start": { "line": 330, "column": 35 }, "end": { "line": 330, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13145, "end": 13146, "loc": { "start": { "line": 330, "column": 36 }, "end": { "line": 330, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13146, "end": 13147, "loc": { "start": { "line": 330, "column": 37 }, "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": 13147, "end": 13148, "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": "item", "start": 13148, "end": 13152, "loc": { "start": { "line": 330, "column": 39 }, "end": { "line": 330, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13152, "end": 13153, "loc": { "start": { "line": 330, "column": 43 }, "end": { "line": 330, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preferredSlot", "start": 13171, "end": 13184, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13184, "end": 13185, "loc": { "start": { "line": 331, "column": 29 }, "end": { "line": 331, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13186, "end": 13187, "loc": { "start": { "line": 331, "column": 31 }, "end": { "line": 331, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSlot", "start": 13187, "end": 13195, "loc": { "start": { "line": 331, "column": 32 }, "end": { "line": 331, "column": 40 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13196, "end": 13197, "loc": { "start": { "line": 331, "column": 41 }, "end": { "line": 331, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13198, "end": 13199, "loc": { "start": { "line": 331, "column": 43 }, "end": { "line": 331, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13199, "end": 13200, "loc": { "start": { "line": 331, "column": 44 }, "end": { "line": 331, "column": 45 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 13201, "end": 13202, "loc": { "start": { "line": 331, "column": 46 }, "end": { "line": 331, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "availableSlots", "start": 13203, "end": 13217, "loc": { "start": { "line": 331, "column": 48 }, "end": { "line": 331, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13217, "end": 13218, "loc": { "start": { "line": 331, "column": 62 }, "end": { "line": 331, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doNotTrack", "start": 13236, "end": 13246, "loc": { "start": { "line": 332, "column": 16 }, "end": { "line": 332, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13246, "end": 13247, "loc": { "start": { "line": 332, "column": 26 }, "end": { "line": 332, "column": 27 } } }, { "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": 13248, "end": 13252, "loc": { "start": { "line": 332, "column": 28 }, "end": { "line": 332, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13252, "end": 13253, "loc": { "start": { "line": 332, "column": 32 }, "end": { "line": 332, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13267, "end": 13268, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13268, "end": 13269, "loc": { "start": { "line": 333, "column": 13 }, "end": { "line": 333, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13269, "end": 13270, "loc": { "start": { "line": 333, "column": 14 }, "end": { "line": 333, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13280, "end": 13281, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "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": 13291, "end": 13297, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 14 } } }, { "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": 13298, "end": 13302, "loc": { "start": { "line": 335, "column": 15 }, "end": { "line": 335, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13302, "end": 13303, "loc": { "start": { "line": 335, "column": 19 }, "end": { "line": 335, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13309, "end": 13310, "loc": { "start": { "line": 336, "column": 4 }, "end": { "line": 336, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 13318, "end": 13386, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 340, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_CUTTER", "start": 13392, "end": 13406, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13406, "end": 13407, "loc": { "start": { "line": 341, "column": 18 }, "end": { "line": 341, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 13407, "end": 13414, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13414, "end": 13415, "loc": { "start": { "line": 341, "column": 26 }, "end": { "line": 341, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13416, "end": 13417, "loc": { "start": { "line": 341, "column": 28 }, "end": { "line": 341, "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": 13427, "end": 13432, "loc": { "start": { "line": 342, "column": 8 }, "end": { "line": 342, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 13433, "end": 13442, "loc": { "start": { "line": 342, "column": 14 }, "end": { "line": 342, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13443, "end": 13444, "loc": { "start": { "line": 342, "column": 24 }, "end": { "line": 342, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 13445, "end": 13469, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 342, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13470, "end": 13471, "loc": { "start": { "line": 342, "column": 51 }, "end": { "line": 342, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 13471, "end": 13478, "loc": { "start": { "line": 342, "column": 52 }, "end": { "line": 342, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13478, "end": 13479, "loc": { "start": { "line": 342, "column": 59 }, "end": { "line": 342, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 13479, "end": 13484, "loc": { "start": { "line": 342, "column": 60 }, "end": { "line": 342, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13484, "end": 13485, "loc": { "start": { "line": 342, "column": 65 }, "end": { "line": 342, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13485, "end": 13486, "loc": { "start": { "line": 342, "column": 66 }, "end": { "line": 342, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13486, "end": 13487, "loc": { "start": { "line": 342, "column": 67 }, "end": { "line": 342, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13487, "end": 13488, "loc": { "start": { "line": 342, "column": 68 }, "end": { "line": 342, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13488, "end": 13492, "loc": { "start": { "line": 342, "column": 69 }, "end": { "line": 342, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13492, "end": 13493, "loc": { "start": { "line": 342, "column": 73 }, "end": { "line": 342, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13493, "end": 13494, "loc": { "start": { "line": 342, "column": 74 }, "end": { "line": 342, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 13504, "end": 13510, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13510, "end": 13511, "loc": { "start": { "line": 343, "column": 14 }, "end": { "line": 343, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 13511, "end": 13520, "loc": { "start": { "line": 343, "column": 15 }, "end": { "line": 343, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 13521, "end": 13531, "loc": { "start": { "line": 343, "column": 25 }, "end": { "line": 343, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 13532, "end": 13541, "loc": { "start": { "line": 343, "column": 36 }, "end": { "line": 343, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13541, "end": 13542, "loc": { "start": { "line": 343, "column": 45 }, "end": { "line": 343, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for cut is not a shape", "start": 13543, "end": 13573, "loc": { "start": { "line": 343, "column": 47 }, "end": { "line": 343, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13573, "end": 13574, "loc": { "start": { "line": 343, "column": 77 }, "end": { "line": 343, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13574, "end": 13575, "loc": { "start": { "line": 343, "column": 78 }, "end": { "line": 343, "column": 79 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 13585, "end": 13590, "loc": { "start": { "line": 344, "column": 8 }, "end": { "line": 344, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 13591, "end": 13606, "loc": { "start": { "line": 344, "column": 14 }, "end": { "line": 344, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13607, "end": 13608, "loc": { "start": { "line": 344, "column": 30 }, "end": { "line": 344, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 13609, "end": 13618, "loc": { "start": { "line": 344, "column": 32 }, "end": { "line": 344, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13618, "end": 13619, "loc": { "start": { "line": 344, "column": 41 }, "end": { "line": 344, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 13619, "end": 13629, "loc": { "start": { "line": 344, "column": 42 }, "end": { "line": 344, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13629, "end": 13630, "loc": { "start": { "line": 344, "column": 52 }, "end": { "line": 344, "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": 13642, "end": 13647, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutDefinitions", "start": 13648, "end": 13662, "loc": { "start": { "line": 346, "column": 14 }, "end": { "line": 346, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13663, "end": 13664, "loc": { "start": { "line": 346, "column": 29 }, "end": { "line": 346, "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": 13665, "end": 13669, "loc": { "start": { "line": 346, "column": 31 }, "end": { "line": 346, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13669, "end": 13670, "loc": { "start": { "line": 346, "column": 35 }, "end": { "line": 346, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13670, "end": 13674, "loc": { "start": { "line": 346, "column": 36 }, "end": { "line": 346, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13674, "end": 13675, "loc": { "start": { "line": 346, "column": 40 }, "end": { "line": 346, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 13675, "end": 13693, "loc": { "start": { "line": 346, "column": 41 }, "end": { "line": 346, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13693, "end": 13694, "loc": { "start": { "line": 346, "column": 59 }, "end": { "line": 346, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionCutHalf", "start": 13694, "end": 13712, "loc": { "start": { "line": 346, "column": 60 }, "end": { "line": 346, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13712, "end": 13713, "loc": { "start": { "line": 346, "column": 78 }, "end": { "line": 346, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 13713, "end": 13728, "loc": { "start": { "line": 346, "column": 79 }, "end": { "line": 346, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13728, "end": 13729, "loc": { "start": { "line": 346, "column": 94 }, "end": { "line": 346, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13729, "end": 13730, "loc": { "start": { "line": 346, "column": 95 }, "end": { "line": 346, "column": 96 } } }, { "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": 13742, "end": 13745, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13746, "end": 13747, "loc": { "start": { "line": 348, "column": 12 }, "end": { "line": 348, "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": 13747, "end": 13750, "loc": { "start": { "line": 348, "column": 13 }, "end": { "line": 348, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13751, "end": 13752, "loc": { "start": { "line": 348, "column": 17 }, "end": { "line": 348, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13753, "end": 13754, "loc": { "start": { "line": 348, "column": 19 }, "end": { "line": 348, "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": 13755, "end": 13756, "loc": { "start": { "line": 348, "column": 21 }, "end": { "line": 348, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13756, "end": 13757, "loc": { "start": { "line": 348, "column": 22 }, "end": { "line": 348, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13758, "end": 13759, "loc": { "start": { "line": 348, "column": 24 }, "end": { "line": 348, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13760, "end": 13761, "loc": { "start": { "line": 348, "column": 26 }, "end": { "line": 348, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutDefinitions", "start": 13762, "end": 13776, "loc": { "start": { "line": 348, "column": 28 }, "end": { "line": 348, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13776, "end": 13777, "loc": { "start": { "line": 348, "column": 42 }, "end": { "line": 348, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 13777, "end": 13783, "loc": { "start": { "line": 348, "column": 43 }, "end": { "line": 348, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13783, "end": 13784, "loc": { "start": { "line": 348, "column": 49 }, "end": { "line": 348, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 13785, "end": 13787, "loc": { "start": { "line": 348, "column": 51 }, "end": { "line": 348, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13787, "end": 13788, "loc": { "start": { "line": 348, "column": 53 }, "end": { "line": 348, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13788, "end": 13789, "loc": { "start": { "line": 348, "column": 54 }, "end": { "line": 348, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13790, "end": 13791, "loc": { "start": { "line": 348, "column": 56 }, "end": { "line": 348, "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": 13805, "end": 13810, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 13811, "end": 13821, "loc": { "start": { "line": 349, "column": 18 }, "end": { "line": 349, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13822, "end": 13823, "loc": { "start": { "line": 349, "column": 29 }, "end": { "line": 349, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutDefinitions", "start": 13824, "end": 13838, "loc": { "start": { "line": 349, "column": 31 }, "end": { "line": 349, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13838, "end": 13839, "loc": { "start": { "line": 349, "column": 45 }, "end": { "line": 349, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 13839, "end": 13840, "loc": { "start": { "line": 349, "column": 46 }, "end": { "line": 349, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13840, "end": 13841, "loc": { "start": { "line": 349, "column": 47 }, "end": { "line": 349, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13841, "end": 13842, "loc": { "start": { "line": 349, "column": 48 }, "end": { "line": 349, "column": 49 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13856, "end": 13858, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13859, "end": 13860, "loc": { "start": { "line": 350, "column": 15 }, "end": { "line": 350, "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": 13860, "end": 13861, "loc": { "start": { "line": 350, "column": 16 }, "end": { "line": 350, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 13861, "end": 13871, "loc": { "start": { "line": 350, "column": 17 }, "end": { "line": 350, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13871, "end": 13872, "loc": { "start": { "line": 350, "column": 27 }, "end": { "line": 350, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isEntirelyEmpty", "start": 13872, "end": 13887, "loc": { "start": { "line": 350, "column": 28 }, "end": { "line": 350, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13887, "end": 13888, "loc": { "start": { "line": 350, "column": 43 }, "end": { "line": 350, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13888, "end": 13889, "loc": { "start": { "line": 350, "column": 44 }, "end": { "line": 350, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13889, "end": 13890, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13891, "end": 13892, "loc": { "start": { "line": 350, "column": 47 }, "end": { "line": 350, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 13910, "end": 13917, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 351, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13917, "end": 13918, "loc": { "start": { "line": 351, "column": 23 }, "end": { "line": 351, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 13918, "end": 13926, "loc": { "start": { "line": 351, "column": 24 }, "end": { "line": 351, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13926, "end": 13927, "loc": { "start": { "line": 351, "column": 32 }, "end": { "line": 351, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 13927, "end": 13931, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13931, "end": 13932, "loc": { "start": { "line": 351, "column": 37 }, "end": { "line": 351, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13932, "end": 13933, "loc": { "start": { "line": 351, "column": 38 }, "end": { "line": 351, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13955, "end": 13959, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 352, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13959, "end": 13960, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "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": 13961, "end": 13965, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13965, "end": 13966, "loc": { "start": { "line": 352, "column": 30 }, "end": { "line": 352, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13966, "end": 13970, "loc": { "start": { "line": 352, "column": 31 }, "end": { "line": 352, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13970, "end": 13971, "loc": { "start": { "line": 352, "column": 35 }, "end": { "line": 352, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 13971, "end": 13989, "loc": { "start": { "line": 352, "column": 36 }, "end": { "line": 352, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13989, "end": 13990, "loc": { "start": { "line": 352, "column": 54 }, "end": { "line": 352, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 13990, "end": 14016, "loc": { "start": { "line": 352, "column": 55 }, "end": { "line": 352, "column": 81 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14016, "end": 14017, "loc": { "start": { "line": 352, "column": 81 }, "end": { "line": 352, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 14017, "end": 14027, "loc": { "start": { "line": 352, "column": 82 }, "end": { "line": 352, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14027, "end": 14028, "loc": { "start": { "line": 352, "column": 92 }, "end": { "line": 352, "column": 93 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14028, "end": 14029, "loc": { "start": { "line": 352, "column": 93 }, "end": { "line": 352, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 14051, "end": 14063, "loc": { "start": { "line": 353, "column": 20 }, "end": { "line": 353, "column": 32 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14063, "end": 14064, "loc": { "start": { "line": 353, "column": 32 }, "end": { "line": 353, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 14065, "end": 14066, "loc": { "start": { "line": 353, "column": 34 }, "end": { "line": 353, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14066, "end": 14067, "loc": { "start": { "line": 353, "column": 35 }, "end": { "line": 353, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14085, "end": 14086, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14086, "end": 14087, "loc": { "start": { "line": 354, "column": 17 }, "end": { "line": 354, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14087, "end": 14088, "loc": { "start": { "line": 354, "column": 18 }, "end": { "line": 354, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14102, "end": 14103, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14113, "end": 14114, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14120, "end": 14121, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14129, "end": 14197, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 361, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_CUTTER_QUAD", "start": 14203, "end": 14222, "loc": { "start": { "line": 362, "column": 4 }, "end": { "line": 362, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14222, "end": 14223, "loc": { "start": { "line": 362, "column": 23 }, "end": { "line": 362, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 14223, "end": 14230, "loc": { "start": { "line": 362, "column": 24 }, "end": { "line": 362, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14230, "end": 14231, "loc": { "start": { "line": 362, "column": 31 }, "end": { "line": 362, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14232, "end": 14233, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "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": 14243, "end": 14248, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 14249, "end": 14258, "loc": { "start": { "line": 363, "column": 14 }, "end": { "line": 363, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14259, "end": 14260, "loc": { "start": { "line": 363, "column": 24 }, "end": { "line": 363, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 14261, "end": 14285, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14286, "end": 14287, "loc": { "start": { "line": 363, "column": 51 }, "end": { "line": 363, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 14287, "end": 14294, "loc": { "start": { "line": 363, "column": 52 }, "end": { "line": 363, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14294, "end": 14295, "loc": { "start": { "line": 363, "column": 59 }, "end": { "line": 363, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 14295, "end": 14300, "loc": { "start": { "line": 363, "column": 60 }, "end": { "line": 363, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14300, "end": 14301, "loc": { "start": { "line": 363, "column": 65 }, "end": { "line": 363, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 14301, "end": 14302, "loc": { "start": { "line": 363, "column": 66 }, "end": { "line": 363, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14302, "end": 14303, "loc": { "start": { "line": 363, "column": 67 }, "end": { "line": 363, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14303, "end": 14304, "loc": { "start": { "line": 363, "column": 68 }, "end": { "line": 363, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14304, "end": 14308, "loc": { "start": { "line": 363, "column": 69 }, "end": { "line": 363, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14308, "end": 14309, "loc": { "start": { "line": 363, "column": 73 }, "end": { "line": 363, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14309, "end": 14310, "loc": { "start": { "line": 363, "column": 74 }, "end": { "line": 363, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 14320, "end": 14326, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14326, "end": 14327, "loc": { "start": { "line": 364, "column": 14 }, "end": { "line": 364, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 14327, "end": 14336, "loc": { "start": { "line": 364, "column": 15 }, "end": { "line": 364, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 14337, "end": 14347, "loc": { "start": { "line": 364, "column": 25 }, "end": { "line": 364, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 14348, "end": 14357, "loc": { "start": { "line": 364, "column": 36 }, "end": { "line": 364, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14357, "end": 14358, "loc": { "start": { "line": 364, "column": 45 }, "end": { "line": 364, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for cut is not a shape", "start": 14359, "end": 14389, "loc": { "start": { "line": 364, "column": 47 }, "end": { "line": 364, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14389, "end": 14390, "loc": { "start": { "line": 364, "column": 77 }, "end": { "line": 364, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14390, "end": 14391, "loc": { "start": { "line": 364, "column": 78 }, "end": { "line": 364, "column": 79 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 14401, "end": 14406, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 14407, "end": 14422, "loc": { "start": { "line": 365, "column": 14 }, "end": { "line": 365, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14423, "end": 14424, "loc": { "start": { "line": 365, "column": 30 }, "end": { "line": 365, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 14425, "end": 14434, "loc": { "start": { "line": 365, "column": 32 }, "end": { "line": 365, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14434, "end": 14435, "loc": { "start": { "line": 365, "column": 41 }, "end": { "line": 365, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 14435, "end": 14445, "loc": { "start": { "line": 365, "column": 42 }, "end": { "line": 365, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14445, "end": 14446, "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": 14458, "end": 14463, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutDefinitions", "start": 14464, "end": 14478, "loc": { "start": { "line": 367, "column": 14 }, "end": { "line": 367, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14479, "end": 14480, "loc": { "start": { "line": 367, "column": 29 }, "end": { "line": 367, "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": 14481, "end": 14485, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14485, "end": 14486, "loc": { "start": { "line": 367, "column": 35 }, "end": { "line": 367, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 14486, "end": 14490, "loc": { "start": { "line": 367, "column": 36 }, "end": { "line": 367, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14490, "end": 14491, "loc": { "start": { "line": 367, "column": 40 }, "end": { "line": 367, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 14491, "end": 14509, "loc": { "start": { "line": 367, "column": 41 }, "end": { "line": 367, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14509, "end": 14510, "loc": { "start": { "line": 367, "column": 59 }, "end": { "line": 367, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionCutQuad", "start": 14510, "end": 14528, "loc": { "start": { "line": 367, "column": 60 }, "end": { "line": 367, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14528, "end": 14529, "loc": { "start": { "line": 367, "column": 78 }, "end": { "line": 367, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 14529, "end": 14544, "loc": { "start": { "line": 367, "column": 79 }, "end": { "line": 367, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14544, "end": 14545, "loc": { "start": { "line": 367, "column": 94 }, "end": { "line": 367, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14545, "end": 14546, "loc": { "start": { "line": 367, "column": 95 }, "end": { "line": 367, "column": 96 } } }, { "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": 14558, "end": 14561, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14562, "end": 14563, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "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": 14563, "end": 14566, "loc": { "start": { "line": 369, "column": 13 }, "end": { "line": 369, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 14567, "end": 14568, "loc": { "start": { "line": 369, "column": 17 }, "end": { "line": 369, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14569, "end": 14570, "loc": { "start": { "line": 369, "column": 19 }, "end": { "line": 369, "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": 14571, "end": 14572, "loc": { "start": { "line": 369, "column": 21 }, "end": { "line": 369, "column": 22 } } }, { "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": 369, "column": 22 }, "end": { "line": 369, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 14574, "end": 14575, "loc": { "start": { "line": 369, "column": 24 }, "end": { "line": 369, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 14576, "end": 14577, "loc": { "start": { "line": 369, "column": 26 }, "end": { "line": 369, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutDefinitions", "start": 14578, "end": 14592, "loc": { "start": { "line": 369, "column": 28 }, "end": { "line": 369, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14592, "end": 14593, "loc": { "start": { "line": 369, "column": 42 }, "end": { "line": 369, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 14593, "end": 14599, "loc": { "start": { "line": 369, "column": 43 }, "end": { "line": 369, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14599, "end": 14600, "loc": { "start": { "line": 369, "column": 49 }, "end": { "line": 369, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 14601, "end": 14603, "loc": { "start": { "line": 369, "column": 51 }, "end": { "line": 369, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 14603, "end": 14604, "loc": { "start": { "line": 369, "column": 53 }, "end": { "line": 369, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14604, "end": 14605, "loc": { "start": { "line": 369, "column": 54 }, "end": { "line": 369, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14606, "end": 14607, "loc": { "start": { "line": 369, "column": 56 }, "end": { "line": 369, "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": 14621, "end": 14626, "loc": { "start": { "line": 370, "column": 12 }, "end": { "line": 370, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 14627, "end": 14637, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14638, "end": 14639, "loc": { "start": { "line": 370, "column": 29 }, "end": { "line": 370, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cutDefinitions", "start": 14640, "end": 14654, "loc": { "start": { "line": 370, "column": 31 }, "end": { "line": 370, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14654, "end": 14655, "loc": { "start": { "line": 370, "column": 45 }, "end": { "line": 370, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 14655, "end": 14656, "loc": { "start": { "line": 370, "column": 46 }, "end": { "line": 370, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14656, "end": 14657, "loc": { "start": { "line": 370, "column": 47 }, "end": { "line": 370, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14657, "end": 14658, "loc": { "start": { "line": 370, "column": 48 }, "end": { "line": 370, "column": 49 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14672, "end": 14674, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 371, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14675, "end": 14676, "loc": { "start": { "line": 371, "column": 15 }, "end": { "line": 371, "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": 14676, "end": 14677, "loc": { "start": { "line": 371, "column": 16 }, "end": { "line": 371, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 14677, "end": 14687, "loc": { "start": { "line": 371, "column": 17 }, "end": { "line": 371, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14687, "end": 14688, "loc": { "start": { "line": 371, "column": 27 }, "end": { "line": 371, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isEntirelyEmpty", "start": 14688, "end": 14703, "loc": { "start": { "line": 371, "column": 28 }, "end": { "line": 371, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14703, "end": 14704, "loc": { "start": { "line": 371, "column": 43 }, "end": { "line": 371, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14704, "end": 14705, "loc": { "start": { "line": 371, "column": 44 }, "end": { "line": 371, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14705, "end": 14706, "loc": { "start": { "line": 371, "column": 45 }, "end": { "line": 371, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14707, "end": 14708, "loc": { "start": { "line": 371, "column": 47 }, "end": { "line": 371, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 14726, "end": 14733, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 372, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14733, "end": 14734, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 14734, "end": 14742, "loc": { "start": { "line": 372, "column": 24 }, "end": { "line": 372, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14742, "end": 14743, "loc": { "start": { "line": 372, "column": 32 }, "end": { "line": 372, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14743, "end": 14747, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14747, "end": 14748, "loc": { "start": { "line": 372, "column": 37 }, "end": { "line": 372, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14748, "end": 14749, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 372, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14771, "end": 14775, "loc": { "start": { "line": 373, "column": 20 }, "end": { "line": 373, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14775, "end": 14776, "loc": { "start": { "line": 373, "column": 24 }, "end": { "line": 373, "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": 14777, "end": 14781, "loc": { "start": { "line": 373, "column": 26 }, "end": { "line": 373, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14781, "end": 14782, "loc": { "start": { "line": 373, "column": 30 }, "end": { "line": 373, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 14782, "end": 14786, "loc": { "start": { "line": 373, "column": 31 }, "end": { "line": 373, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14786, "end": 14787, "loc": { "start": { "line": 373, "column": 35 }, "end": { "line": 373, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 14787, "end": 14805, "loc": { "start": { "line": 373, "column": 36 }, "end": { "line": 373, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14805, "end": 14806, "loc": { "start": { "line": 373, "column": 54 }, "end": { "line": 373, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 14806, "end": 14832, "loc": { "start": { "line": 373, "column": 55 }, "end": { "line": 373, "column": 81 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14832, "end": 14833, "loc": { "start": { "line": 373, "column": 81 }, "end": { "line": 373, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 14833, "end": 14843, "loc": { "start": { "line": 373, "column": 82 }, "end": { "line": 373, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14843, "end": 14844, "loc": { "start": { "line": 373, "column": 92 }, "end": { "line": 373, "column": 93 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14844, "end": 14845, "loc": { "start": { "line": 373, "column": 93 }, "end": { "line": 373, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requiredSlot", "start": 14867, "end": 14879, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "column": 32 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14879, "end": 14880, "loc": { "start": { "line": 374, "column": 32 }, "end": { "line": 374, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 14881, "end": 14882, "loc": { "start": { "line": 374, "column": 34 }, "end": { "line": 374, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14882, "end": 14883, "loc": { "start": { "line": 374, "column": 35 }, "end": { "line": 374, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14901, "end": 14902, "loc": { "start": { "line": 375, "column": 16 }, "end": { "line": 375, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14902, "end": 14903, "loc": { "start": { "line": 375, "column": 17 }, "end": { "line": 375, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14903, "end": 14904, "loc": { "start": { "line": 375, "column": 18 }, "end": { "line": 375, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14918, "end": 14919, "loc": { "start": { "line": 376, "column": 12 }, "end": { "line": 376, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14929, "end": 14930, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14936, "end": 14937, "loc": { "start": { "line": 378, "column": 4 }, "end": { "line": 378, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 14945, "end": 15013, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 382, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_ROTATER", "start": 15019, "end": 15034, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 383, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15034, "end": 15035, "loc": { "start": { "line": 383, "column": 19 }, "end": { "line": 383, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 15035, "end": 15042, "loc": { "start": { "line": 383, "column": 20 }, "end": { "line": 383, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15042, "end": 15043, "loc": { "start": { "line": 383, "column": 27 }, "end": { "line": 383, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15044, "end": 15045, "loc": { "start": { "line": 383, "column": 29 }, "end": { "line": 383, "column": 30 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 15055, "end": 15060, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 15061, "end": 15070, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15071, "end": 15072, "loc": { "start": { "line": 384, "column": 24 }, "end": { "line": 384, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 15073, "end": 15097, "loc": { "start": { "line": 384, "column": 26 }, "end": { "line": 384, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15098, "end": 15099, "loc": { "start": { "line": 384, "column": 51 }, "end": { "line": 384, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 15099, "end": 15106, "loc": { "start": { "line": 384, "column": 52 }, "end": { "line": 384, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15106, "end": 15107, "loc": { "start": { "line": 384, "column": 59 }, "end": { "line": 384, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 15107, "end": 15112, "loc": { "start": { "line": 384, "column": 60 }, "end": { "line": 384, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15112, "end": 15113, "loc": { "start": { "line": 384, "column": 65 }, "end": { "line": 384, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 15113, "end": 15114, "loc": { "start": { "line": 384, "column": 66 }, "end": { "line": 384, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15114, "end": 15115, "loc": { "start": { "line": 384, "column": 67 }, "end": { "line": 384, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15115, "end": 15116, "loc": { "start": { "line": 384, "column": 68 }, "end": { "line": 384, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15116, "end": 15120, "loc": { "start": { "line": 384, "column": 69 }, "end": { "line": 384, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15120, "end": 15121, "loc": { "start": { "line": 384, "column": 73 }, "end": { "line": 384, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15121, "end": 15122, "loc": { "start": { "line": 384, "column": 74 }, "end": { "line": 384, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 15132, "end": 15138, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15138, "end": 15139, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 15139, "end": 15148, "loc": { "start": { "line": 385, "column": 15 }, "end": { "line": 385, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 15149, "end": 15159, "loc": { "start": { "line": 385, "column": 25 }, "end": { "line": 385, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 15160, "end": 15169, "loc": { "start": { "line": 385, "column": 36 }, "end": { "line": 385, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15169, "end": 15170, "loc": { "start": { "line": 385, "column": 45 }, "end": { "line": 385, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for rotation is not a shape", "start": 15171, "end": 15206, "loc": { "start": { "line": 385, "column": 47 }, "end": { "line": 385, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15206, "end": 15207, "loc": { "start": { "line": 385, "column": 82 }, "end": { "line": 385, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15207, "end": 15208, "loc": { "start": { "line": 385, "column": 83 }, "end": { "line": 385, "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": 15218, "end": 15223, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 386, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 15224, "end": 15239, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15240, "end": 15241, "loc": { "start": { "line": 386, "column": 30 }, "end": { "line": 386, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 15242, "end": 15251, "loc": { "start": { "line": 386, "column": 32 }, "end": { "line": 386, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15251, "end": 15252, "loc": { "start": { "line": 386, "column": 41 }, "end": { "line": 386, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 15252, "end": 15262, "loc": { "start": { "line": 386, "column": 42 }, "end": { "line": 386, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15262, "end": 15263, "loc": { "start": { "line": 386, "column": 52 }, "end": { "line": 386, "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": 15275, "end": 15280, "loc": { "start": { "line": 388, "column": 8 }, "end": { "line": 388, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotatedDefinition", "start": 15281, "end": 15298, "loc": { "start": { "line": 388, "column": 14 }, "end": { "line": 388, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15299, "end": 15300, "loc": { "start": { "line": 388, "column": 32 }, "end": { "line": 388, "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": 15301, "end": 15305, "loc": { "start": { "line": 388, "column": 34 }, "end": { "line": 388, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15305, "end": 15306, "loc": { "start": { "line": 388, "column": 38 }, "end": { "line": 388, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 15306, "end": 15310, "loc": { "start": { "line": 388, "column": 39 }, "end": { "line": 388, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15310, "end": 15311, "loc": { "start": { "line": 388, "column": 43 }, "end": { "line": 388, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 15311, "end": 15329, "loc": { "start": { "line": 388, "column": 44 }, "end": { "line": 388, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15329, "end": 15330, "loc": { "start": { "line": 388, "column": 62 }, "end": { "line": 388, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionRotateCW", "start": 15330, "end": 15349, "loc": { "start": { "line": 388, "column": 63 }, "end": { "line": 388, "column": 82 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15349, "end": 15350, "loc": { "start": { "line": 388, "column": 82 }, "end": { "line": 388, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 15350, "end": 15365, "loc": { "start": { "line": 388, "column": 83 }, "end": { "line": 388, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15365, "end": 15366, "loc": { "start": { "line": 388, "column": 98 }, "end": { "line": 388, "column": 99 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15366, "end": 15367, "loc": { "start": { "line": 388, "column": 99 }, "end": { "line": 388, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 15377, "end": 15384, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15384, "end": 15385, "loc": { "start": { "line": 389, "column": 15 }, "end": { "line": 389, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 15385, "end": 15393, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15393, "end": 15394, "loc": { "start": { "line": 389, "column": 24 }, "end": { "line": 389, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 15394, "end": 15398, "loc": { "start": { "line": 389, "column": 25 }, "end": { "line": 389, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15398, "end": 15399, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15399, "end": 15400, "loc": { "start": { "line": 389, "column": 30 }, "end": { "line": 389, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15414, "end": 15418, "loc": { "start": { "line": 390, "column": 12 }, "end": { "line": 390, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15418, "end": 15419, "loc": { "start": { "line": 390, "column": 16 }, "end": { "line": 390, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15420, "end": 15424, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15424, "end": 15425, "loc": { "start": { "line": 390, "column": 22 }, "end": { "line": 390, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 15425, "end": 15429, "loc": { "start": { "line": 390, "column": 23 }, "end": { "line": 390, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15429, "end": 15430, "loc": { "start": { "line": 390, "column": 27 }, "end": { "line": 390, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 15430, "end": 15448, "loc": { "start": { "line": 390, "column": 28 }, "end": { "line": 390, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15448, "end": 15449, "loc": { "start": { "line": 390, "column": 46 }, "end": { "line": 390, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 15449, "end": 15475, "loc": { "start": { "line": 390, "column": 47 }, "end": { "line": 390, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15475, "end": 15476, "loc": { "start": { "line": 390, "column": 73 }, "end": { "line": 390, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotatedDefinition", "start": 15476, "end": 15493, "loc": { "start": { "line": 390, "column": 74 }, "end": { "line": 390, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15493, "end": 15494, "loc": { "start": { "line": 390, "column": 91 }, "end": { "line": 390, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15494, "end": 15495, "loc": { "start": { "line": 390, "column": 92 }, "end": { "line": 390, "column": 93 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15505, "end": 15506, "loc": { "start": { "line": 391, "column": 8 }, "end": { "line": 391, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15506, "end": 15507, "loc": { "start": { "line": 391, "column": 9 }, "end": { "line": 391, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15507, "end": 15508, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 391, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15514, "end": 15515, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 15523, "end": 15591, "loc": { "start": { "line": 394, "column": 4 }, "end": { "line": 396, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_ROTATER_CCW", "start": 15597, "end": 15616, "loc": { "start": { "line": 397, "column": 4 }, "end": { "line": 397, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15616, "end": 15617, "loc": { "start": { "line": 397, "column": 23 }, "end": { "line": 397, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 15617, "end": 15624, "loc": { "start": { "line": 397, "column": 24 }, "end": { "line": 397, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15624, "end": 15625, "loc": { "start": { "line": 397, "column": 31 }, "end": { "line": 397, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15626, "end": 15627, "loc": { "start": { "line": 397, "column": 33 }, "end": { "line": 397, "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": 15637, "end": 15642, "loc": { "start": { "line": 398, "column": 8 }, "end": { "line": 398, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 15643, "end": 15652, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15653, "end": 15654, "loc": { "start": { "line": 398, "column": 24 }, "end": { "line": 398, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 15655, "end": 15679, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15680, "end": 15681, "loc": { "start": { "line": 398, "column": 51 }, "end": { "line": 398, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 15681, "end": 15688, "loc": { "start": { "line": 398, "column": 52 }, "end": { "line": 398, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15688, "end": 15689, "loc": { "start": { "line": 398, "column": 59 }, "end": { "line": 398, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 15689, "end": 15694, "loc": { "start": { "line": 398, "column": 60 }, "end": { "line": 398, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15694, "end": 15695, "loc": { "start": { "line": 398, "column": 65 }, "end": { "line": 398, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 15695, "end": 15696, "loc": { "start": { "line": 398, "column": 66 }, "end": { "line": 398, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15696, "end": 15697, "loc": { "start": { "line": 398, "column": 67 }, "end": { "line": 398, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15697, "end": 15698, "loc": { "start": { "line": 398, "column": 68 }, "end": { "line": 398, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15698, "end": 15702, "loc": { "start": { "line": 398, "column": 69 }, "end": { "line": 398, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15702, "end": 15703, "loc": { "start": { "line": 398, "column": 73 }, "end": { "line": 398, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15703, "end": 15704, "loc": { "start": { "line": 398, "column": 74 }, "end": { "line": 398, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 15714, "end": 15720, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 399, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15720, "end": 15721, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 15721, "end": 15730, "loc": { "start": { "line": 399, "column": 15 }, "end": { "line": 399, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 15731, "end": 15741, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 15742, "end": 15751, "loc": { "start": { "line": 399, "column": 36 }, "end": { "line": 399, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15751, "end": 15752, "loc": { "start": { "line": 399, "column": 45 }, "end": { "line": 399, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for rotation is not a shape", "start": 15753, "end": 15788, "loc": { "start": { "line": 399, "column": 47 }, "end": { "line": 399, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15788, "end": 15789, "loc": { "start": { "line": 399, "column": 82 }, "end": { "line": 399, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15789, "end": 15790, "loc": { "start": { "line": 399, "column": 83 }, "end": { "line": 399, "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": 15800, "end": 15805, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 15806, "end": 15821, "loc": { "start": { "line": 400, "column": 14 }, "end": { "line": 400, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15822, "end": 15823, "loc": { "start": { "line": 400, "column": 30 }, "end": { "line": 400, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 15824, "end": 15833, "loc": { "start": { "line": 400, "column": 32 }, "end": { "line": 400, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15833, "end": 15834, "loc": { "start": { "line": 400, "column": 41 }, "end": { "line": 400, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 15834, "end": 15844, "loc": { "start": { "line": 400, "column": 42 }, "end": { "line": 400, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15844, "end": 15845, "loc": { "start": { "line": 400, "column": 52 }, "end": { "line": 400, "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": 15857, "end": 15862, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotatedDefinition", "start": 15863, "end": 15880, "loc": { "start": { "line": 402, "column": 14 }, "end": { "line": 402, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15881, "end": 15882, "loc": { "start": { "line": 402, "column": 32 }, "end": { "line": 402, "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": 15883, "end": 15887, "loc": { "start": { "line": 402, "column": 34 }, "end": { "line": 402, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15887, "end": 15888, "loc": { "start": { "line": 402, "column": 38 }, "end": { "line": 402, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 15888, "end": 15892, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15892, "end": 15893, "loc": { "start": { "line": 402, "column": 43 }, "end": { "line": 402, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 15893, "end": 15911, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15911, "end": 15912, "loc": { "start": { "line": 402, "column": 62 }, "end": { "line": 402, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionRotateCCW", "start": 15912, "end": 15932, "loc": { "start": { "line": 402, "column": 63 }, "end": { "line": 402, "column": 83 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15932, "end": 15933, "loc": { "start": { "line": 402, "column": 83 }, "end": { "line": 402, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 15933, "end": 15948, "loc": { "start": { "line": 402, "column": 84 }, "end": { "line": 402, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15948, "end": 15949, "loc": { "start": { "line": 402, "column": 99 }, "end": { "line": 402, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15949, "end": 15950, "loc": { "start": { "line": 402, "column": 100 }, "end": { "line": 402, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 15960, "end": 15967, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 403, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15967, "end": 15968, "loc": { "start": { "line": 403, "column": 15 }, "end": { "line": 403, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 15968, "end": 15976, "loc": { "start": { "line": 403, "column": 16 }, "end": { "line": 403, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15976, "end": 15977, "loc": { "start": { "line": 403, "column": 24 }, "end": { "line": 403, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 15977, "end": 15981, "loc": { "start": { "line": 403, "column": 25 }, "end": { "line": 403, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15981, "end": 15982, "loc": { "start": { "line": 403, "column": 29 }, "end": { "line": 403, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15982, "end": 15983, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15997, "end": 16001, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16001, "end": 16002, "loc": { "start": { "line": 404, "column": 16 }, "end": { "line": 404, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16003, "end": 16007, "loc": { "start": { "line": 404, "column": 18 }, "end": { "line": 404, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16007, "end": 16008, "loc": { "start": { "line": 404, "column": 22 }, "end": { "line": 404, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16008, "end": 16012, "loc": { "start": { "line": 404, "column": 23 }, "end": { "line": 404, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16012, "end": 16013, "loc": { "start": { "line": 404, "column": 27 }, "end": { "line": 404, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 16013, "end": 16031, "loc": { "start": { "line": 404, "column": 28 }, "end": { "line": 404, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16031, "end": 16032, "loc": { "start": { "line": 404, "column": 46 }, "end": { "line": 404, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 16032, "end": 16058, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16058, "end": 16059, "loc": { "start": { "line": 404, "column": 73 }, "end": { "line": 404, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotatedDefinition", "start": 16059, "end": 16076, "loc": { "start": { "line": 404, "column": 74 }, "end": { "line": 404, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16076, "end": 16077, "loc": { "start": { "line": 404, "column": 91 }, "end": { "line": 404, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16077, "end": 16078, "loc": { "start": { "line": 404, "column": 92 }, "end": { "line": 404, "column": 93 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16088, "end": 16089, "loc": { "start": { "line": 405, "column": 8 }, "end": { "line": 405, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16089, "end": 16090, "loc": { "start": { "line": 405, "column": 9 }, "end": { "line": 405, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16090, "end": 16091, "loc": { "start": { "line": 405, "column": 10 }, "end": { "line": 405, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16097, "end": 16098, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16106, "end": 16174, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 410, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_ROTATER_180", "start": 16180, "end": 16199, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16199, "end": 16200, "loc": { "start": { "line": 411, "column": 23 }, "end": { "line": 411, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 16200, "end": 16207, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16207, "end": 16208, "loc": { "start": { "line": 411, "column": 31 }, "end": { "line": 411, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16209, "end": 16210, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 411, "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": 16220, "end": 16225, "loc": { "start": { "line": 412, "column": 8 }, "end": { "line": 412, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 16226, "end": 16235, "loc": { "start": { "line": 412, "column": 14 }, "end": { "line": 412, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16236, "end": 16237, "loc": { "start": { "line": 412, "column": 24 }, "end": { "line": 412, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16238, "end": 16262, "loc": { "start": { "line": 412, "column": 26 }, "end": { "line": 412, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16263, "end": 16264, "loc": { "start": { "line": 412, "column": 51 }, "end": { "line": 412, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 16264, "end": 16271, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16271, "end": 16272, "loc": { "start": { "line": 412, "column": 59 }, "end": { "line": 412, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 16272, "end": 16277, "loc": { "start": { "line": 412, "column": 60 }, "end": { "line": 412, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16277, "end": 16278, "loc": { "start": { "line": 412, "column": 65 }, "end": { "line": 412, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16278, "end": 16279, "loc": { "start": { "line": 412, "column": 66 }, "end": { "line": 412, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16279, "end": 16280, "loc": { "start": { "line": 412, "column": 67 }, "end": { "line": 412, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16280, "end": 16281, "loc": { "start": { "line": 412, "column": 68 }, "end": { "line": 412, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 16281, "end": 16285, "loc": { "start": { "line": 412, "column": 69 }, "end": { "line": 412, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16285, "end": 16286, "loc": { "start": { "line": 412, "column": 73 }, "end": { "line": 412, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16286, "end": 16287, "loc": { "start": { "line": 412, "column": 74 }, "end": { "line": 412, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 16297, "end": 16303, "loc": { "start": { "line": 413, "column": 8 }, "end": { "line": 413, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16303, "end": 16304, "loc": { "start": { "line": 413, "column": 14 }, "end": { "line": 413, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 16304, "end": 16313, "loc": { "start": { "line": 413, "column": 15 }, "end": { "line": 413, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 16314, "end": 16324, "loc": { "start": { "line": 413, "column": 25 }, "end": { "line": 413, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 16325, "end": 16334, "loc": { "start": { "line": 413, "column": 36 }, "end": { "line": 413, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16334, "end": 16335, "loc": { "start": { "line": 413, "column": 45 }, "end": { "line": 413, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for rotation is not a shape", "start": 16336, "end": 16371, "loc": { "start": { "line": 413, "column": 47 }, "end": { "line": 413, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16371, "end": 16372, "loc": { "start": { "line": 413, "column": 82 }, "end": { "line": 413, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16372, "end": 16373, "loc": { "start": { "line": 413, "column": 83 }, "end": { "line": 413, "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": 16383, "end": 16388, "loc": { "start": { "line": 414, "column": 8 }, "end": { "line": 414, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 16389, "end": 16404, "loc": { "start": { "line": 414, "column": 14 }, "end": { "line": 414, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16405, "end": 16406, "loc": { "start": { "line": 414, "column": 30 }, "end": { "line": 414, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputItem", "start": 16407, "end": 16416, "loc": { "start": { "line": 414, "column": 32 }, "end": { "line": 414, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16416, "end": 16417, "loc": { "start": { "line": 414, "column": 41 }, "end": { "line": 414, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 16417, "end": 16427, "loc": { "start": { "line": 414, "column": 42 }, "end": { "line": 414, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16427, "end": 16428, "loc": { "start": { "line": 414, "column": 52 }, "end": { "line": 414, "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": 16440, "end": 16445, "loc": { "start": { "line": 416, "column": 8 }, "end": { "line": 416, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotatedDefinition", "start": 16446, "end": 16463, "loc": { "start": { "line": 416, "column": 14 }, "end": { "line": 416, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16464, "end": 16465, "loc": { "start": { "line": 416, "column": 32 }, "end": { "line": 416, "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": 16466, "end": 16470, "loc": { "start": { "line": 416, "column": 34 }, "end": { "line": 416, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16470, "end": 16471, "loc": { "start": { "line": 416, "column": 38 }, "end": { "line": 416, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16471, "end": 16475, "loc": { "start": { "line": 416, "column": 39 }, "end": { "line": 416, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16475, "end": 16476, "loc": { "start": { "line": 416, "column": 43 }, "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": "shapeDefinitionMgr", "start": 16476, "end": 16494, "loc": { "start": { "line": 416, "column": 44 }, "end": { "line": 416, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16494, "end": 16495, "loc": { "start": { "line": 416, "column": 62 }, "end": { "line": 416, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionRotate180", "start": 16495, "end": 16515, "loc": { "start": { "line": 416, "column": 63 }, "end": { "line": 416, "column": 83 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16515, "end": 16516, "loc": { "start": { "line": 416, "column": 83 }, "end": { "line": 416, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputDefinition", "start": 16516, "end": 16531, "loc": { "start": { "line": 416, "column": 84 }, "end": { "line": 416, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16531, "end": 16532, "loc": { "start": { "line": 416, "column": 99 }, "end": { "line": 416, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16532, "end": 16533, "loc": { "start": { "line": 416, "column": 100 }, "end": { "line": 416, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 16543, "end": 16550, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16550, "end": 16551, "loc": { "start": { "line": 417, "column": 15 }, "end": { "line": 417, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 16551, "end": 16559, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16559, "end": 16560, "loc": { "start": { "line": 417, "column": 24 }, "end": { "line": 417, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 16560, "end": 16564, "loc": { "start": { "line": 417, "column": 25 }, "end": { "line": 417, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16564, "end": 16565, "loc": { "start": { "line": 417, "column": 29 }, "end": { "line": 417, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16565, "end": 16566, "loc": { "start": { "line": 417, "column": 30 }, "end": { "line": 417, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 16580, "end": 16584, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16584, "end": 16585, "loc": { "start": { "line": 418, "column": 16 }, "end": { "line": 418, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16586, "end": 16590, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16590, "end": 16591, "loc": { "start": { "line": 418, "column": 22 }, "end": { "line": 418, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16591, "end": 16595, "loc": { "start": { "line": 418, "column": 23 }, "end": { "line": 418, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16595, "end": 16596, "loc": { "start": { "line": 418, "column": 27 }, "end": { "line": 418, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 16596, "end": 16614, "loc": { "start": { "line": 418, "column": 28 }, "end": { "line": 418, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16614, "end": 16615, "loc": { "start": { "line": 418, "column": 46 }, "end": { "line": 418, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 16615, "end": 16641, "loc": { "start": { "line": 418, "column": 47 }, "end": { "line": 418, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16641, "end": 16642, "loc": { "start": { "line": 418, "column": 73 }, "end": { "line": 418, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotatedDefinition", "start": 16642, "end": 16659, "loc": { "start": { "line": 418, "column": 74 }, "end": { "line": 418, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16659, "end": 16660, "loc": { "start": { "line": 418, "column": 91 }, "end": { "line": 418, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16660, "end": 16661, "loc": { "start": { "line": 418, "column": 92 }, "end": { "line": 418, "column": 93 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16671, "end": 16672, "loc": { "start": { "line": 419, "column": 8 }, "end": { "line": 419, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16672, "end": 16673, "loc": { "start": { "line": 419, "column": 9 }, "end": { "line": 419, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16673, "end": 16674, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16680, "end": 16681, "loc": { "start": { "line": 420, "column": 4 }, "end": { "line": 420, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 16689, "end": 16757, "loc": { "start": { "line": 422, "column": 4 }, "end": { "line": 424, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_STACKER", "start": 16763, "end": 16778, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 425, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16778, "end": 16779, "loc": { "start": { "line": 425, "column": 19 }, "end": { "line": 425, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 16779, "end": 16786, "loc": { "start": { "line": 425, "column": 20 }, "end": { "line": 425, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16786, "end": 16787, "loc": { "start": { "line": 425, "column": 27 }, "end": { "line": 425, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16788, "end": 16789, "loc": { "start": { "line": 425, "column": 29 }, "end": { "line": 425, "column": 30 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 16799, "end": 16804, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 426, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerItem", "start": 16805, "end": 16814, "loc": { "start": { "line": 426, "column": 14 }, "end": { "line": 426, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16815, "end": 16816, "loc": { "start": { "line": 426, "column": 24 }, "end": { "line": 426, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16817, "end": 16841, "loc": { "start": { "line": 426, "column": 26 }, "end": { "line": 426, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16842, "end": 16843, "loc": { "start": { "line": 426, "column": 51 }, "end": { "line": 426, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 16843, "end": 16850, "loc": { "start": { "line": 426, "column": 52 }, "end": { "line": 426, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16850, "end": 16851, "loc": { "start": { "line": 426, "column": 59 }, "end": { "line": 426, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 16851, "end": 16862, "loc": { "start": { "line": 426, "column": 60 }, "end": { "line": 426, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16862, "end": 16863, "loc": { "start": { "line": 426, "column": 71 }, "end": { "line": 426, "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": 16863, "end": 16864, "loc": { "start": { "line": 426, "column": 72 }, "end": { "line": 426, "column": 73 } } }, { "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": 426, "column": 73 }, "end": { "line": 426, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16865, "end": 16866, "loc": { "start": { "line": 426, "column": 74 }, "end": { "line": 426, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16866, "end": 16867, "loc": { "start": { "line": 426, "column": 75 }, "end": { "line": 426, "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": 16877, "end": 16882, "loc": { "start": { "line": 427, "column": 8 }, "end": { "line": 427, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "upperItem", "start": 16883, "end": 16892, "loc": { "start": { "line": 427, "column": 14 }, "end": { "line": 427, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16893, "end": 16894, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 16895, "end": 16919, "loc": { "start": { "line": 427, "column": 26 }, "end": { "line": 427, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16920, "end": 16921, "loc": { "start": { "line": 427, "column": 51 }, "end": { "line": 427, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 16921, "end": 16928, "loc": { "start": { "line": 427, "column": 52 }, "end": { "line": 427, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16928, "end": 16929, "loc": { "start": { "line": 427, "column": 59 }, "end": { "line": 427, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 16929, "end": 16940, "loc": { "start": { "line": 427, "column": 60 }, "end": { "line": 427, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16940, "end": 16941, "loc": { "start": { "line": 427, "column": 71 }, "end": { "line": 427, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 16941, "end": 16942, "loc": { "start": { "line": 427, "column": 72 }, "end": { "line": 427, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16942, "end": 16943, "loc": { "start": { "line": 427, "column": 73 }, "end": { "line": 427, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16943, "end": 16944, "loc": { "start": { "line": 427, "column": 74 }, "end": { "line": 427, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16944, "end": 16945, "loc": { "start": { "line": 427, "column": 75 }, "end": { "line": 427, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 16957, "end": 16963, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16963, "end": 16964, "loc": { "start": { "line": 429, "column": 14 }, "end": { "line": 429, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerItem", "start": 16964, "end": 16973, "loc": { "start": { "line": 429, "column": 15 }, "end": { "line": 429, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 16974, "end": 16984, "loc": { "start": { "line": 429, "column": 25 }, "end": { "line": 429, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 16985, "end": 16994, "loc": { "start": { "line": 429, "column": 36 }, "end": { "line": 429, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16994, "end": 16995, "loc": { "start": { "line": 429, "column": 45 }, "end": { "line": 429, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for lower stack is not a shape", "start": 16996, "end": 17034, "loc": { "start": { "line": 429, "column": 47 }, "end": { "line": 429, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17034, "end": 17035, "loc": { "start": { "line": 429, "column": 85 }, "end": { "line": 429, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17035, "end": 17036, "loc": { "start": { "line": 429, "column": 86 }, "end": { "line": 429, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 17046, "end": 17052, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17052, "end": 17053, "loc": { "start": { "line": 430, "column": 14 }, "end": { "line": 430, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "upperItem", "start": 17053, "end": 17062, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 17063, "end": 17073, "loc": { "start": { "line": 430, "column": 25 }, "end": { "line": 430, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 17074, "end": 17083, "loc": { "start": { "line": 430, "column": 36 }, "end": { "line": 430, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17083, "end": 17084, "loc": { "start": { "line": 430, "column": 45 }, "end": { "line": 430, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for upper stack is not a shape", "start": 17085, "end": 17123, "loc": { "start": { "line": 430, "column": 47 }, "end": { "line": 430, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17123, "end": 17124, "loc": { "start": { "line": 430, "column": 85 }, "end": { "line": 430, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17124, "end": 17125, "loc": { "start": { "line": 430, "column": 86 }, "end": { "line": 430, "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": 17137, "end": 17142, "loc": { "start": { "line": 432, "column": 8 }, "end": { "line": 432, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stackedDefinition", "start": 17143, "end": 17160, "loc": { "start": { "line": 432, "column": 14 }, "end": { "line": 432, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17161, "end": 17162, "loc": { "start": { "line": 432, "column": 32 }, "end": { "line": 432, "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": 17163, "end": 17167, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 432, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17167, "end": 17168, "loc": { "start": { "line": 432, "column": 38 }, "end": { "line": 432, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17168, "end": 17172, "loc": { "start": { "line": 432, "column": 39 }, "end": { "line": 432, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17172, "end": 17173, "loc": { "start": { "line": 432, "column": 43 }, "end": { "line": 432, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 17173, "end": 17191, "loc": { "start": { "line": 432, "column": 44 }, "end": { "line": 432, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17191, "end": 17192, "loc": { "start": { "line": 432, "column": 62 }, "end": { "line": 432, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionStack", "start": 17192, "end": 17208, "loc": { "start": { "line": 432, "column": 63 }, "end": { "line": 432, "column": 79 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17208, "end": 17209, "loc": { "start": { "line": 432, "column": 79 }, "end": { "line": 432, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerItem", "start": 17223, "end": 17232, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17232, "end": 17233, "loc": { "start": { "line": 433, "column": 21 }, "end": { "line": 433, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 17233, "end": 17243, "loc": { "start": { "line": 433, "column": 22 }, "end": { "line": 433, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17243, "end": 17244, "loc": { "start": { "line": 433, "column": 32 }, "end": { "line": 433, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "upperItem", "start": 17258, "end": 17267, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17267, "end": 17268, "loc": { "start": { "line": 434, "column": 21 }, "end": { "line": 434, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 17268, "end": 17278, "loc": { "start": { "line": 434, "column": 22 }, "end": { "line": 434, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17288, "end": 17289, "loc": { "start": { "line": 435, "column": 8 }, "end": { "line": 435, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17289, "end": 17290, "loc": { "start": { "line": 435, "column": 9 }, "end": { "line": 435, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 17300, "end": 17307, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17307, "end": 17308, "loc": { "start": { "line": 436, "column": 15 }, "end": { "line": 436, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 17308, "end": 17316, "loc": { "start": { "line": 436, "column": 16 }, "end": { "line": 436, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17316, "end": 17317, "loc": { "start": { "line": 436, "column": 24 }, "end": { "line": 436, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 17317, "end": 17321, "loc": { "start": { "line": 436, "column": 25 }, "end": { "line": 436, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17321, "end": 17322, "loc": { "start": { "line": 436, "column": 29 }, "end": { "line": 436, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17322, "end": 17323, "loc": { "start": { "line": 436, "column": 30 }, "end": { "line": 436, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 17337, "end": 17341, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17341, "end": 17342, "loc": { "start": { "line": 437, "column": 16 }, "end": { "line": 437, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17343, "end": 17347, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17347, "end": 17348, "loc": { "start": { "line": 437, "column": 22 }, "end": { "line": 437, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17348, "end": 17352, "loc": { "start": { "line": 437, "column": 23 }, "end": { "line": 437, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17352, "end": 17353, "loc": { "start": { "line": 437, "column": 27 }, "end": { "line": 437, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 17353, "end": 17371, "loc": { "start": { "line": 437, "column": 28 }, "end": { "line": 437, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17371, "end": 17372, "loc": { "start": { "line": 437, "column": 46 }, "end": { "line": 437, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 17372, "end": 17398, "loc": { "start": { "line": 437, "column": 47 }, "end": { "line": 437, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17398, "end": 17399, "loc": { "start": { "line": 437, "column": 73 }, "end": { "line": 437, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stackedDefinition", "start": 17399, "end": 17416, "loc": { "start": { "line": 437, "column": 74 }, "end": { "line": 437, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17416, "end": 17417, "loc": { "start": { "line": 437, "column": 91 }, "end": { "line": 437, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17417, "end": 17418, "loc": { "start": { "line": 437, "column": 92 }, "end": { "line": 437, "column": 93 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17428, "end": 17429, "loc": { "start": { "line": 438, "column": 8 }, "end": { "line": 438, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17429, "end": 17430, "loc": { "start": { "line": 438, "column": 9 }, "end": { "line": 438, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17430, "end": 17431, "loc": { "start": { "line": 438, "column": 10 }, "end": { "line": 438, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17437, "end": 17438, "loc": { "start": { "line": 439, "column": 4 }, "end": { "line": 439, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17446, "end": 17514, "loc": { "start": { "line": 441, "column": 4 }, "end": { "line": 443, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_TRASH", "start": 17520, "end": 17533, "loc": { "start": { "line": 444, "column": 4 }, "end": { "line": 444, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17533, "end": 17534, "loc": { "start": { "line": 444, "column": 17 }, "end": { "line": 444, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 17534, "end": 17541, "loc": { "start": { "line": 444, "column": 18 }, "end": { "line": 444, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17541, "end": 17542, "loc": { "start": { "line": 444, "column": 25 }, "end": { "line": 444, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17543, "end": 17544, "loc": { "start": { "line": 444, "column": 27 }, "end": { "line": 444, "column": 28 } } }, { "type": "CommentLine", "value": " Do nothing ..", "start": 17554, "end": 17570, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17576, "end": 17577, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 17585, "end": 17653, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_MIXER", "start": 17659, "end": 17672, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 451, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17672, "end": 17673, "loc": { "start": { "line": 451, "column": 17 }, "end": { "line": 451, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 17673, "end": 17680, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17680, "end": 17681, "loc": { "start": { "line": 451, "column": 25 }, "end": { "line": 451, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17682, "end": 17683, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 451, "column": 28 } } }, { "type": "CommentLine", "value": " Find both colors and combine them", "start": 17693, "end": 17729, "loc": { "start": { "line": 452, "column": 8 }, "end": { "line": 452, "column": 44 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 17739, "end": 17744, "loc": { "start": { "line": 453, "column": 8 }, "end": { "line": 453, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item1", "start": 17745, "end": 17750, "loc": { "start": { "line": 453, "column": 14 }, "end": { "line": 453, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17751, "end": 17752, "loc": { "start": { "line": 453, "column": 20 }, "end": { "line": 453, "column": 21 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 17753, "end": 17777, "loc": { "start": { "line": 453, "column": 22 }, "end": { "line": 453, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17778, "end": 17779, "loc": { "start": { "line": 453, "column": 47 }, "end": { "line": 453, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 17779, "end": 17786, "loc": { "start": { "line": 453, "column": 48 }, "end": { "line": 453, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17786, "end": 17787, "loc": { "start": { "line": 453, "column": 55 }, "end": { "line": 453, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 17787, "end": 17792, "loc": { "start": { "line": 453, "column": 56 }, "end": { "line": 453, "column": 61 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17792, "end": 17793, "loc": { "start": { "line": 453, "column": 61 }, "end": { "line": 453, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17793, "end": 17794, "loc": { "start": { "line": 453, "column": 62 }, "end": { "line": 453, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17794, "end": 17795, "loc": { "start": { "line": 453, "column": 63 }, "end": { "line": 453, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17795, "end": 17796, "loc": { "start": { "line": 453, "column": 64 }, "end": { "line": 453, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 17796, "end": 17800, "loc": { "start": { "line": 453, "column": 65 }, "end": { "line": 453, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17800, "end": 17801, "loc": { "start": { "line": 453, "column": 69 }, "end": { "line": 453, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17801, "end": 17802, "loc": { "start": { "line": 453, "column": 70 }, "end": { "line": 453, "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": 17812, "end": 17817, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item2", "start": 17818, "end": 17823, "loc": { "start": { "line": 454, "column": 14 }, "end": { "line": 454, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17824, "end": 17825, "loc": { "start": { "line": 454, "column": 20 }, "end": { "line": 454, "column": 21 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 17826, "end": 17850, "loc": { "start": { "line": 454, "column": 22 }, "end": { "line": 454, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17851, "end": 17852, "loc": { "start": { "line": 454, "column": 47 }, "end": { "line": 454, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 17852, "end": 17859, "loc": { "start": { "line": 454, "column": 48 }, "end": { "line": 454, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17859, "end": 17860, "loc": { "start": { "line": 454, "column": 55 }, "end": { "line": 454, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 17860, "end": 17865, "loc": { "start": { "line": 454, "column": 56 }, "end": { "line": 454, "column": 61 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17865, "end": 17866, "loc": { "start": { "line": 454, "column": 61 }, "end": { "line": 454, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 17866, "end": 17867, "loc": { "start": { "line": 454, "column": 62 }, "end": { "line": 454, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17867, "end": 17868, "loc": { "start": { "line": 454, "column": 63 }, "end": { "line": 454, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17868, "end": 17869, "loc": { "start": { "line": 454, "column": 64 }, "end": { "line": 454, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 17869, "end": 17873, "loc": { "start": { "line": 454, "column": 65 }, "end": { "line": 454, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17873, "end": 17874, "loc": { "start": { "line": 454, "column": 69 }, "end": { "line": 454, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17874, "end": 17875, "loc": { "start": { "line": 454, "column": 70 }, "end": { "line": 454, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 17885, "end": 17891, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17891, "end": 17892, "loc": { "start": { "line": 455, "column": 14 }, "end": { "line": 455, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item1", "start": 17892, "end": 17897, "loc": { "start": { "line": 455, "column": 15 }, "end": { "line": 455, "column": 20 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 17898, "end": 17908, "loc": { "start": { "line": 455, "column": 21 }, "end": { "line": 455, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 17909, "end": 17918, "loc": { "start": { "line": 455, "column": 32 }, "end": { "line": 455, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17918, "end": 17919, "loc": { "start": { "line": 455, "column": 41 }, "end": { "line": 455, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for color mixer is not a color", "start": 17920, "end": 17958, "loc": { "start": { "line": 455, "column": 43 }, "end": { "line": 455, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17958, "end": 17959, "loc": { "start": { "line": 455, "column": 81 }, "end": { "line": 455, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17959, "end": 17960, "loc": { "start": { "line": 455, "column": 82 }, "end": { "line": 455, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 17970, "end": 17976, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17976, "end": 17977, "loc": { "start": { "line": 456, "column": 14 }, "end": { "line": 456, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item2", "start": 17977, "end": 17982, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 20 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 17983, "end": 17993, "loc": { "start": { "line": 456, "column": 21 }, "end": { "line": 456, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 17994, "end": 18003, "loc": { "start": { "line": 456, "column": 32 }, "end": { "line": 456, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18003, "end": 18004, "loc": { "start": { "line": 456, "column": 41 }, "end": { "line": 456, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for color mixer is not a color", "start": 18005, "end": 18043, "loc": { "start": { "line": 456, "column": 43 }, "end": { "line": 456, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18043, "end": 18044, "loc": { "start": { "line": 456, "column": 81 }, "end": { "line": 456, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18044, "end": 18045, "loc": { "start": { "line": 456, "column": 82 }, "end": { "line": 456, "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": 18057, "end": 18062, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color1", "start": 18063, "end": 18069, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18070, "end": 18071, "loc": { "start": { "line": 458, "column": 21 }, "end": { "line": 458, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item1", "start": 18072, "end": 18077, "loc": { "start": { "line": 458, "column": 23 }, "end": { "line": 458, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18077, "end": 18078, "loc": { "start": { "line": 458, "column": 28 }, "end": { "line": 458, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color", "start": 18078, "end": 18083, "loc": { "start": { "line": 458, "column": 29 }, "end": { "line": 458, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18083, "end": 18084, "loc": { "start": { "line": 458, "column": 34 }, "end": { "line": 458, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 18094, "end": 18099, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color2", "start": 18100, "end": 18106, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18107, "end": 18108, "loc": { "start": { "line": 459, "column": 21 }, "end": { "line": 459, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item2", "start": 18109, "end": 18114, "loc": { "start": { "line": 459, "column": 23 }, "end": { "line": 459, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18114, "end": 18115, "loc": { "start": { "line": 459, "column": 28 }, "end": { "line": 459, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color", "start": 18115, "end": 18120, "loc": { "start": { "line": 459, "column": 29 }, "end": { "line": 459, "column": 34 } } }, { "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": 459, "column": 34 }, "end": { "line": 459, "column": 35 } } }, { "type": "CommentLine", "value": " Try finding mixer color, and if we can't mix it we simply return the same color", "start": 18133, "end": 18215, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 90 } } }, { "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": 18225, "end": 18230, "loc": { "start": { "line": 462, "column": 8 }, "end": { "line": 462, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mixedColor", "start": 18231, "end": 18241, "loc": { "start": { "line": 462, "column": 14 }, "end": { "line": 462, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18242, "end": 18243, "loc": { "start": { "line": 462, "column": 25 }, "end": { "line": 462, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColorMixingResults", "start": 18244, "end": 18266, "loc": { "start": { "line": 462, "column": 27 }, "end": { "line": 462, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18266, "end": 18267, "loc": { "start": { "line": 462, "column": 49 }, "end": { "line": 462, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color1", "start": 18267, "end": 18273, "loc": { "start": { "line": 462, "column": 50 }, "end": { "line": 462, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18273, "end": 18274, "loc": { "start": { "line": 462, "column": 56 }, "end": { "line": 462, "column": 57 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18274, "end": 18275, "loc": { "start": { "line": 462, "column": 57 }, "end": { "line": 462, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color2", "start": 18275, "end": 18281, "loc": { "start": { "line": 462, "column": 58 }, "end": { "line": 462, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18281, "end": 18282, "loc": { "start": { "line": 462, "column": 64 }, "end": { "line": 462, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18282, "end": 18283, "loc": { "start": { "line": 462, "column": 65 }, "end": { "line": 462, "column": 66 } } }, { "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": 18293, "end": 18296, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resultColor", "start": 18297, "end": 18308, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18309, "end": 18310, "loc": { "start": { "line": 463, "column": 24 }, "end": { "line": 463, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color1", "start": 18311, "end": 18317, "loc": { "start": { "line": 463, "column": 26 }, "end": { "line": 463, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18317, "end": 18318, "loc": { "start": { "line": 463, "column": 32 }, "end": { "line": 463, "column": 33 } } }, { "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": 18328, "end": 18330, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18331, "end": 18332, "loc": { "start": { "line": 464, "column": 11 }, "end": { "line": 464, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mixedColor", "start": 18332, "end": 18342, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18342, "end": 18343, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18344, "end": 18345, "loc": { "start": { "line": 464, "column": 24 }, "end": { "line": 464, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resultColor", "start": 18359, "end": 18370, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18371, "end": 18372, "loc": { "start": { "line": 465, "column": 24 }, "end": { "line": 465, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mixedColor", "start": 18373, "end": 18383, "loc": { "start": { "line": 465, "column": 26 }, "end": { "line": 465, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18383, "end": 18384, "loc": { "start": { "line": 465, "column": 36 }, "end": { "line": 465, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18394, "end": 18395, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 18405, "end": 18412, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18412, "end": 18413, "loc": { "start": { "line": 467, "column": 15 }, "end": { "line": 467, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 18413, "end": 18421, "loc": { "start": { "line": 467, "column": 16 }, "end": { "line": 467, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18421, "end": 18422, "loc": { "start": { "line": 467, "column": 24 }, "end": { "line": 467, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 18422, "end": 18426, "loc": { "start": { "line": 467, "column": 25 }, "end": { "line": 467, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18426, "end": 18427, "loc": { "start": { "line": 467, "column": 29 }, "end": { "line": 467, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18427, "end": 18428, "loc": { "start": { "line": 467, "column": 30 }, "end": { "line": 467, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 18442, "end": 18446, "loc": { "start": { "line": 468, "column": 12 }, "end": { "line": 468, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18446, "end": 18447, "loc": { "start": { "line": 468, "column": 16 }, "end": { "line": 468, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 18448, "end": 18457, "loc": { "start": { "line": 468, "column": 18 }, "end": { "line": 468, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18457, "end": 18458, "loc": { "start": { "line": 468, "column": 27 }, "end": { "line": 468, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ITEM_SINGLETONS", "start": 18458, "end": 18473, "loc": { "start": { "line": 468, "column": 28 }, "end": { "line": 468, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18473, "end": 18474, "loc": { "start": { "line": 468, "column": 43 }, "end": { "line": 468, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resultColor", "start": 18474, "end": 18485, "loc": { "start": { "line": 468, "column": 44 }, "end": { "line": 468, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18485, "end": 18486, "loc": { "start": { "line": 468, "column": 55 }, "end": { "line": 468, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18486, "end": 18487, "loc": { "start": { "line": 468, "column": 56 }, "end": { "line": 468, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18497, "end": 18498, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18498, "end": 18499, "loc": { "start": { "line": 469, "column": 9 }, "end": { "line": 469, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18499, "end": 18500, "loc": { "start": { "line": 469, "column": 10 }, "end": { "line": 469, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18506, "end": 18507, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 18515, "end": 18583, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 474, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_PAINTER", "start": 18589, "end": 18604, "loc": { "start": { "line": 475, "column": 4 }, "end": { "line": 475, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18604, "end": 18605, "loc": { "start": { "line": 475, "column": 19 }, "end": { "line": 475, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 18605, "end": 18612, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18612, "end": 18613, "loc": { "start": { "line": 475, "column": 27 }, "end": { "line": 475, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18614, "end": 18615, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 30 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 18625, "end": 18630, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 18631, "end": 18640, "loc": { "start": { "line": 476, "column": 14 }, "end": { "line": 476, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18641, "end": 18642, "loc": { "start": { "line": 476, "column": 24 }, "end": { "line": 476, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 18643, "end": 18667, "loc": { "start": { "line": 476, "column": 26 }, "end": { "line": 476, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18668, "end": 18669, "loc": { "start": { "line": 476, "column": 51 }, "end": { "line": 476, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 18669, "end": 18676, "loc": { "start": { "line": 476, "column": 52 }, "end": { "line": 476, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18676, "end": 18677, "loc": { "start": { "line": 476, "column": 59 }, "end": { "line": 476, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 18677, "end": 18688, "loc": { "start": { "line": 476, "column": 60 }, "end": { "line": 476, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18688, "end": 18689, "loc": { "start": { "line": 476, "column": 71 }, "end": { "line": 476, "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": 18689, "end": 18690, "loc": { "start": { "line": 476, "column": 72 }, "end": { "line": 476, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18690, "end": 18691, "loc": { "start": { "line": 476, "column": 73 }, "end": { "line": 476, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18691, "end": 18692, "loc": { "start": { "line": 476, "column": 74 }, "end": { "line": 476, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18692, "end": 18693, "loc": { "start": { "line": 476, "column": 75 }, "end": { "line": 476, "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": 18703, "end": 18708, "loc": { "start": { "line": 477, "column": 8 }, "end": { "line": 477, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorItem", "start": 18709, "end": 18718, "loc": { "start": { "line": 477, "column": 14 }, "end": { "line": 477, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18719, "end": 18720, "loc": { "start": { "line": 477, "column": 24 }, "end": { "line": 477, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 18721, "end": 18745, "loc": { "start": { "line": 477, "column": 26 }, "end": { "line": 477, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18746, "end": 18747, "loc": { "start": { "line": 477, "column": 51 }, "end": { "line": 477, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 18747, "end": 18754, "loc": { "start": { "line": 477, "column": 52 }, "end": { "line": 477, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18754, "end": 18755, "loc": { "start": { "line": 477, "column": 59 }, "end": { "line": 477, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 18755, "end": 18766, "loc": { "start": { "line": 477, "column": 60 }, "end": { "line": 477, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18766, "end": 18767, "loc": { "start": { "line": 477, "column": 71 }, "end": { "line": 477, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 18767, "end": 18768, "loc": { "start": { "line": 477, "column": 72 }, "end": { "line": 477, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18768, "end": 18769, "loc": { "start": { "line": 477, "column": 73 }, "end": { "line": 477, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18769, "end": 18770, "loc": { "start": { "line": 477, "column": 74 }, "end": { "line": 477, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18770, "end": 18771, "loc": { "start": { "line": 477, "column": 75 }, "end": { "line": 477, "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": 18783, "end": 18788, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 479, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition", "start": 18789, "end": 18808, "loc": { "start": { "line": 479, "column": 14 }, "end": { "line": 479, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18809, "end": 18810, "loc": { "start": { "line": 479, "column": 34 }, "end": { "line": 479, "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": 18811, "end": 18815, "loc": { "start": { "line": 479, "column": 36 }, "end": { "line": 479, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18815, "end": 18816, "loc": { "start": { "line": 479, "column": 40 }, "end": { "line": 479, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 18816, "end": 18820, "loc": { "start": { "line": 479, "column": 41 }, "end": { "line": 479, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18820, "end": 18821, "loc": { "start": { "line": 479, "column": 45 }, "end": { "line": 479, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 18821, "end": 18839, "loc": { "start": { "line": 479, "column": 46 }, "end": { "line": 479, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18839, "end": 18840, "loc": { "start": { "line": 479, "column": 64 }, "end": { "line": 479, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionPaintWith", "start": 18840, "end": 18860, "loc": { "start": { "line": 479, "column": 65 }, "end": { "line": 479, "column": 85 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18860, "end": 18861, "loc": { "start": { "line": 479, "column": 85 }, "end": { "line": 479, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 18875, "end": 18884, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18884, "end": 18885, "loc": { "start": { "line": 480, "column": 21 }, "end": { "line": 480, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 18885, "end": 18895, "loc": { "start": { "line": 480, "column": 22 }, "end": { "line": 480, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18895, "end": 18896, "loc": { "start": { "line": 480, "column": 32 }, "end": { "line": 480, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorItem", "start": 18910, "end": 18919, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18919, "end": 18920, "loc": { "start": { "line": 481, "column": 21 }, "end": { "line": 481, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color", "start": 18920, "end": 18925, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18935, "end": 18936, "loc": { "start": { "line": 482, "column": 8 }, "end": { "line": 482, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18936, "end": 18937, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 18949, "end": 18956, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18956, "end": 18957, "loc": { "start": { "line": 484, "column": 15 }, "end": { "line": 484, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 18957, "end": 18965, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18965, "end": 18966, "loc": { "start": { "line": 484, "column": 24 }, "end": { "line": 484, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 18966, "end": 18970, "loc": { "start": { "line": 484, "column": 25 }, "end": { "line": 484, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18970, "end": 18971, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 484, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18971, "end": 18972, "loc": { "start": { "line": 484, "column": 30 }, "end": { "line": 484, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 18986, "end": 18990, "loc": { "start": { "line": 485, "column": 12 }, "end": { "line": 485, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18990, "end": 18991, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18992, "end": 18996, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18996, "end": 18997, "loc": { "start": { "line": 485, "column": 22 }, "end": { "line": 485, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 18997, "end": 19001, "loc": { "start": { "line": 485, "column": 23 }, "end": { "line": 485, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19001, "end": 19002, "loc": { "start": { "line": 485, "column": 27 }, "end": { "line": 485, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 19002, "end": 19020, "loc": { "start": { "line": 485, "column": 28 }, "end": { "line": 485, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19020, "end": 19021, "loc": { "start": { "line": 485, "column": 46 }, "end": { "line": 485, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 19021, "end": 19047, "loc": { "start": { "line": 485, "column": 47 }, "end": { "line": 485, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19047, "end": 19048, "loc": { "start": { "line": 485, "column": 73 }, "end": { "line": 485, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition", "start": 19048, "end": 19067, "loc": { "start": { "line": 485, "column": 74 }, "end": { "line": 485, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19067, "end": 19068, "loc": { "start": { "line": 485, "column": 93 }, "end": { "line": 485, "column": 94 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19068, "end": 19069, "loc": { "start": { "line": 485, "column": 94 }, "end": { "line": 485, "column": 95 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19079, "end": 19080, "loc": { "start": { "line": 486, "column": 8 }, "end": { "line": 486, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19080, "end": 19081, "loc": { "start": { "line": 486, "column": 9 }, "end": { "line": 486, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19081, "end": 19082, "loc": { "start": { "line": 486, "column": 10 }, "end": { "line": 486, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19088, "end": 19089, "loc": { "start": { "line": 487, "column": 4 }, "end": { "line": 487, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 19097, "end": 19165, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 491, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_PAINTER_DOUBLE", "start": 19171, "end": 19193, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 492, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19193, "end": 19194, "loc": { "start": { "line": 492, "column": 26 }, "end": { "line": 492, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 19194, "end": 19201, "loc": { "start": { "line": 492, "column": 27 }, "end": { "line": 492, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19201, "end": 19202, "loc": { "start": { "line": 492, "column": 34 }, "end": { "line": 492, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19203, "end": 19204, "loc": { "start": { "line": 492, "column": 36 }, "end": { "line": 492, "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": 19214, "end": 19219, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem1", "start": 19220, "end": 19230, "loc": { "start": { "line": 493, "column": 14 }, "end": { "line": 493, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19231, "end": 19232, "loc": { "start": { "line": 493, "column": 25 }, "end": { "line": 493, "column": 26 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 19233, "end": 19257, "loc": { "start": { "line": 493, "column": 27 }, "end": { "line": 493, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19258, "end": 19259, "loc": { "start": { "line": 493, "column": 52 }, "end": { "line": 493, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 19259, "end": 19266, "loc": { "start": { "line": 493, "column": 53 }, "end": { "line": 493, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19266, "end": 19267, "loc": { "start": { "line": 493, "column": 60 }, "end": { "line": 493, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 19267, "end": 19278, "loc": { "start": { "line": 493, "column": 61 }, "end": { "line": 493, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19278, "end": 19279, "loc": { "start": { "line": 493, "column": 72 }, "end": { "line": 493, "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": 19279, "end": 19280, "loc": { "start": { "line": 493, "column": 73 }, "end": { "line": 493, "column": 74 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19280, "end": 19281, "loc": { "start": { "line": 493, "column": 74 }, "end": { "line": 493, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19281, "end": 19282, "loc": { "start": { "line": 493, "column": 75 }, "end": { "line": 493, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19282, "end": 19283, "loc": { "start": { "line": 493, "column": 76 }, "end": { "line": 493, "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": 19293, "end": 19298, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem2", "start": 19299, "end": 19309, "loc": { "start": { "line": 494, "column": 14 }, "end": { "line": 494, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19310, "end": 19311, "loc": { "start": { "line": 494, "column": 25 }, "end": { "line": 494, "column": 26 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 19312, "end": 19336, "loc": { "start": { "line": 494, "column": 27 }, "end": { "line": 494, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19337, "end": 19338, "loc": { "start": { "line": 494, "column": 52 }, "end": { "line": 494, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 19338, "end": 19345, "loc": { "start": { "line": 494, "column": 53 }, "end": { "line": 494, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19345, "end": 19346, "loc": { "start": { "line": 494, "column": 60 }, "end": { "line": 494, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 19346, "end": 19357, "loc": { "start": { "line": 494, "column": 61 }, "end": { "line": 494, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19357, "end": 19358, "loc": { "start": { "line": 494, "column": 72 }, "end": { "line": 494, "column": 73 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19358, "end": 19359, "loc": { "start": { "line": 494, "column": 73 }, "end": { "line": 494, "column": 74 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19359, "end": 19360, "loc": { "start": { "line": 494, "column": 74 }, "end": { "line": 494, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19360, "end": 19361, "loc": { "start": { "line": 494, "column": 75 }, "end": { "line": 494, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19361, "end": 19362, "loc": { "start": { "line": 494, "column": 76 }, "end": { "line": 494, "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": 19372, "end": 19377, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorItem", "start": 19378, "end": 19387, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19388, "end": 19389, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 19390, "end": 19414, "loc": { "start": { "line": 495, "column": 26 }, "end": { "line": 495, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19415, "end": 19416, "loc": { "start": { "line": 495, "column": 51 }, "end": { "line": 495, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 19416, "end": 19423, "loc": { "start": { "line": 495, "column": 52 }, "end": { "line": 495, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19423, "end": 19424, "loc": { "start": { "line": 495, "column": 59 }, "end": { "line": 495, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 19424, "end": 19435, "loc": { "start": { "line": 495, "column": 60 }, "end": { "line": 495, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19435, "end": 19436, "loc": { "start": { "line": 495, "column": 71 }, "end": { "line": 495, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 19436, "end": 19437, "loc": { "start": { "line": 495, "column": 72 }, "end": { "line": 495, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19437, "end": 19438, "loc": { "start": { "line": 495, "column": 73 }, "end": { "line": 495, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19438, "end": 19439, "loc": { "start": { "line": 495, "column": 74 }, "end": { "line": 495, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19439, "end": 19440, "loc": { "start": { "line": 495, "column": 75 }, "end": { "line": 495, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 19452, "end": 19458, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19458, "end": 19459, "loc": { "start": { "line": 497, "column": 14 }, "end": { "line": 497, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem1", "start": 19459, "end": 19469, "loc": { "start": { "line": 497, "column": 15 }, "end": { "line": 497, "column": 25 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 19470, "end": 19480, "loc": { "start": { "line": 497, "column": 26 }, "end": { "line": 497, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 19481, "end": 19490, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19490, "end": 19491, "loc": { "start": { "line": 497, "column": 46 }, "end": { "line": 497, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for painter is not a shape", "start": 19492, "end": 19526, "loc": { "start": { "line": 497, "column": 48 }, "end": { "line": 497, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19526, "end": 19527, "loc": { "start": { "line": 497, "column": 82 }, "end": { "line": 497, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19527, "end": 19528, "loc": { "start": { "line": 497, "column": 83 }, "end": { "line": 497, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 19538, "end": 19544, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19544, "end": 19545, "loc": { "start": { "line": 498, "column": 14 }, "end": { "line": 498, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem2", "start": 19545, "end": 19555, "loc": { "start": { "line": 498, "column": 15 }, "end": { "line": 498, "column": 25 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 19556, "end": 19566, "loc": { "start": { "line": 498, "column": 26 }, "end": { "line": 498, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 19567, "end": 19576, "loc": { "start": { "line": 498, "column": 37 }, "end": { "line": 498, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19576, "end": 19577, "loc": { "start": { "line": 498, "column": 46 }, "end": { "line": 498, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for painter is not a shape", "start": 19578, "end": 19612, "loc": { "start": { "line": 498, "column": 48 }, "end": { "line": 498, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19612, "end": 19613, "loc": { "start": { "line": 498, "column": 82 }, "end": { "line": 498, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19613, "end": 19614, "loc": { "start": { "line": 498, "column": 83 }, "end": { "line": 498, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 19624, "end": 19630, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19630, "end": 19631, "loc": { "start": { "line": 499, "column": 14 }, "end": { "line": 499, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorItem", "start": 19631, "end": 19640, "loc": { "start": { "line": 499, "column": 15 }, "end": { "line": 499, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 19641, "end": 19651, "loc": { "start": { "line": 499, "column": 25 }, "end": { "line": 499, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 19652, "end": 19661, "loc": { "start": { "line": 499, "column": 36 }, "end": { "line": 499, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19661, "end": 19662, "loc": { "start": { "line": 499, "column": 45 }, "end": { "line": 499, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for painter is not a color", "start": 19663, "end": 19697, "loc": { "start": { "line": 499, "column": 47 }, "end": { "line": 499, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19697, "end": 19698, "loc": { "start": { "line": 499, "column": 81 }, "end": { "line": 499, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19698, "end": 19699, "loc": { "start": { "line": 499, "column": 82 }, "end": { "line": 499, "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": 19711, "end": 19716, "loc": { "start": { "line": 501, "column": 8 }, "end": { "line": 501, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition1", "start": 19717, "end": 19737, "loc": { "start": { "line": 501, "column": 14 }, "end": { "line": 501, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19738, "end": 19739, "loc": { "start": { "line": 501, "column": 35 }, "end": { "line": 501, "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": 19740, "end": 19744, "loc": { "start": { "line": 501, "column": 37 }, "end": { "line": 501, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19744, "end": 19745, "loc": { "start": { "line": 501, "column": 41 }, "end": { "line": 501, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 19745, "end": 19749, "loc": { "start": { "line": 501, "column": 42 }, "end": { "line": 501, "column": 46 } } }, { "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": 501, "column": 46 }, "end": { "line": 501, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 19750, "end": 19768, "loc": { "start": { "line": 501, "column": 47 }, "end": { "line": 501, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19768, "end": 19769, "loc": { "start": { "line": 501, "column": 65 }, "end": { "line": 501, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionPaintWith", "start": 19769, "end": 19789, "loc": { "start": { "line": 501, "column": 66 }, "end": { "line": 501, "column": 86 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19789, "end": 19790, "loc": { "start": { "line": 501, "column": 86 }, "end": { "line": 501, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem1", "start": 19804, "end": 19814, "loc": { "start": { "line": 502, "column": 12 }, "end": { "line": 502, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19814, "end": 19815, "loc": { "start": { "line": 502, "column": 22 }, "end": { "line": 502, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 19815, "end": 19825, "loc": { "start": { "line": 502, "column": 23 }, "end": { "line": 502, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19825, "end": 19826, "loc": { "start": { "line": 502, "column": 33 }, "end": { "line": 502, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorItem", "start": 19840, "end": 19849, "loc": { "start": { "line": 503, "column": 12 }, "end": { "line": 503, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19849, "end": 19850, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color", "start": 19850, "end": 19855, "loc": { "start": { "line": 503, "column": 22 }, "end": { "line": 503, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19865, "end": 19866, "loc": { "start": { "line": 504, "column": 8 }, "end": { "line": 504, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19866, "end": 19867, "loc": { "start": { "line": 504, "column": 9 }, "end": { "line": 504, "column": 10 } } }, { "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": 19879, "end": 19884, "loc": { "start": { "line": 506, "column": 8 }, "end": { "line": 506, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition2", "start": 19885, "end": 19905, "loc": { "start": { "line": 506, "column": 14 }, "end": { "line": 506, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19906, "end": 19907, "loc": { "start": { "line": 506, "column": 35 }, "end": { "line": 506, "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": 19908, "end": 19912, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 506, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19912, "end": 19913, "loc": { "start": { "line": 506, "column": 41 }, "end": { "line": 506, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 19913, "end": 19917, "loc": { "start": { "line": 506, "column": 42 }, "end": { "line": 506, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19917, "end": 19918, "loc": { "start": { "line": 506, "column": 46 }, "end": { "line": 506, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 19918, "end": 19936, "loc": { "start": { "line": 506, "column": 47 }, "end": { "line": 506, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19936, "end": 19937, "loc": { "start": { "line": 506, "column": 65 }, "end": { "line": 506, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionPaintWith", "start": 19937, "end": 19957, "loc": { "start": { "line": 506, "column": 66 }, "end": { "line": 506, "column": 86 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19957, "end": 19958, "loc": { "start": { "line": 506, "column": 86 }, "end": { "line": 506, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem2", "start": 19972, "end": 19982, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19982, "end": 19983, "loc": { "start": { "line": 507, "column": 22 }, "end": { "line": 507, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 19983, "end": 19993, "loc": { "start": { "line": 507, "column": 23 }, "end": { "line": 507, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19993, "end": 19994, "loc": { "start": { "line": 507, "column": 33 }, "end": { "line": 507, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorItem", "start": 20008, "end": 20017, "loc": { "start": { "line": 508, "column": 12 }, "end": { "line": 508, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20017, "end": 20018, "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": "color", "start": 20018, "end": 20023, "loc": { "start": { "line": 508, "column": 22 }, "end": { "line": 508, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20033, "end": 20034, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20034, "end": 20035, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 20045, "end": 20052, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20052, "end": 20053, "loc": { "start": { "line": 510, "column": 15 }, "end": { "line": 510, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 20053, "end": 20061, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20061, "end": 20062, "loc": { "start": { "line": 510, "column": 24 }, "end": { "line": 510, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 20062, "end": 20066, "loc": { "start": { "line": 510, "column": 25 }, "end": { "line": 510, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20066, "end": 20067, "loc": { "start": { "line": 510, "column": 29 }, "end": { "line": 510, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20067, "end": 20068, "loc": { "start": { "line": 510, "column": 30 }, "end": { "line": 510, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 20082, "end": 20086, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20086, "end": 20087, "loc": { "start": { "line": 511, "column": 16 }, "end": { "line": 511, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20088, "end": 20092, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20092, "end": 20093, "loc": { "start": { "line": 511, "column": 22 }, "end": { "line": 511, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 20093, "end": 20097, "loc": { "start": { "line": 511, "column": 23 }, "end": { "line": 511, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20097, "end": 20098, "loc": { "start": { "line": 511, "column": 27 }, "end": { "line": 511, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 20098, "end": 20116, "loc": { "start": { "line": 511, "column": 28 }, "end": { "line": 511, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20116, "end": 20117, "loc": { "start": { "line": 511, "column": 46 }, "end": { "line": 511, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 20117, "end": 20143, "loc": { "start": { "line": 511, "column": 47 }, "end": { "line": 511, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20143, "end": 20144, "loc": { "start": { "line": 511, "column": 73 }, "end": { "line": 511, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition1", "start": 20144, "end": 20164, "loc": { "start": { "line": 511, "column": 74 }, "end": { "line": 511, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20164, "end": 20165, "loc": { "start": { "line": 511, "column": 94 }, "end": { "line": 511, "column": 95 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20165, "end": 20166, "loc": { "start": { "line": 511, "column": 95 }, "end": { "line": 511, "column": 96 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20176, "end": 20177, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20177, "end": 20178, "loc": { "start": { "line": 512, "column": 9 }, "end": { "line": 512, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20178, "end": 20179, "loc": { "start": { "line": 512, "column": 10 }, "end": { "line": 512, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 20191, "end": 20198, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20198, "end": 20199, "loc": { "start": { "line": 514, "column": 15 }, "end": { "line": 514, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 20199, "end": 20207, "loc": { "start": { "line": 514, "column": 16 }, "end": { "line": 514, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20207, "end": 20208, "loc": { "start": { "line": 514, "column": 24 }, "end": { "line": 514, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 20208, "end": 20212, "loc": { "start": { "line": 514, "column": 25 }, "end": { "line": 514, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20212, "end": 20213, "loc": { "start": { "line": 514, "column": 29 }, "end": { "line": 514, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20213, "end": 20214, "loc": { "start": { "line": 514, "column": 30 }, "end": { "line": 514, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 20228, "end": 20232, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20232, "end": 20233, "loc": { "start": { "line": 515, "column": 16 }, "end": { "line": 515, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20234, "end": 20238, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20238, "end": 20239, "loc": { "start": { "line": 515, "column": 22 }, "end": { "line": 515, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 20239, "end": 20243, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20243, "end": 20244, "loc": { "start": { "line": 515, "column": 27 }, "end": { "line": 515, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 20244, "end": 20262, "loc": { "start": { "line": 515, "column": 28 }, "end": { "line": 515, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20262, "end": 20263, "loc": { "start": { "line": 515, "column": 46 }, "end": { "line": 515, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 20263, "end": 20289, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20289, "end": 20290, "loc": { "start": { "line": 515, "column": 73 }, "end": { "line": 515, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition2", "start": 20290, "end": 20310, "loc": { "start": { "line": 515, "column": 74 }, "end": { "line": 515, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20310, "end": 20311, "loc": { "start": { "line": 515, "column": 94 }, "end": { "line": 515, "column": 95 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20311, "end": 20312, "loc": { "start": { "line": 515, "column": 95 }, "end": { "line": 515, "column": 96 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20322, "end": 20323, "loc": { "start": { "line": 516, "column": 8 }, "end": { "line": 516, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20323, "end": 20324, "loc": { "start": { "line": 516, "column": 9 }, "end": { "line": 516, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20324, "end": 20325, "loc": { "start": { "line": 516, "column": 10 }, "end": { "line": 516, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20331, "end": 20332, "loc": { "start": { "line": 517, "column": 4 }, "end": { "line": 517, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 20340, "end": 20408, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 521, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_PAINTER_QUAD", "start": 20414, "end": 20434, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20434, "end": 20435, "loc": { "start": { "line": 522, "column": 24 }, "end": { "line": 522, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 20435, "end": 20442, "loc": { "start": { "line": 522, "column": 25 }, "end": { "line": 522, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20442, "end": 20443, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20444, "end": 20445, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 20455, "end": 20460, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 20461, "end": 20470, "loc": { "start": { "line": 523, "column": 14 }, "end": { "line": 523, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20471, "end": 20472, "loc": { "start": { "line": 523, "column": 24 }, "end": { "line": 523, "column": 25 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 20473, "end": 20497, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20498, "end": 20499, "loc": { "start": { "line": 523, "column": 51 }, "end": { "line": 523, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 20499, "end": 20506, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20506, "end": 20507, "loc": { "start": { "line": 523, "column": 59 }, "end": { "line": 523, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 20507, "end": 20518, "loc": { "start": { "line": 523, "column": 60 }, "end": { "line": 523, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20518, "end": 20519, "loc": { "start": { "line": 523, "column": 71 }, "end": { "line": 523, "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": 20519, "end": 20520, "loc": { "start": { "line": 523, "column": 72 }, "end": { "line": 523, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20520, "end": 20521, "loc": { "start": { "line": 523, "column": 73 }, "end": { "line": 523, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20521, "end": 20522, "loc": { "start": { "line": 523, "column": 74 }, "end": { "line": 523, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20522, "end": 20523, "loc": { "start": { "line": 523, "column": 75 }, "end": { "line": 523, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 20533, "end": 20539, "loc": { "start": { "line": 524, "column": 8 }, "end": { "line": 524, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20539, "end": 20540, "loc": { "start": { "line": 524, "column": 14 }, "end": { "line": 524, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 20540, "end": 20549, "loc": { "start": { "line": 524, "column": 15 }, "end": { "line": 524, "column": 24 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 20550, "end": 20560, "loc": { "start": { "line": 524, "column": 25 }, "end": { "line": 524, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 20561, "end": 20570, "loc": { "start": { "line": 524, "column": 36 }, "end": { "line": 524, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20570, "end": 20571, "loc": { "start": { "line": 524, "column": 45 }, "end": { "line": 524, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input for painter is not a shape", "start": 20572, "end": 20606, "loc": { "start": { "line": 524, "column": 47 }, "end": { "line": 524, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20606, "end": 20607, "loc": { "start": { "line": 524, "column": 81 }, "end": { "line": 524, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20607, "end": 20608, "loc": { "start": { "line": 524, "column": 82 }, "end": { "line": 524, "column": 83 } } }, { "type": "CommentBlock", "value": "* @type {Array} ", "start": 20620, "end": 20652, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "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": 20662, "end": 20667, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colors", "start": 20668, "end": 20674, "loc": { "start": { "line": 527, "column": 14 }, "end": { "line": 527, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20675, "end": 20676, "loc": { "start": { "line": 527, "column": 21 }, "end": { "line": 527, "column": 22 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20677, "end": 20678, "loc": { "start": { "line": 527, "column": 23 }, "end": { "line": 527, "column": 24 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 20678, "end": 20682, "loc": { "start": { "line": 527, "column": 24 }, "end": { "line": 527, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20682, "end": 20683, "loc": { "start": { "line": 527, "column": 28 }, "end": { "line": 527, "column": 29 } } }, { "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": 20684, "end": 20688, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20688, "end": 20689, "loc": { "start": { "line": 527, "column": 34 }, "end": { "line": 527, "column": 35 } } }, { "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": 20690, "end": 20694, "loc": { "start": { "line": 527, "column": 36 }, "end": { "line": 527, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20694, "end": 20695, "loc": { "start": { "line": 527, "column": 40 }, "end": { "line": 527, "column": 41 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 20696, "end": 20700, "loc": { "start": { "line": 527, "column": 42 }, "end": { "line": 527, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20700, "end": 20701, "loc": { "start": { "line": 527, "column": 46 }, "end": { "line": 527, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20701, "end": 20702, "loc": { "start": { "line": 527, "column": 47 }, "end": { "line": 527, "column": 48 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 20712, "end": 20715, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20716, "end": 20717, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "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": 20717, "end": 20720, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20721, "end": 20722, "loc": { "start": { "line": 528, "column": 17 }, "end": { "line": 528, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20723, "end": 20724, "loc": { "start": { "line": 528, "column": 19 }, "end": { "line": 528, "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": 20725, "end": 20726, "loc": { "start": { "line": 528, "column": 21 }, "end": { "line": 528, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20726, "end": 20727, "loc": { "start": { "line": 528, "column": 22 }, "end": { "line": 528, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20728, "end": 20729, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 20730, "end": 20731, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 20732, "end": 20733, "loc": { "start": { "line": 528, "column": 28 }, "end": { "line": 528, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20733, "end": 20734, "loc": { "start": { "line": 528, "column": 29 }, "end": { "line": 528, "column": 30 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 20735, "end": 20737, "loc": { "start": { "line": 528, "column": 31 }, "end": { "line": 528, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20737, "end": 20738, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20738, "end": 20739, "loc": { "start": { "line": 528, "column": 34 }, "end": { "line": 528, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20740, "end": 20741, "loc": { "start": { "line": 528, "column": 36 }, "end": { "line": 528, "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": 20755, "end": 20757, "loc": { "start": { "line": 529, "column": 12 }, "end": { "line": 529, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20758, "end": 20759, "loc": { "start": { "line": 529, "column": 15 }, "end": { "line": 529, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 20759, "end": 20766, "loc": { "start": { "line": 529, "column": 16 }, "end": { "line": 529, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20766, "end": 20767, "loc": { "start": { "line": 529, "column": 23 }, "end": { "line": 529, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 20767, "end": 20778, "loc": { "start": { "line": 529, "column": 24 }, "end": { "line": 529, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20778, "end": 20779, "loc": { "start": { "line": 529, "column": 35 }, "end": { "line": 529, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20779, "end": 20780, "loc": { "start": { "line": 529, "column": 36 }, "end": { "line": 529, "column": 37 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20781, "end": 20782, "loc": { "start": { "line": 529, "column": 38 }, "end": { "line": 529, "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": 20783, "end": 20784, "loc": { "start": { "line": 529, "column": 40 }, "end": { "line": 529, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20784, "end": 20785, "loc": { "start": { "line": 529, "column": 41 }, "end": { "line": 529, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20785, "end": 20786, "loc": { "start": { "line": 529, "column": 42 }, "end": { "line": 529, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20787, "end": 20788, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colors", "start": 20806, "end": 20812, "loc": { "start": { "line": 530, "column": 16 }, "end": { "line": 530, "column": 22 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20812, "end": 20813, "loc": { "start": { "line": 530, "column": 22 }, "end": { "line": 530, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20813, "end": 20814, "loc": { "start": { "line": 530, "column": 23 }, "end": { "line": 530, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20814, "end": 20815, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 530, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20816, "end": 20817, "loc": { "start": { "line": 530, "column": 26 }, "end": { "line": 530, "column": 27 } } }, { "type": "CommentBlock", "value": "* @type {ColorItem} ", "start": 20818, "end": 20842, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20843, "end": 20844, "loc": { "start": { "line": 530, "column": 53 }, "end": { "line": 530, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 20844, "end": 20851, "loc": { "start": { "line": 530, "column": 54 }, "end": { "line": 530, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20851, "end": 20852, "loc": { "start": { "line": 530, "column": 61 }, "end": { "line": 530, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 20852, "end": 20863, "loc": { "start": { "line": 530, "column": 62 }, "end": { "line": 530, "column": 73 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20863, "end": 20864, "loc": { "start": { "line": 530, "column": 73 }, "end": { "line": 530, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20864, "end": 20865, "loc": { "start": { "line": 530, "column": 74 }, "end": { "line": 530, "column": 75 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20866, "end": 20867, "loc": { "start": { "line": 530, "column": 76 }, "end": { "line": 530, "column": 77 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 20868, "end": 20869, "loc": { "start": { "line": 530, "column": 78 }, "end": { "line": 530, "column": 79 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20869, "end": 20870, "loc": { "start": { "line": 530, "column": 79 }, "end": { "line": 530, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20870, "end": 20871, "loc": { "start": { "line": 530, "column": 80 }, "end": { "line": 530, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20871, "end": 20872, "loc": { "start": { "line": 530, "column": 81 }, "end": { "line": 530, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "color", "start": 20872, "end": 20877, "loc": { "start": { "line": 530, "column": 82 }, "end": { "line": 530, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20877, "end": 20878, "loc": { "start": { "line": 530, "column": 87 }, "end": { "line": 530, "column": 88 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20892, "end": 20893, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20903, "end": 20904, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 532, "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": 20916, "end": 20921, "loc": { "start": { "line": 534, "column": 8 }, "end": { "line": 534, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition", "start": 20922, "end": 20941, "loc": { "start": { "line": 534, "column": 14 }, "end": { "line": 534, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20942, "end": 20943, "loc": { "start": { "line": 534, "column": 34 }, "end": { "line": 534, "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": 20944, "end": 20948, "loc": { "start": { "line": 534, "column": 36 }, "end": { "line": 534, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20948, "end": 20949, "loc": { "start": { "line": 534, "column": 40 }, "end": { "line": 534, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 20949, "end": 20953, "loc": { "start": { "line": 534, "column": 41 }, "end": { "line": 534, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20953, "end": 20954, "loc": { "start": { "line": 534, "column": 45 }, "end": { "line": 534, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 20954, "end": 20972, "loc": { "start": { "line": 534, "column": 46 }, "end": { "line": 534, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20972, "end": 20973, "loc": { "start": { "line": 534, "column": 64 }, "end": { "line": 534, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeActionPaintWith4Colors", "start": 20973, "end": 21000, "loc": { "start": { "line": 534, "column": 65 }, "end": { "line": 534, "column": 92 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21000, "end": 21001, "loc": { "start": { "line": 534, "column": 92 }, "end": { "line": 534, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeItem", "start": 21015, "end": 21024, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21024, "end": 21025, "loc": { "start": { "line": 535, "column": 21 }, "end": { "line": 535, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 21025, "end": 21035, "loc": { "start": { "line": 535, "column": 22 }, "end": { "line": 535, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21035, "end": 21036, "loc": { "start": { "line": 535, "column": 32 }, "end": { "line": 535, "column": 33 } } }, { "type": "CommentBlock", "value": "* @type {[string, string, string, string]} ", "start": 21050, "end": 21097, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21111, "end": 21112, "loc": { "start": { "line": 537, "column": 12 }, "end": { "line": 537, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colors", "start": 21112, "end": 21118, "loc": { "start": { "line": 537, "column": 13 }, "end": { "line": 537, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21118, "end": 21119, "loc": { "start": { "line": 537, "column": 19 }, "end": { "line": 537, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21129, "end": 21130, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21130, "end": 21131, "loc": { "start": { "line": 538, "column": 9 }, "end": { "line": 538, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21143, "end": 21150, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21150, "end": 21151, "loc": { "start": { "line": 540, "column": 15 }, "end": { "line": 540, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 21151, "end": 21159, "loc": { "start": { "line": 540, "column": 16 }, "end": { "line": 540, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21159, "end": 21160, "loc": { "start": { "line": 540, "column": 24 }, "end": { "line": 540, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 21160, "end": 21164, "loc": { "start": { "line": 540, "column": 25 }, "end": { "line": 540, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21164, "end": 21165, "loc": { "start": { "line": 540, "column": 29 }, "end": { "line": 540, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21165, "end": 21166, "loc": { "start": { "line": 540, "column": 30 }, "end": { "line": 540, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21180, "end": 21184, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21184, "end": 21185, "loc": { "start": { "line": 541, "column": 16 }, "end": { "line": 541, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 21186, "end": 21190, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21190, "end": 21191, "loc": { "start": { "line": 541, "column": 22 }, "end": { "line": 541, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 21191, "end": 21195, "loc": { "start": { "line": 541, "column": 23 }, "end": { "line": 541, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21195, "end": 21196, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 21196, "end": 21214, "loc": { "start": { "line": 541, "column": 28 }, "end": { "line": 541, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21214, "end": 21215, "loc": { "start": { "line": 541, "column": 46 }, "end": { "line": 541, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 21215, "end": 21241, "loc": { "start": { "line": 541, "column": 47 }, "end": { "line": 541, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21241, "end": 21242, "loc": { "start": { "line": 541, "column": 73 }, "end": { "line": 541, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorizedDefinition", "start": 21242, "end": 21261, "loc": { "start": { "line": 541, "column": 74 }, "end": { "line": 541, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21261, "end": 21262, "loc": { "start": { "line": 541, "column": 93 }, "end": { "line": 541, "column": 94 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21262, "end": 21263, "loc": { "start": { "line": 541, "column": 94 }, "end": { "line": 541, "column": 95 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21273, "end": 21274, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21274, "end": 21275, "loc": { "start": { "line": 542, "column": 9 }, "end": { "line": 542, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21275, "end": 21276, "loc": { "start": { "line": 542, "column": 10 }, "end": { "line": 542, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21282, "end": 21283, "loc": { "start": { "line": 543, "column": 4 }, "end": { "line": 543, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21291, "end": 21359, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 547, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_READER", "start": 21365, "end": 21379, "loc": { "start": { "line": 548, "column": 4 }, "end": { "line": 548, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21379, "end": 21380, "loc": { "start": { "line": 548, "column": 18 }, "end": { "line": 548, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21380, "end": 21387, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21387, "end": 21388, "loc": { "start": { "line": 548, "column": 26 }, "end": { "line": 548, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21389, "end": 21390, "loc": { "start": { "line": 548, "column": 28 }, "end": { "line": 548, "column": 29 } } }, { "type": "CommentLine", "value": " Pass through the item", "start": 21400, "end": 21424, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "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": 21434, "end": 21439, "loc": { "start": { "line": 550, "column": 8 }, "end": { "line": 550, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21440, "end": 21444, "loc": { "start": { "line": 550, "column": 14 }, "end": { "line": 550, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21445, "end": 21446, "loc": { "start": { "line": 550, "column": 19 }, "end": { "line": 550, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21447, "end": 21454, "loc": { "start": { "line": 550, "column": 21 }, "end": { "line": 550, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21454, "end": 21455, "loc": { "start": { "line": 550, "column": 28 }, "end": { "line": 550, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsBySlot", "start": 21455, "end": 21466, "loc": { "start": { "line": 550, "column": 29 }, "end": { "line": 550, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21466, "end": 21467, "loc": { "start": { "line": 550, "column": 40 }, "end": { "line": 550, "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": 21467, "end": 21468, "loc": { "start": { "line": 550, "column": 41 }, "end": { "line": 550, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21468, "end": 21469, "loc": { "start": { "line": 550, "column": 42 }, "end": { "line": 550, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21469, "end": 21470, "loc": { "start": { "line": 550, "column": 43 }, "end": { "line": 550, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21480, "end": 21487, "loc": { "start": { "line": 551, "column": 8 }, "end": { "line": 551, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21487, "end": 21488, "loc": { "start": { "line": 551, "column": 15 }, "end": { "line": 551, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "outItems", "start": 21488, "end": 21496, "loc": { "start": { "line": 551, "column": 16 }, "end": { "line": 551, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21496, "end": 21497, "loc": { "start": { "line": 551, "column": 24 }, "end": { "line": 551, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 21497, "end": 21501, "loc": { "start": { "line": 551, "column": 25 }, "end": { "line": 551, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21501, "end": 21502, "loc": { "start": { "line": 551, "column": 29 }, "end": { "line": 551, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21502, "end": 21503, "loc": { "start": { "line": 551, "column": 30 }, "end": { "line": 551, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21517, "end": 21521, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21521, "end": 21522, "loc": { "start": { "line": 552, "column": 16 }, "end": { "line": 552, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doNotTrack", "start": 21536, "end": 21546, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21546, "end": 21547, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 23 } } }, { "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": 21548, "end": 21552, "loc": { "start": { "line": 553, "column": 24 }, "end": { "line": 553, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21552, "end": 21553, "loc": { "start": { "line": 553, "column": 28 }, "end": { "line": 553, "column": 29 } } }, { "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": 554, "column": 8 }, "end": { "line": 554, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21564, "end": 21565, "loc": { "start": { "line": 554, "column": 9 }, "end": { "line": 554, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21565, "end": 21566, "loc": { "start": { "line": 554, "column": 10 }, "end": { "line": 554, "column": 11 } } }, { "type": "CommentLine", "value": " Track the item", "start": 21578, "end": 21595, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "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": 21605, "end": 21610, "loc": { "start": { "line": 557, "column": 8 }, "end": { "line": 557, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 21611, "end": 21621, "loc": { "start": { "line": 557, "column": 14 }, "end": { "line": 557, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21622, "end": 21623, "loc": { "start": { "line": 557, "column": 25 }, "end": { "line": 557, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21624, "end": 21631, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21631, "end": 21632, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 21632, "end": 21638, "loc": { "start": { "line": 557, "column": 35 }, "end": { "line": 557, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21638, "end": 21639, "loc": { "start": { "line": 557, "column": 41 }, "end": { "line": 557, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 21639, "end": 21649, "loc": { "start": { "line": 557, "column": 42 }, "end": { "line": 557, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21649, "end": 21650, "loc": { "start": { "line": 557, "column": 52 }, "end": { "line": 557, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltReader", "start": 21650, "end": 21660, "loc": { "start": { "line": 557, "column": 53 }, "end": { "line": 557, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21660, "end": 21661, "loc": { "start": { "line": 557, "column": 63 }, "end": { "line": 557, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 21671, "end": 21681, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21681, "end": 21682, "loc": { "start": { "line": 558, "column": 18 }, "end": { "line": 558, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 21682, "end": 21695, "loc": { "start": { "line": 558, "column": 19 }, "end": { "line": 558, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21695, "end": 21696, "loc": { "start": { "line": 558, "column": 32 }, "end": { "line": 558, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 21696, "end": 21700, "loc": { "start": { "line": 558, "column": 33 }, "end": { "line": 558, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21700, "end": 21701, "loc": { "start": { "line": 558, "column": 37 }, "end": { "line": 558, "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": 21701, "end": 21705, "loc": { "start": { "line": 558, "column": 38 }, "end": { "line": 558, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21705, "end": 21706, "loc": { "start": { "line": 558, "column": 42 }, "end": { "line": 558, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 21706, "end": 21710, "loc": { "start": { "line": 558, "column": 43 }, "end": { "line": 558, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21710, "end": 21711, "loc": { "start": { "line": 558, "column": 47 }, "end": { "line": 558, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 21711, "end": 21715, "loc": { "start": { "line": 558, "column": 48 }, "end": { "line": 558, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21715, "end": 21716, "loc": { "start": { "line": 558, "column": 52 }, "end": { "line": 558, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 21716, "end": 21719, "loc": { "start": { "line": 558, "column": 53 }, "end": { "line": 558, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21719, "end": 21720, "loc": { "start": { "line": 558, "column": 56 }, "end": { "line": 558, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21720, "end": 21721, "loc": { "start": { "line": 558, "column": 57 }, "end": { "line": 558, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21721, "end": 21722, "loc": { "start": { "line": 558, "column": 58 }, "end": { "line": 558, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21722, "end": 21723, "loc": { "start": { "line": 558, "column": 59 }, "end": { "line": 558, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 21733, "end": 21743, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21743, "end": 21744, "loc": { "start": { "line": 559, "column": 18 }, "end": { "line": 559, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 21744, "end": 21752, "loc": { "start": { "line": 559, "column": 19 }, "end": { "line": 559, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21753, "end": 21754, "loc": { "start": { "line": 559, "column": 28 }, "end": { "line": 559, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21755, "end": 21759, "loc": { "start": { "line": 559, "column": 30 }, "end": { "line": 559, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21759, "end": 21760, "loc": { "start": { "line": 559, "column": 34 }, "end": { "line": 559, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21766, "end": 21767, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ProcessorImplementationPayload} payload\r\n ", "start": 21775, "end": 21843, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 564, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "process_HUB", "start": 21849, "end": 21860, "loc": { "start": { "line": 565, "column": 4 }, "end": { "line": 565, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21860, "end": 21861, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21861, "end": 21868, "loc": { "start": { "line": 565, "column": 16 }, "end": { "line": 565, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21868, "end": 21869, "loc": { "start": { "line": 565, "column": 23 }, "end": { "line": 565, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21870, "end": 21871, "loc": { "start": { "line": 565, "column": 25 }, "end": { "line": 565, "column": 26 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21881, "end": 21886, "loc": { "start": { "line": 566, "column": 8 }, "end": { "line": 566, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubComponent", "start": 21887, "end": 21899, "loc": { "start": { "line": 566, "column": 14 }, "end": { "line": 566, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21900, "end": 21901, "loc": { "start": { "line": 566, "column": 27 }, "end": { "line": 566, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 21902, "end": 21909, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21909, "end": 21910, "loc": { "start": { "line": 566, "column": 36 }, "end": { "line": 566, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 21910, "end": 21916, "loc": { "start": { "line": 566, "column": 37 }, "end": { "line": 566, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21916, "end": 21917, "loc": { "start": { "line": 566, "column": 43 }, "end": { "line": 566, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 21917, "end": 21927, "loc": { "start": { "line": 566, "column": 44 }, "end": { "line": 566, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21927, "end": 21928, "loc": { "start": { "line": 566, "column": 54 }, "end": { "line": 566, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Hub", "start": 21928, "end": 21931, "loc": { "start": { "line": 566, "column": 55 }, "end": { "line": 566, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21931, "end": 21932, "loc": { "start": { "line": 566, "column": 58 }, "end": { "line": 566, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 21942, "end": 21948, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21948, "end": 21949, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubComponent", "start": 21949, "end": 21961, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21961, "end": 21962, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Hub item processor has no hub component", "start": 21963, "end": 22004, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22004, "end": 22005, "loc": { "start": { "line": 567, "column": 70 }, "end": { "line": 567, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22005, "end": 22006, "loc": { "start": { "line": 567, "column": 71 }, "end": { "line": 567, "column": 72 } } }, { "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": 22018, "end": 22021, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22022, "end": 22023, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 569, "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": 22023, "end": 22026, "loc": { "start": { "line": 569, "column": 13 }, "end": { "line": 569, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 22027, "end": 22028, "loc": { "start": { "line": 569, "column": 17 }, "end": { "line": 569, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22029, "end": 22030, "loc": { "start": { "line": 569, "column": 19 }, "end": { "line": 569, "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": 22031, "end": 22032, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22032, "end": 22033, "loc": { "start": { "line": 569, "column": 22 }, "end": { "line": 569, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 22034, "end": 22035, "loc": { "start": { "line": 569, "column": 24 }, "end": { "line": 569, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 22036, "end": 22037, "loc": { "start": { "line": 569, "column": 26 }, "end": { "line": 569, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 22038, "end": 22045, "loc": { "start": { "line": 569, "column": 28 }, "end": { "line": 569, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22045, "end": 22046, "loc": { "start": { "line": 569, "column": 35 }, "end": { "line": 569, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 22046, "end": 22051, "loc": { "start": { "line": 569, "column": 36 }, "end": { "line": 569, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22051, "end": 22052, "loc": { "start": { "line": 569, "column": 41 }, "end": { "line": 569, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 22052, "end": 22058, "loc": { "start": { "line": 569, "column": 42 }, "end": { "line": 569, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22058, "end": 22059, "loc": { "start": { "line": 569, "column": 48 }, "end": { "line": 569, "column": 49 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 22060, "end": 22062, "loc": { "start": { "line": 569, "column": 50 }, "end": { "line": 569, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 22062, "end": 22063, "loc": { "start": { "line": 569, "column": 52 }, "end": { "line": 569, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22063, "end": 22064, "loc": { "start": { "line": 569, "column": 53 }, "end": { "line": 569, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22065, "end": 22066, "loc": { "start": { "line": 569, "column": 55 }, "end": { "line": 569, "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": 22080, "end": 22085, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 22086, "end": 22090, "loc": { "start": { "line": 570, "column": 18 }, "end": { "line": 570, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22091, "end": 22092, "loc": { "start": { "line": 570, "column": 23 }, "end": { "line": 570, "column": 24 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 22093, "end": 22117, "loc": { "start": { "line": 570, "column": 25 }, "end": { "line": 570, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22118, "end": 22119, "loc": { "start": { "line": 570, "column": 50 }, "end": { "line": 570, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "payload", "start": 22119, "end": 22126, "loc": { "start": { "line": 570, "column": 51 }, "end": { "line": 570, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22126, "end": 22127, "loc": { "start": { "line": 570, "column": 58 }, "end": { "line": 570, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "items", "start": 22127, "end": 22132, "loc": { "start": { "line": 570, "column": 59 }, "end": { "line": 570, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22132, "end": 22133, "loc": { "start": { "line": 570, "column": 64 }, "end": { "line": 570, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 22133, "end": 22134, "loc": { "start": { "line": 570, "column": 65 }, "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": 22134, "end": 22135, "loc": { "start": { "line": 570, "column": 66 }, "end": { "line": 570, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22135, "end": 22136, "loc": { "start": { "line": 570, "column": 67 }, "end": { "line": 570, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 22136, "end": 22140, "loc": { "start": { "line": 570, "column": 68 }, "end": { "line": 570, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22140, "end": 22141, "loc": { "start": { "line": 570, "column": 72 }, "end": { "line": 570, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22141, "end": 22142, "loc": { "start": { "line": 570, "column": 73 }, "end": { "line": 570, "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": 22156, "end": 22160, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22160, "end": 22161, "loc": { "start": { "line": 571, "column": 16 }, "end": { "line": 571, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 22161, "end": 22165, "loc": { "start": { "line": 571, "column": 17 }, "end": { "line": 571, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22165, "end": 22166, "loc": { "start": { "line": 571, "column": 21 }, "end": { "line": 571, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 22166, "end": 22174, "loc": { "start": { "line": 571, "column": 22 }, "end": { "line": 571, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22174, "end": 22175, "loc": { "start": { "line": 571, "column": 30 }, "end": { "line": 571, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleDefinitionDelivered", "start": 22175, "end": 22200, "loc": { "start": { "line": 571, "column": 31 }, "end": { "line": 571, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22200, "end": 22201, "loc": { "start": { "line": 571, "column": 56 }, "end": { "line": 571, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 22201, "end": 22205, "loc": { "start": { "line": 571, "column": 57 }, "end": { "line": 571, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22205, "end": 22206, "loc": { "start": { "line": 571, "column": 61 }, "end": { "line": 571, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 22206, "end": 22216, "loc": { "start": { "line": 571, "column": 62 }, "end": { "line": 571, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22216, "end": 22217, "loc": { "start": { "line": 571, "column": 72 }, "end": { "line": 571, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22217, "end": 22218, "loc": { "start": { "line": 571, "column": 73 }, "end": { "line": 571, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22228, "end": 22229, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22235, "end": 22236, "loc": { "start": { "line": 573, "column": 4 }, "end": { "line": 573, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22238, "end": 22239, "loc": { "start": { "line": 574, "column": 0 }, "end": { "line": 574, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22239, "end": 22239, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 574, "column": 1 } } } ] }